Hello, I would like to use the lbr-rsi indicator in Prorealtime. This indicator plots a 3-period rsi of a 1-period rate of change. The values of 70 and 30 are pertinent. Could I get some help with the code? I found this code on the internet, see below. Is the code correct for my purpose, and can you help translating for Prorealtime? I have been looking for the indicator for quite a while, would be great to have it in our library. Thank you very much!
_SECTION_BEGIN(“WB LBR-RSI”);
SetChartOptions(0,0,chartGrid30|chartGrid50|chartGrid70);
RSIPer = Param( “RSIPer”, 3, 1, 200, 1 );
ROCPer = Param(“ROCPer”, 1, 1, 200, 1 );
Upper=Param(“Upper”, 70, 50, 100, 1);
Lower=Param(“Lower”, 30, 0, 50, 1);
Plot( RSIa(ROC(C,ROCPer),RSIPer), _DEFAULT_NAME(), ParamColor( “Color”, colorBlue ), ParamStyle(“Style”, styleThick) );
Plot(Upper,”Upper”,ParamColor( “ColorUpper”, colorBlue ),styleLine);
Plot(Lower,”Lower”,ParamColor( “ColorLower”, colorBlue ),styleLine);
Title =FullName();
_SECTION_END();