Different Entry Price - Expected Behavior

Questions about MultiCharts and user contributed studies.
tony
Posts: 420
Joined: 14 Jun 2013
Has thanked: 30 times
Been thanked: 81 times
Contact:

Different Entry Price - Expected Behavior

Postby tony » 05 Mar 2017

Does anyone know the expected behavior for the following example.

A signal is generated to buy 10 lots at market. Once filled, five lots are at one price and the other five are a tick higher due to slippage. So there are two different entry prices.

Further in the signal an OCO order is generated based on entry price.

Would there be two OCO orders in this instance since there are two entry prices?

Thank You -

User avatar
Angelina MultiСharts
Posts: 260
Joined: 28 Dec 2016
Has thanked: 28 times
Been thanked: 66 times

Re: Different Entry Price - Expected Behavior

Postby Angelina MultiСharts » 07 Mar 2017

Hello Tony,

It depends on the code. If your code generates a single exit order then there will be a single exit order, disregard partial fill.


Return to “MultiCharts”