Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Combining ATM Strategy and Ninjascript
Collapse
X
-
Combining ATM Strategy and Ninjascript
I have a ninjascript strategy running that will enter my orders at the right time but I want to combine that with an ATM strategy that will set my profit and stop loss points. I can't get them to run together, any help would be appreciatedTags: None
-
Mickslash, welcome to our forums here - which exact issues do you face when attempting to call the ATM templates for exit management? I suggest you closely work along side our 'SampleAtmStrategy' installed per default with NT. Please also keep in mind those can't be backtested then and that you need to call the exact template name as saved / setup in the DOM or ChartTrader.BertrandNinjaTrader Customer Service
-
You would need to explicitly call the AtmStrategyCreate() in your NinjaScript strategy as shown in the 'SampleAtmStrategy' code I referred you to, simply selecting the template on the DOM is not sufficient for the NinjaScript strategy to pick it up as means to manage the exits.BertrandNinjaTrader Customer Service
Comment
-
Riverend, unfortunately you can't call ATM templates for exit management from the wizard - this will need to be done by custom coding as shown for example in the SampleAtmStrategy code I referred you to. You basically call the AtmStrategyCreate() in your code instead of for example the regular Enter() method, then you can define which ATM template to call to manage the exits for this entry.BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by NM_eFe, Today, 10:13 AM
|
0 responses
1 view
0 likes
|
Last Post
by NM_eFe
Today, 10:13 AM
|
||
Started by hdge4u, Yesterday, 12:23 PM
|
1 response
10 views
0 likes
|
Last Post
by hdge4u
Today, 09:58 AM
|
||
Started by 1001111, Today, 09:45 AM
|
0 responses
4 views
0 likes
|
Last Post
by 1001111
Today, 09:45 AM
|
||
Started by DTSSTS, 01-28-2024, 12:07 PM
|
11 responses
557 views
0 likes
|
Last Post
by bmo111
Today, 09:34 AM
|
||
Started by Torontobluejays, Today, 08:43 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 08:43 AM |
Comment