sal,sal wrote:Mon Aug 30, 2021 4:13 pm Hai bro.
Today i check the live chart, some positions, inside bars arrows not appear . see snap marked arrows !!
we maight be code for BULL BAR HIGH/CLOSE >= BEAR BAR LOW/OPEN .
can you please check.!!
As i remember your example image was telling:
UP(GREEN) = current low and high is inside previous low and high, and current bar is bullish, and previous bar was bearish
DN(RED)= current low and high is inside previous low and high, and current bar is bearish, and previous bar was bullish
I made this rule:
UP(GREEN) = Low > Low[i+1] && High < High[i+1] && Close > Open && Close[i+1] < Open[i+1]
DN(RED)= Low > Low[i+1] && High < High[i+1] && Close < Open && Close[i+1] > Open[i+1]
Please, tell me if I missed something?!
Beacuse I dont not how to make it other way...
Where on this screenshot you said something wrong? Where "X" is drawn ?
I also uploaded your image with the example.