SELLshort((h-ENTERPRICE>3.8 and holding<>0) ,holding,limitr,open);
这个是止损条件,请问如何开仓后输出一条止损线??
应该是enterprice+3.8的点位画线。但不知道如何表达
条件改为h-ENTERPRICE>3.8 and holding<0
DRAWSL(holding>0,ENTERPRICE-3.8,SLOPE,0,2[,COLORred,1,VTSOLID]);
这是开多画线,斜率不写是不是为0?但编译指标的时候,提示2为定义。。。