Moving Average 3.0 (3rd Generation) script.
This indicator was originally developed and described by Dr. Manfred G. Dürschner in his paper “Gleitende Durchschnitte 3.0”.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
corta = 7 lunga = 21 matype = 0 // ------------- length1 = corta length2 = lunga mediatrezero = matype // https://www.prorealcode.com/documentation/average/ src = CustomClose // lambda = length1 / length2 alpha = lambda * (length1 - 1) / (length1 - lambda) // ma1 = average[length1,matype](src) ma2 = average[length2,matype](ma1) nma = (1 + alpha) * ma1 - alpha * ma2 // RETURN nma AS "Moving Average 3.0" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials