I present you the chart oscillator where an oscillator (Stoch or RSI) is plotted on the chart itself (instead of below the chart) It is inspired on an idea of @Kablamicus
Instead of having the lines between 0 and 100, here the '0-100' are - lowest(low, len) - highest(high, len) An overbought/oversold and a middle line is derived from these lines and the oscillator goes in between.
It resembles very much the 'normal' oscillator, with a few extra's: - you can see the movement of the candles against the oscillator - S/R levels of oscillator, 50 line, overbought/oversold line, 0-100 line
Stoch:
RSI:
Also a table is included with the Stoch/RSI values
Thank you buddy.
Is it possible to make stoch smoother with below set up ? I did not know the code well to compile it by myself :(
PDS = input(10, minval=1)
EMAlen = input(9, minval=1)
TriggerLen = input(5, minval=1)
Overbought = input(80, minval=1)
Oversold = input(20, minval=1)
hline(Overbought, color=green, linestyle=line)
hline(Oversold, color=red, linestyle=line)
xPreCalc = ema(stoch(close, high, low, PDS), EMAlen)
xDSS = ema(stoch(xPreCalc, xPreCalc, xPreCalc, PDS), EMAlen)
Team_Sekoya
⋅
I have been looking for something like this for a long time. Thank you really
This publication is now featured in our Editors' Picks: tradingview.com/scripts/editors-picks/ .
In the name of all TradingViewers, thank you for your valuable contribution to the community, and congrats!