{ok。测试通过}ref(c,1)<ref(o,1) and c>o and c>ref(o,1) and o<=ref(c,1) and ma(c,5) > ref(ma(c,5),1) and ma(c,13) > ref(ma(c,13),1) and ma(c,21) > ref(ma(c,21),1); 20210311
t1:=ref(ma(c,5),1)<ref(ma(c,5),2) and ma(c,5)>=ref(ma(c,5),1);t2:=ref(ma(c,13),1)<ref(ma(c,13),2) and ma(c,13)>=ref(ma(c,13),1);ma5:ma(c,5),colorgreen;maa5:if(t1 and t2,ma5,draw**),colorre...
{出现洋红色柱体时买入}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);里面有未来函数,不建议使用。{底位白...
阳线:=barslast((ref(c,1)/ref(c,2)>1.07 and ref(c,1)>ref(ma(c,20),1)))<10;回调:=barslastcount(ref(v,1)<ref(v,2) and ma(c,5)>ma(c,20) and ma(c,10)>ma(c,20) and ref(c,1)>ref(ma(c,20),1))...