THanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
in an automated strategy can you do a OCO order
Collapse
X
-
in an automated strategy can you do a OCO order
In an automated stategy is it possible to do an OCO order?
THanksTags: None
-
-
Hello:
If you have a strategy from Easy Language that uses OCO order function, it is possible to route this strategy to NT using the TS email interface or the TS Dll integration methods.
Instructions on using the TS email interface can be found here:
Instructions on using the TS Dll intergration can be found here:
Best regards,RyanNinjaTrader Customer Service
Comment
-
Yes you can using our DLL interface. The NTCommand() function allows you to place orders with associated OCO id's used to link orders together.
Additional information - http://www.ninjatrader-support.com/H...Functions.htmlRayNinjaTrader Customer Service
Comment
-
-
I know. This can be found in the help file.
Let´s say I work on a t Tick Chart. I want to enter the market long above and below the current ask with a certain number of shares, but I do not want both orders ot be executed. How can this be realized?
e.g.
if (Bars.CurrentAsk >= Level1 && Bars.CurrentAsk < Level1+z*TickSize ) {
EnterLongStop (x, Level1, "buy_low");
EnterLongLimit (y, Level1+z*TickSize , "buy_high");
}
could cause a double execution on this single bar, right? (assumed that I use: calculate on bar close = true)
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Enkidu, Yesterday, 06:40 AM
|
9 responses
34 views
0 likes
|
Last Post
by Enkidu
Yesterday, 01:11 PM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
12 responses
307 views
0 likes
|
Last Post
by z.franck
Today, 04:29 AM
|
||
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
32 responses
267 views
0 likes
|
Last Post
by f.saeidi
Yesterday, 06:49 AM
|
||
Started by Mestor, Today, 03:15 AM
|
0 responses
2 views
0 likes
|
Last Post
by Mestor
Today, 03:15 AM
|
||
Started by Padan, Today, 02:02 AM
|
0 responses
6 views
0 likes
|
Last Post
by Padan
Today, 02:02 AM
|
Comment