上次赢利差大于100点,本次开仓后止损由原来正常的6点改为20点止损 [金字塔]
- 咨询内容:
老师,若股指上次赢利差大于100点,本次开仓后止损由原来正常的6点改为20点止损,而原来正常的6点止损条件不变
。如何写,谢谢
if holding>0 and o<=enterprice-6 then begin
多单止损:sell(1,1,limitr,o);
- 金字塔客服:
variable:zhisun=6;
if ref(平仓条件,1) and holding=0 and ref(holding,1)>0 and ref(openprofit,1)>100*mindiff*multiplier then zhisun:=20;
if zhisun=20 and holding<>0 and enterprice-c>zhisun*mindiff then begin
sell(1,0,limitr,o);
zhisun:=6;
end
- 用户回复: 谢谢老师!
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容