{出现洋红色柱体时买入}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);里面有未来函数,不建议使用。{底位白...
gjtj1:=100*(c-llv(l,5))/(hhv(c,5)-llv(l,5));gjtj4:=100*(c-llv(l,30))/(hhv(c,30)-llv(l,30));xg:=barslast(cross(gjtj4,gjtj1))<5 and gjtj1>gjtj4;count(xg,3)=1 and xg and c>ma(c,20);