You are on page 1of 1

// 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 Outside Day", overlay = true)

barcolor((high <= high[1] and low >= low[1]) ? yellow : na)

barcolor((high >= high[1] and low <= low[1]) ? blue : na)

You might also like