n:=4;攻击线:=ema((2*close+high+low)/4,5);生命线:=ema((2*close+high+low)/4,13);决策线:=ref(ema((low+close+open)/3,25),1); hh:=max(攻击线,max(生命线,决策线));ll:=min(攻击线,min(生命线,决策线));aa:=(hh-ll)/ll*100<n;bb:=攻击线>ref(攻击线,1) and 生命线>ref(生命线,1) and 决策线>ref(决策线,1);xg:aa and bb;(n为粘合程度,可以自己调整) 20210311
var1:=(2*close+high+low)/4;var2:=llv(low,34);var3:=hhv(high,34);xx:=ema((var1-var2)/(var3-var2)*100,13);yy:=ema(0.667*ref(xx,1)+0.333*xx,2);cross(xx,yy) and xx<20 ;
variable:p1=0;p2:=intpart(ref(cyc(5),1)*100)/100;p3:=intpart(ref(cyc(5),1)*0.96*100)/100;vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);p41:=intpart(ref(maxcyc,1)*100)/100;p4:=p1=0 and c>p2 o...
qdif:=ema(close,12)-ema(close,26);qdea:=ema(qdif,9);qmacd:=(qdif-qdea)*2;m5:=ma(c,5);m10:=ma(c,10);m20:=ma(c,20);dxw1:=if((zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2))and (re...
a1:=hhv(high,50)/llv(low,100)>1.5;a2:=(hhv(high,50)-low)/(hhv(high,50)-llv(low,100));a3:=(low-llv(low,100))/(hhv(high,50)-llv(low,100));a4:=hhvbars(high,50)<llvbars(low,100);a5:=a1 and a2>0.5...
a1:=dyna**(6);a2:=if(low>a1,0,if(high<a1,1,(a1-low+0.01)/(high-low+0.01)));a3:=vol/winner(low);a4:=ref(hhv(close,120),1);a5:=ref(llv(close,120),1);a6:=100*(close-a5)/(a4-a5);a7:=a2>0 or a2=1;...