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
Submit order on bar close
Collapse
X
-
Submit order on bar close
I'm trying to see if there is a way to submit an order on a bar close while using chart trader. For example if the 1000 tick price closes a bar over 10,000 then go long, however if it hits 10,001 and then retreats leaving only a candle wick do not submit the order. I scalp so it has to be a quick process so using something like an alert will not be fast enough to set up. Is it possible to modify the code for MIT order in the program code to only submit the order after a bar close? Any suggestions would be welcome.Tags: None
-
Hello cglancy,
Thank you for your post.
It would not be possible to modify the code that submits MIT orders. Something like this would be too complicated for an alert. It would be possible to program a strategy or indicator that would submit a market order based on your conditions from a button press if the conditions for entry are correct, or just a strategy that would autotrade for you based on conditions you set up.
I'm more than happy to provide you with resources on learning NinjaScript if you'd like. You can also contact one of our professional NinjaScript Consultants or Educators who would be eager to create or modify a script at your request or assist you with your script. Please let me know if you would like a list of professional NinjaScript Consultants or Educators who would be happy to create or modify any script at your request or assist you in learning NinjaScript.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WHICKED, Today, 12:56 PM
|
2 responses
14 views
0 likes
|
Last Post
by WHICKED
Today, 02:15 PM
|
||
Started by Felix Reichert, Today, 02:12 PM
|
0 responses
1 view
0 likes
|
Last Post Today, 02:12 PM | ||
Started by Tim-c, Today, 02:10 PM
|
0 responses
1 view
0 likes
|
Last Post
by Tim-c
Today, 02:10 PM
|
||
Started by cre8able, Today, 01:16 PM
|
2 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 01:40 PM
|
||
Started by chbruno, 04-24-2024, 04:10 PM
|
3 responses
49 views
0 likes
|
Last Post Today, 01:29 PM |
Comment