Bollinger Band Squeeze & Expansion for Amibroker AFL –
Bollinger Band Squeeze & Expansion for Amibroker AFL is saying everything, Formula for intraday traders. But i would say that this afl for all those people who want to trade again n again n again daily for small profits, that means this afl formula is for scalpers. So see first trend in max timeframes, and trade on that . for small profits with small stoploss. So scalp the trend with the formula.
HERE IS Bollinger Band Squeeze & Expansion for Amibroker AFL
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
//www.stockbangladesh.com // Mehedi Arafat _SECTION_BEGIN("Bollinger Bands"); _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); //SetBarFillColor( IIf( C>O, colorGreen, colorRed ) ); Plot( C, "Close", colorBlack, styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); P = ParamField("Price field",-1); Periods = Param("Periods", 15, 2, 300, 1 ); Width = Param("Width", 2, 0, 10, 0.05 ); Color = ParamColor("Color", colorCycle ); Style = ParamStyle("Style"); bbtop=BBandTop( P, Periods, Width ); bbbot=BBandBot( P, Periods, Width ); Plot(bbtop, "BBTop" + _PARAM_VALUES(), Color, Style ); Plot(bbbot , "BBBot" + _PARAM_VALUES(), Color, Style ); diff=bbtop-bbbot; sqeezcolor=ColorRGB(194,220,218); expandcolor=ColorRGB(255,220,218); PlotOHLC( bbtop,bbtop, bbbot,bbbot, "Price chart shifted 10% up",IIf(((diff/bbtop)*100)<12,sqeezcolor,expandcolor), styleCloud ); // Plot( diff, "Diff", colorGreen, Style ); _SECTION_END(); |
Leave A Comment