a1:=(dvol/c)/2;a2:=sum(if(a1>100 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>100 and close<ref(close,1),a1,0),0);a4:=sum(if(a1<100 and close>ref(close,1),a1,0),0);a5:=sum(if(a1<100 and close<ref(close,1),a1,0),0);a6:=a2+a3+a4+a5;机买:=(a2/a6)*100;机卖:=(a3/a6)*100;主力:=机买-机卖;xg:主>=ref(主力差,1)+1.5;(dvol为不定周期成,为未来函数! 20210311
获利**:=ema(winner(c)*70,5),colormagenta;亏损**:=ema((winner(c*1.1)-winner(c*0.9))*80,5),coloryellow;主力控筹:=if(获利**>亏损**,获利***2,获利**),colorred;主力控筹>获利** and ref(主力控筹=获利**,1);凭感觉,你应该要主力控筹大于获利**的条件。不是再...
黄**域出现‘s’为选股条件,只需以下函数即可:v0:=vol*(o+c+h+l)/4;a:=ema(v0,21)/ema(vol,21);sy:=a>=ref(a,1);var1:=close>ref(close,1) and close>ref(close,2);var2:=ref(var1,1) and close<=ref(close,1) and close>...
var1:=low=llv(low,120) or ref(low,1)=llv(ref(low,1),120) or ref(low,2)=llv(ref(low,2),120); var2:=close/ref(close,1)>=1.06; 初选:=if(var1 and var2,0.4,0); var3:=(close-ma(close,12))/ma(close,12)*100;...
value_a:=(close-ref(close,1))/ref(close,1)*100;value_b:=(close-low)/low*100;value_c:=(close-open)/open*100;value_d:=value_a<0 and value_b>value_a;value_e:=max(max(open,close),ref(close,1))=ref(c...