由于你无指定四条线中的那一条线,经分析了公式,从起步算,应是ma1是最初上升线吧:mid:=ref(h+c,1)/2;cr:=sum(max(0,high-mid),13)/sum(max(0,mid-l),13)*233;ma1:=ref(ma(cr,8),3);cr买:ma1<100 and cross(cr,ma1);
{出现洋红色柱体时买入}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);里面有未来函数,不建议使用。{底位白...
a1:=(dvol/c)/2;a2:=sum(if(a1>100 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>100 and close(close,1),a1,0),0);a4:=sum(if(a1<100 and close>ref(close,1),a1,0),0);a5:=sum(if(a1(close,1),a...