I just created my first strategy on Ninjatrader, and I had no problem in backtesting it on instruments. So in the backtest I place order conditions, etc and everything works fine and I get the results of the backtest. Now what I want to do next is to run the strategy's entry condition as an alert- as in, I want to be able to run it on say Dow 30 stocks, and want it to tell me if any of the stocks met the entry condition. I cannot figure out how to do this. I cannot figure out how to do it in the market analyzer, becuase it doesn't seem possible to be able to pass a variable generated in running a strategy into market analyzer. I also tried to change the order placement conditions (after the strategy finds an entry trigger) to Alerts, or Log messages, but that doesn't help because it simply displays the message in the Log without any reference to which instrument it's coming from. Could someone please help me with this? Thank you very much!
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
generating alert from a strategy
Collapse
X
-
generating alert from a strategy
Hi
I just created my first strategy on Ninjatrader, and I had no problem in backtesting it on instruments. So in the backtest I place order conditions, etc and everything works fine and I get the results of the backtest. Now what I want to do next is to run the strategy's entry condition as an alert- as in, I want to be able to run it on say Dow 30 stocks, and want it to tell me if any of the stocks met the entry condition. I cannot figure out how to do this. I cannot figure out how to do it in the market analyzer, becuase it doesn't seem possible to be able to pass a variable generated in running a strategy into market analyzer. I also tried to change the order placement conditions (after the strategy finds an entry trigger) to Alerts, or Log messages, but that doesn't help because it simply displays the message in the Log without any reference to which instrument it's coming from. Could someone please help me with this? Thank you very much!Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Ndakotan1313, 03-14-2024, 05:02 PM
|
2 responses
58 views
0 likes
|
Last Post
by blaise_code
Today, 03:16 AM
|
||
Started by claxxical, 05-30-2017, 12:30 PM
|
37 responses
4,454 views
0 likes
|
Last Post
by Padan
Today, 02:23 AM
|
||
Started by SugarDefwebsite, Today, 02:18 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 02:18 AM | ||
Started by usglucofreeze, Today, 01:19 AM
|
0 responses
7 views
0 likes
|
Last Post Today, 01:19 AM | ||
Started by f.saeidi, Today, 01:12 AM
|
0 responses
14 views
0 likes
|
Last Post
by f.saeidi
Today, 01:12 AM
|
Comment