I am trying to write an EA to do the following:
For 1-HR timeframe:
1. 15 period MA cross above 30 period MA on eur/usd
2. 15 period MA cross below 30 period MA on usd/chf
3. 15 period MA cross above 30 period MA on eur/chf
condition
if buy signal on eur/usd + buy signal on eur/chf + sell signal on usd/chf then execute buy on eur/usd.
TakeProfit is 1X ATR value
StopLoss is 3X ATR value
close half position on 1x atr, trail stop remaining balance
The person who authored this method claims an 85% success rate. -> http://www.forexfactory.com/showpost...4&postcount=46
I am new to MQL so if anyone can help or provide similar examples that would be great. I will post my progress here
For 1-HR timeframe:
1. 15 period MA cross above 30 period MA on eur/usd
2. 15 period MA cross below 30 period MA on usd/chf
3. 15 period MA cross above 30 period MA on eur/chf
condition
if buy signal on eur/usd + buy signal on eur/chf + sell signal on usd/chf then execute buy on eur/usd.
TakeProfit is 1X ATR value
StopLoss is 3X ATR value
close half position on 1x atr, trail stop remaining balance
The person who authored this method claims an 85% success rate. -> http://www.forexfactory.com/showpost...4&postcount=46
I am new to MQL so if anyone can help or provide similar examples that would be great. I will post my progress here