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 Quick Summary with 1 posts (0 thanks)
    3. looks_3 bobwest with 1 posts (0 thanks)
    4. looks_4 kronie with 1 posts (1 thanks)
    1. trending_up 3,046 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Paintbar Indicator for Ninja Trader

  #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?
What broker to use for trading palladium futures
Commodities
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #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,172 since Jan 2013
Thanks Given: 57,515
Thanks Received: 26,292


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: 796 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 futures.io (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


© 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