Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator representing PRICE with UP DOWN at zero line

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

    Indicator representing PRICE with UP DOWN at zero line

    Dear Team,

    I am looking for an indicator which can plot PRICE with UP or DOWN at zero line or in HISTOGRAM format without price scale. Actually, my purpose is to see if the green bar is making or the red bar by seeing the indicator. Best is if the default ATR is plotted with histogram format instead of bar format. I can use it with default value of 1. If green bar is in progress it will plot the positive bar with ATR value and if red bar is in making then it will plot the negative or down bar at zero line with ATR value of the bar. So if possible please make the ATR code with HISTOGRAM or some other equivalent indicator if there is any.

    Thanks for all the wonderful support​
    Last edited by TwilightD; 12-06-2023, 08:46 AM.

    #2
    Hello TwilightD,

    Thanks for your post.

    Since it seems you are looking for an existing indicator and not information about programming a custom indicator, I have moved your forum thread to the NinjaScript File Sharing Discussion section of the Forums.

    I am not aware of an existing indicator that accomplishes this specifically.

    You could consider browsing the User App Share linked below for a possible solution.

    User App Share: https://ninjatraderecosystem.com/user-app-share/

    This forum thread will also be available for other community members to share their insights on the topic.

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Hello Ninjatrader_BrandonH,

      Thanks for quick reply.

      I am looking for programming information also regarding the ATR indicator with following conditions:

      1st It should plot BARS with HISTOGRAM

      2nd Up Bars are for Green Bars with value of ATR of that bar

      3rd Down Bars are for Red Bars with value of ATR of that bar

      Thanks

      Comment


        #4
        Hello TwilightD,

        Thanks for your notes.

        I have moved this back to the Indicator Development section of the Forums.

        You could create a custom indicator that calls the AddPlot() method to add a plot to the indicator. This plot could be set to use the PlotStyle argument to PlotStyle.Bar to display as a histogram.

        The ATR() method would be used to access ATR indicator values and you could assign this value to your plot to plot the ATR.

        To change the color of a plot when a certain condition becomes true, you would use PlotBrushes.

        To detect if the bar on the chart is an up bar (green) you could create a condition that checks if Close[0] > Open[0]. To detect if the bar on the chart is a down bar (red) you could create a condition that checks if Close[0] < Open[0].

        See the help guide documentation below for more information.

        AddPlot(): https://ninjatrader.com/support/help...t8/addplot.htm
        ATR(): https://ninjatrader.com/support/help..._range_atr.htm
        PlotBrushes: https://ninjatrader.com/support/help...lotbrushes.htm
        Close: https://ninjatrader.com/support/help.../nt8/close.htm
        Open: https://ninjatrader.com/support/helpGuides/nt8/open.htm
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          Thanks for reply.

          I am not familiar with programming. Is it possible for you to program the desired indicator?

          I would be highly grateful.

          Thanks

          Comment


            #6
            Hello TwilightD,

            Thanks for your notes.

            Unfortunately, no we cannot program a custom indicator script on your behalf as it is against our policy in the Support Department at NinjaTrader.

            This forum thread will be open for other community members to provide their insights on the topic and create the indicator for you if they are willing.

            If you need someone to write this script for you your behalf, you can also contact a professional NinjaScript Consultant who would be eager to create this script at your request or assist you with your script.

            You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!

            https://ninjatraderecosystem.com/sea...mming-services

            Educators - https://ninjatraderecosystem.com/sea...ures=education

            You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

            This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
            <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            571 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            331 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            549 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            550 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X