次策略要在逐K线模式下才容易实现
variable:tupoprice=0;//开仓后记录当时的突破位
if holding=0 and aa then begin
buy(1,1,limitr,max(o,aa));
tupoprice:=前期高点;
end
if enterbars>0 and enterbars<3 and l<tupoprice then ……
enterbars>0 and enterbars<3 即表示 开仓后的2个周期
反向跌破:最低价又触及开仓时的突破位?那就 L<tupoprice