time shifted MA example
#1
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! 
  Reply


Messages In This Thread
time shifted MA example - by jamieturnough - 09-10-2018, 02:04 PM
RE: time shifted MA example - by cubit - 09-18-2018, 10:36 PM
RE: time shifted MA example - by jamieturnough - 09-26-2018, 03:48 AM
RE: time shifted MA example - by askmike - 09-26-2018, 06:06 AM

Forum Jump:


Users browsing this thread: