微信扫一扫,快速登录
66
324
334
等级: 专业版
使用道具 举报
2
5831
等级: 超级版主
variable:status1:=0,status2:=0;//记录止损状态 多空分开记录 if 多止损条件 then begin sell(1,holding,market); status1:=date; end buy(开多条件 and date>status1,1,market);
资深技术05 发表于 2025-12-3 10:12 (date>statusd1 or date>statusd2) 分开判断的
资深技术05 发表于 2025-12-3 10:55 如果你的想法 只要 当前日期大于其中一个止损日期 就可以。那就按照6楼那个写法。
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|上海金之塔信息技术有限公司 ( 沪ICP备13035422号 )
GMT+8, 2025-12-3 18:30 , Processed in 0.147658 second(s), 21 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.