通達信粘合出擊買進指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2022-05-31 來源:互聯網
通達信粘合出擊買進指標公式:
N1:=5;N2:=10;N3:=20;
MA1:=MA(C,N1);
MA2:=MA(C,N2);
MA3:=MA(C,N3);
MA30:=MA(C,30);
GX:=MAX(MA1,MAX(MA2,MA3));
DX:=MIN(MA1,MIN(MA2,MA3));
QSXS:=DX>MA30 AND MA30>REF(MA30,1);
均線粘合:IF(ABS(GX/DX-1)*100<=3,1,0),COLORFFFFFF,POINTDOT,LINETHICK0;
FL:=V>REF(V,1) OR V>MA(V,5);
SZ:=(CROSS(C,MA(C,3)) OR CROSS(C,MA(C,5))) AND C>=O;
放量上漲:IF(FL AND SZ,1,0),COLOR00FFFF,POINTDOT,LINETHICK0;
果斷出擊:FILTER(COUNT(均線粘合,2) AND COUNT(放量上漲,2) AND C>O AND QSXS,2)*100,COLOR00FF00;
{以下設置副圖顯示方式}
STICKLINE(均線粘合,0,10,4,0),COLOR00FF00;
STICKLINE(均線粘合,0,-10,4,0),COLORFF00FF;
STICKLINE(放量上漲,0,50,0.1,0),COLOR00FFFF;
{以下設置果斷出擊后的漲幅跟蹤,不需要的可以刪除}
MRSJ:=BARSLAST(果斷出擊);
漲:(C/REF(C,MRSJ)-1)*100*(MRSJ<=20),COLOR8800FF;
ZZ:=MRSJ<20 AND CROSS(H,REF(C,MRSJ)*1.09999);
知足:=ZZ AND COUNT(ZZ,MRSJ)=1;
DB:=MRSJ<20 AND CROSS(H,REF(C,MRSJ)*1.05);
達標:=DB AND COUNT(DB,MRSJ)=1;
STICKLINE(知足,0,50,4,0),COLOR0000FF;
DRAWTEXT(知足,80,'+10%'),COLORFFFFFF;
STICKLINE(達標,0,30,4,0),COLORFFFFFF;
DRAWTEXT(達標,50,'+5%'),COLOR00FFFF;
通達信粘合出擊買進指標公式實例圖解:
通達信粘合出擊買進指標公式