Entrylimit bias possible?

Posted By: Opentrades

Entrylimit bias possible? - 04/03/16 10:04

I thought that In Zorro a bias cannot be introduced because a trade can only be opened at the beginning of the next bar or when a stop or Limit is reached at the next bar.
Using an entrylimit like
EnterLong(Lotsize, - priceHigh());

leads to unexpected results. The Price High of the bar -1 is taken and the Trade is entered at the current bar. This should not be possible, because i am using indicators based on the closing Price of the bar.
It is a negative bias in my case.

Is it reproducible?
Posted By: Petra

Re: Entrylimit bias possible? - 04/03/16 11:28

Don't brokers do the same? When you send an order at an entry limit and the price is already below the entry limit, the broker fills the trade at the entry because this is a worse price for you and a better price for the broker. At least thats what I think brokers do. Its a negative bias.
Posted By: jcl

Re: Entrylimit bias possible? - 04/04/16 08:47

It depends on the broker. Some would not accept that order, some would indeed fill it at an unfavorable price. Zorro emulates a malevolent broker when you send orders with wrong entry prices. So better make sure that your limit is at the right side of the price before sending an entry limit order.
© 2024 lite-C Forums