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 3,594 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 5 attachments




 
Search this Thread

normal ninjatrader up/down bars without outline

  #1 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 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?
Cheap historycal L1 data for stocks
Stocks and ETFs
Quantum physics & Trading dynamics
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
Strategy stop orders partially filled
EasyLanguage Programming
 
  #3 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
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: 234 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
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

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, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

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:	284
Size:	78.3 KB
ID:	10013   Click image for larger version

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

Name:	Example 3.jpg
Views:	226
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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts