DMA (from a book of Di Napoli)
Author: adasko
Creation Date: 11/13/2008 2:04 AM
profile picture

adasko

#1
How to create na new indicator that is based on SMA but has a one parameter more (SHIFT). I would like to see a SMA that is shifted for example a 5 bar ago. So today I want to see a value from 5 bars ago.

Thanks
profile picture

Eugene

#2
This is explained in the QuickRef, "DataSeries Object":

CODE:
Please log in to see this code.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).