NexusFi: Find Your Edge


Home Menu

 





Paintbar Indicator for Ninja Trader


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Colin45 with 2 posts (1 thanks)
    2. looks_two kronie with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 bobwest with 1 posts (0 thanks)
    1. trending_up 3,552 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 Colin45 
Peterborough United Kingdom
 
Experience: Intermediate
Platform: Ninja Trader
Trading: Oil
Posts: 6 since Jun 2012
Thanks Given: 1
Thanks Received: 3

Anyone know how I can paint the bar on my charts?


Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
One Wallet Made $200K in Hours: AP Probes Polymarket Cea …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Kharg Island at 6%, Regime Fall at 1.5% -- The Black Swa …
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)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,174 since Jan 2013
Thanks Given: 57,989
Thanks Received: 26,406


First:
Define your colors, say, upColor and downColor.

private Color upColor = Color.Blue;
private Color downColor = Color.Red;


Then:

if (whatever your up condition is)
{
BarColor = upColor;
// If you also want to color the outline and the wick, add this (assuming you are using candles):
CandleOutlineColor = upColor;
}

etc. for down or whatever.

Bob.

PS, I assumed when I wrote this that you were writing an indicator and just needed the code for a paintbar. If you're not doing the coding, but would like an indicator written, the best place to ask is the free indicator thread:



You would need to specify exactly what you want the indicator to do....

Hope one of these answers addresses what you need.


Reply With Quote
  #4 (permalink)
 
kronie's Avatar
 kronie 
NYC + NY / USA
 
Experience: Advanced
Platform: "I trade, therefore, I AM!"; Theme Song: "Atomic Dog!"
Trading: EMD, 6J, ZB
Posts: 795 since Oct 2009

@Colin45

many indicators in the download elite section already have this, and show those conditions on the sample chart window of the description,

if you're not paid up as an Elite, now would be an excellent time to consider it, as the participation is well worth the effort....

ADXVMA comes to mind,
then there are the combination Renko or Range with Bands (bollingers, kiplingers, hippo bands and hippie bands too)

have fun scrolling through and test out a few,

you'll find your time very well spent.

its one of the best features of NexusFi (formerly BMT)


Reply With Quote
  #5 (permalink)
 Colin45 
Peterborough United Kingdom
 
Experience: Intermediate
Platform: Ninja Trader
Trading: Oil
Posts: 6 since Jun 2012
Thanks Given: 1
Thanks Received: 3

Hi Kronie,

Thx very much indeed, I will have a look at this...

Colin


Started this thread Reply With Quote




Last Updated on November 24, 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