通達信快速KD買賣主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 超買超賣
- 畫線方法: 主圖
- 日期:2021-05-28 來源:互聯(lián)網(wǎng)
通達信快速KD買賣主圖指標公式:
EMA5:MA(C,5),COLORFF00FF,LINETHICK1;
EMA10:MA(C,10),COLOR00FFFF,LINETHICK1;
EMA21:=MA(C,21),COLORC0FF7F,LINETHICK1;
EMA60:MA(C,60),COLORFFFFFF,LINETHICK1;
VAR1:=LLV(LOW,5);
VAR2:=HHV(HIGH,5);
K:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,4),COLORRED,LINETHICK2;
D:= EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE,LINETHICK1;
AA:=K>=D;
BB:=D>K;
買入:DRAWICON(CROSS(AA,BB),L,1);
賣出:DRAWICON(CROSS(BB,AA),H,2);
STICKLINE(AA,C,O,3,0),COLORFFBBFF;
STICKLINE(AA,H,L,0,0),COLOR00FFFF;
STICKLINE(BB,C,O,3,0),COLOR00FF00;
STICKLINE(BB,H,L,0,0),COLORFF0000;
STICKLINE(AA,CLOSE,OPEN,3.0,0),COLORFF00FF;
STICKLINE(AA,CLOSE,OPEN,2.6,0),COLORFF22FF;
STICKLINE(AA,CLOSE,OPEN,2.2,0),COLORFF44FF;
STICKLINE(AA,CLOSE,OPEN,1.8,0),COLORFF66FF;
STICKLINE(AA,CLOSE,OPEN,1.4,0),COLORFF88FF;
STICKLINE(AA,CLOSE,OPEN,1,0),COLORFF99FF;
STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORFFAAFF;
STICKLINE(AA,CLOSE,OPEN,0.1,0),COLORFFBBFF;
STICKLINE(BB,CLOSE,OPEN,3,0),COLOR008800;
STICKLINE(BB,CLOSE,OPEN,2.6,0),COLOR009900;
STICKLINE(BB,CLOSE,OPEN,2.2,0),COLOR00AA00;
STICKLINE(BB,CLOSE,OPEN,1.8,0),COLOR00BB00;
STICKLINE(BB,CLOSE,OPEN,1.4,0),COLOR00CC00;
STICKLINE(BB,CLOSE,OPEN,1,0),COLOR00DD00;
STICKLINE(BB,CLOSE,OPEN,0.6,0),COLOR00EE00;
STICKLINE(BB,CLOSE,OPEN,0.2,0),COLOR00FF00;
STICKLINE(買入,O,(C-O)/2+O,3,0),COLOR335555;
STICKLINE(買入,O,(C-O)/2+O,2.2,0),COLOR338888;
STICKLINE(買入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;
STICKLINE(買入,O,(C-O)/2+O,1,0),COLOR33CCCC;
STICKLINE(買入,O,(C-O)/2+O,0,0),COLOR33EEEE;
STICKLINE(賣出,O,(C-O)/2+O,3,0),COLOR550055;
STICKLINE(賣出,O,(C-O)/2+O,2.2,0),COLOR880088;
STICKLINE(賣出,O,(C-O)/2+O,1.5,0),COLORAA00AA;
STICKLINE(賣出,O,(C-O)/2+O,1,0),COLORCC00CC;
STICKLINE(賣出,O,(C-O)/2+O,0.5,0),COLOREE00EE;
通達信快速KD買賣主圖指標公式實例圖解:
通達信快速KD買賣主圖指標公式