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 Davide999, 05-18-2023, 03:55 AM
      4 responses
      554 views
      1 like
      Last Post kcwasher  
      Started by Stanfillirenfro, Today, 07:23 AM
      2 responses
      10 views
      0 likes
      Last Post Stanfillirenfro  
      Started by rexsole, Today, 08:39 AM
      2 responses
      6 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      6 responses
      29 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by gbourque, Today, 06:39 AM
      2 responses
      14 views
      0 likes
      Last Post gbourque  
      Working...
      X