HPotter

DiNapoli Detrended Oscillator

DiNapoli Detrended Oscillator
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 02/04/2015
// DiNapoli Detrended Oscillator
////////////////////////////////////////////////////////////
study(title="DiNapoli Detrended Oscillator")
Length = input(14, minval=1)
hline(0, color=gray, linestyle=line)
xSMA = sma(close, Length)
nRes = close - xSMA
plot(nRes, color=blue, title="DiNapoli")
Donate BTC: 13fXLkhWuGMXRmcvwkG2gaWKcnsiD88bwE
USDT (TRC20): TH29EEXa19vfwZNYvxdUuMxoFY5QDYLcWG

Commenti

Looks good HP. Thank you very much, I appreciate you and your help. When you said you've made the first version, does than imply there will be a second?
+1 Rispondi
HPotter Dare2
You are welcome.
+1 Rispondi
HPotter Dare2
May be I will make Preferred Stochastic and etc.
+2 Rispondi
Dare2 HPotter
That would be very helpful. Also I have been trying as best as I can to code a MACD (or DEMA as DiNapoli calls it) but have been unsuccessful in using the decimal (float) values that he uses.
+1 Rispondi
HPotter Dare2
In the parameter? Try set it as constants in the code. Just use number.
+1 Rispondi
Dare2 HPotter
Yes in the parameters. I will give your suggestion a try.
+1 Rispondi
HPotter Dare2
In the parameter I also get a problem (((
+1 Rispondi
Hi! i used very much indicator.But all off them bad. Now i am trying DiNapoli Detrended Oscillator.actually this is Lyapunov HP oscillator.
Very good strategy when examined well.and definitely a profitable show.it is much more useful if you show lower and upper deviations more clearly.
Thanks.
Rispondi
You're back! If possible, could you please code an indicator that would show the % difference between price and a moving average?
Rispondi
Just range between last and MA in the %?
+1 Rispondi