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 Waxavi, Today, 02:10 AM
|
0 responses
6 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
||
Started by TradeForge, Today, 02:09 AM
|
0 responses
11 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
5 views
0 likes
|
Last Post Today, 01:30 AM |
Comment