编写要求:
www.gszx.com.cn网解答:
网友求助:
错误line3:c1001语法错误:":="
源码如下:
TODAYBARS:=barscount(close);
分时均线:=if(sum(amount,todaybars)/sum(vol,todaybars)>0,sum(amount,todaybars)/sum(vol,todaybars)/100,dynainfo(4));
slope(分时均线,10)>TODAYBARS:=barscount(close);
分时均线:=if(sum(amount,todaybars)/sum(vol,todaybars)>0,sum(amount,todaybars)/sum(vol,todaybars)/100,dynainfo(4));
slope(分时均线,10)>0.17 and ma(vol,10)>ma(vol,20); {分时周期}
解答如下:
乱码了,可能是
TODAYBARS:=barscount(close);
分时均线:=if(sum(amount,todaybars)/sum(vol,todaybars)>0,sum(amount,todaybars)/sum(vol,todaybars)/100,dynainfo(4));
slope(分时均线,10)>0.17 and ma(vol,10)>ma(vol,20); {分时周期}