NexusFi: Find Your Edge


Home Menu

 





CCI four colors


Discussion in NinjaTrader

Updated
    1. trending_up 3,426 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 PlatinumTrader 
Arizona
 
Experience: Intermediate
Platform: Ninjatrader
Broker: zen fire
Trading: ES, oil, forex,
Posts: 3 since Apr 2010
Thanks Given: 1
Thanks Received: 1

Hello, I have been searching for hours to find a CCI indicator that will color the bar chart according to what the CCI value is. I have found many good CCI indicators which are phenomenal. However, I still need this basic indicator.
What I want is for the bars in the chart to be colored based on the CCI. For example if the CCI is above zero but less than 100, plot chart a given color, if greater than 100 but less than 200 another color, as well as another color btwn zero and -100, and then again btwn -100 and -200. I would like to be able to change the levels or numbers at which the colors change as well as choose what colors. Need it for Ninjatrader 7. Is this indicator already been created? If so, I cant find it. Can anyone help? Perhaps one of you great coders can create that one. I would very much appreciate it.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
March Jobs Report Update: 178K Beat vs 59K Expected, Wag …
Traders Hideout
April Jobs Beat Flips Fed Hike Odds Past 52% for First T …
Traders Hideout
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
Saroj's Avatar
 Saroj 
Arcata, CA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: index futures, oil
Posts: 482 since Jun 2009
Thanks Given: 232
Thanks Received: 416

This isn't exactly what you are looking for, but it has all the elements for someone to modify to suit. You are asking for more parameterization than either has for instance.

I thought it was posted to downloads... but I couldn't find it either (the download search function baffles me).

I attached 2; I currently use CCIColorssg.cs; I can't remember for sure, but I think I adapted it from the CCIMultipleColors.cs

Hope this helps.


Attached Files
Elite Membership required to download: CCIColorssg.cs
Elite Membership required to download: CCIMultipleColors.cs
Reply With Quote
Thanked by:
  #3 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,531



PlatinumTrader View Post
Hello, I have been searching for hours to find a CCI indicator that will color the bar chart according to what the CCI value is. I have found many good CCI indicators which are phenomenal. However, I still need this basic indicator.
What I want is for the bars in the chart to be colored based on the CCI. For example if the CCI is above zero but less than 100, plot chart a given color, if greater than 100 but less than 200 another color, as well as another color btwn zero and -100, and then again btwn -100 and -200. I would like to be able to change the levels or numbers at which the colors change as well as choose what colors. Need it for Ninjatrader 7. Is this indicator already been created? If so, I cant find it. Can anyone help? Perhaps one of you great coders can create that one. I would very much appreciate it.

@PlatinumTrader,

I'm not sure if some of the code I used is only for elite members. so I posted a version here:


Reply With Quote
Thanked by:
  #4 (permalink)
 PlatinumTrader 
Arizona
 
Experience: Intermediate
Platform: Ninjatrader
Broker: zen fire
Trading: ES, oil, forex,
Posts: 3 since Apr 2010
Thanks Given: 1
Thanks Received: 1

Just wanted to say thank you very much! You guys rock. The teamwork and assistance given by the members is just amazing. I appreciate the time and help each of you give. Syvester..thanks...that is what I needed. Its perfect.


Started this thread Reply With Quote
Thanked by:




Last Updated on December 14, 2012


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts