Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Is MarketPosition global or per strategy?
Collapse
X
-
Is MarketPosition global or per strategy?
If I have 2 strategies running simultaneously, and one enters a long position, will the other strategy see the market in a long position, or does the second strategy evaluate the market strictly from its own point of view, viz, that it the second strategy is still flat, so that, as far as it is concerned the account is not long?Tags: None
-
Hi Ryan,
Won't the function below do it? I am not sure what is the difference between these NTDirect functions and the usual NT methods. Thanks.
int MarketPosition(stringinstrument, stringaccount)
Gets the market position for an instrument/account combination. Returns 0 for flat, negative value for short positive value for long.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by stafe, 04-15-2024, 08:34 PM
|
10 responses
42 views
0 likes
|
Last Post
by stafe
Today, 10:29 AM
|
||
Started by frslvr, 04-11-2024, 07:26 AM
|
8 responses
111 views
1 like
|
Last Post Today, 10:30 AM | ||
Started by rocketman7, Today, 09:41 AM
|
3 responses
8 views
0 likes
|
Last Post Today, 10:07 AM | ||
Started by traderqz, Today, 09:44 AM
|
2 responses
5 views
0 likes
|
Last Post Today, 10:00 AM | ||
Started by rocketman7, Today, 02:12 AM
|
7 responses
31 views
0 likes
|
Last Post Today, 09:23 AM |
Comment