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!
See more
See less

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.
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
        5 responses
        551 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by rtwave, 04-12-2024, 09:30 AM
        5 responses
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by funk10101, Today, 12:02 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by GLFX005, Today, 03:23 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by nandhumca, Yesterday, 03:41 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X