Code covered by the BSD License  

Highlights from
Automated Trading with MATLAB - 2012

image thumbnail

Automated Trading with MATLAB - 2012



31 Aug 2012 (Updated )

Files from the Automated Trading webinar showing X_Trader and QuickFIX/J integration.

function indicatorChartWPR(w1)
%  W1:  vector of y data

%  Auto-generated by MATLAB on 28-Mar-2011 16:22:21

% Create figure
figure1 = figure;

% Create axes
axes1 = axes('Parent',figure1);

% Create plot
plot(w1,'DisplayName','Williams %R');

% Create reference lines
r1 = refline(0, -20);
r2 = refline(0, -80);
set(r1, 'Color', 'r', 'DisplayName', 'Over bought')
set(r2, 'Color', 'g', 'DisplayName', 'Over sold')

% Create xlabel
xlabel('Serial time number');

% Create ylabel
ylabel('Williams %R');

% Create title
title('Williams %R');

% Create legend
legend(axes1, 'Location', 'Best')

Contact us