BAND BASE | AMIBROKER AFL -Bollinger Band Squeeze AFL

Bollinger Band Squeeze AFL – chỉ ra dấu hiệu rõ ràng của biểu đồ giao dịch. Bất kỳ ai cũng có thể giới thiệu điều này vào biểu đồ giao dịch của bạn, đó là Bollinger Bank Squeeze & Expansion Color.

Với Afl này, bạn có thể xác định xu hướng của một cổ phiếu. Bollinger Band AFL cung cấp cho bạn ý tưởng rõ ràng về xu hướng cổ phiếu, nơi nó đang mở rộng hay không. Bằng cách sử dụng AFL này, bạn cần biết khái niệm cơ bản về công thức Bollinger Band . 

Chỉ cần tải về và thưởng thức!!

 //  Author                :      KrT group

//  Uploader           :      www.pipschart.com

//  E-mail                    :      info@pipschart.com

//  Amibroker Blog    :      www.pipschart.com/amibroker

//  Origin                     :      Modified & Collected from different sources.

//----------------------------------------

 

_SECTION_BEGIN("KrT group");

GfxSetBkMode(1);

X=750;

Y=1;

Font=10;

GfxSelectFont("Impact",Font*2.2, 550);GfxSetTextColor(colorRed);GfxTextOut("KrT group",x,y);

GfxSelectFont("Impact",Font*2.2, 550);GfxSetTextColor(colorGreen);GfxTextOut("RESEARCH",x+120,Y);

 

_SECTION_END();

 

//--------------------------------------------------

 

 

_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();

 

Cách sử dụng AFL  cho Amibroker 

  • Tải xuống tệp Amibroker AFL.
  • Bây giờ hãy sao chép tệp afl và dán vào \Program Files\AmiBroker\Formulas\Custom. [Dành cho 32 bit] hoặc \Program Files(x86)\AmiBroker\Formulas\Custom. [Dành cho 64 bit]
  • Vào phần công thức của Amibroker và bạn sẽ thấy afl trong thư mục Custom.

Nguồn thông tin Dòng tiền chứng khoán sưu tầm 

https://pipschart.com/bollinger-band-zigzag-indicator/

Comments

Post a Comment

Popular posts from this blog

TẠI SAO NÊN ĐẦU TƯ CHỨNG KHOÁN ?

LỰA CHỌN CÔNG TY CHỨNG KHOÁN MỞ TÀI KHOẢN GIAO DỊCH

ĂN NHỊP HỒI VNINDEX THÁNG 10/2024

Labels

Show more