VOLUME INDICATOR | AMIBROKER AFL -Volume Price Analysis Related Vol Afl

VPA Related Vol AFL For Amibroker là một AFL động khác dành cho Giao dịch thành công. AFL này được tạo ra dựa trên lý thuyết phân tích giá khối lượng. Chỉ cần theo dõi mức giá và xác định khối lượng liên quan, sau đó lấy tín hiệu mua hoặc bán. Hệ thống Volume Break out là công việc động cho nó.  

Trong hình, bạn có thể theo dõi mức giá và chú ý đến hệ thống đột phá của mức khối lượng. Thanh giá thấp và khối lượng đột phá cho bạn tín hiệu mua và thanh giá cao khối lượng cao cho bạn tín hiệu bán.

Trong hình AFL cho chúng ta biết rằng nếu giá thấp nhưng khối lượng phá vỡ thì hãy lấy tín hiệu mua mạnh. Mặt khác, nếu có tình huống – Giá cao và khối lượng cao thì nó cho bạn biết hãy thoát khỏi cổ phiếu hoặc cặp đó.  

//  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("VPA_Relative_Vol");

LBP = Param("Look Back", 15, 0, 100,1 );

V1=IIf(V<=0,MA(V,LBP),V);  //minimize errors on volume data (data <= 0)

Mean = MA(ln(V1),LBP);     // LBP periods moving average of(natural logaritm of( volume))

avvol = exp(mean);         // average volume

VolUnit = avvol/3.5;       // avvol=VolUnit*3.5

// color up bar volume blue, down bar volume red, volume lower than the volumes of the 2 previous bars pink

Clr = IIf(V1<Ref(V1,-1)AND V1<Ref(V1,-2),11,IIf(Close>Ref(Close,-1),29,IIf(Close==Ref(Close,-1),1,32)));

 

                                    //   Ultra High band

                                    //   Ultra High band

                                    //   Ultra High band

VeryHighBand = avvol + VolUnit*3.5;// 7 ----------------

                                    //   Very High band  

HighBand = avvol + VolUnit*2.5;    // 6 ----------------

                                    //   High band      

                                    //   High band      

AvgBandHigh = avvol + VolUnit/2;   // 4 ----------------

//------------------------------------ 3.5 Average band

AvgBandLow = avvol - VolUnit/2;    // 3 ----------------

                                    //   Low band

                                    //   Low band

LowBand = avvol - VolUnit*2.5;     // 1 ----------------

                                    //   Very low band  

//-------------------------------------0-----------------

Plot(exp(ln(V1)),"",Clr,6); // plot Volume Histogram

Plot(avvol,"",29,1);// plot average volume

Plot(0,"",29,1|4096); // plot 0 volume

Plot(LowBand,"",40,styleArea|1|4096);

Plot(AvgBandLow,"",52,styleArea|1|4096);

Plot(AvgBandHigh,"",10,styleArea|1|4096);

Plot(HighBand,"",52,styleArea|1|4096);

Plot(VeryHighBand,"",40,styleArea|1|4096);

 

_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/vpa-related-vol-afl/

Comments

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