Download MetaTrader 5

EA should not trade pullback candles

To add comments, please log in or register
fulltilt
372
fulltilt 2014.07.20 07:38 

how to prevent order opening if pullback candles occur?

TF = H1


Keith Watford
Moderator
9639
Keith Watford 2014.07.20 12:28  
Define precisely what conditions constitute a pullback. Write the code to recognise such condition. If condition exists, then no trading.
Ian Venner
2584
Ian Venner 2014.07.20 16:50  
if (Close > Low) return;
qjol
3243
qjol 2014.07.21 02:05  

SDC:

if (Close > Low) return;

not a good idea

almost all the candles the close is higher than the low

it's rare to find a candle that the close and low equals

you must define how many point the close is higher from the low in order to hold up trading

To add comments, please log in or register