NexusFi: Find Your Edge


Home Menu

 





Bar Color Change Indicator


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 
druM3's Avatar
 druM3 
belfast, UK
 
Experience: Intermediate
Platform: Ninja Trader 7 / TOS
Broker: Amp
Trading: ES
Posts: 46 since Mar 2012
Thanks Given: 6
Thanks Received: 33

Hi

I am looking for a nt7 indicator that will alert me each time there is a new colored bar printed. For example if you have a number of up bars colored green for example then there is a red down bar printed the indicator would alert you to this (visa versa as well). Im playing around with a few ideas ref trend atm and this would be very useful. If none exist i would be keen to get one coded.

Many Thanks

DRU


"Just A Dollar And A Dream"
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The May 31 Binary: 60% Trump Declares Iran Ops Over, Onl …
Prediction Markets & Event Contracts
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
CME Group Fee Schedule Changes Hit All Four Exchanges -- …
Traders Hideout
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
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
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #3 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 6,233 since Sep 2015
Thanks Given: 15,885
Thanks Received: 16,118



druM3 View Post
Hi

I am looking for a nt7 indicator that will alert me each time there is a new colored bar printed. For example if you have a number of up bars colored green for example then there is a red down bar printed the indicator would alert you to this (visa versa as well). Im playing around with a few ideas ref trend atm and this would be very useful. If none exist i would be keen to get one coded.

Many Thanks

DRU

The color of the bar is just a function of whether it is an up bar or a down bar.

The following 2 conditions would verify if the current bar is an up bar and the previous bar was a down bar.
Close[0]>Open[0]
Close[1]<Open[1]


The following 2 conditions would verify if the current bar is a down bar and the previous bar was an up bar.
Close[0]<Open[0]
Close[1]>Open[1]



You could put these 2 sets of conditions in NT7 strategy wizard, add some sort of alert (either visual or audio) and validate if that's what you're looking for.




Bear in mind that in 'chop' periods (e.g. several alternating up/down or down/up bars) you are going to be alerted on every one of them.


Reply With Quote
  #4 (permalink)
 
druM3's Avatar
 druM3 
belfast, UK
 
Experience: Intermediate
Platform: Ninja Trader 7 / TOS
Broker: Amp
Trading: ES
Posts: 46 since Mar 2012
Thanks Given: 6
Thanks Received: 33

Thanks for the reply - yes thats pretty much what i am after. I sent you a DM.

Thanks


"Just A Dollar And A Dream"
Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on August 6, 2018


© 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