通達信操盤線買賣主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 策略
- 畫線方法: 主圖
- 日期:2023-06-01 來源:互聯(lián)網(wǎng)
通達信操盤線買賣主圖指標公式:
買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(買線,賣線);
SEL:=CROSS(賣線,買線);
DRAWTEXT(BU,LOW*0.989,'B'),COLORRED,LINETHICK3;
DRAWTEXT(BU,LOW,''),COLOR208FFF,LINETHICK3;
DRAWTEXT(SEL,HIGH,''),COLORFFFF00,LINETHICK3;
DRAWTEXT(SEL,HIGH*1.0175,'S'),COLORFFFF00,LINETHICK3;
STICKLINE(買線>=賣線,LOW,HIGH,1,0),COLORRED;
STICKLINE(買線>=賣線,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(買線>=賣線,CLOSE,OPEN,4,0),COLOR0000CC;
STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(買線>=賣線,CLOSE,OPEN,2,0),COLOR0000EE;
STICKLINE(買線<賣線,CLOSE,OPEN,4.5,0),COLORAAAA00;
STICKLINE(買線<賣線,CLOSE,OPEN,4,0),COLORBBBB00;
STICKLINE(買線<賣線,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE(買線<賣線,CLOSE,OPEN,2,0),COLOREEEE00;
STICKLINE(買線<賣線,LOW,HIGH,1,0),COLORFFFF00;
STICKLINE(CROSS(買線,賣線) OR CROSS(賣線,買線),OPEN,CLOSE,3,0),COLOR00FFFF;
指導線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;
界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;
DRAWTEXT(CROSS(指導線,界),界,''),COLORFFFFFF;
DRAWTEXT(CROSS(界,指導線),界,''),COLOR00FFFF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
G:=95;
DRAWTEXT(CROSS(J,D),L*0.999,''),COLOR00FFFF,LINETHICK4;
DRAWTEXT(CROSS(J,D),L,''),COLOR00FFFF;
DRAWTEXT(CROSS(J,G),H*1.005,''),COLORFFFF00,LINETHICK4;
DRAWTEXT(CROSS(J,G),H,''),COLORFFFF00;
通達信操盤線買賣主圖指標公式實例圖解:
通達信操盤線買賣主圖指標公式