Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing price bar color based on indicator

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

    Changing price bar color based on indicator

    I would like to change the color of price bars based on MACD indicator. Green price bar when the MACD is above zero line and the signal line. Red price bar when MACD is below zero line and signal line. Black price bar when non of the previous conditions are met. Can I do this with NinjaTrader 8?

    #2
    Hello cwemanuel,

    Thank you for your post.

    Not via the UI, but you can certainly program an indicator to change the candle color when the MACD value is within a certain range, yes. If you're interested in going that route, I can certainly provide examples and resources to help you create your own indicator using NinjaScript.

    You can also contact one of our professional NinjaScript Consultants or Educators who would be eager to create or modify a script at your request or assist you with your script. Please let me know if you would like a list of professional NinjaScript Consultants or Educators who would be happy to create or modify any script at your request or assist you in learning NinjaScript.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Kate,

      I'm new to NinjaTrader so I know nothing about NinjaScript. Is there a tutorial for NinjaScript? It would be helpful if you would provide a list of consultants and educators. Thanks for the reply and Happy Trading.

      Charles Emanuel

      Comment


        #4
        Hello cwemanuel,

        Thank you for your reply.

        We do have resources to help you begin creating NinjaScript Strategies/Indicators. All links below are publicly available.

        The best way to begin learning NinjaScript is to use the Strategy Builder. With the Strategy Builder you can setup conditions and variables and then see the generated code in the NinjaScript Editor by clicking the View Code button.

        I'm also providing a link to a pre-recorded set of videos 'Strategy Builder 301' and 'NinjaScript Editor 401' for you to view at your own convenience.

        Strategy Builder 301

        NinjaScript Editor 401

        If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of articles in our NT7 help guide first:

        Basic Programming Concepts
        For general C# education I have personally found Dot Net Perls to be a great reference site with easy to understand examples.

        Browse examples for many languages, with explanations and code side by side for easy understanding.


        We also have great resources in relation to Strategy Development on our Support Forum. There is a very active developer community in our support forum that supplements the responses provided by NinjaTrader support staff providing all users with an exceptional support experience.

        Take me to your support forum!

        There are a few Sample Automated Strategies which come pre-configured in NinjaTrader that you can use as a starting point. These are found under New -> NinjaScript Editor -> Strategy. You will see locked strategies where you can see the details of the code, but you will not be able to edit (you can though always create copies you can later edit via right click > Save as)

        We also have some Reference samples online as well as ‘Tips and Tricks’ for both indicators and strategies:

        Click here to see our NinjaScript Reference Samples

        Click here to see our NinjaScript Tips

        These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.

        Further, the following link is to our help guide with an alphabetical reference list to all supported methods, properties, and objects that are used in NinjaScript.

        Alphabetical Reference

        And our Educational Resources in the NinjaTrader 8 help guide.

        Educational Resources

        A set of specific tutorials for creating conditions in the NinjaTrader 8 Strategy Builder in the NinjaTrader 8 help guide.

        Condition Builder

        I will also have our vendor support team reach out to you with information on third party NinjaScript Consultants.

        Please let me know if I may be of further assistance.


        Kate W.NinjaTrader Customer Service

        Comment


          #5
          Additionally, you can search our extensive library of NinjaTrader Ecosystem vendors through the link below. Simply enter a vendor's name or search by using our filter categories. Once you have identified your vendor of choice, please visit each vendor's site for more information or contact them directly to learn more:

          Search trading indicators, apps and services to personalize your NinjaTrader software. Explore custom trading indicators, automated strategies, free trading apps & more!


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

          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 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.

          Let me know if I may be of further assistance.
          Tiffinie S.NinjaTrader Customer Service

          Comment


            #6
            Thanks to Kate and Tiffinie for the information. This will keep me busy at night.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by xiinteractive, 04-09-2024, 08:08 AM
            3 responses
            11 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by Johnny Santiago, 10-11-2019, 09:21 AM
            95 responses
            6,193 views
            0 likes
            Last Post xiinteractive  
            Started by Irukandji, Today, 09:34 AM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by RubenCazorla, Today, 09:07 AM
            1 response
            6 views
            0 likes
            Last Post RubenCazorla  
            Started by TraderBCL, Today, 04:38 AM
            3 responses
            26 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X