Hi Guys,

I have just started using this system and I am still in the learning phase. This is a very beginner question. I was trying to code a simple algorithm for which I needed to compare the Closing price of the previous two candles. So for example, if I was doing something like this on mql4 I would have used Close[1] > Close[2] to get the close price. But, how would I get something like this on this system. Could you guys help me out or point me to the right direction. Any help would be greatly appreciated.

 

 

Author