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 judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            21 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X