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
lower granularity
Collapse
X
-
10 Min Strategy sets the stop to breakeven, once the 1 Min Bar is below 200 ema
Originally posted by NinjaTrader_Austin View Postd.allen, please take a look at the comments inside this reference sample. The comments (in the code) explain how the call order works.
However when following the example EnterLong(1,1...)
its not possible to use Stop orders this way.
I wanted to run on a 10 Min Chart a strategy that sets the stop to breakeven, once the 1 Min Bar Close is below the 200 EMA line.
How can I do this?
Thx in advance for all help.
Comment
-
Hi tradereight, what do you mean it is not possible to use stop orders that way? Are the orders ignored? In Initialize() you can set TraceOrders = true to get a feel for why the orders aren't working correctly. This post contains some information regarding TraceOrders.AustinNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by sgordet, Today, 05:24 AM
|
1 response
18 views
0 likes
|
Last Post Today, 07:53 AM | ||
Started by Board game geek, Today, 02:20 AM
|
1 response
15 views
0 likes
|
Last Post Today, 07:50 AM | ||
Started by ZeroKuhl, Yesterday, 04:31 PM
|
3 responses
24 views
0 likes
|
Last Post Today, 07:46 AM | ||
Started by knighty6508, Today, 01:20 AM
|
3 responses
20 views
0 likes
|
Last Post Today, 07:42 AM | ||
Started by cupir2, Yesterday, 07:44 PM
|
2 responses
21 views
0 likes
|
Last Post
by cupir2
Today, 07:34 AM
|
Comment