通達(dá)信SAR主圖指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 趨勢
- 畫線方法: 主圖
- 日期:2023-02-01 來源:互聯(lián)網(wǎng)
通達(dá)信SAR主圖指標(biāo)公式:
MA5:MA(CLOSE,5),LINETHICK1,COLORGREEN;
MA10:MA(CLOSE,10),LINETHICK1,COLORRED;
MA30:MA(CLOSE,30),LINETHICK2,COLORYELLOW;
_持倉:IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),
DRAWNULL),CIRCLEDOT,COLORRED,{COLOR9955FF};
_空倉:IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),
DRAWNULL),CIRCLEDOT,COLORGREEN,{COLORDDFF00};
_現(xiàn)價(jià):CLOSE,COLORWHITE,NODRAW;
_10日漲跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
{二次給力}
給:=EMA(C,2),COLORRED;
力:=EMA(SLOPE(C,9)*20+C,37);
買:=CROSS(給,力);
賣:=CROSS(力,給);
DRAWICON(買,L*0.85,1);
DRAWTEXT(買,L*0.95,''),COLORYELLOW;
DRAWICON(賣,H*1.05,2);
DRAWTEXT(賣,H*1.08,''),COLORWHITE;
STICKLINE(給>=力,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(給>=力,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(給>=力,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(給>=力,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(給<力,LOW,HIGH,0.01,0),COLORFFDD00;
STICKLINE(給<力,CLOSE,OPEN,2,0),COLORFFFF00;
STICKLINE(CROSS(給,力),OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(CROSS(力,給),OPEN,CLOSE,2.5,0),COLORWHITE;
通達(dá)信SAR主圖指標(biāo)公式實(shí)例圖解:
通達(dá)信SAR主圖指標(biāo)公式