大三浪主升副图/选股预警 通达信 源码 贴图
预警选股公式源码:
N:=65;
MA5:=MA(CLOSE,5);
MA21:=MA(CLOSE,21);
MA65:=MA(CLOSE,65);
多头:=COUNT(MA21 MA65,10)=10;
GX:=MAX(MA5,MAX(MA21,MA65));
DX:=MIN(MA5,MIN(MA21,MA65));
粘合:=ABS(GX/DX-1)*100
多头粘合:=IF(多头 AND 粘合,1,0);
DIFF:=EMA(CLOSE,12) -
EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
庄股:=COUNT(MACD 0,10)=10;
目标:=IF(多头 AND 粘合 AND 庄股,5,0);
出击:=IF(CROSS(0.1,目标) AND CROSS(MACD,0),8,0);
MJSJ:=BARSLAST(出击
涨幅:=IF(MJSJ =120,(C/REF(C,MJSJ)-1)*100,0);
CROSS(涨幅,20) AND COUNT(CROSS(涨幅,20),MJSJ)=1;