TradingView
DayTradingItalia
Dec 4, 2016 6:25 AM

Inside Bars Multiple Time Frames Color 

Euro Fx/U.S. DollarFXCM

Description

Hello, this is just a script that helps to identify "inside bars" on the current time frame or a higher one, by coloring them with the selected color.
Comments
PivitolAve
This would be amazing with an alert. Any way that could be added?
rajdeepoct4
Can we view the code for learning....
ForexDre
... Apologies I will be clearer.
What I mean is when the previous bar (mother bar) high or low has been exceeded by live price the MTF bars no longer color yellow, indicating the inside bar is no longer valid from the chosen Timeframe.
hoanghung90
Please, share code
Ross-J-Burland
this is great. question. is there a version that would disregard an inside bar/candle IF the range touched either the high or low of the prior bar/candle high or low, no, matter if it closes back inside of the prior candle range? really need option that if poss?
Ross-J-Burland
this is great!!!
usrsotp
Use the chart time as the default time, or add an option to do that so one doesn't have to set it everytime. Or make it open source so others can benefit too!
ForexDre
Hi DayTrading Italia

I've been checking out your awesome indicator named:
' Inside Bars Multiple Time Frames Color '
which is potentially very useful if it could color the bars on live price.

Please see this indicator which does this successfully:
' jc-Inside_Bar ' by jjcalo

It's not a MTF indicator. Maybe the code could give you some direction to make yours work?

Best of Trading Sir!

Andre
Eldannyc
any possibility to add an alarm when the inside bar occurs?
DayTradingItalia
Infact, sometimes, you'll see incomplete inside bars colored partially, when you use it on a higher time frame. This is not a very big issue, but it could be when one select a very high timeframe setting on a 1 minute chart, will be difficult to understant if it is a completed inside bar or not. I would like to update it but, at the moment, there is no way to fix it properly due to Pine limitations
More