Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Move Stop eSignal/NT ATI
Collapse
X
-
Several things -
- Make sure your orderId values are unique for each orders submitted
- Send stop/target orders once you have confirmed that your entry order has been filled
- If a stop or target is filled, you need to manually cancel the other order
- You can send OCO orders by providing unique OCO ids for each bracket order pair, you have to use the NTCommand() function for this
-
.
Well yes I have looked at that part, but maybe i missed something.
Here is what i have now:
if (NTMarketPosition("") == 0 && pending == 1) {
NTBuyMarket("MyOrderId0", ncontracts);
NTSellStopLimit("MyOrderId0", ncontracts, limitPrice, stopPrice) ; //stop loss?
NTSellLimit("MyOrderId0", ncontracts, limitprice); // target?
pending = 0;
}
Is that correct? I notice that when the trade exits (say with stop), the NTSellLimit order doesn t disapearLast edited by TaoNhan; 09-18-2007, 11:34 AM.
Leave a comment:
-
To clarify, have you reviewed the Help Guide on all of the eSignal DLL functions for placing orders?
Leave a comment:
-
Move Stop eSignal/NT ATI
Hello, I am relatively green in ATI coding interfacing NT and esignal and whereas I understand well the content of the NT helpfile, I cannot seem to find how to create and move targets. Is there any documentation on that or could someone give me a quickstart on it?
Many thanks,
Tao-NhanLast edited by TaoNhan; 09-18-2007, 10:01 AM.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
30 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
943 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
9 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
4 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
28 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
Leave a comment: