Pretty_Good_Oscillator

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Pretty_Good_Oscillator

Postby Apprentice » Sat Jan 18, 2020 6:03 am

GBPUSD D1 (01-18-2020 1008).png

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.
Pretty_Good_Oscillator.lua
(4.95 KiB) Downloaded 363 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pretty_Good_Oscillator

Postby 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

https://www.tradingview.com/

Regards.
Avignon
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

Re: Pretty_Good_Oscillator

Postby Apprentice » Mon Jan 20, 2020 8:47 am

Your request is added to the development list.
Development reference 571.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pretty_Good_Oscillator

Postby Apprentice » Tue Jan 21, 2020 2:07 pm

Pretty_Good_Oscillator.lua
(3.17 KiB) Downloaded 325 times

Try this version.

TradingView does have several different implementations of this indicator.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pretty_Good_Oscillator

Postby 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
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

Re: Pretty_Good_Oscillator

Postby 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
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

Re: Pretty_Good_Oscillator

Postby 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.
Avignon
FXCodeBase: Graduate
 
Posts: 287
Joined: Mon Nov 17, 2014 3:54 am

Re: Pretty_Good_Oscillator

Postby Apprentice » Mon Jan 27, 2020 7:27 am

Your request is added to the development list.
Development reference 598.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia



Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 44 guests