Snakes & Ladders
- Use Moving Average indicator (standard MT4 indicator) set to (input1) periods, (input2) Price type and (input3) MA method - this produces an SMMA.
- IF bar[0] is NOT touching SMMA on (timeframe1 -default H1-input4) AND
- bar[0] is NOT touching SMMA on (timeframe2 -default M15-input5) AND
- bar[0] is NOT touching SMMA on (timeframe3 -default M1-input6)
- Continue to #3
- Else - wait
- IF bar[0] is ABOVE SMMA on timeframe1 AND
- bar[0] is ABOVE SMMA on timeframe2 AND
- bar[0] is BELOW SMMA on timeframe3
- Enter long with a TP of (input 7) points and a SL of (input 8) points and a volume of (input 9)
- ELSE IF bar[0] is BELOW SMMA on timeframe 1 AND
- Bar[0] is BELOW SMMA on timeframe 2 AND
- Bar[0] is ABOVE SMMA on timeframe 3
- Enter short with a TP of of (input7) points, a SL of (input8) points and a volume of (input9)
- ELSE
- Wait
- Limit trades to one active per instrument.
Testing so far seems to cast doubt on the idea of reversing the middle TF
Testing using just one TF and trying either a large TP/small SL or vice versa is quite interesting but it seems likely it isn’t enough - too random.
Some notes that might be entirely unimportant but adding them here anyway in case I change my mind
- Lower TP range
- Finer SL range 3900-4500
- Finer MA period 40-60
- MA price seems less important
- MA method ‘simple’ wins (unexpected)
- Lotsizes and maxtrades
- Clusters @ 0.15-0.2 and 23+
- 0.75-0.8 and 11-15
I think this is lot sizes and # of trades, respectively
Modify to trade on every MA cross?
This was made into an EA and feel free to try it out, with no implied or express warranties.
Attached File(s)
Snakes-Ladders-EAv5.ex4
36 KB
|
72 downloads