Simple Chaikin Buy Sell for Amibroker (AFL)
jachyuen over 14 years ago Amibroker (AFL)
Simple Chaikin Buy Sell as introduced in p.422 in “TECHNICAL ANALYSIS THE COMPLETE RESOURCE FOR FINANCIAL MARKET TECHNICIANS”
Screenshots
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("Simple Chaikin Buy Sell");
r1 = Param( "Fast avg", 6, 2, 200, 1 );
r2 = Param( "Slow avg", 20, 2, 200, 1 );
Cha = Chaikin(r1,r2);
topCDev = StDev(Chaikin(r1,r2),r1);
botCDev = -StDev(Chaikin(r1,r2),r1);
Plot( Cha, "Chaikin", ParamColor( "Color", colorCycle ), ParamStyle("Style") );
Plot( topCDev, "topDev", ParamColor( "Color", colorCycle ), ParamStyle("Style") );
Plot( botCDev, "bottomDev", ParamColor( "Color", colorCycle ), ParamStyle("Style") );
Buy=Cross(Cha, botCDev);
Sell=Cross(topCDev, Cha);
Buy = ExRem( Buy, Sell );
Sell = ExRem( Sell, Buy );
shape=Buy*shapeUpArrow + Sell*shapeDownArrow;
PlotShapes(shape,IIf(Buy,colorBlue,colorRed),0,IIf(Buy,Low,High));
Plot( 0, _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();0 comments
Leave Comment
Please login here to leave a comment.