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 Id of an Order
Collapse
X
-
Strategy Id of an Order
Is there someone knows how to get the strategy id of an order taken from the chart trader? I have attached a sample image on it. My purpose in getting the strategy id is that I will compare that to the ATM strategy that I setup in the chart so that I would know that that order came from that chart.Tags: None
-
If that is the case then how can we know if that trade is coming from that chart. For example, how can we know if a long position is coming from the 5 Renko chart? I am talking about how can an indicator know if that trade is coming from a certain chart. I am trying to build an indicator that detects if that trade is coming from a certain chart trader.
Comment
-
Okay I will make an ATM Template "testR5" then I will take a trade using chart trader with testR5 as my template. If that trade is filled then can I say something like this Print("output:" +myOrder.Id) and it will output testR5? I know we can get the order name etc., what I am trying to say is that I want to know what ATM template does the trade used.
Comment
-
Hi edward_bell,
I was thinking that you would see the ATM Strategy name in the Orders tab of the Control Center.
I've been looking in to printing the order information in code, and I am not able to find the ATM Strategy name or ID in the code.
This may not be possible to do. If it is possible it is unsupported.
If I find a way I will let you know but as of now I do not think this would be possible.Chelsea B.NinjaTrader Customer Service
Comment
-
Is there another way that could tell that the open position is coming from a certain chart? Like for example if the Buy/Sell Market button on the chart trader is being click? I just need something that could tell that a trade is coming from a certain chart. Do you have any tips or ideas on it?
Comment
-
Hi edward_bell,
I've asked around the office for any ideas about this. So far we are not able to find a way to do this.
However, I would be happy to submit a feature request in your behalf to allow the associated AtmStrategyId or name of an order to be returned with the IOrder object so that we can find this information.
Would you like me to do this?Chelsea B.NinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Waxavi, Today, 02:10 AM
|
0 responses
3 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
||
Started by TradeForge, Today, 02:09 AM
|
0 responses
9 views
0 likes
|
Last Post
by TradeForge
Today, 02:09 AM
|
||
Started by Waxavi, Today, 02:00 AM
|
0 responses
2 views
0 likes
|
Last Post
by Waxavi
Today, 02:00 AM
|
||
Started by elirion, Today, 01:36 AM
|
0 responses
4 views
0 likes
|
Last Post
by elirion
Today, 01:36 AM
|
||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 01:30 AM |
Comment