(1):ma(l+(h-l)/2,25)*1.15;道:ma(l+(h-l)/2,25)*0.95;中轨:(上通道+下通道)/2;股价:c;次上通道:(ma(c,5)+ma(o,5))/2*1.06;次下通道:(ma(c,5)+ma(o,5))/2*0.98;强弱线:(次上通道+次下通道)/2;(2)a1:=ref(c,1)/ref(c,2)>1.095;a2:=c>o and l/ref(c,1)>1.03;a3:=a1 and a2;a31:=count(a3,40);a4:=sumbars(a3,a31)-1;a5:=a4=1 and h>ref(hhv(h,40),38);a51:=count(a5,40);a6:=sumbars(a5,a51)-1>30;a7:= cross(c,ref(hhv(h,40),5));飞离跑道: a6 and a7; 20210311
ddx金交叉与kdj低位金交叉的公式 供大家参考下公式源码 tj1:=cross(ddx.ddx1,ddx.ddx2)or cross(ddx.ddx1,ddx.ddx3);tj2:=ddx.ddx1ddx.ddx2 and ddx.ddx2ddx.ddx3;tj3:=cross(kdj.k(9,3,3),kdj.d(9,3,3))and kdj.d(9,3,3)30;tj4:=tj1 and t...
dif:ema(close,12)-ema(close,26);dea:ema(dif,9);macd:(dif-dea)*2,colorstick;jccount:=count(cross(dif,dea),barslast(dea>=0));二金:=cross(dif,dea) and dea<0 and count(jccount=2,21)=1;stickline(二金,0,-...
ma5:=ma(vol,5);ma60:=ma(vol,60);倍:=v/ref(v,1);倍量:=倍>=2 and c>ref(c,1);周期1:=barslast(倍量>0);周期2:=周期1+ref(周期1,周期1+1);收盘价1:=ref(c,周期1);收盘价2:=ref(c,周期2+1);选股:(o>收盘价1 and o>收盘价2);