-- 作者:rfgvb
-- 发布时间:2013/5/29 8:25:58
-- [求助]日内1分钟周期下 前一次多单或空单有止损 不开同方向的单子
d1: valuewhen(平空条件 and holding<0,date); o1:valuewhen(平空条件 and holding<0,openprofit); if date=d1 and 开空条件 and o1>=0 then BUYSHORT(开空条件 AND HOLDING=0,手数,THISCLOSE);
老师 你写的不能用
策略有多空
|