OPEN-SOURCE SCRIPT
تم تحديثه CB LOD Reversal

For the LOD one (swap high/low wording for HOD):
**LOD Reversal Scanner**
Flags intraday reversals off the low of day.
How it works: when a candle sets a new low of day and the *next* candle closes above that candle's close, the indicator prints a "REV" marker and sets a Signal value of 1. Red dots mark each new-LOD candle so you can see the setup forming.
The logic always runs on a fixed signal timeframe (default 15 minutes) regardless of the chart interval, so it can be used in Pine Screener on any interval at or below the signal timeframe.
Settings: signal timeframe, minimum 20-day average daily volume (default 1M), regular-session-only toggle.
Pine Screener use: add the indicator, set interval to 15m (or lower), filter `Signal` equal to 1, and rescan after each candle close.
For HOD version, change to: "when a candle sets a new high of day and the next candle closes below that candle's close… Green dots mark each new-HOD candle."
**LOD Reversal Scanner**
Flags intraday reversals off the low of day.
How it works: when a candle sets a new low of day and the *next* candle closes above that candle's close, the indicator prints a "REV" marker and sets a Signal value of 1. Red dots mark each new-LOD candle so you can see the setup forming.
The logic always runs on a fixed signal timeframe (default 15 minutes) regardless of the chart interval, so it can be used in Pine Screener on any interval at or below the signal timeframe.
Settings: signal timeframe, minimum 20-day average daily volume (default 1M), regular-session-only toggle.
Pine Screener use: add the indicator, set interval to 15m (or lower), filter `Signal` equal to 1, and rescan after each candle close.
For HOD version, change to: "when a candle sets a new high of day and the next candle closes below that candle's close… Green dots mark each new-HOD candle."
ملاحظات الأخبار
Release notes (for the "Update" publish box):**v2 — Signal no longer limited to the very next candle**
Previously the reversal had to occur on the candle immediately after the new low-of-day candle. Now, once a candle sets a new low of day, its close becomes the reference level and the indicator stays armed. The first later candle in the same session that closes above that level fires the REV signal, whether it's the next candle or several candles later. Each LOD candle can fire at most once; a new low of day resets the reference and re-arms the signal.
For the HOD script, swap "low of day → high of day" and "closes above → closes below."
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.