I'm making my first strategy in pinescript so im learning how to code. Theres a step in my strategy that the moving average need to be pointing upwards. I was thinking that i could put that the value of the third previous ma candle was below the current value. The problem is that I don´t know how to do it. Can someone help with this?
The problem is that I don´t know how to do it. Can someone help with this?