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


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.

profile picture


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

Please log in to see this code.