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

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.
    Brandon H.NinjaTrader Customer Service

    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
        Brandon H.NinjaTrader Customer Service

        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.
            Brandon H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by fx.practic, 10-15-2013, 12:53 AM
            5 responses
            5,406 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by Shai Samuel, 07-02-2022, 02:46 PM
            4 responses
            98 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by DJ888, Yesterday, 10:57 PM
            0 responses
            8 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by MacDad, 02-25-2024, 11:48 PM
            7 responses
            160 views
            0 likes
            Last Post loganjarosz123  
            Started by Belfortbucks, Yesterday, 09:29 PM
            0 responses
            9 views
            0 likes
            Last Post Belfortbucks  
            Working...
            X