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 llanqui, Yesterday, 09:59 AM
      2 responses
      16 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by ThoriSten, Today, 03:56 AM
      0 responses
      6 views
      0 likes
      Last Post ThoriSten  
      Started by PhillT, 04-19-2024, 02:16 PM
      3 responses
      20 views
      0 likes
      Last Post mangel2000  
      Started by TraderBCL, Today, 02:37 AM
      0 responses
      4 views
      0 likes
      Last Post TraderBCL  
      Started by mangel2000, Today, 02:23 AM
      0 responses
      12 views
      0 likes
      Last Post mangel2000  
      Working...
      X