How To Create Profitable Mechanical Trading Systems

[s3mv fileName='wp-content/uploads/52tsecure/20180413150734/ArtCollins1.mp4' fileType='video' source='s3' width='800' height='450' splashImage='' preLoad='Y' autoPlay='N' belowVideoHTML='' cuePoint='' redirectURL='' pauseAtCuePoint='N' isSecure='Y' bucketname='52tlocked']
[s3mv fileName='wp-content/uploads/52tsecure/20180414014244/ArtCollins2.mp4' fileType='video' source='s3' width='800' height='450' splashImage='' preLoad='Y' autoPlay='N' belowVideoHTML='' cuePoint='' redirectURL='' pauseAtCuePoint='N' isSecure='Y' bucketname='52tlocked']
[s3mv fileName='wp-content/uploads/52tsecure/20180413150924/ArtCollins3.mp4' fileType='video' source='s3' width='800' height='450' splashImage='' preLoad='Y' autoPlay='N' belowVideoHTML='' cuePoint='' redirectURL='' pauseAtCuePoint='N' isSecure='Y' bucketname='52tlocked']
[s3mv fileName='wp-content/uploads/52tsecure/20180413150954/ArtCollins4.mp4' fileType='video' source='s3' width='800' height='450' splashImage='' preLoad='Y' autoPlay='N' belowVideoHTML='' cuePoint='' redirectURL='' pauseAtCuePoint='N' isSecure='Y' bucketname='52tlocked']
[s3mv fileName='wp-content/uploads/52tsecure/20180413151051/ArtCollins5.mp4' fileType='video' source='s3' width='800' height='450' splashImage='' preLoad='Y' autoPlay='N' belowVideoHTML='' cuePoint='' redirectURL='' pauseAtCuePoint='N' isSecure='Y' bucketname='52tlocked']
[s3mv fileName='wp-content/uploads/52tsecure/20180414023712/ArtCollins6.mp4' fileType='video' source='s3' width='800' height='450' splashImage='' preLoad='Y' autoPlay='N' belowVideoHTML='' cuePoint='' redirectURL='' pauseAtCuePoint='N' isSecure='Y' bucketname='52tlocked']

TradeStation Code

SIMPLE ENGLISH

Trade in daily bars sized for day sessions, 8:30 am-3:15 pm Central Time.
Compare two system performances over the last four trading days.

System 1:
If tomorrow’s open is above today’s close, then buy at the open plus 20% of the last three day average range on a stop.
If tomorrow’s open is below yesterday’s close, then sell short at the open minus 20% of the last three day average range on a stop.

System 2:
If tomorrow’s open is above today’s close, then buy at the open plus 100% of the last three day average range on a stop.
If tomorrow’s open is below yesterday’s close, then sell short at the open minus 100% of the last three day average range on a stop.

Use whichever percentage worked the best (or the least bad) over the last four trading days. Hold the trade through the day and exit on the close.

TRADE STATION FORMULA

inputs:n(4),e(.2),f(1);
variables:aa(0),bb(0);

If h-o>=e*range and o-l<e*range then aa=(c-o);
If h-o>=e*range and o-l>=e*range then aa=(o-(e*range));
If h-o>=f*range and o-l<f*range then bb=(c-o);
If h-o>=f*range and o-l>=f*range then bb=(o-(f*range));

If o-l>=e*range and h-o<e*range then aa=(o-c);
If o-l>=e*range and h-o>=e*range then aa=(o-(e*range));
If o-l>=f*range and h-o<f*range then bb=(o-c);
If o-l>=f*range and h-o>=f*range then bb=(o-(f*range));

If o of tomorrow>c and average(aa,n)>average(bb,n) then buy next bar at o of tomorrow+e*Range stop;
If o of tomorrow<c and average(aa,n)>average(bb,n) then sell short next bar at o of tomorrow-e*Range stop;

If o of tomorrow>c and average(bb,n)>average(aa,n) then buy next bar at o of tomorrow+f*Range stop;
If o of tomorrow<c and average(bb,n)>average(aa,n) then sell short next bar at o of tomorrow-f*Range stop;

setexitonclose;

Art Collins

Chicago Board of Trade Member & Author of 4 Books on Trading

Art is an ex-Pit Trader and has been a Chicago Board of Trade member for the past 30 years. He’s also a lecturer and author on trading system development.

Art’s a mechanical trader who’s systems have been proven successful over the past 10 years.

Enter Your Email To Save $000's

On These Courses


Already subscribed? Login here

We hate SPAM and promise to keep your email address safe. Here's our Privacy Policy

Great! You're In. Check your email for your Login Details and Link.