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

Fixed Scale of panel

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

    Fixed Scale of panel

    I plot an indicator in a new panel.
    however, i want the panel to have the fixed Min and Max values, from -1 to 1, nevertheless what is the plotvalue.

    at this moment, separate panel's y Max and Min values are automatically changed depending the visible plot line-value.

    how to set it fixed to be from -1 to 1?

    #2
    Originally posted by TazoTodua View Post
    I plot an indicator in a new panel.
    however, i want the panel to have the fixed Min and Max values, from -1 to 1, nevertheless what is the plotvalue.

    at this moment, separate panel's y Max and Min values are automatically changed depending the visible plot line-value.

    how to set it fixed to be from -1 to 1?
    Right click in Y margin of Panel, select Properties and change range to fixed...
    RayNinjaTrader Customer Service

    Comment


      #3
      no, i want to do that in indicator, so want a property/code to be in indicator itself, without need for manua user-action

      Comment


        #4
        Originally posted by TazoTodua View Post
        no, i want to do that in indicator, so want a property/code to be in indicator itself, without need for manua user-action
        The following is the place to start:

        RayNinjaTrader Customer Service

        Comment


          #5
          thanks, tried things, but was unable to make them work.
          i also encountered probably bug in nt.

          well, all i wanted is to add the fixed 0 to 1 scale range to this indicator panel:

          Comment


            #6
            Originally posted by TazoTodua View Post
            thanks, tried things, but was unable to make them work.
            i also encountered probably bug in nt.

            well, all i wanted is to add the fixed 0 to 1 scale range to this indicator panel:
            https://pastebin.com/raw/LQdR49Ue
            So what have you written so far that appears to not do that which you want to do? Show us, and someone may be able to correct it.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by kaywai, Today, 06:26 AM
            1 response
            6 views
            0 likes
            Last Post kaywai
            by kaywai
             
            Started by ct, 05-07-2023, 12:31 PM
            6 responses
            203 views
            0 likes
            Last Post wisconsinpat  
            Started by kevinenergy, 02-17-2023, 12:42 PM
            118 responses
            2,780 views
            1 like
            Last Post kevinenergy  
            Started by briansaul, Today, 05:31 AM
            0 responses
            10 views
            0 likes
            Last Post briansaul  
            Started by traderqz, Yesterday, 12:06 AM
            11 responses
            28 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X