Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=69328
Forum: 17 · Topic 69328 · 9 post(s)
Apprentice · Sat Jan 18, 2020 6:03 am

The Pretty Good Oscillator indicator by Mark Johnson measures the distance of the current close from its N-day simple moving average, expressed in terms of an average true range over a similar period.
Avignon · Sun Jan 19, 2020 8:22 pm
Hello,
I looked around out of curiosity. Your indicator’s different than the ones I found.
Here in french
Regards.
Apprentice · Mon Jan 20, 2020 8:47 am
Your request is added to the development list. Development reference 571.
Apprentice · Tue Jan 21, 2020 2:07 pm
Try this version.
TradingView does have several different implementations of this indicator.
Avignon · Tue Jan 21, 2020 7:20 pm
OK. I’ll look later. The formula seems to be this one.
For Tradingview, that would explain why there are few signals then.
Avignon · Sun Jan 26, 2020 1:05 pm
Hello,
Can you add the levels on the indicator and at once put a signal (sound and arrow)?
Thanks.
Avignon · Sun Jan 26, 2020 8:30 pm
Hello, again,
Can you explain it to me? I don’t understand how “EMA of true range” is calculated.
I tried to code it on PRT out of curiosity but I don’t have the same results.
Thanks, again.
Apprentice · Mon Jan 27, 2020 7:27 am
Your request is added to the development list. Development reference 598.
Apprentice · Tue Jan 28, 2020 2:02 pm

True range formula: https://en.wikipedia.org/wiki/Average_true_range EMA formula: http://fxcodebase.com/wiki/index.php/Ex … erage_(EMA