I have been away from futures.io (formerly BMT) forum for some time working on other projects not related to trading. As many of you may recall I was very active on the Hurley automated strategy thread started by Big Mike and Hurley developed into a really quite reasonable system after aknip improved the code, but development has withered somewhat in recent weeks due to lack of posting due at least in part to dissatisfaction with NT7 and a move to Multicharts.
In my absence I have been tempted to prepare an automated strategy for NT6 and NT7 that is based on the Hurley code but uses different indicators for entries and exits.
I call it Aardvark, for the only reason that is sounds good and lists at the top of my strategies in NT. It uses most of the great code for exits and entries developed by aknip.
It uses only the EMA in two separate indicators for entries and exits:
EMA - the standard version
EMA_Colors_Paint_v01 - allows coding based on several useful parameters.
I have set it up to trade only 3 targets, not the previous 5. It defaults to 2 contracts for each of target1 and target2 and 1 contract for target3. Targets 4 & 5 are set to zero and not used, but you can use these if you wish.
The entry rules are simple:
EMA must be rising/falling for longs/shorts for 3 different EMA periods - defaults are presently 10, 35 and 134 but are coded as variables (small, medium, large) therefore can be changed easily.
Rising means that the EMAslopeup of EMA_Colors_Paint_v01 must equal the value of EMA.
Falling means that the EMAslopedown of EMA_Colors_Paint_v01 must equal the value of EMA.
Aardvark enters a trade when 10EMA, 35EMA and 134EMA all show EMAslopeup (green dash line) for longs or show EMAslopedown (red dash line) for shorts.
The exit rules are a little more complex:
Two variable are used to define different actions at given numbers of bars after entry:
earlyexit: defaults to 5
lateexit: defaults to 100
If in 5 bars or less after entry the 10EMA reverses, the strat exits.
If between 5-100 bars after entry the 35EMA reverses, the strat exits.
If over 100 bars after entry the 134 EMA reverses, the strat exits.
I attach 2 versions of Aardvark1_15 - one is set up for the CL (instruments worth $10/tick) and the other for the ES, 6E etc (instruments worth $ or Euro12.50/tick) in a single zip
I also attach a chart template and a screen shot on the CL.
The above are NT6.5 versions. The strategies will compile on NT7.
I hope we can develop Aardvark further as it needs some fresh input.