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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.