通達(dá)信輕松短線指標(biāo)公式
2020/1/26 18:34:17
本文公式指標(biāo)的選股公式如下:
輕松短線之買選股指標(biāo)公式
N:=65;
MA5:=MA(CLOSE,5);
MA21:=MA(CLOSE,21);
MA65:=MA(CLOSE,N);
多頭:=COUNT(MA21>MA65,10)=10;
GX:=MAX(MA5,MAX(MA21,MA65));
DX:=MIN(MA5,MIN(MA21,MA65));
粘合:=ABS(GX/DX-1)*100<=15;
多頭粘合:IF(多頭 AND 粘合,1,0),COLORFF00FF,POINTDOT,NODRAW;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
{看股吧-股票公式網(wǎng)站 m.bankruptcyebook.com}
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
莊股:COUNT(MACD<0,10)=10,COLORFFFF00,POINTDOT,NODRAW;
目標(biāo):IF(多頭 AND 粘合 AND 莊股,5,0),COLORFFFFFF,LINETHICK2;
跟蹤:=IF(目標(biāo),BARSLAST(CROSS(目標(biāo),0))+1,0),COLOR00FF00,POINTDOT,LINETHICK2;
出擊:IF(CROSS(0.1,目標(biāo)) AND CROSS(MACD,0),8,0),COLOR00FFFF,LINETHICK2;
MJSJ:=BARSLAST(出擊>0);
漲幅:IF(MJSJ<=120,(C/REF(C,MJSJ)-1)*100,0),COLOR0000FF,CIRCLEDOT;
日漲:=IF(MJSJ<=120,漲幅/MJSJ,0),COLORFFFFFF,POINTDOT,NODRAW;
TPX:=MIN(MA65*1.15,MA21*1.13);
突破:IF(CROSS(C,TPX) AND 粘合 AND MA65>REF(MA65,1),10,0),COLOR0000FF,LINETHICK2;
{以下設(shè)置副圖顯示方式}
STICKLINE(多頭粘合,0,1,3,0),COLORFF00FF;
STICKLINE(莊股,0,MACD*10,3,0),COLORFFFF00;
DRAWTEXT(出擊>0,8,'★買'),COLOR00FFFF;
STICKLINE(CROSS(漲幅,20) AND COUNT(CROSS(漲幅,20),MJSJ)=1,-5,10,0,0),COLOR0000FF;
看 股吧公式 www.kan guba.com
其它股票公式列表