OPEN-SOURCE SCRIPT

CRR Auto 50% Candle

34
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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.