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
-
-
Thanks for the quick response.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=29
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
27 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
417 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment