OPEN-SOURCE SCRIPT

Candle Pair Marker

in a 5 minute time frame the identify two consecutive candles where the body of the first candle should be in side the high and low of the second candle and the body of the second candle should be inside the high and low of the first candle. draw a dotted line to mark the highiest high and lowest low of the couple candle. and calculate the difference between the two highest high and the lowest low and devide it by 2 and add this value to the highest high and subtract from the lowest low. and draw a green line on the high value and red line for the low value
Chart patterns

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer