通达信准备买要大涨主图指标公式
2020/8/23 18:59:38
N:=9;
M1:=3;
M2:=3;
底部J值:=20;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J0:=3*K-2*D;
J:=MA(J0,2);
ZBXH:=22;
YMD:=150228;
YC:=MOD((YMD/10000),100);
MC:=MOD((YMD/100),100);
DC:=MOD((YMD),100);
Y1:=POW(YC,2)*10+POW(MC,2)*10+POW(DC,2)*1+YC*MC*DC;
Y2:=20000+POW(YC,2)*100+POW(MC,2)*10+POW(DC,2)*1000+YC*MC*DC;
Y3:=30000+POW(YC,2)*10+POW(MC,2)*1000+POW(DC,2)*100+YC*MC*DC;
YZB:=POW(YC,2)*ZBXH+POW(MC,2)*ZBXH+POW(DC,2)*ZBXH;
YES1:=3914;
YES2:=3914;
YES3:=3914;
YESZB:=22286;
GQ0:=(DATE()<=(1000000+YC*10000+MC*100+DC))+POW(10,-5);
GQ:=IF(GQ0 AND YES1 AND YESZB,1,DRAWNULL),NODRAW;
GQ10:=IF(GQ=DRAWNULL AND CURRBARSCOUNT<10,DRAWNULL,1);
VGQ:=GQ+0.001;
VV2:=(VGQ-1)*1000*(GQ0>1);
MA20:=MA(C,13);
平均涨速:=(MA20-REF(MA20,1))/MA20*100*(GQ10-0.001),NODRAW;
上涨冲动区:=平均涨速>=0.5,COLORMAGENTA;
底部0:=J<REF(J,1) AND J<REF(J,2) AND J<底部J值;
底部:=底部0 AND COUNT(底部0,5)=1;
底部平均距离:=100/COUNT(底部,100);
底部距离:=BARSLAST(底部)+1;
准备买0:=EXIST(底部距离>15,3) AND J<20;
准备买:准备买0 AND COUNT(准备买0,5)=1,NODRAW;
DRAWTEXT(准备买,L, '准备买'),COLORYELLOW;
强势回调:=COUNT(上涨冲动区,10)>=8 AND 准备买*VV2;
就要大涨:强势回调,COLORYELLOW,NODRAW;
DRAWTEXT(强势回调,L*0.98,'要大涨'),COLORYELLOW;
投股 票网 www.tou18 .cn
股市公式下载推荐