if 条件1 then mm:ma(c,5),colorred;
if 条件2 then mm1:ma(c,5),colorblue;
if 条件3 then mm2:ma(c,5),coloryellow;
类似这样的
超级版主:根据你的我写出下面的不知对不?谢谢!
ma1:=ma(c,n1);
if(ma1>ref(ma1,1),ma1,0),colorred,linethick1;
if(ma1<=ref(ma1,1),ma1,0),colorblue,linethick1;
超级版主:应该是这个,您看对不对,谢谢!
ma1:=ma(c,n1);
if(ma1>ref(ma1,1),ma1,0),then ma1 colorred,linethick1;
if(ma1<=ref(ma1,1),ma1,0),then ma1 colorblue,linethick1;
不是啊,我的IF是判断的开始,你那个不是一个意思
runmode:0;
if ma5>ref(ma5,1) then mm:ma5,linethick1,colorred;
if ma5<ref(ma5,1) then mm2:ma5,linethick1,colorblue;