Source: https://fxcodebase.com/code/viewtopic.php?f=38&t=62487
Forum: 38 · Topic 62487 · 1 post(s)
Alexander.Gettinger · Wed Jul 29, 2015 7:44 am
The indicator resets to zero when price crossing the MA. If Price>MA, Indicator>0, If Price<MA, Indicator<0.
Download: