i want codde for inside candle where open high low close of second candle is within the range of previous candle
For the above given condition
LOW>REF(LOW,1) AND HIGH<REF(HIGH,1)
Can you please comment the code. If you comment, we may use the same syntax for other situations also
I need to compare the first four 15 min candles high and low.
I wrote the following but not working
#Comparing 1st and 4th candles
(REF(LOW,1)>REF(LOW,4) AND REF(HIGH,1)<REF(HIGH,4)
by the way is above code correct?
Awaiting your comments.