SetTradeDelays(0, 0, 0, 0); Buy = High > Ref(High, -1); BuyPrice = Ref(High, -1);
--- In [email protected], "alta hob" <[EMAIL PROTECTED]> wrote: > > Hi > > > I am using the backtester in AB and when a trade is triggered the > "backtester setting" option is being used which is currently set at "open". > So my backtesting results show the opening price as the open of the next bar > which is wrong for my testing. > > > The price I actually want to enter at is High > Ref( High, -1 ); and I want > to have a buystop at this price and not use the open price of a bar. > > > Anyone know how to do this please? > > thanks > AH >
