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 color of CCI plot line when it crosses the value line in a certain direction

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

    Change color of CCI plot line when it crosses the value line in a certain direction

    Hi, I am attempting to find a way to change the color of the CCI plot line when it crosses the 50 or "X" value line in a given direction. ie. if the plot value is 51 I want the plot line to be green if it is 49 I want the plot line to turn red, etc. Any way to do this?

    #2
    Hello gjbeaudin, thanks for your post and welcome to the NinjaTrader forum.

    You can use the PlotBrushes array to change the color of the plot based on a condition. There is an example use case on that help guide page.

    Kind regards.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Is there a service provide by Ninja that can help me with this? It has been over 20 years since I have programmed and I have no experience with the NT8 editor product or language?

      Comment


        #4
        Hi gjbeaudin, thanks for your reply.

        Yes, we have the NinjaTrader Ecosystem which hosts many NinjaScript consultants that will be happy to create custom code.

        More info on the publicly available website here: https://ninjatraderecosystem.com/

        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.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by traderqz, Today, 12:06 AM
        4 responses
        7 views
        0 likes
        Last Post traderqz  
        Started by Mongo, Today, 11:05 AM
        0 responses
        2 views
        0 likes
        Last Post Mongo
        by Mongo
         
        Started by Tim-c, Today, 10:58 AM
        0 responses
        1 view
        0 likes
        Last Post Tim-c
        by Tim-c
         
        Started by traderqz, Yesterday, 09:06 AM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_ThomasC  
        Started by f.saeidi, Today, 10:19 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X