Hi
I’m new to the site and also new to Prorealtime, I was wondering if someone could help me code. the attached indicators, that I have used on an alternative platform. I found something similar on the site.
Laguerre ROC (Rate Of Change)
Any help would be much appreciated
kind regards
Lee
Do you have screenshots please? The code you provided contains 2 different indicators code, I’d like first to see how they are rendering on a price chart. Thank you.
Hi Nicolas,
Thankyou for the reply, I have attached a screen shot of the indicator on a price chart.
thanks again
lee
I found this code in an old french forum about Laguerre RSI (for reference purpose, yours is different and I’ll translate it later)
//Laguerre RSI
gamma=0.7
pr=medianprice
once l0=pr
once l1=pr
once l2=pr
once l3=pr
once rsil=undefined
if barindex>0 then
l0=(1-gamma)*pr+gamma*l0[1]
l1=-gamma*l0+l0[1]+gamma*l1[1]
l2=-gamma*l1+l1[1]+gamma*l2[1]
l3=-gamma*l2+l2[1]+gamma*l3[1]
cu=0
cd=0
if l0>=l1 then
cu=l0-l1
else
cd=l1-l0
endif
if l1>=l2 then
cu=cu+l1-l2
else
cd=cd+l2-l1
endif
if l2>=l3 then
cu=cu+l2-l3
else
cd=cd+l3-l2
endif
rsil=cu/(cu+cd)
endif
return rsil,0.2,0.8
About the ‘Projection pivot’: so it’s the dotted lines on your chart? How do you use it? I’d like to understand it a bit before doing its translation, thanks.
From what platform is the original code please?
Hi Nicolas,
The RSI/ fractal energy indicator was used on Think or swim platform, the RSI/fractal energy indicator is used quite effectively to find top and bottoms with quite effective entrys and exits. The pivot points I have not used, it just something I got given that I was thinking of trying (but the pivot points are not important, i’m slowly trying to learn to code, so hopefully I will be able to read and understand and hopefully write the code for pivot points in the near future)
Thanks again it’s much appreciated
Lee
Honestly, converting code from think or swim to prorealtime is not a big deal. I translated successfully your laguerre RSI indicator to PRT, I’ll post code tomorrow in the Library.
that is brilliant, great job thankyou. I though my transition onto prorealtime was going to be painful, thankfully this forum makes it quite the opposite.
cheers
Lee
You can now find this indicator to download in this library’s post: Laguerre RSI with dynamic gamma