NexusFi: Find Your Edge


Home Menu

 





NT8 Assign paintbar colors to other indicator


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 tradenoob 
Richmond, VA
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
Posts: 3 since Aug 2013
Thanks Given: 24
Thanks Received: 0

Hi all,

I have a paintbar indicator I've made and want to match the standard VOL indicator's color to reflect the paintbar colors of the candlesticks. I've cloned the VOL indicator with the intent to do this but it seems I'm not going about it the right way.

Was wondering if anyone knew the proper way to do this.

FYI I'm currently grabbing the standard volume indicator simply by using a Name check against ChartControl.Indicators, which seems to work properly. I'm then setting its BarBrushes[barsAgo] to the new color in the same method I use to paint the bars. I thought this would work but I'm getting an index out of range error.

Thanks in advance for any insight.

EDIT: I could also just clone the logic into the VOL indicator however I was trying to avoid this. But if I had to do it, it wouldn't be a big deal. It only calculates stuff for each bar once.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
Penalties in Budapest, Peace Deadline in Tehran: Arsenal …
Prediction Markets & Event Contracts
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
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




Last Updated on December 28, 2016


© 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