BAND BASE | AMIBROKER AFL -Color Bollinger Bands Afl
DẢI
BOLLINGER MÀU CHO AMIBROKER AFL
Nếu
bạn muốn có được Số tiền lợi nhuận Không giới hạn trong thị trường ngoại hối hoặc
thị trường chứng khoán khác, bạn có thể sử dụng Dải Bollinger Màu. Công
thức Dải Bollinger Màu dành cho các nhà giao dịch trong ngày. Công thức
AFL của amibroker này cung cấp cho bạn ý tưởng rõ ràng về những gì đang diễn
ra.
Công
thức afl này dành cho những người đầu cơ lướt sóng. Vì vậy, hãy xem xu hướng đầu
tiên trong khung thời gian tối đa và giao dịch theo xu hướng đó. Kiếm lợi nhuận
nhỏ với mức dừng lỗ nhỏ. Vì vậy, hãy đầu cơ lướt sóng theo công thức.
Trong
hình Xem các công cụ vẽ sâu. Bạn có thể tìm ra tín hiệu mua ở đâu. Bạn cũng có
thể tìm ra tín hiệu bán. Như đã đề cập, Bollinger Bands Afl cung cấp cho bạn
tín hiệu chốt lời hoàn hảo. Khi Tín hiệu xuất hiện, bạn có thể lấy tín hiệu mà
không cần do dự.
// Author : KrT
group
// Up-loader : 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("Colorf
Bollinger Bands");
P =
ParamField("Price field",-1);
Period
= Param("Short Periods", 20, 15, 30, 1 );
Width
= Param("Short Width", 2, 1, 10, 1 );
TopCond=BBandTop(
P, Period, Width )>Ref(BBandTop( P, Period, Width ),-1);
MidCond=MA(C,Period)>Ref(MA(C,Period),-1);
BotCond=BBandBot(
P, Period, Width )>Ref(BBandBot( P, Period, Width ),-1);
UpColor=IIf(TopCond
AND MidCond,colorDarkBlue,colorDarkRed);
DownColor=IIf(MidCond
AND BotCond,colorDarkBlue,colorDarkRed);
PlotOHLC(BBandTop(
P, Period, Width ),BBandTop( P,Period, Width ),MA(C,Period),MA(C,Period), "",
UpColor, styleCloud+styleNoLabel
+styleNoTitle,
Null, Null, Null, -2 );
PlotOHLC(MA(C,Period),MA(C,Period),BBandBot(
P, Period, Width ),BBandBot( P, Period, Width ), "", DownColor, styleCloud+styleNoLabel
+styleNoTitle,
Null, Null, Null, -2 );
Plot(BBandBot(
P, Period, Width ),"",colorLime,styleThick+styleNoTitle, Null, Null, Null,
-1);
Plot(BBandTop(
P, Period, Width ),"",colorLime,styleThick+styleNoTitle, Null, Null, Null,
-1);
Plot(MA(C,Period),"",colorLime,styleThick+styleNoTitle,
Null, Null, Null, -1);
Title=Name();
Filter=TopCond
AND MidCond AND BotCond;
AddColumn(V,"volume",1.0);
_SECTION_END();
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title
= StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close
%g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC(
C,
1 ) ) ));
Plot(
C, "Close", ParamColor("Color", colorGold ), styleNoTitle |
ParamStyle("Style") | GetPriceStyle() );
_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/color-bollinger-bands-amibroker-afl/
Hữu ích !
ReplyDelete