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

Strategy changes the chart

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

    Strategy changes the chart

    When I apply the strategy to the chart it changes the way the price bars are displayed.
    It still does it after I reset the Data series preset
    Attached Files

    #2
    Hello itrader46,

    Thank you for the post.

    It looks like you are plotting a 0 value and also have AutoScale enabled. The chart is accommodating the values you are trying to display.

    The indicator or plot appears to have a value close to 0 but the instrument being used does not. You would need to use a second panel for this plot or use Scale Justification Overlay to avoid having an autoscale range of 0 - 58.

    Is the plot coming from your strategy specifically or is this an indicator which is plotting the 0 line?


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      The indicator is plotted by the strategy (with the strategy builder) and until recently it used to plot in a separate panel

      Comment


        #4
        Hello itrader46,

        Thank you for the reply.

        In this case the strategy is adding the indicator but it seems the indicator is programmed to be IsOverlay = true. I cant say why it would have changed recently, perhaps the indicator was updated or edited?

        To use this with the builder you would need to edit the indicator so that is makes its own panel.

        If this is an indicator you have the code for you just need to change the IsOverlay to false and then remove/re add the strategy from where it is applied.


        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by helpwanted, Today, 03:06 AM
        0 responses
        3 views
        0 likes
        Last Post helpwanted  
        Started by Brevo, Today, 01:45 AM
        0 responses
        7 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        5 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Working...
        X