Skip to main content

CCT Stochastic RSI (StochRSI) for Amibroker (AFL)

gandalfk over 8 years ago Amibroker (AFL)

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

StochRSI, proposed by Steve Karnish of Cedar Creek Trading, reconfigure classic StochRSI using custom parameters and smoothing.

Here is an ambroker implementation of a very adjustable version that I created based on the following:

https://www.tradingview.com/script/T1IH3ijF-CCT-StochRSI-LazyBear/

Indicator / Formula

Copy & Paste Friendly
perRsi = Param( "Per RSI", 21, 1, 100 );
smoothPer = Param( "Smooth Periods", 3, 1, 100 );
perLowestA = Param( "Lowest Periods X", 8, 1, 100 );
perLowestB = Param( "Lowest Periods Z", 13, 1, 100 );
perHighest = Param( "Highest Periods Y", 13, 1, 100 );

r = RSI( perRsi );
cctstochrsi = 100 * (r - LLV( r , perLowestA )) / (HHV( r , perHighest ) - LLV( r, perLowestB) + 0.0001);

Plot( cctstochrsi , "StoRSI", colorRed, styleThick );
Plot( EMA( cctstochrsi, smoothPer) , "Signal", colorBlue, styleThick );
Plot( 90 , "Signal", colorBlue, styleDashed );
Plot( 10 , "Signal", colorBlue, styleDashed );

2 comments

2. joeoil
over 8 years ago

It works fine in Amibroker v. 5.90, so I guess it must be something wrong with your Amibroker.

Leave Comment

Please login here to leave a comment.