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

Change right side settings in volume indicator

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

    Change right side settings in volume indicator

    Hi, how can i change this settings on the right side on a volume indicator.
    I mean, now the scale of it are >1000.
    I want the settings in the range of the bid/sell = 5 - 150 for example.
    Thanks
    Attached Files

    #2
    Hello mate41,

    Thank you for writing in.

    To scale the price on the Chart, please refer to the following steps:
    • Right click on the price margin and select Properties
    • Change Range from Automatic to Fixed
    • Set the Maximum and Minimum to the desired amounts.
    • Click OK

    Don't hesitate to contact us with any other NinjaTrader items we may assist with.

    Comment


      #3
      Thanks, i mean in the indicator code.

      Comment


        #4
        Hello mate41,

        Thank you for the reply.

        In the code of the indicator have 2 DrawHorizontalLine with both set to auto scale set to true and the color to transparent. Have one be the high line and the other lower line.

        Provided a sample code: SampleScalePrice.cs

        Don't hesitate to contact us with any other NinjaTrader items we may assist with.

        Comment


          #5
          Thanks PatrckY,
          thats not what i need.
          I need (not as overlay but as a panel) the buy-volume and the sell-volume by tick as 2 lines.
          The scale of the panel is to large and i'd like setting my own scale as code in the indicator-panel; not in the properties of the panel.
          The purpose is to visually the relation between the buy and sell volume plus the crossover of the 2.

          Comment


            #6
            Hello mate41,

            Thank you for the reply.

            The sample code that I previous post was an example of how you to apply your NinjaScript indicator with 2 DrawHorizontalLine drawing objects that are transparent. One of the DrawHorizontalLine would be the low price and the other high price. Also, with this example how you could add your own parameters in the Indicator properties windows to adjust the scaling.

            Can you please provide some screen shots of what you expecting or wanting to happen?

            To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

            Click here for instructions

            Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

            Click here for detailed instruction

            I'll be waiting for your reply.

            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