OPEN-SOURCE SCRIPT
CRR Auto 50% Candle

A line at 50% of the candle
If a candle is larger than the minimum size you define (minSizePerc),
then calculate the midpoint of the candle (midLevel) and draw a horizontal line:
From the current candle to 44 bars to the right (or the number you choose).
Green if the candle is bullish, red if it is bearish.
2. Signal arrows
If it's a large bullish candle → green arrow pointing up with the text “50”.
If it's a large bearish candle → red arrow pointing down with the text “50”.
3. What is it for?
It marks the 50% level of important candles, which is often:
A mitigation zone.
A level where the price usually returns before continuing.
An institutional equilibrium point.
🧠 In simple terms:
It detects strong candles, draws their 50% level into the future, and marks them with arrows indicating whether they are bullish or bearish. Ideal for SMC.
If a candle is larger than the minimum size you define (minSizePerc),
then calculate the midpoint of the candle (midLevel) and draw a horizontal line:
From the current candle to 44 bars to the right (or the number you choose).
Green if the candle is bullish, red if it is bearish.
2. Signal arrows
If it's a large bullish candle → green arrow pointing up with the text “50”.
If it's a large bearish candle → red arrow pointing down with the text “50”.
3. What is it for?
It marks the 50% level of important candles, which is often:
A mitigation zone.
A level where the price usually returns before continuing.
An institutional equilibrium point.
🧠 In simple terms:
It detects strong candles, draws their 50% level into the future, and marks them with arrows indicating whether they are bullish or bearish. Ideal for SMC.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.