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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)