Can someone tell me how to update this strategy to work with two or more contracts?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Two Contracts instead of One
Collapse
X
-
Two Contracts instead of One
Hi all - I am using the SampleOnOrderUpdate to add to my strategy. However, I am having issues when I switch to two or more contracts. Looks like I am buying the two contracts, however, my stops and targets are getting submitted with just 1 contract and the other contract is been sold at the EOD.
Can someone tell me how to update this strategy to work with two or more contracts?Tags: None
-
Chelsea B.NinjaTrader Customer Service
-
Thank you Chelsea. I will be trying that tomorrow morning.
One question I have is, how can I save the average fill price if is fill at different prices? Any guidance on that? At the end I would like to have a list of the average fills on the orders generated by the strategy. for example, if the strategy submits one order for two contracts, I would like to save once the average once both contracts are filled. Not save two times one for each contract.
Any guidance that you can provide would be appreciated.
Comment
-
Last edited by NinjaTrader_ChelseaB; 01-11-2022, 12:46 PM.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
134 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment