Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Cancel and replace a limit order with invoked ATM
Collapse
X
-
Cancel and replace a limit order with invoked ATM
I have a working strategy which invokes an ATM. It is working but I could significantly improve its performance if I could use a limit order to enter instead of a market order. The problem with that is when the price moves away I'm stuck in the strategy, leaving behind an orphan entry. I would like to try something like "If order not filled on current bar, move entry to close of this bar, or move entry to market order." Have you got some reference code that will show me how to implement a cancel and replace from with in a strategy, that has invoked an ATM? The entry is actually an ATM entry on the DOM so I think this may be more complicated than I think?Tags: None
-
No reference sample that I can think of.
See this - http://www.ninjatrader-support.com/H...ntryOrder.htmlRayNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Felix Reichert, 04-26-2024, 02:12 PM
|
7 responses
48 views
0 likes
|
Last Post Today, 01:58 PM | ||
Started by Irukandji, Yesterday, 05:50 AM
|
2 responses
8 views
0 likes
|
Last Post
by Irukandji
Today, 01:48 PM
|
||
Started by Creamers, 04-27-2024, 05:32 AM
|
10 responses
66 views
0 likes
|
Last Post Today, 01:46 PM | ||
Started by seq2seq, 05-07-2023, 07:26 PM
|
7 responses
566 views
0 likes
|
Last Post Today, 01:42 PM | ||
Started by manueldecastro, Today, 10:26 AM
|
3 responses
12 views
0 likes
|
Last Post Today, 01:41 PM |
Comment