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 chbruno, 04-24-2024, 04:10 PM
            4 responses
            50 views
            0 likes
            Last Post chbruno
            by chbruno
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            10 responses
            398 views
            1 like
            Last Post beobast
            by beobast
             
            Started by lorem, Yesterday, 09:18 AM
            5 responses
            21 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by WHICKED, Today, 12:56 PM
            2 responses
            15 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by Felix Reichert, Today, 02:12 PM
            0 responses
            4 views
            0 likes
            Last Post Felix Reichert  
            Working...
            X