OPEN-SOURCE SCRIPT
TPC Trend Alignment Meter

TPC Trend Alignment Meter
TPC Trend Alignment Meter is a clean and intuitive momentum visualization tool designed to help traders quickly assess the overall trend strength and directional bias of the market.
Instead of cluttering the chart with multiple indicators, this tool consolidates momentum and trend signals into a simple color-coded meter system, allowing traders to instantly identify whether the market is leaning bullish or bearish.
The indicator combines momentum oscillators and moving average trend signals to create a quick “trend health check” for any asset or timeframe.
________________________________________
How It Works
The indicator uses five independent trend measurements:
Trend Meters (Momentum Signals)
These meters measure market momentum using oscillators.
Trend Meter 1 – MACD Momentum
•Based on MACD (6,12,9)
•Green when the MACD line is above the signal line
•Red when momentum turns bearish
Trend Meter 2 – RSI Strength
•Based on RSI 13
•Green when RSI is above 50
•Red when RSI is below 50
Trend Meter 3 – Fast Momentum
•Based on RSI 5
•Captures short-term momentum shifts
________________________________________
Trend Bars (Trend Direction)
These bars measure trend structure using EMA crossovers.
Trend Meter 4 – Fast Trend
•EMA 1 vs EMA 7 crossover
Trend Meter 5 – Slow Trend
•EMA 10 vs EMA 14 crossover
Green bars indicate bullish trend alignment, while red bars indicate bearish trend pressure.
________________________________________
Market Alignment Signal
When all five momentum meters agree:
•All Green → Strong bullish momentum
•All Red → Strong bearish momentum
The indicator will also display a subtle background highlight when this occurs, helping traders easily spot high-probability trend conditions.
Optional alerts can notify you when:
•All meters turn bullish
•All meters turn bearish
________________________________________
Key Features
• Clean visual trend dashboard
• Combines momentum + trend structure
• Simple green / red market bias
• Works on any market or timeframe
• Customizable visibility for each meter
• Adjustable visual levels for layout control
• Optional trend alignment alerts
________________________________________
How Traders Use It
The TPC Trend Alignment Meter is best used as a trend confirmation tool alongside price action or market structure.
Common approaches include:
• Looking for all meters green to confirm long bias
• Looking for all meters red to confirm short bias
• Using the fast EMA bar to detect early trend shifts
• Waiting for full meter alignment before entering trades
________________________________________
Best For
•Trend traders
•Momentum trading
•Crypto / Forex / Indices
•Multi-timeframe analysis
•Entry confirmation
━━━━━━━━━━━━━━━━━━
Disclaimer
━━━━━━━━━━━━━━━━━━
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice or a recommendation to buy or sell any financial instrument.
All trading involves risk, and users should conduct their own analysis before making trading decisions.
TPC Trend Alignment Meter is a clean and intuitive momentum visualization tool designed to help traders quickly assess the overall trend strength and directional bias of the market.
Instead of cluttering the chart with multiple indicators, this tool consolidates momentum and trend signals into a simple color-coded meter system, allowing traders to instantly identify whether the market is leaning bullish or bearish.
The indicator combines momentum oscillators and moving average trend signals to create a quick “trend health check” for any asset or timeframe.
________________________________________
How It Works
The indicator uses five independent trend measurements:
Trend Meters (Momentum Signals)
These meters measure market momentum using oscillators.
Trend Meter 1 – MACD Momentum
•Based on MACD (6,12,9)
•Green when the MACD line is above the signal line
•Red when momentum turns bearish
Trend Meter 2 – RSI Strength
•Based on RSI 13
•Green when RSI is above 50
•Red when RSI is below 50
Trend Meter 3 – Fast Momentum
•Based on RSI 5
•Captures short-term momentum shifts
________________________________________
Trend Bars (Trend Direction)
These bars measure trend structure using EMA crossovers.
Trend Meter 4 – Fast Trend
•EMA 1 vs EMA 7 crossover
Trend Meter 5 – Slow Trend
•EMA 10 vs EMA 14 crossover
Green bars indicate bullish trend alignment, while red bars indicate bearish trend pressure.
________________________________________
Market Alignment Signal
When all five momentum meters agree:
•All Green → Strong bullish momentum
•All Red → Strong bearish momentum
The indicator will also display a subtle background highlight when this occurs, helping traders easily spot high-probability trend conditions.
Optional alerts can notify you when:
•All meters turn bullish
•All meters turn bearish
________________________________________
Key Features
• Clean visual trend dashboard
• Combines momentum + trend structure
• Simple green / red market bias
• Works on any market or timeframe
• Customizable visibility for each meter
• Adjustable visual levels for layout control
• Optional trend alignment alerts
________________________________________
How Traders Use It
The TPC Trend Alignment Meter is best used as a trend confirmation tool alongside price action or market structure.
Common approaches include:
• Looking for all meters green to confirm long bias
• Looking for all meters red to confirm short bias
• Using the fast EMA bar to detect early trend shifts
• Waiting for full meter alignment before entering trades
________________________________________
Best For
•Trend traders
•Momentum trading
•Crypto / Forex / Indices
•Multi-timeframe analysis
•Entry confirmation
━━━━━━━━━━━━━━━━━━
Disclaimer
━━━━━━━━━━━━━━━━━━
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice or a recommendation to buy or sell any financial instrument.
All trading involves risk, and users should conduct their own analysis before making trading decisions.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.