Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to access any Account information for display on a chart

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

    How to access any Account information for display on a chart

    I do not use DOM's and use Chart Trader minimised to preserve screen real estate. I trade 6 instruments (1 chart per instrument) across 3 screens.

    I trade some instruments in SIM and others LIVE and will swap this around during the day based on market conditions and risk tolerance.

    So, in the heat of the trading moment, to be sure I know if I am about to place a SIM or LIVE trade on a particular chart/instrument (I use HotKeys to place orders) I need some way of identifying if that chart/instrument is currently set to SIM or LIVE in Chart Trader (without having to maximise the Chart Trader window).

    How can I create such an INDICATOR to mark the chart as such?

    I understand from this forum that Account.Name and GetAccountValue and AccountItem etc are not available to use in an Indicator.

    I have already requested a modification to NT such that the Chart Trader minimised button is coloured the same colour as the expanded Chart Trader background, so this would work if you have selected a different background colour for SIM Account under Chart Trader Properties.

    It is not practical to change the Chart label to notate SIM or LIVE in the Data Series as you would have to remember to change this every time you swapped a chart/instrument from SIM to LIVE and back again.

    There must be some way of doing something so simple???

    #2
    Steve, there's unfortunately no supported way of accessing this information via NinjaScript - I will of course add your feedback and input to our list of suggestions received.

    Update: this is added now under id 1009.

    Thanks again for the input.
    Last edited by NinjaTrader_Bertrand; 06-07-2011, 10:43 AM.

    Comment


      #3
      Bertrand, any results concerning to Steve suggestion? I would welcome to use GetAccountValue in indicator and base on it create script displaing position sizing on chart.

      Comment


        #4
        Welcome to our forums Jiri, unfortunately no update I could provide here, it's being tracked by development as enhancement suggestion.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        43 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        25 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        162 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        98 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        158 views
        2 likes
        Last Post CaptainJack  
        Working...
        X