交易信号连线的位置暂时无法进行修改。
你可以按照楼下的方法自己画线,然后在 查看-显示-交易信号连线。 把系统的画线去掉 。
可以把开平仓条件作为划线条件,把收盘价作为划线的价格,用drawline划线,
例如:
ma1:ma(c,10);
ma2:ma(c,20);
kd:=cross(ma1,ma2);
pd:=cross(ma2,ma1);
drawline(kd and holding=0,c, pd and holding>0,c,0);
if kd and holding=0 then buy(1,1,marketr);
if pd and holding>0 then sell(1,1,marketr);