开板预警公式
原来付费源码,现在源码公开如下:
DTJ:=DTPRICE(REF(C,1),0.1);
KCJ:=1.01*REF(O,1);
平仓价:0.99*H,NODRAW;
涨停价:ZTPRICE(REF(C,1),0.1),NODRAW;
止损价:DTJ*1.01,NODRAW;
FB:=C=涨停价;
即时:=DYNAINFO(8)/TRADENUM,NODRAW;
封板强度:DYNAINFO(58)/即时/15,NODRAW,COLORYELLOW;
KBYJ:=C=涨停价 AND 封板强度<100 AND FROMOPEN<236 ;
FBBZ:=C<涨停价 AND H=涨停价;
PZPC:=REF(FB,1)=0 AND H>KCJ AND C<平仓价;
ZS:=L<止损价;
WPPC:=FROMOPEN>235 AND C<涨停价;
PCTJ:=KBYJ OR FBBZ OR PZPC OR WPPC;
PC:=PCTJ AND ISLASTBAR=1;
DRAWTEXT_FIX(PC,0.5,0.1,0,'感恩的心'),COLORYELLOW;
DRAWTEXT_FIX(O>0,0.1,0.1,0,'平仓副图'),COLORYELLOW
----------------------------------
赞 (0)