Hi
I came across this idea on TradingView and was wondering if we could get this implemented on PRT. I’m not interested in all the alerts just the basic concept.
Can this be converted please?
https://www.tradingview.com/script/rf4D3m66-RSI-Donchian-R1-Alerts-by-JustUncleL/
Thanks
Rob
Please do not double post as it just leads to confusion and wasted time. I will delete your identical other request.
I think this is the basics of the indicator:
DCPeriod = 28
RSIPeriod = 14
HullPeriod = 8
HullRsi = WeightedAverage[ROUND(SQRT(HullPeriod))](2 * WeightedAverage[ROUND(HullPeriod / 2)](rsi[rsiperiod]) - WeightedAverage[HullPeriod](rsi[rsiperiod]))
upperdc = highest[dcperiod](HullRsi)
lowerdc = lowest[dcperiod](HullRsi)
middc = ((upperdc - lowerdc)/2) + lowerdc
return hullrsi coloured(0,0,255)style(line,2) as "RSI", upperdc as "UpperDC", lowerdc as "LowerDC", middc as "MidDC", 70 coloured(128,0,0) as "70", 30 coloured(128,0,0) as "30"
I think this is the basics of the indicator:
|
|
DCPeriod = 28
RSIPeriod = 14
HullPeriod = 8
HullRsi = WeightedAverage[ROUND(SQRT(HullPeriod))](2 * WeightedAverage[ROUND(HullPeriod / 2)](rsi[rsiperiod]) – WeightedAverage[HullPeriod](rsi[rsiperiod]))
upperdc = highest[dcperiod](HullRsi)
lowerdc = lowest[dcperiod](HullRsi)
middc = ((upperdc – lowerdc)/2) + lowerdc
return hullrsi coloured(0,0,255)style(line,2) as “RSI”, upperdc as “UpperDC”, lowerdc as “LowerDC”, middc as “MidDC”, 70 coloured(128,0,0) as “70”, 30 coloured(128,0,0) as “30”
|
Thanks Vonasi, looks good!
I like this indicator. Thanks for posting it. I adapted it to allow changes to the Donchian period and the RSI period.
I’ve just noticed that in prorealtime Version VII the rsi trace flat lines once the chart is displayed. i.e. it does not update in real time. In order to get it to update I have to refresh the chart by changing the time frame. Any ideas what might cause this?