Copyright by jack calo -- v1.0 -- 03/04/2015 -- Paint the bar yellow when it's an inside day. When the full range of a candle is equal or within the full range of the previous bar. Credit to Rob Smith and his In The Black Strategy.
// Copyright by jack calo -- v1.0 -- 03/04/2015 // Paint the bar yellow when it's an inside day. When the full range of a candle is equal or within the full range of the previous bar. Credit to Rob Smith and his In The Black Strategy. study(title = "Inside Day", overlay = true) barcolor((high <= high[1] and low >= low[1]) ? yellow : na)