Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Instrument selection for a strategy
Collapse
X
-
Instrument selection for a strategy
Simple question here. Trying to understand how to develop an automated strategy within the program. Can a strategy be implemented on symbols which exist within a market analyzer or better yet, a filtered one or must symbols be manually entered into the strategy?Tags: None
-
Hello tffmd123,
Thank you for the post.
The Strategies specifically cannot be used with the market analyzer, when using a strategy it has a primary instrument selection when applying it.
From the analyzer you could use indicators and indicators can also submit orders if that was the goal. An indicator could have some condition which it plots and that would allow the market analyzer to filter based on that plots value. You could also have the indicator do other actions based on that plots value like place a trade. The analyzer would simply be to view the indicators or filtered results of indicators that match a criteria.
From a strategy you would need to manually select the instrument for the primary when you apply it and any secondary series would need to be hard coded in the strategy.
I look forward to being of further assistance.
-
Hi, thanks for your response.
Allow me to take this one step further.
How would I execute the following and ninja trader 8:
One. A list of stocks which would change daily from which,
Two. A buy order would be initiated under the following conditions
Three. Stock is up 1% from the open, Volume is at least 100,000 for the day, trigger would be a new high above opening five minute range.
Four. Execution would initiate an ATM strategy.
Five. Stop loss would be low of day with a fixed risk of X
Six. Only five positions will be opened. There could be more than five instruments in the list.
Comment
-
Hello tffmd123,
Thank you for the post.
From what I gather you would only be basing the order submission based on the individual instrument, is that correct?
If so you could still use the market analyzer for that purpose. Each indicator could check conditions and submit orders based on its own individual conditions. The instrument list part would be manual, you would need to setup the analyzer with the specific instruments before applying the indicator column.
You can see some examples of working with the account or submitting orders in the following section: https://ninjatrader.com/support/help...ount_class.htm
I look forward to being of further assistance.
Comment
-
Hi, A couple of follow-up questions. If I wanted to the condition that for example the NASDAQ 100 was positive for the day, with that be possible? Secondly, would I be able to limit the number of trades initiated in this way.
Would I be creating a custom indicator which contained all of the conditions or be using individual indicators for each condition?
do I understand correctly from your writing that I would have to have the instrument list in place prior to adding and indicator column? This would be less efficient than simply changing the list of instruments within the market analyzer daily.
Comment
-
Hello tffmd123,
Are you asking about the Index for nasdaq 100?
You can limit the number of trades made.
One custom indicator could be used for this purpose, it would have as many conditions as needed to place trades inside the single indicator. You could then apply the in the market analyzer where it would be executed for each different instrument.
You can simply change the instruments in the MA window, if you wanted to you could also configure lists ahead of time to use the right click menu in the MA window.
I look forward to being of further assistance.
Comment
-
Hello tffmd123,
Strategies cannot be used in the market analyzer. You could build a strategy where you apply it to different instruments manually and that strategy could have logic to trade but you could not use instrument lists/the market analyzer. Strategies can be applied to a chart or in the control center.
If you wanted to use the market analyzer an indicator would be needed for that use case.
Depending on which way you go there are different ways to program the script. If you go with a strategy you can use the strategy builder to make conditions and actions. If you use an indicator you would need to manually code it using the addon framework. If you can provide more detail on what part you needed more help with I can likely link other samples or more information on those topics.
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
71 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment