HPotter

DiNapoli Detrended Oscillator

DiNapoli Detrended Oscillator
Remove from Favorite Scripts Add to Favorite Scripts
////////////////////////////////////////////////////////////
//  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/TIP

BTC: 3FKWwtaYrf5NHZzaCi1fyAfQj7XSgtyCqe
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.
Reply
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 Reply
You are welcome.
+1 Reply
May be I will make Preferred Stochastic and etc.
+2 Reply
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 Reply
In the parameter? Try set it as constants in the code. Just use number.
+1 Reply
Dare2 HPotter
Yes in the parameters. I will give your suggestion a try.
+1 Reply
In the parameter I also get a problem (((
+1 Reply
You're back! If possible, could you please code an indicator that would show the % difference between price and a moving average?
Reply
Just range between last and MA in the %?
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out