牛股第二波指标 通达信公式(附图)

[复制链接]
查看147 | 回复0 | 2021-8-20 15:41:51 | 显示全部楼层 |阅读模式

C2:= REF(C,1);
涨停:= IF(REF(C,1) * 1.06 - C<0.01,1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
MA3: MA(C,3);
MA8: MA(C,8);
MA13: MA(C,13);
MA21: MA(C,24);
MA30: MA(C,30);
MA48: MA(C,48);
MWB3: EMA(C,90),DOTLINE,COLORRED;
MWBB3: EMA(C,100),DOTLINE,COLORRED;
EMWB2: EMA(C,60),DOTLINE,COLORBLUE;
EMWBB2: EMA(C,55),DOTLINE,COLORBLUE;
LC:= REF(CLOSE,1);
操作线:= SMA(MAX(CLOSE - LC,0),2,1)/SMA(ABS(CLOSE - LC),2,1) * 100;
趋势线:= SMA(MAX(CLOSE - LC,0),14,1)/SMA(ABS(CLOSE - LC),14,1) * 100;
震仓线:= 45;
震仓线2:= 50;
逃命线:= 80;
抄底线:= 20;
绝底线:= 5;
P2:= 操作线<震仓线2 AND REF(操作线,1)>震仓线2;
P:= 操作线<震仓线 AND REF(操作线,1)>震仓线;
P3:= 操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:= COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
A:= SMA(L,4,3);
STICKLINE(A AND REF(PP,1) AND HH,A * 0.9999,A * 0.9979,5,0),COLORGREEN;
IF(A AND REF(PP,1) AND HH,L * 0.99,DRAWNULL),CIRCLEDOT,COLORRED;
DRAWICON(A AND REF(PP,1) AND HH,L * 0.98,1);
STICKLINE(A AND REF(PP3,1) AND HH,A * 0.9999,A * 0.9979,5,0),COLORGREEN;
IF(A AND REF(PP3,1) AND HH,L * 0.99,DRAWNULL),CIRCLEDOT,COLORRED;
DRAWICON(A AND REF(PP3,1) AND HH,L * 0.98,1);

1535603J9430-250J.jpg

1535603J9430-250J.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则