1. 把这个副图公式改成选股公式
启爆A0:=EVERY(OPEN>CLOSE,3);
启爆A1:=C/REF(C,1)>1.03;
启爆A2:=SMA(MAX(CLOSE-REF(C,1),0),2,1)*C*102;
启爆A3:=SMA(ABS(CLOSE-REF(C,1)),2,1)*C*100;
启爆A4:=启爆A2/启爆A3*100<10;
启爆A5:=启爆A0 AND 启爆A4;
启爆A6:=MA(C,5)<REF(MA(C,5),1);
启爆A7:=REF(MA(C,5),4)>REF(MA(C,5),5);
启爆A8:=(H-C)/C*100<1 AND REF((O-C)/C*100>1,1) AND KDJ.J>25;
起爆点:(启爆A5,1) AND C>O AND 启爆A1 AND 启爆A6 AND 启爆A7 AND 启爆A8;
2. 如何编写通达信主力资金进出指标公式
JGV:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/10000;
DHV:=(L2_VOL(1,0) - L2_VOL(1,1))*VOL/10000;
ZHV:=(L2_VOL(2,0) - L2_VOL(2,1))*VOL/10000;
SHV:=(L2_VOL(3,0) - L2_VOL(3,1))*VOL/10000;
机构资金:EMA(JGV,60)*60/CAPITAL,COLORMAGENTA;
游资资金:EMA(DHV,60)*60/CAPITAL,COLOR3399FF ;
中户资金:EMA(ZHV,60)*60/CAPITAL,COLORCYAN;
散户资金:EMA(SHV,60)*60/CAPITAL,COLORGREEN;