JMohan / Publications
Forum
How to check ..
How to check if the current candle is the 1 pm candle and check the 5 previous candles whether they are buy or sell and maintain a count. Below is the code but it isnt working int get3amCandle() { static datetime currentBar = Time [ 0 ]; double closeCandle, openCandle; int i= 0 ;