I need this value as it's a variable in my Lotsize calculation when pyramiding.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Open Position Profit/Loss
Collapse
X
-
Please check into GetProfitLoss() for this - http://www.ninjatrader-support.com/H...rofitLoss.htmlBertrandNinjaTrader Customer Service
-
Originally posted by NinjaTrader_Bertrand View PostPlease check into GetProfitLoss() for this - http://www.ninjatrader-support.com/H...rofitLoss.html
I believe this is what I need & now realize that I should have been able to find this in the NT Help.
I will try to be more diligent in the future but I'm currently in learning overload mode.
Comment
-
No worries, just press F1 in the sofware to access the context sensitive help, under the NinjaScript entry you'll find the very helpful language reference with all supported NS methods.
More advanced samples and tips, can be found here - http://www.ninjatrader-support2.com/...splay.php?f=29BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by GussJ, 03-04-2020, 03:11 PM
|
15 responses
3,271 views
0 likes
|
Last Post Today, 03:15 PM | ||
Started by Tim-c, Today, 02:10 PM
|
1 response
8 views
0 likes
|
Last Post Today, 02:52 PM | ||
Started by Taddypole, Today, 02:47 PM
|
0 responses
2 views
0 likes
|
Last Post
by Taddypole
Today, 02:47 PM
|
||
Started by chbruno, 04-24-2024, 04:10 PM
|
4 responses
51 views
0 likes
|
Last Post
by chbruno
Today, 02:38 PM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
10 responses
403 views
1 like
|
Last Post
by beobast
Today, 02:35 PM
|
Comment