I want to make this formula how>>>>

#1
hi any body ...

I want to aske how to make rsi formula with time frame inidcator . I want to chang the time frame of rsi indicator from parameter

this time frame forumla
_SECTION_BEGIN("HigherTFCandle");
timeFrame = 60 * Param("Time",4000,1,200,1);
TimeFrameSet(timeFrame);

_N(Title = StrFormat("{{NAME}} - "+ Interval(2) + ", " + Date() + " - Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );

TimeFrameRestore();
_SECTION_END();

I want to put it in rsi indicator. how???
_SECTION_BEGIN("RSI");
SetChartOptions(0,0,chartGrid30|chartGrid70);
periods = Param( "Periods", 15, 1, 200, 1 );
Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();


th
 

Similar threads