通达信埋伏主图 源码
用法:选:1时关注股票,第二日站上阴线的实体就买进
结合MA2均线效果不错。
涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
震仓线:=45;
震仓线2:=50;
抄底线:=20;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH1:=COUNT(涨停,12)>=1;
HH:=REF(HH1,1);
STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
A:SMA(L,4,3),NODRAW;
STICKLINE(REF(PP,1) AND HH ,A*0.9999,A*0.9979,5,0);
DRAWICON(REF(PP,1) AND HH,L*0.98,7);
STICKLINE(REF(PP3,1) AND HH ,A*0.9999,A*0.9979,5,0);
DRAWICON(REF(PP3,1) AND HH,L*0.98,7);
A1:=REF(PP,1) OR REF(PP3,1);
选:(PP OR PP3) AND HH,NODRAW;
N:=20;
M:=32;
P1:=80;
P2:=100;
VAR1:=(C+H+O+L)/4;