Skip to main content

STORSI for Amibroker (AFL)

taxxghost about 14 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 3)
  • Tags:
    oscillator, amibroker

Simple average of linear regressions of Stochastic and RSI indicators. A smoothed combination of these two indicators.

Screenshots

Indicator / Formula

Copy & Paste Friendly
periods = Param( "Periods", 14, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
regperiods = Param( "LinRegPeriods", 13 );
maperiods = Param( "MAPeriods", 4 );
LRSI = LinearReg(RSI( periods),regperiods);
LSTO = LinearReg(StochK( periods, Ksmooth),regperiods);
STORSI = (LRSI + LSTO)/2;
STORSIma = WMA(STORSI,maperiods);
Plot( STORSI, _DEFAULT_NAME(), ParamColor( "STORSIColor", colorBlue ), ParamStyle("STORSIStyle") );
Plot( STORSIma, "STORSIma" + _PARAM_VALUES(), ParamColor( "MAColor", colorRed ), ParamStyle("MAStyle") );

0 comments

Leave Comment

Please login here to leave a comment.