OPEN-SOURCE SCRIPT
تم تحديثه Rainbow Moving Average with Crossover Signals

Rainbow Moving Average is a trend-following indicator designed to visualize market structure, momentum shifts, and moving average alignment through a layered MA system.
This version combines multiple moving averages into a dynamic “rainbow” structure while adding automatic crossover signal detection for improved trend confirmation and timing.
## Features
* 7 configurable Moving Averages
* Supports multiple MA types:
* EMA
* SMA
* HMA
* RMA (SMMA)
* WMA
* VWMA
* Colored rainbow visualization for trend clarity
* Bullish crossover detection
* Bearish crossover detection
* Visual signal dots directly on the chart:
* Green dot = bullish crossover
* Red dot = bearish crossover
* Built-in TradingView alert conditions
## How It Works
The indicator monitors the crossover between the fast moving average (MA1) and the slower moving average (MA2).
* When MA1 crosses above MA2:
* A green dot appears below the candle
* Indicates potential bullish momentum
* When MA1 crosses below MA2:
* A red dot appears above the candle
* Indicates potential bearish momentum
The rainbow structure helps traders quickly identify:
* Trend direction
* Momentum acceleration
* Compression and expansion phases
* Potential reversals
## Best Use Cases
This indicator can be used for:
* Trend following
* Intraday trading
* Swing trading
* Momentum analysis
* Market structure confirmation
Works effectively on:
* Forex
* Indices
* Crypto
* Stocks
* Futures
## Alerts
TradingView alert conditions are included for both bullish and bearish crossover events, allowing full automation compatibility.
## Disclaimer
This indicator is intended for educational and analytical purposes only. Always use proper risk management and combine signals with additional confirmation tools before making trading decisions.
This version combines multiple moving averages into a dynamic “rainbow” structure while adding automatic crossover signal detection for improved trend confirmation and timing.
## Features
* 7 configurable Moving Averages
* Supports multiple MA types:
* EMA
* SMA
* HMA
* RMA (SMMA)
* WMA
* VWMA
* Colored rainbow visualization for trend clarity
* Bullish crossover detection
* Bearish crossover detection
* Visual signal dots directly on the chart:
* Green dot = bullish crossover
* Red dot = bearish crossover
* Built-in TradingView alert conditions
## How It Works
The indicator monitors the crossover between the fast moving average (MA1) and the slower moving average (MA2).
* When MA1 crosses above MA2:
* A green dot appears below the candle
* Indicates potential bullish momentum
* When MA1 crosses below MA2:
* A red dot appears above the candle
* Indicates potential bearish momentum
The rainbow structure helps traders quickly identify:
* Trend direction
* Momentum acceleration
* Compression and expansion phases
* Potential reversals
## Best Use Cases
This indicator can be used for:
* Trend following
* Intraday trading
* Swing trading
* Momentum analysis
* Market structure confirmation
Works effectively on:
* Forex
* Indices
* Crypto
* Stocks
* Futures
## Alerts
TradingView alert conditions are included for both bullish and bearish crossover events, allowing full automation compatibility.
## Disclaimer
This indicator is intended for educational and analytical purposes only. Always use proper risk management and combine signals with additional confirmation tools before making trading decisions.
ملاحظات الأخبار
error correctionنص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.