A script to identify big candles (i.e price pushes 5% within 5 minutes).
// Created by Khanh Nguyen // Updated 24012016 // Big candle study(title = "Big Candle", overlay = true) HowBig1 = input(5, minval = 0.1, title = "How big ") percentage = input(title="Percentage ", type=bool, defval=false) HowBig = iff(percentage, close*HowBig1/100, HowBig1) khanh = (high-low >= HowBig and close - open > 0) plotshape(khanh, style=shape.triangleup, color = green, location = location.abovebar, size = size.tiny) khanh1 = (high - low >= HowBig and close - open < 0) plotshape(khanh1, style=shape.triangledown, color = red, location = location.belowbar, size= size.tiny)