I want to be able to control stopping and starting a strategy (NOT ATM Strategies but Actual Strategies) using the DLL interface described in the link above. Everything I read suggest it is not possible. Is this correct and do you see this ever becoming part of NT in the future. There are times when a strategy disables itself like when losing a connection to IB and I want to automate the process of re-enabling the strategy. Thanks!
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
Automated Trading - Stop / Start Strategies (NOT Atm Strategies)
Collapse
X
-
Automated Trading - Stop / Start Strategies (NOT Atm Strategies)
I want to be able to control stopping and starting a strategy (NOT ATM Strategies but Actual Strategies) using the DLL interface described in the link above. Everything I read suggest it is not possible. Is this correct and do you see this ever becoming part of NT in the future. There are times when a strategy disables itself like when losing a connection to IB and I want to automate the process of re-enabling the strategy. Thanks!Tags: None
-
Hello bc24fl,
Thank you for your note.
There would not be a supported method to enable a NinjaScript strategy via code. The DLL API interface can be used to send and receive orders and data from an external application, however, this does not allow NinjaScript strategies to be enabled. As for the future, we are unable to discuss future plans for NinjaTrader.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
-
Hi
If i use a strategy say for eg. SampleMACrossover and i see the strategy in profit, is it possible to close this strategy when i need it?
Comment
-
Hello honest-trader,
Thank you for your reply.
You can tell a strategy to stop trading if a profit target is reached, yes, but you'd have to modify the strategy to add logic to do so. Here's an example from our help guide that stops trading for the day if a specific profit target is reached:
If you want the strategy to entirely disable when you reach your desired PnL you could use CloseStrategy():
Please let us know if we may be of further assistance to you.
Kate W.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by adeelshahzad, Today, 11:49 AM
|
1 response
3 views
0 likes
|
Last Post Today, 11:56 AM | ||
Started by spottysallrite, Today, 11:31 AM
|
1 response
4 views
0 likes
|
Last Post Today, 11:43 AM | ||
Started by johnMoss, 03-04-2024, 01:53 PM
|
2 responses
32 views
0 likes
|
Last Post
by Overnhou
Today, 11:21 AM
|
||
Started by Padan, Today, 02:02 AM
|
5 responses
17 views
0 likes
|
Last Post Today, 11:14 AM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
8 responses
28 views
0 likes
|
Last Post
by Lele2k24
Today, 11:00 AM
|
Comment