发新话题
打印

有什么方法可以自动画这些线

有什么方法可以自动画这些线

P:=MA(C,10);
当现价大于P时自动画出下面这些线
BUY:p+0.25,circledot;
BF:P+0.50,circledot;
Bu:p+0.70,circledot;
Bi:p+0.9,circledot;
Byt:=p+1.15,circledot;
Byg:=p+1.4,circledot;
Bye:=p+1.8,circledot;
当现价小于P时自动画出下面这些线,上面的线隐藏起来.
SELL:=p-0.25,circledot;
CF:=P-0.50,circledot;
cu:=p-0.70,circledot;
ci:=p-0.9,circledot;
cyt:=p-1.15,circledot;
cyg:=p-1.4,circledot;
cye:=p-1.8,circledot;

要怎么写才能表达出来.谢谢.

TOP

P:=MA(C,10);
cc:=c;
if cc[datacount]>p[datacount] then BEGIN
BUY:p+0.25,circledot;
BF:P+0.50,circledot;
Bu:p+0.70,circledot;
Bi:p+0.9,circledot;
Byt:p+1.15,circledot;
Byg:p+1.4,circledot;
Bye:p+1.8,circledot;
end;ELSE BEGIN
SELL:p-0.25,circledot;
CF:P-0.50,circledot;
cu:p-0.70,circledot;
ci:p-0.9,circledot;
cyt:p-1.15,circledot;
cyg:p-1.4,circledot;
cye:p-1.8,circledot;
end;

TOP

谢谢

TOP

XIEXIE BAJA..DAGE

TOP

有点像艺术品!

TOP

发新话题
报警岗亭