Thanks in advance
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How do I enter a limit order??
Collapse
X
-
Hi chatchgo, welcome to the NinjaTrader support forums! Please check this link on how to entry orders from the 'Order Entry' screen of the Control Center - http://www.ninjatrader-support.com/H...OrdersTab.html
-
Originally posted by NinjaTrader_Bertrand View PostHi chatchgo, welcome to the NinjaTrader support forums! Please check this link on how to entry orders from the 'Order Entry' screen of the Control Center - http://www.ninjatrader-support.com/H...OrdersTab.html
Sorry Bertrand, I worded my question wrong...im trying to code a limit order strategy. Right now im using market order...I guess I meant the order screen in the Order Management in the ninjascript strategy editor
Comment
-
No worries - just use the EnterLongLimit() then - http://www.ninjatrader-support.com/H...LongLimit.html
Also keep in mind that orders expire if not resubmitted or set to liveUntilCancelled, more on this can be found here -
Comment
-
Originally posted by NinjaTrader_Bertrand View PostNo worries - just use the EnterLongLimit() then - http://www.ninjatrader-support.com/H...LongLimit.html
Also keep in mind that orders expire if not resubmitted or set to liveUntilCancelled, more on this can be found here -
http://www.ninjatrader-support.com/H...verview36.html
Ok Bertrand, sorry if i seem brand new, (actually I am), but using the +5ticks since bar indicated method, how would I code this. Can I still use the ninjascript, or do i have to unlock the code??
Thanks for your patience
Comment
-
Thanks for clarifying, yes you can enter limit orders using our Wizard, but to set them to liveUntilCancelled (so they last longer that one bar) you would have to unlock the code. I'm not sure I follow which condition you need to code, for a profit target you can directly enter this on the 'stops and targets' section of the wizard - http://www.ninjatrader-support.com/H...egyWizard5.png
Comment
-
Originally posted by NinjaTrader_Bertrand View PostThanks for clarifying, yes you can enter limit orders using our Wizard, but to set them to liveUntilCancelled (so they last longer that one bar) you would have to unlock the code. I'm not sure I follow which condition you need to code, for a profit target you can directly enter this on the 'stops and targets' section of the wizard - http://www.ninjatrader-support.com/H...egyWizard5.png
Ok, I have the profit target and stoploss already set...Right now the enter long and short positions are set to market b/c I don't know how to set the limit order using the wizard. I want to set it to "whenever the indicator says short/long at, plus 5 ticks". Thats where im getting hung up at. I also noticed that this would change during live conditions, but for backtesting purposes I would like to test the limit order
Thanks in advance
Comment
-
Thx for the help Bertrand!Originally posted by NinjaTrader_Bertrand View PostIn the conditions section, just put your normal trade entry condition, in the 'Do the following / Action' choose the 'Enter long position by a limit order' one and enter your desired limit price - for example the EMA value +/- a 5 tick offset.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment