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
Strategy execution stops after moving the price
Collapse
X
-
Strategy execution stops after moving the price
I have a strategy that has stops and targets. I move the stop or target, the strategy stops executing further. I have confirmed that the strategy is still enabled. There have been times when I clicked the 'Close' button and the strategy automatically disables. Would there be a way to prevent this?
Thanks!Tags: None
-
Hello Graci117,
Thank you for your post.
Is this a strategy that you developed or one that was imported from a third party? Are you manually moving the stops and targets or do you mean that the strategy programmatically moves the stops and targets?
If your NinjaScript strategy uses ATM strategies, please read the following page for more details including how to close only the ATM strategy position and not disable the entire strategy:
I look forward to your reply.
Emily C.NinjaTrader Customer Service
-
Hello Graci117,
Thank you for your reply.
Are you manually moving the stops and targets or do you mean that the strategy programmatically moves the stops and targets? Automated NinjaScript strategies are intended to be left to calculate on their own without user interaction. Manually modifying orders could result in unexpected behavior from the strategy. If you intend to have stops and targets that may be modified manually, then you should consider using an ATM strategy in your NinjaScript strategy logic. The link I shared previously is an overview of the line between NinjaScript strategies and ATM strategies:The ATM strategy methods may be found here:There is also an example strategy that comes with NinjaTrader called SampleAtmStrategy which is a helpful demonstration of how to incorporate an ATM strategy into your NinjaScript strategy's logic.
Please let us know if we may be of further assistance.Emily C.NinjaTrader Customer Service
Comment
-
Originally posted by Graci117 View PostThanks again Emily. I am manually moving stops. If I use the ATM strategy then will I be able to test it on strategy analyzer?
If you want to test the strategy on past data, you could instead use the Playback Connection:
Please feel free to reach out with any additional questions or concerns.Emily C.NinjaTrader Customer Service
Comment
-
Originally posted by Duane95Thank you, Emily. This is a strategy I devised, and it doesn't rely on any ATM strategy.
Thank you for your note.
I do not understand the context of your reply. In this thread I was previously assisting Graci117. Are you experiencing some sort of unexpected behavior related to your strategy? If so, please explain what is happening vs. what you are expecting to happen so I may better understand and assist you.
Thank you for using NinjaTrader.Emily C.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Jimmyk, 01-26-2018, 05:19 AM
|
6 responses
834 views
0 likes
|
Last Post
by emuns
Today, 11:27 AM
|
||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
6 responses
3,290 views
1 like
|
Last Post
by jgualdronc
Today, 10:56 AM
|
||
Started by Touch-Ups, Today, 10:36 AM
|
0 responses
10 views
0 likes
|
Last Post
by Touch-Ups
Today, 10:36 AM
|
||
Started by geddyisodin, 04-25-2024, 05:20 AM
|
11 responses
62 views
0 likes
|
Last Post Today, 10:08 AM | ||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
8 views
0 likes
|
Last Post Today, 09:55 AM |
Comment