OPEN-SOURCE SCRIPT
AlgoPilotX - Trend & Momentum Suite

AlgoPilotX – Trend & Momentum Suite is an advanced all-in-one trend and momentum indicator designed to simplify trading decisions.
This script combines Exponential Moving Averages (EMAs), Relative Strength Index (RSI), and MACD into a clean, easy-to-read dashboard that appears on the top-right of your chart. It provides:
📊 How to Use
Trend Box (Top-Right Panel)
EMAs:
RSI:
MACD:
Strength Meter (0–100):
On-Chart Arrows
Green Buy Arrow:
Red Sell Arrow:
Alerts
Create TradingView alerts directly from the script conditions:
⚠️ Disclaimer
This indicator is for educational purposes only.
It does not constitute financial advice or a guarantee of profits.
Past performance is not indicative of future results.
Trading involves risk, and you should always do your own research or consult with a licensed financial advisor before making investment decisions.
By using this script, you acknowledge that you are solely responsible for your own trading decisions.
This script combines Exponential Moving Averages (EMAs), Relative Strength Index (RSI), and MACD into a clean, easy-to-read dashboard that appears on the top-right of your chart. It provides:
- Trend detection with EMAs (Bullish, Bearish, Neutral)
- Momentum insights via RSI (Bullish, Bearish, Overbought, Oversold)
- MACD status (Bullish, Bearish, Flat)
- Trend Strength Meter (0–100 score, with bar from weak → strong)
- Buy & Sell arrows on chart when key conditions align
- Custom alerts for major events (Buy/Sell signals, Strength crossing above 80 or below 20)
📊 How to Use
Trend Box (Top-Right Panel)
EMAs:
- Bullish when Fast EMA > Slow EMA.
- Bearish when Fast EMA < Slow EMA.
RSI:
- 70 = Overbought.
- <30 = Oversold.
- 50+ = Bullish momentum.
- Below 50 = Bearish momentum.
MACD:
- Bullish when histogram > 0.
- Bearish when histogram < 0.
Strength Meter (0–100):
- <20 = Very weak trend.
- 20–50 = Weak/Neutral trend.
- 50–80 = Strengthening trend.
- 80 = Strong trend continuation zone.
On-Chart Arrows
Green Buy Arrow:
- Fast EMA crosses above Slow EMA
- RSI confirms bullish bias (>55)
- MACD histogram positive
Red Sell Arrow:
- Fast EMA crosses below Slow EMA
- RSI confirms bearish bias (<45)
- MACD histogram negative
Alerts
Create TradingView alerts directly from the script conditions:
- Buy/Sell signals
- Strength > 80 (strong trend)
- Strength < 20 (weak trend)
⚠️ Disclaimer
This indicator is for educational purposes only.
It does not constitute financial advice or a guarantee of profits.
Past performance is not indicative of future results.
Trading involves risk, and you should always do your own research or consult with a licensed financial advisor before making investment decisions.
By using this script, you acknowledge that you are solely responsible for your own trading decisions.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.