Source: https://fxcodebase.com/code/viewtopic.php?f=38&t=59349
Forum: 38 · Topic 59349 · 1 post(s)
Alexander.Gettinger · Thu Aug 29, 2013 10:56 am
Original LUA oscillator: http://fxcodebase.com/code/viewtopic.php?f=17&t=58535.
Formulas: DMA[i] = EPrice[i]+(1-E)DMA[i-1], where E = DD, D = C2/31+(1-C)*2/3, C=A/B, A = Price[i] - Price[i-Length+1], B = Sum(Price[i]-Price[i-1]) from (i-Length+1) to (i).
Download: