第一个:f:=100*(c-ref(c,1))/ref(c,1); 今小昨:=if(c<ref(o,1) and f<0,1,0); s1:=今小昨; 今小前:=if(c<ref(o,2) and f<0,1,0); s2:=今小前; a3:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,10) ...
{出现洋红色柱体时买入}var1b:=(c+h+o+l)/4;买入:=xma(var1b,10)*(1-20/1000),colormagenta,linethick1;xg:(买入>low and 买入<high)or (买入>min(c,o) and 买入<max(c,o))or (买入>low and 买入<high);里面有未来函数,不建议使用。{底位白...