if open BUY and before goes to TP or SL
gives a SELL signal probably is a sideways phase ... (or trend change )
this is happen when you have the
trend filter = off
in this case it could be nice to have a sideways filter too example if ATR is less than TP no trade
or if ATR = 10 pips or less dont open new signals (i m guessing you go for more than 10 pips TP)
in other words ... this need some research
also there are other indicators that can do the same ..
the best is a long trend filter = on
one ides is use the same filter code but looking longest time frame example 1h , 4h, 1d
gives a SELL signal probably is a sideways phase ... (or trend change )
this is happen when you have the
trend filter = off
in this case it could be nice to have a sideways filter too example if ATR is less than TP no trade
or if ATR = 10 pips or less dont open new signals (i m guessing you go for more than 10 pips TP)
in other words ... this need some research
also there are other indicators that can do the same ..
the best is a long trend filter = on
one ides is use the same filter code but looking longest time frame example 1h , 4h, 1d