Type : ExpertAdvisor (Robot Trading)
Positions : 1 to Multiple
Profit/SL : Scalp/Floating
TF : M5
Acc/Lot : Micro / 0.01
Trigger : PriceAction (OHLC)
Hello, I've tried to make open order conditions based on price action (OHLC)
using Low[] array, with this simple condition :
if current bar low is lower than previous bar low = sell_signal
if current bar low is higher than previous bar low = buy_signal
translate to the coding, where 0 is current bar and 1 is previous bar :
if (low[0] < low[1]) order=sell_signal;
if (low[0] > low[1]) order=buy_signal;
but, when tested on M5 timeframe, it only trigger sell_signal.
do i need to submit full coding here?
Positions : 1 to Multiple
Profit/SL : Scalp/Floating
TF : M5
Acc/Lot : Micro / 0.01
Trigger : PriceAction (OHLC)
Hello, I've tried to make open order conditions based on price action (OHLC)
using Low[] array, with this simple condition :
if current bar low is lower than previous bar low = sell_signal
if current bar low is higher than previous bar low = buy_signal
translate to the coding, where 0 is current bar and 1 is previous bar :
if (low[0] < low[1]) order=sell_signal;
if (low[0] > low[1]) order=buy_signal;
but, when tested on M5 timeframe, it only trigger sell_signal.
do i need to submit full coding here?