Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

putting my indicator on a fresh chart makes the chart sizing incorrect

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

    putting my indicator on a fresh chart makes the chart sizing incorrect

    Hi,

    When I put my indicator on my chart, the chart is not sized appropriately (like when I press the F button, it resizes),... So what I must do is put the indicator on the chart, then i simply drag the chart to the left a touch, then it resizes properly.

    Is there some chart refresh code instruction I should put in to ensure that the chart resizes properly after my indicator is loaded?
    Last edited by KhaosTrader; 09-04-2016, 12:23 PM. Reason: rework title

    #2
    Hello KhaosTrader,

    Thank you for your post.

    You can utilize ForceRefresh() to refresh the chart. However, this could be related to the plots or drawing tools in the indicator's code. Can you list you code here or send it over to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H - 1566438' in the subject line?

    Comment


      #3
      I rather not send you my code, I will try the ForceRefresh(); where do you recommend putting this? in the code? what event(s)?

      Comment


        #4
        Where ever the values are set You would want to try ForceRefresh. Make sure to test this.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by xiinteractive, 04-09-2024, 08:08 AM
        6 responses
        22 views
        0 likes
        Last Post xiinteractive  
        Started by Pattontje, Yesterday, 02:10 PM
        2 responses
        16 views
        0 likes
        Last Post Pattontje  
        Started by flybuzz, 04-21-2024, 04:07 PM
        17 responses
        229 views
        0 likes
        Last Post TradingLoss  
        Started by agclub, 04-21-2024, 08:57 PM
        3 responses
        17 views
        0 likes
        Last Post TradingLoss  
        Started by TradingLoss, 04-21-2024, 04:32 PM
        4 responses
        45 views
        2 likes
        Last Post TradingLoss  
        Working...
        X