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. اقرأ المزيد في شروط الاستخدام.