NexusFi: Find Your Edge


Home Menu

 





Bar Color Change Indicator


Discussion in NinjaTrader

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




 
Search this Thread

Bar Color Change Indicator

  #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 Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
REcommedations for programming help
Sierra Chart
What broker to use for trading palladium futures
Commodities
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #3 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,979 since Sep 2015
Thanks Given: 15,503
Thanks Received: 15,415



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 Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on August 6, 2018


© 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