aobv:="obv.obv";amacd:="macd.macd";adif:="macd.dif";adea:="macd.dea";aa1:=h=hhv(aobv,120);aa2:=amacd>0 and adif>adea;aa3:=ma(c,5)>ma(c,10)>ma(c,20) 条件成立:aa1 and aa2 and aa3; 20210311
量比:v/ref(ma(v,5),1),nodraw;涨幅:=(c-ref(c,1))/ref(c,1)*100;stickline(c(c,1)*0.9+0.005,0,v,3,0),colorcyan;stickline(涨幅,0,v,3,0),colorgreen;stickline(涨幅>-5 and 涨幅,0,v,3,0),colorwhite;stickline(涨幅>=3...
x1:=finance(7)<=300000000 and dyna**(7)>5;x2:=macd.macd>ref(macd.macd,1) and macd.dif<macd.dea ;x1 and count(x2,3)=3 and macd.dif>=0;快要金叉是个模糊的概念,公式无法准确表达出来,所以只能用白线连续3天向上来表达。
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;xg:ref(every(c<ma(c,21),21) ,1) and ex**t(cross(d,j),21)=1 and c>ma(c,21);
a1:=hhv(c,1800)>llv(c,1800)*1.6 and llv(c,1800)*2<hhv(c,1800) and count(c/ref(c,1)>0.098,100)>=1 and barscount(close)>600 ; a2:= (c-ma(c,200))/ma(c,200)<0.2 { 相对于200天线正乖离小于20% };a3:=...