Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,135 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Entrylimit bias possible? #458855
04/03/16 10:04
04/03/16 10:04
Joined: Feb 2016
Posts: 5
O
Opentrades Offline OP
Newbie
Opentrades  Offline OP
Newbie
O

Joined: Feb 2016
Posts: 5
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?

Last edited by Opentrades; 04/03/16 10:04.
Re: Entrylimit bias possible? [Re: Opentrades] #458858
04/03/16 11:28
04/03/16 11:28
Joined: Apr 2008
Posts: 586
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 586
Austria
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.

Re: Entrylimit bias possible? [Re: Petra] #458873
04/04/16 08:47
04/04/16 08:47
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
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.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1