var2:=trou**ars(3,15,1)<10;var3:=peakbars(3,15,1)<10;var4:=if(var2=1,50,0);var5:=if(var3=1,50,0);底部:=if(var4=50,10,0);多头能量:=0,colorwhite,linethick2;买入:=if(底部=10 and ref(底部,1)=10 and ref(底部,2)=0,50,0),color0000cc,linethick2;买入延迟线:=底部,linethick1 ,color00ccff;xg:底部=10 and ref(底部,1)=10 and ref(底部,2)=0;【注】公式含有未来函数,仅供参考。cci 选股:typ:=(high+low+close)/3;cci:=(typ-ma(typ,14))/(0.015***edev(typ,14));xg:cci>50 or cross(cci,50); 20210311
{cci背离选股}(c=llv(l,10) or ref(c=llv(l,10),1)) and not("cci.cci"=llv( "cci.cci",10)) and "cci.cci">ref("cci.cci",1);===================={加上“cci数值从底部上传-100时”这个条件}(c=llv(l,10) or ref(c=llv(l,10),1)) and n...