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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。