NKP Trend Super FastNKP Trend super Fast is an indicator. It will plot buy / sell signal in live market based on custom calculated information about entry points at close of the candle. Buy/ Sell signal is the best entry point but you can enter at the next candle.
we can see signals like buy/sell/ - 5 min candle ( Intraday trading)
if the price move above the trend line and buy signal came then go for long if sell signal came below the trend line the go for short.
How does it work?
buy - take the buy order in next candle open's stop loss will be Trend line value or candle low which ever is least.
sell - take the sell order in next candle open's stop loss will be Trend line value or candle high which ever is highest.
What are the signals?
Yes it will generate the buy/sell signals in the live market
these signal will plot up/down label with text based on signal.
Can we set the Alert on this?
Yes, we can set the alert based on the signals
Four custom alerts - NKP Buy , NKP Sell
IMPORTANT: this script does not generate exit signals and those should be find using money management rules or else. Perfectly catches long runs in trends at all underlings (stocks, indexes ) at 5 min time frame. Lower/High period gives more incorrect signals and shorter runs on below 5 min period , higher period gives you late entry and less. Of course it gives false signals from time to time but fortunately it makes a correction very fast.
Try it! Good luck and good trading!
Cerca negli script per "trend"
DMI & ADX Trend indicator - colour coded DMI and ADX plotted on an indicator. ADX histogram is colored when above value of 20 and rising when aligned with trend direction as defined by DMI criteria. (Green=Bullish & trending / Red=Bearish & trending)
NKP Trend FinderNKP Trend Finder is an indicator. It will plot buy / sell signal in live market based on custom calculated information about entry points at close of the candle. Buy/ Sell signal is the best entry point but you can enter at the next candle.
we can see signals like buy/sell/ - 5 min candle (Intraday trading)
if the price move above the trend line and buy signal came then go for long if sell signal came below the trend line the go for short.
How does it work?
buy - take the buy order in next candle open's stop loss will be signal candle low
sell - take the sell order in next candle open's stop loss will be signal candle high
What are the signals?
Yes it will generate the buy/sell signals in the live market
these signal will plot up/down arrow based on signal.
Can we set the Alert on this?
Yes, we can set the alert based on the signals
Four custom alerts - NKP Buy , NKP Sell
IMPORTANT: this script does not generate exit signals and those should be find using money management rules or else. Perfectly catches long runs in trends at all underlings (stocks, indexes ) at 5 min time frame. Lower/High period gives more incorrect signals and shorter runs on below 5 min period , higher period gives you late entry and less. Of course it gives false signals from time to time but fortunately it makes a correction very fast.
Try it! Good luck and good trading!
RSC TrendTrading Indicator v4.0Note: this v4.0 is an updated version with improved alert handling and updated to Pine script version. You can easily add alerts (see the end for an explanation).
This indicator combines 4 indicators as one indicator (assuming you are looking at the daily chart ) and adds alerts:
An Upper Donchian Channel of 20 days (default) or more, used to indicate buy signals
A Lower Donchian Channel of 10 days (default) or more, used to indicate exit signals
A 50 day Simple Moving Average (for entry filtering)
A 200 day Simple Moving Average (for entry filtering)
This strategy works best on daily.
You can create alerts by selecting " RSC TrendTrading... " and "Buy Signal" or "Sell Signal" for the condition, then Buy or Sell. I recommend you select "Once Per Bar Close" to avoid getting multiple signals per bar.
This is a combined indicator for those who are familiar with Doc Severson's Trend Trading Class. It is published with permission.
There is way more than just adding the indicators to utilise this trading strategy successfully. You need to attend the Doc's class to understand how this indicator can be used to your advantage.
Please Like, Share, Comment, if you like this indicator.
I have also published a Strategy based on this to allow backtesting!
Please follow me and like, if you use this indicator.
Warning
The Buy and Sell calls are meaningless and must not be auctioned without a thorough understanding of this trading strategy and the full consideration of the entry and exit conditions.
Please use this indicator at your own risk. The publisher does not accept any responsibility for its performance or any implications.
[CryptoWho] Trend-BandsSimple Script to get a better view of trends. The colored band indicates if the market is in a trend or sideways action.
BINANCE:BATBTC
True Channel TrendSo I make hybrid using Alex Grover and follow the trend line script
I think it more accurate this way to show channels of trends
The length of the curve set to 100 , you can make it smaller if you want to see smaller channels for analysis
here on daily chart you can see how accurate it show the trend reverse from march to bullish trend
Quintalytics Trend Chop & Stop 19Quintalytics Trend Chop & Stop is a combination of a Trend, Sideways/Chop Detection, and Trailing Stop Loss indicator. This indicator is suitable for use in all timeframes and markets.
COLORS
The Color GREEN indicates the presence of a Bullish Trend.
The Color RED indicates the presence of a Bearish Trend.
The Color YELLOW indicates that the market is Sideways a.k.a. Flat a.k.a. Choppy.
You have the option of COLORING the BAR to match the Current TrailingStop color.
You also have the option of applying a Smoothing to the TrailingStop line.
SETTINGS
The indicator has three parameters: Alpha, Beta, and Gamma. Changing these settings individually or in combination will yield varying results.
Adjusting ALPHA will affect the overall level of TREND detection.
Adjusting BETA will control the DISTANCE of the line away from the current market price.
Adjusting Gamma will control the level of CHOP detection.
TTPro Trend+ATR V9TTPro Trend+ATR identifies trends and helps to establish optimal entyry and exit points once a trend has been established. The indicator can also assist in establishing relevant stop loss levels.
Zaigi Trend SignalEnter with the trend:
Go long when signal line is above 50
Go short when signal line is below 50
Bitcoin Jack Trend Strength Divergence IndicatorHelps spotting divergences in trends. Blue arrows are divergences.
Auto Trendline, Downtrend Descending Trend line indicatorThis is a customized Tradingview indicator will automatically plots descending trend lines which formed by two adjacent swing lows. It will also draw 5 extended resistance and support levels after the trend line detected.
The concept is simple: the trend line is formed by two adjacent troughs when the price is in a downtrend . It will save a lot of time for people (like me) who uses trendline very often.
By deploying this indicator, should the condition meet, you don't need to draw the trend lines by hand anymore. It's also very easy to use, just load it on chart and set your desired inputs.
Features:
Strength, this parameter is used to define the minimum number of bars to the left and right side of the troughs (swing low point).
Set price difference between two troughs in two variables: amount or percentage.
Enable/disable the extended level lines.
By using different inputs, you can easily filter out some unwanted trend lines.
It's recommended to use small value for price difference input on intraday chart, and use relatively large value on Daily chart.
The choice of price difference value input also depends on the market you work on, you may want to use small value on Forex market and use large value on Stock market.
Heikin Ashi Trend Count SumsProvides the number of uninterrupted HA candle color trends over the past x bars that lasted 1, 2, 3, 4, 5, 6, 7, 8, or 9+ bars, where x is an input.
Plotchar is messy, so this is best used with Chart Options->Background->Indicator Values checked. Numbers in order, from lime to red, are the binned number of 9+, 8, 7, 6, 5, 4, 3, 2, and 1 trends that ended within the last x bars.
TRADE ORBIT : MA Ribbon WITH SUPER TRENDMA Ribbon — up to four customizable moving averages (SMA, EMA, WMA, SMMA, VWMA).
SuperTrend (25–75 Percentile) — adaptive ATR-based trend detection with percentile smoothing.
Candle coloring — bars change color based on trend direction (blue = uptrend, purple = downtrend).
Filled zones — highlights trend areas between percentile bands.
Composite Trend AverageThis indicator combines 6 advanced trend-following indicators into a single consensus system:
• HalfTrend
• T3 (Tillson T3)
• FRAMA (Fractal Adaptive Moving Average)
• MAMA (MESA Adaptive Moving Average)
• McGinley Dynamic
• KAMA (Kaufman Adaptive Moving Average)
Features:
- Composite average line (average of all 6 indicators)
- Consensus zone showing the range between highest and lowest indicator values
- Dynamic color coding: GREEN when price closes above ALL indicators, RED when price closes below ALL indicators
- Toggle options for individual indicators, composite line, and consensus zone
MTF Market Bias+ (Smart Multi-Timeframe Trend Dashboard)The MTF Market Bias+ indicator provides a clear, data-driven view of market direction across multiple timeframes — from scalper to swing trader level.
It automatically calculates the bullish / bearish / neutral bias for each selected timeframe using various configurable methods such as EMA slope, price vs EMA, or EMA50 vs EMA200.
This tool gives you an instant overview of market alignment and helps you identify when lower and higher timeframes are in sync — the most powerful condition for high-probability trades.
🔍 Core Features
✅ Multi-Timeframe Bias Dashboard: Visual table showing bullish/bearish sentiment across your chosen timeframes (from 3m to 1W).
⚙️ Customizable Methods: Choose between
EMA Slope (default) → detects trend direction by EMA momentum
Price vs EMA → shows short-term strength or weakness
EMA50 vs EMA200 → classic golden cross vs death cross structure
🎨 Configurable Colors, Size & Layout: Adjust background, text, and label sizes for any chart style.
📊 Summary Row: Displays the majority trend (bullish, bearish, or neutral) with real-time score.
🧩 Adaptive Background Mode (optional): Automatically colors your chart background according to overall bias.
💡 Method Info Panel: Clearly shows which method and parameters are active (e.g. “EMA Slope | EMA=50”).
📈 How to Use
Add the indicator to your chart.
Select the timeframes you want to monitor (e.g. 3m, 5m, 15m, 1h, 4h, D, W).
Watch for alignment between lower and higher timeframes:
When all turn green → strong bullish alignment → consider longs.
When all turn red → strong bearish alignment → consider shorts.
Mixed colors indicate consolidation or correction phases.
Combine it with your favorite Fair Value Gap, CHOCH/BOS, or Liquidity Sweep strategy to significantly improve trade timing and confidence.
🧩 Author’s Note
This indicator is designed for traders who want fast, visual confirmation of multi-timeframe structure without cluttering their charts.
It’s simple, lightweight, and highly adaptable — whether you’re scalping on 3-minute charts or swing trading daily candles.
Atlas Trend LiteAtlas Trend Lite User Guide
1. Overview
This tool shows colored clouds and signals on your chart to help you see whether the price is more likely to go up or down. It also shows “buy” and “sell” signals on a single candle and marks their strength with small indicators.
Everything is visible at a glance: colors, shapes, and clouds. You don’t need to worry about complicated numbers or technical terms.
2. Colors and Clouds
Green Cloud Price is likely going up.
Red Cloud Price is likely going down.
Green Candle / Bar Price is rising.
Red Candle / Bar Price is falling.
Yellow Small Candle Candle body is small, price didn’t move much.
Clouds show trend direction. Green means upward, red means downward.
3. Buy / Sell Signals
Signals appear only once per candle, never stacked.
Green Circle (large outer, small white inner) → Buy signal
Red Circle (large outer, small white inner) → Sell signal
Outer colored circle shows direction, inner small white circle shows confidence.
4. Last Signal-Based Levels
On the top-right panel, you’ll see:
Row Meaning
Last Signal Most recent signal: “Buy” or “Sell”
SL (Stop Loss) Safe price limit: if price hits here, trade stops.
TP (Take Profit) Target price: if price hits here, profit is taken.
Signal Strength Strength of the signal (0–100). Higher means more reliable.
Cloud L1 / L2 Cloud boundaries. Look at the color to see trend direction.
Price Current price.
SL and TP change based on the last signal:
Buy → TP above, SL below
Sell → TP below, SL above
5. How to Use
Check the clouds:
Green → upward trend
Red → downward trend
Look at the signals:
Green circle → consider buying
Red circle → consider selling
Check SL and TP levels:
Follow panel levels to manage your risk.
Pay attention to signal strength:
Strong → more reliable
Weak → caution, trend uncertain
Observe candle colors and markers:
Yellow candle → small price movement
Green / Red candle → trend direction
6. Example Visual
Buy signal: Green cloud, green circle below candle, panel shows Long with green TP/SL
Sell signal: Red cloud, red circle above candle, panel shows Short with red TP/SL
You can quickly see the likely price direction and make informed decisions.
7. Important Notes
Signals only appear once per candle, never repeat on past candles.
Heatmap and clouds appear mainly on the chart, signals as circles.
Signals and colors adjust automatically to your selected timeframe.
Focus on visual cues only; you don’t need to analyze calculations.
SPX trend breakdownThis indicator is not granted for buying and selling confirmation, it is only for analysis. Entering or existing buy or sell is your decision and under your responsibility.
Please note that currently this indicator works only on ( spx s&p 500 index cfd sp )
explanation:
1- The purple line (candle high) is estimating the trend movement for short term.
2- The blue line (candle average) is moving average based on the candle highest close.
3- The black line (variable) is the actual movement of the trend.
- If black line above blue line with green background color, the candle is green and moving up.
- If black line above blue line with red background color, the candle is red but still above blue line.
- If the black line below blue line with red background color, the candle is red and moving down.
- If the black line below the blue line with green background color, the candle is green but still below blue line.
4- The green arrow up symbol above candle indicates that the top of current candle is higher than previous candle.
5- The green arrow up symbol below candle indicates that the bottom of current candle is higher than previous candle.
6- The red arrow down symbol above candle indicates that the top of current candle is lower than previous candle.
7- The red arrow down symbol below candle indicates that the bottom of current candle is lower than previous candle.
Ripping and Dipping (Reversal + Trend Signals)Waits for a series of EMAs to be stacking from fastest to slowest for a user input X bars, then signals trend or reversal trades based on a simple close above/below the high/low of the last bar. Designed to catch quick trend trades once strength is confirmed, and quick reversal trades once trend has overextended.
[blackcat] L2 Trend LinearityOVERVIEW
The L2 Trend Linearity indicator is a sophisticated market analysis tool designed to help traders identify and visualize market trend linearity by analyzing price action relative to dynamic support and resistance zones. This powerful Pine Script indicator utilizes the Arnaud Legoux Moving Average (ALMA) algorithm to calculate weighted price calculations and generate dynamic support/resistance zones that adapt to changing market conditions. By visualizing market zones through colored candles and histograms, the indicator provides clear visual cues about market momentum and potential trading opportunities. The script generates buy/sell signals based on zone crossovers, making it an invaluable tool for both technical analysis and automated trading strategies. Whether you're a day trader, swing trader, or algorithmic trader, this indicator can help you identify market regimes, support/resistance levels, and potential entry/exit points with greater precision.
FEATURES
Dynamic Support/Resistance Zones: Calculates dynamic support (bear market zone) and resistance (bull market zone) using weighted price calculations and ALMA smoothing
Visual Market Representation: Color-coded candles and histograms provide immediate visual feedback about market conditions
Smart Signal Generation: Automatic buy/sell signals generated from zone crossovers with clear visual indicators
Customizable Parameters: Four different ALMA smoothing parameters for various timeframes and trading styles
Multi-Timeframe Compatibility: Works across different timeframes from 1-minute to weekly charts
Real-time Analysis: Provides instant feedback on market momentum and trend direction
Clear Visual Cues: Green candles indicate bullish momentum, red candles indicate bearish momentum, and white candles indicate neutral conditions
Histogram Visualization: Blue histogram shows bear market zone (below support), aqua histogram shows bull market zone (above resistance)
Signal Labels: "B" labels mark buy signals (price crosses above resistance), "S" labels mark sell signals (price crosses below support)
Overlay Functionality: Works as an overlay indicator without cluttering the chart with unnecessary elements
Highly Customizable: All parameters can be adjusted to suit different trading strategies and market conditions
HOW TO USE
Add the Indicator to Your Chart
Open TradingView and navigate to your desired trading instrument
Click on "Indicators" in the top menu and select "New"
Search for "L2 Trend Linearity" or paste the Pine Script code
Click "Add to Chart" to apply the indicator
Configure the Parameters
ALMA Length Short: Set the short-term smoothing parameter (default: 3). Lower values provide more responsive signals but may generate more false signals
ALMA Length Medium: Set the medium-term smoothing parameter (default: 5). This provides a balance between responsiveness and stability
ALMA Length Long: Set the long-term smoothing parameter (default: 13). Higher values provide more stable signals but with less responsiveness
ALMA Length Very Long: Set the very long-term smoothing parameter (default: 21). This provides the most stable support/resistance levels
Understand the Visual Elements
Green Candles: Indicate bullish momentum when price is above the bear market zone (support)
Red Candles: Indicate bearish momentum when price is below the bull market zone (resistance)
White Candles: Indicate neutral market conditions when price is between support and resistance zones
Blue Histogram: Shows bear market zone when price is below support level
Aqua Histogram: Shows bull market zone when price is above resistance level
"B" Labels: Mark buy signals when price crosses above resistance
"S" Labels: Mark sell signals when price crosses below support
Identify Market Regimes
Bullish Regime: Price consistently above resistance zone with green candles and aqua histogram
Bearish Regime: Price consistently below support zone with red candles and blue histogram
Neutral Regime: Price oscillating between support and resistance zones with white candles
Generate Trading Signals
Buy Signals: Look for price crossing above the bull market zone (resistance) with confirmation from green candles
Sell Signals: Look for price crossing below the bear market zone (support) with confirmation from red candles
Confirmation: Always wait for confirmation from candle color changes before entering trades
Optimize for Different Timeframes
Scalping: Use shorter ALMA lengths (3-5) for 1-5 minute charts
Day Trading: Use medium ALMA lengths (5-13) for 15-60 minute charts
Swing Trading: Use longer ALMA lengths (13-21) for 1-4 hour charts
Position Trading: Use very long ALMA lengths (21+) for daily and weekly charts
LIMITATIONS
Whipsaw Markets: The indicator may generate false signals in choppy, sideways markets where price oscillates rapidly between support and resistance
Lagging Nature: Like all moving average-based indicators, there is inherent lag in the calculations, which may result in delayed signals
Not a Standalone Tool: This indicator should be used in conjunction with other technical analysis tools and risk management strategies
Market Structure Dependency: Performance may vary depending on market structure and volatility conditions
Parameter Sensitivity: Different markets may require different parameter settings for optimal performance
No Volume Integration: The indicator does not incorporate volume data, which could provide additional confirmation signals
Limited Backtesting: Pine Script limitations may restrict comprehensive backtesting capabilities
Not Suitable for All Instruments: May perform differently on stocks, forex, crypto, and futures markets
Requires Confirmation: Signals should always be confirmed with other indicators or price action analysis
Not Predictive: The indicator identifies current market conditions but does not predict future price movements
NOTES
ALMA Algorithm: The indicator uses the Arnaud Legoux Moving Average (ALMA) algorithm, which is known for its excellent smoothing capabilities and reduced lag compared to traditional moving averages
Weighted Price Calculations: The bear market zone uses (2low + close) / 3, while the bull market zone uses (high + 2close) / 3, providing more weight to recent price action
Dynamic Zones: The support and resistance zones are dynamic and adapt to changing market conditions, making them more responsive than static levels
Color Psychology: The color scheme follows traditional trading psychology - green for bullish, red for bearish, and white for neutral
Signal Timing: The signals are generated on the close of each bar, ensuring they are based on complete price action
Label Positioning: Buy signals appear below the bar (red "B" label), while sell signals appear above the bar (green "S" label)
Multiple Timeframes: The indicator can be applied to multiple timeframes simultaneously for comprehensive analysis
Risk Management: Always use proper risk management techniques when trading based on indicator signals
Market Context: Consider the overall market context and trend direction when interpreting signals
Confirmation: Look for confirmation from other indicators or price action patterns before entering trades
Practice: Test the indicator on historical data before using it in live trading
Customization: Feel free to experiment with different parameter combinations to find what works best for your trading style
THANKS
Special thanks to the TradingView community and the Pine Script developers for creating such a powerful and flexible platform for technical analysis. This indicator builds upon the foundation of the ALMA algorithm and various moving average techniques developed by technical analysis pioneers. The concept of dynamic support and resistance zones has been refined over decades of market analysis, and this script represents a modern implementation of these timeless principles. We acknowledge the contributions of all traders and developers who have contributed to the evolution of technical analysis and continue to push the boundaries of what's possible with algorithmic trading tools.
[blackcat] L1 Value Trend IndicatorOVERVIEW
The L1 Value Trend Indicator is a sophisticated technical analysis tool designed for TradingView users seeking advanced market trend identification and trading signals. This comprehensive indicator combines multiple analytical techniques to provide traders with a holistic view of market dynamics, helping identify potential entry and exit points through various signal mechanisms. 📈 It features a main Value Trend line along with a lagged version, golden cross and dead cross signals, and multiple technical indicators including RSI, Williams %R, Stochastic %K/D, and Relative Strength calculations. The indicator also includes reference levels for support and resistance analysis, making it a versatile tool for both short-term and long-term trading strategies. ✅
FEATURES
📈 Primary Value Trend Line: Calculates a smoothed value trend using a combination of SMA and custom smoothing techniques
🔍 Value Trend Lag: Implements a lagged version of the main trend line for cross-over analysis
🚀 Golden Cross & Dead Cross Signals: Identifies buy/sell opportunities when the main trend line crosses its lagged version
💸 Multi-Indicator Integration: Combines multiple technical analysis tools for comprehensive market view
📊 RSI Calculations: Includes 6-period, 7-period, and 13-period RSI calculations for momentum analysis
📈 Williams %R: Provides overbought/oversold conditions using the Williams %R formula
📉 Stochastic Oscillator: Implements both Stochastic %K and %D calculations for momentum confirmation
📋 Relative Strength: Calculates relative strength based on highest highs and current price
✅ Visual Labels: Displays BUY and SELL labels on chart when crossover conditions are met
📣 Alert Conditions: Provides automated alert conditions for golden cross and dead cross events
📌 Reference Levels: Plots entry (25) and exit (75) reference lines for support/resistance analysis
HOW TO USE
Copy the Script: Copy the complete Pine Script code from the original file
Open TradingView: Navigate to TradingView website or application
Access Pine Editor: Go to the Pine Script editor (usually found in the chart toolbar)
Paste Code: Paste the copied script into the editor
Save Script: Save the script with a descriptive name like " L1 Value Trend Indicator"
Select Chart: Choose the chart where you want to apply the indicator
Add Indicator: Apply the indicator to your chart
Configure Parameters: Adjust input parameters to customize behavior
Monitor Signals: Watch for golden cross (BUY) and dead cross (SELL) signals
Use Reference Levels: Monitor entry (25) and exit (75) lines for support/resistance levels
LIMITATIONS
⚠️ Potential Repainting: The script may repaint due to lookahead bias in some calculations
📉 Lookahead Bias: Some calculations may reference future values, potentially causing repainting issues
🔄 Parameter Sensitivity: Results may vary significantly with different parameter settings
📉 Computational Complexity: May impact chart performance with heavy calculations on large datasets
📊 Resource Usage: Requires significant processing power for multiple indicator calculations
🔄 Data Sensitivity: Results may be affected by data quality and market conditions
NOTES
📈 Signal Timing: Cross-over signals may lag behind actual price movements
📉 Parameter Optimization: Optimal parameters may vary by market conditions and asset type
📋 Market Conditions: Performance may vary significantly across different market environments
📈 Multi-Indicator: Combine signals with other technical indicators for confirmation
📉 Timeframe Analysis: Use multiple timeframes for enhanced signal accuracy
📋 Volume Analysis: Incorporate volume data for additional confirmation
📈 Strategy Integration: Consider using this indicator as part of a broader trading strategy
📉 Risk Management: Use signals as part of a comprehensive risk management approach
📋 Backtesting: Test parameter combinations with historical data before live trading
THANKS
🙏 Original Creator: blackcat1402 creates the L1 Value Trend Indicator
📚 Community Contributions: Recognition to TradingView community for continuous improvements and contributions
📈 Collaborative Development: Appreciation for collaborative efforts in enhancing technical analysis tools
📉 TradingView Community: Special thanks to TradingView community members for their ongoing support and feedback
📋 Educational Resources: Recognition of educational resources that helped in understanding technical analysis principles
Historical MTFT Trend Multi-timeframe indicatorShows historical trend on multiple timeframes 1m, 5m, 15m, 1h, 4h, 1d. Allows to go back and see the trend.
MA Crossover with Adaptive Trend Strength📘 MA Crossover with Adaptive Trend Strength —
📌 Overview
This TradingView indicator plots two moving averages (Fast & Slow) with user-selected types (T3, EMA, SMA, HMA), visual crossovers, and dynamically calculates an adaptive trend strength score using Z-scores of multiple features. Optional higher timeframe (HTF) confirmation is supported. A color-filled region between the MAs visually indicates momentum direction.
⚙️ Inputs & Controls
📈 Moving Average Settings
Fast MA Length: Length of the fast-moving average (default: 9).
Slow MA Length: Length of the slow-moving average (default: 21).
MA Type: Type of moving average used (T3, EMA, SMA, HMA).
Source: Input data source (default: close).
T3 Volume Factor: Only used when T3 is selected, controls smoothing (range: 0–1).
🎨 Visual Controls
Bullish Fill Color: Fill color when Fast MA is above Slow MA.
Bearish Fill Color: Fill color when Fast MA is below Slow MA.
Show Gradient Fill: Enable or disable the colored area between Fast & Slow MAs.
Trend Label Position: Choose where the trend strength label appears (top or bottom).
Label Update Interval: Number of bars between label updates (reduces clutter).
⏱ Multi-Timeframe Support
Higher Timeframe: Timeframe used for confirmation (default: 60 min).
Use HTF Confirmation: Enables filtering of trend score by higher timeframe trend direction.
📊 Lookback Configuration
Auto Lookback Based on Timeframe: Dynamically adapts scoring lookback period per chart timeframe.
Manual Lookback: Manual fallback lookback length when auto is off.
🧮 MA Calculation Options
T3 MA: Custom T3 function with exponential moving averages and volume factor.
EMA/SMA: Built-in Pine functions (ta.ema, ta.sma).
HMA: Hull Moving Average using WMA calculations.
📉 Trend Strength Calculation
🧠 Z-Score Inputs
Distance between MAs (zDist)
Slope of the Fast MA (zSlope)
Volume (zVol)
ATR (zATR)
📏 Choppiness & Adaptive Weighting
A Choppiness Index (based on ATR & price range) reduces score impact in sideways markets.
Dynamically adjusts Z-score weights:
W1: Distance
W2: Slope
W3: Volume
W4: ATR
🔁 HTF Confirmation
Optionally multiplies the trend score by the direction of the higher timeframe trend to filter noise.
🟩 Plot & Visual Elements
📊 MA Lines
Plots Fast and Slow MA lines in colors based on selected MA type.
🌈 Gradient Fill
Fills the area between Fast and Slow MAs with opacity proportional to their difference.
Colors based on bullish/bearish condition.
🏷️ Trend Strength Label
Updates every n bars (Label Update Interval).
Shows:
Trend Classification: Weak, Moderate, Strong
Numerical Score
Label position (top or bottom) is configurable.
🔔 Crossover Signals
Bullish Crossover ("B"): Fast MA crosses above Slow MA.
Bearish Crossover ("S"): Fast MA crosses below Slow MA.
Labels are plotted at crossover points.
Old labels are removed after a threshold (100) to reduce chart clutter.
📋 Score Summary Table
A table showing:
Max Score within the lookback period
Min Score
HTF Confirmation Status (ON / OFF)
Updates on the same user-defined interval as the trend label.
🚨 Alerts
Condition Description
Bullish MA Cross Fast MA crosses above Slow MA
Bearish MA Cross Fast MA crosses below Slow MA
These are provided via alertcondition() for use in alert creation.
📌 Customization Tips
Turn off the gradient fill for a cleaner chart.
Use HTF confirmation to reduce false positives in ranging markets.
Adjust label update frequency to prevent visual clutter on faster timeframes.
Use T3 MA with volume factor for smoother signals in volatile markets.