OPEN-SOURCE SCRIPT

AlgoPilotX - Trend & Momentum Suite

62
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:

  1. Trend detection with EMAs (Bullish, Bearish, Neutral)
  2. Momentum insights via RSI (Bullish, Bearish, Overbought, Oversold)
  3. MACD status (Bullish, Bearish, Flat)
  4. Trend Strength Meter (0–100 score, with bar from weak → strong)
  5. Buy & Sell arrows on chart when key conditions align
  6. Custom alerts for major events (Buy/Sell signals, Strength crossing above 80 or below 20)


📊 How to Use

Trend Box (Top-Right Panel)

EMAs:
  1. Bullish when Fast EMA > Slow EMA.
  2. Bearish when Fast EMA < Slow EMA.


RSI:
  1. 70 = Overbought.
  2. <30 = Oversold.
  3. 50+ = Bullish momentum.
  4. Below 50 = Bearish momentum.


MACD:

  1. Bullish when histogram > 0.
  2. Bearish when histogram < 0.


Strength Meter (0–100):

  1. <20 = Very weak trend.
  2. 20–50 = Weak/Neutral trend.
  3. 50–80 = Strengthening trend.
  4. 80 = Strong trend continuation zone.


On-Chart Arrows

Green Buy Arrow:

  1. Fast EMA crosses above Slow EMA
  2. RSI confirms bullish bias (>55)
  3. MACD histogram positive


Red Sell Arrow:

  1. Fast EMA crosses below Slow EMA
  2. RSI confirms bearish bias (<45)
  3. MACD histogram negative


Alerts

Create TradingView alerts directly from the script conditions:

  1. Buy/Sell signals
  2. Strength > 80 (strong trend)
  3. 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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。