I realy do not understand why it was only implemented perfect partly, only in the chart trader (so the programing work is already done), but if you go to the Strategy tab and click Grid Properties you only can remove Grids but not change their properties like it would be logical (the posibility to change the Grid to display points/pips or % in stead $ is missing).
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Unrealized and Realized PnL in points/pips and % in stead of only $
Collapse
X
-
Unrealized and Realized PnL in points/pips and % in stead of only $
I would realy love to have the posibility to switch to points/pips and % in stead of only $ in the Unrealized and Realized PnL Grids in Strategies and Accounts.
I realy do not understand why it was only implemented perfect partly, only in the chart trader (so the programing work is already done), but if you go to the Strategy tab and click Grid Properties you only can remove Grids but not change their properties like it would be logical (the posibility to change the Grid to display points/pips or % in stead $ is missing).Tags: None
-
-
Can I please know if this will be implemented, and if yes, when??
I tryed to code an indicator to do this but it seems imposible (not suported by NT)!?
If I am wrong and there is some kind of workarround for this problem please point me in the right direction! I want to see at least my PNL in points (pips) as a indicator or in the output window!
Comment
-
Hello Dierk,
I first wanted to try something very simple: A indicator which, aplayed to the chart, which I use to place my trades trough the chart trader, prints my ATMStrategy total PNL in the output window.
This is the simple code I thought could do the job:
// This namespace holds all indicators and is required. Do not change it.
namespace NinjaTrader.Indicator
{
///<summary>
/// Profits
///</summary>
[Description("Profits")]
publicclass Profits : Indicator
{
#region Variables
privatestring atmStrategyId = string.Empty;
#endregion
///<summary>
/// This method is used to configure the indicator and is called once before any bar data is loaded.
///</summary>
protectedoverridevoid Initialize()
{
CalculateOnBarClose = true;
Overlay = false;
PriceTypeSupported = false;
}
///<summary>
/// Called on each bar update event (incoming tick)
///</summary>
protectedoverridevoid OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
atmStrategyId = GetAtmStrategyUniqueId();
Print("PnL is " + GetAtmStrategyRealizedProfitLoss(atmStrategyId).To String());
}
#region Properties
#endregion
}
}
But I get ollowing compile errors:
The name 'GetAtmStrategyUniqueId' does not exist in the current context (CS0103)
The name 'GetAtmStrategyRealizedProfitLoss' does not exist in the current context (CS0103)
Comment
-
Hello Dierk,
Lets see, as I know I can not use the chart trader and have a strategy running at the same time! Or can I??
What I want to do is a work arround to see my Realized PnL for examle printed in the output window in POINTS in stead of $$.
At this moment in NT if I go to the Control Center Account TAB I ony can see my Realized PnL in $ but I want have the posibility to see it in POINTS not $.
If you are a trader who is compounding seeing your realized PnL in $ will only disturb and confuse you specialy if you have a dayly gole which must be a constant number of Points (you must use Points because of compounding the $ value will change each day).
I SIMPLY WANT SEE THE DAYLY REALIZED PnL IN POINTS IN STEAD OF $
I though, as a workarround, I needed to create an indicator because I can not (if I am not wrong??) trade trough the chart trader and at the same time have a strategy open which does what I want?????????????
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
5 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
3 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
7 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM |
Comment