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
ExitLong doesn't show P&L
Collapse
X
-
Originally posted by ryker View PostWhich broker do you trade with tradefaz?
Comment
-
Originally posted by tradefaz View PostOk now I am confused. Are you saying that after closing out a winning long order from a strategy, that the realized gains column on the row for that strategy in the strategy tab (not the strategy performance window which is right click to get to) will show the new realized gains for that strategy?
Because if that is what you're able to do I am not able to. But if you're saying that its not supposed to show realized gains after a position is closed within a strategy, and that column is purely for displaying unrealized gains on open positions, then I guess its doing what its supposed to do.
Sorry for all the confusion, its a bit difficult to explain all this in writing.
EDIT: I should stop saying realized P&L, i mean realized gains column, sorry.
- You say the Control Center Strategies Tab "Realized" column shows a zero after a profitable trade has closed?
- If yes, please create a scenario where there is a profitable trade and then right click on the running strategy in the Control Center Strategies Tab and select the menu Strategy Performance > Real-time and then click on the trades tab, what PnL does this single trade show?RayNinjaTrader Customer Service
Comment
-
Originally posted by ryker View PostRay,
I'm aware of what you say, but both of them should show the same numbers in realized if you trade a strategy on just a symbol and don't trade this symbol anywhere else.
Anyway realized column is not populated in strategy tab (or stays at 0), unrealized sometimes stays at 0 and is sometimes populated (I mean when I'm in position).
What I am looking for here to see if the realized pnl column correlates to the perfromance reported in the trades tab.RayNinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_Ray View PostThanks Ryker,
- Do you get this same behaviour on the Sim101 account?
- Do you get this same behaviour using the default SampleMACrossOver strategy?
Comment
-
-
Originally posted by NinjaTrader_Ray View Posttradefaz,
Your issue may or may not be the same as Ryker.
- What is the order quantity you use in you run your strategy? I need to know the exact number used. Is it "1" by chance?
If by order quantity you mean the value that I pass in to the original EnterLong(25000...)
Does that help?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mestor, Today, 03:15 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mestor
Today, 03:15 AM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
11 responses
305 views
0 likes
|
Last Post
by z.franck
Today, 02:29 AM
|
||
Started by Padan, Today, 02:02 AM
|
0 responses
6 views
0 likes
|
Last Post
by Padan
Today, 02:02 AM
|
||
Started by bukowa, 11-09-2023, 06:07 PM
|
20 responses
407 views
0 likes
|
Last Post
by Adfra
Today, 01:36 AM
|
||
Started by yertle, Yesterday, 05:49 PM
|
2 responses
11 views
0 likes
|
Last Post
by yertle
Today, 12:12 AM
|
Comment