NexusFi: Find Your Edge


Home Menu

 





normal ninjatrader up/down bars without outline


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Todd with 2 posts (0 thanks)
    2. looks_two Eric j with 1 posts (0 thanks)
    3. looks_3 fx.practic with 1 posts (0 thanks)
    4. looks_4 Fat Tails with 1 posts (4 thanks)
    1. trending_up 4,197 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 5 attachments




 
Search this Thread
  #1 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 232 since Jun 2009
Thanks Given: 28
Thanks Received: 40

Is there a way to get an indicator to paint bars with the same formula as the standard NT candlestick bars but without the outline? I mean have the outline match the bar color?

Please see the following screenshot?
2010-03-19_0730

I like the bars coloring shown in the left panel but I want to try to match the formula for the standard up and down bars in the right panel.

Todd


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Five Days Until the Gap Dies -- CME Goes 24/7 on All Dig …
Traders Hideout
OneChronos Launches First Combinatorial Auction FX Venue …
Currencies
Kharg Island at 6%, Regime Fall at 1.5% -- The Black Swa …
Prediction Markets & Event Contracts
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
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
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 478 since Jun 2009
Thanks Given: 1,419
Thanks Received: 404


Hey Todd,
Long time - hope it's going well...

If you have a paint bars section in the User Interface (UI), set the barOutlineColor to Transparent.
If you don't have that in the UI, you could comment out the lines of code that look like this:

 
Code
CandleOutlineColor = BarColorOutline;
or
 
Code
CandleOutlineColor = Color.DimGray;
just place "//" (without the " marks) in front of "CandleOutlineColor ..." then save and recompile.

HTH

Kirk


Reply With Quote
  #4 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 232 since Jun 2009
Thanks Given: 28
Thanks Received: 40

Hey Kirk,

I hope all is well with you also.

When I changed the pairt bar outline color to "transparent" in the properties section of the chart, it made the outline invisible...

I do want to see the wicks on the candles, I just want those wicks to match the color of the bars (as shown in the screenshot).

Do you know how to accomplish this?

Todd


Started this thread Reply With Quote
  #5 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093

try;
CandleOutlineColor = BarColor;


Reply With Quote
  #6 (permalink)
 Eric j 
NY
 
Experience: Advanced
Platform: Esignal, MBT navigator
Trading: Currencies
Posts: 2,507 since Jun 2009
Thanks Given: 1,396
Thanks Received: 2,576

Try this . It paints the tails and wicks the same color . If you want to change the colors just pop open the code and change them and recompile .


Attached Files
Elite Membership required to download: candlecolorsyncbars.zip
Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114

Hi Todd,

this is an indicator that plots different colors on Upclose, Downclose and Doji Bars and also allows you to select the colors of the CandleOutlines for these bars. I have serialized the colors, so you can choose them via indicator dialogue.

You can use this as a model for all sorts of paint bars that you want to create, you would just have to modify the conditions within the code to suit your needs.

Below attached some examples, of how you could color your bars....


Attached Thumbnails
Click image for larger version

Name:	Example 1.jpg
Views:	340
Size:	78.3 KB
ID:	10013   Click image for larger version

Name:	Example 2.jpg
Views:	305
Size:	78.1 KB
ID:	10014   Click image for larger version

Name:	Example 3.jpg
Views:	286
Size:	77.0 KB
ID:	10015  
Attached Files
Elite Membership required to download: Doji.zip
Reply With Quote
  #8 (permalink)
 
fx.practic's Avatar
 fx.practic 
Ukraine, Kharkiv
 
Experience: Beginner
Platform: NinjaTrader
Broker: oanda.com
Trading: GBP/USD
Posts: 17 since Aug 2009
Thanks Given: 9
Thanks Received: 7

This work for all bars:

Bars.BarsData.ChartStyle.DownColor = Color.Transparent;
Bars.BarsData.ChartStyle.UpColor = Color.Transparent;


Reply With Quote




Last Updated on September 2, 2014


© 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