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

IsAutoScale

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

    IsAutoScale

    I have 2 plots in my strategy in which I want "Auto Scale" to be off. I have "IsAutoScale = false" in my State.SetDefaults section, but doens't seem to be working ... any input? thanks

    #2
    Hello pman777,
    Thanks for your post.

    Is this plot in the primary panel? If so, What is the value of the plot in comparison to the current price?

    Is the value of the plot between the minimum and maximum prices displayed on the price scale?

    You will need to remove the strategy and re-add it back to the chart to see the change after compiling. This is because you need to go back through State.SetDefaults to actually change the property. Are you compiling the strategy before adding the strategy back to your the chart?

    Can you perhaps take a screenshot of the before and after of changing the IsAutoScale property?
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      thanks! reloading the strategy addressed the issue

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by helpwanted, Today, 03:06 AM
      1 response
      16 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      11 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      6 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      244 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      387 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X