down3:=dow**ay(close,2) and (count(dow**ay(close,2),5)>=1 or count(dow**ay(close,3),5)>=1 or count(dow**ay(close,4),5)>=1 or count(dow**ay(close,5),5)>=1);xg1:=count(every(c/ref(c,1)<1,3),55)=0;xg:down3 and ref(xg1,5);(对照上证指数,将原公式与现公式比较,已测试) 20210311
n:=75;n1:=56;量:=vol;成交量(万):量/10000,colorwhite,nodraw;换手:=vol/capital*100;预测:=if(currbarscount=1 and period=5,量*240/fromopen,draw**);stickline(currbarscount=1 and period=5,预测,0,3,-1),coloryellow;虚拟量:预测...
ma5:=ma(close,5);ma10:=ma(close,10);ma60:=ma(close,60);pday1:=barslast(cross(ma5,ma60));pday2:=barslast(cross(ma10,ma60));pday3:=barslast(high=hhv(high,pday2));pday4:=barslast(cross(ma10,ma5) or (ref(...