• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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?
    Patrick H.NinjaTrader Customer Service

    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.
        Patrick H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by indy73, Yesterday, 10:52 PM
        0 responses
        3 views
        0 likes
        Last Post indy73
        by indy73
         
        Started by martyn73, Yesterday, 07:04 PM
        0 responses
        5 views
        0 likes
        Last Post martyn73  
        Started by sergey_z, Yesterday, 02:56 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by samir, Yesterday, 02:46 PM
        1 response
        20 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by neoikon, Yesterday, 02:24 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Working...
        X