cs:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;yjd: (ema(cs,3)-50)*2;极弱:-80;强势:60;风险:80;弱势:-60;var4:=(1.1)*close;var5:=(0.9)*close;v**:=100*(winner(var4)-winner(var5));s1:2*ema(100-v**,1),coloryellow;s2:ema(s1,9);s3:=ma(s2,9);条件:=cross(yjd,极弱) and s1>s2;条件0:=cross(强势,yjd) and s1<s2;drawicon(条件,极弱,15);drawicon(条件0,强势,23);a1:if(cross(yjd,极弱) and s1>s2,1,0);在选股中设置a1=1,执行选股 ok 20210311
庄筹线:=ema(winner(c)*70,5);散筹线:=ema((winner(c*1.1)-winner(c*0.9))*80,5);aa:=ref(庄筹线,30)>40 or ref(庄筹线,20)>40;xg:cross(28,庄筹线)and 散筹线>40 and aa=1;(已与原公式对应,测试通过)
买入选股 动力块:=ema((close-llv(low,10))/(hhv(high,35)-llv(low,10)),4);t1:=if(动力块(动力块,2)or 动力块(动力块,1),1,0);xg:t1=0 and ref(t1,1)=1 and ref(t1,2)=1;卖出选股 动力块:=ema((close-llv(low,10))/(hhv(high,35)-llv(low,10))...