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 sidlercom80, 10-28-2023, 08:49 AM
            167 responses
            2,260 views
            0 likes
            Last Post jeronymite  
            Started by warreng86, 11-10-2020, 02:04 PM
            7 responses
            1,361 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by Perr0Grande, Today, 08:16 PM
            0 responses
            5 views
            0 likes
            Last Post Perr0Grande  
            Started by elderan, Today, 08:03 PM
            0 responses
            9 views
            0 likes
            Last Post elderan
            by elderan
             
            Started by algospoke, Today, 06:40 PM
            0 responses
            10 views
            0 likes
            Last Post algospoke  
            Working...
            X