09-10-2018, 02:04 PM
Hi all,
I can't find any code examples of where I can check time shifted MA values. For example, what an MA value was x candles back. Is this possible in Gekko?
In Pine editor it would be written sma(close[1]) for SMA 1 candle back.
I assume it's easy, but I haven't been able to find it : )
Thanks for your help!
I can't find any code examples of where I can check time shifted MA values. For example, what an MA value was x candles back. Is this possible in Gekko?
In Pine editor it would be written sma(close[1]) for SMA 1 candle back.
I assume it's easy, but I haven't been able to find it : )
Thanks for your help!