Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change PnLDisplayUnit via c# dosn`t work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change PnLDisplayUnit via c# dosn`t work

    I would like to change the PnLDisplayUnit via c#. I found the property for this, unfortunately the assignment of the new value doesn't seem to work, why?
    The PnLDisplayUnit in the chart trader does not change the existing value.

    Code:
    chartTrader.Properties.PnLDisplayUnit = GuiPerformanceUnit.Currency;
    Click image for larger version  Name:	image.png Views:	0 Size:	236.2 KB ID:	1274923
    sidlercom80
    NinjaTrader Ecosystem Vendor - Sidi Trading

    #2
    Hello sidlercom80,

    The charttrader properties are currently not in a documented/supported state for NinjaScript so this is unfortunately not something we could answer currently. There is no information available about the properties for the chart trader in NinjaScript or which values can be edited.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X