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)
在腳本中搜尋"trend"
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
follow the trend lineOk this indicator give us the direction of trend
So all you need is to follow the color (red =bearish) ,green=bullish and if the direction going up (bullish) down =bearish
So it make life easy to see if you are in bullish or bearish trends
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.
Smoothed Heiken Ashi Trend OscillatorThe Smoothed Heiken Ashi Oscillator is a visually clean trend and momentum indicator based on reverse-calculated and optionally smoothed Heiken Ashi data.
It calculates the distance between the actual closing price and a reconstructed smoothed Heiken Ashi value to visualize trend direction and strength. Optional smoothing (SMA, EMA, HMA, VWMA, RMA) helps reduce noise.
Colored histogram bars indicate trend direction (bullish/bearish) and momentum (accelerating/decelerating). An optional info box shows live trend and momentum values.
Ideal for trend confirmation, reversal spotting, and gauging strength in combination with moving averages or price action setups.
Buy/Sell EMA Trend Filter v6Buy/Sell EMA Trend Filter v6
This indicator provides a comprehensive trading system based on EMA crossovers with trend filtering for TradingView. It's designed to identify high-probability buy and sell signals by combining short-term crossovers with longer-term trend direction confirmation.
Key Features:
EMA Crossover System: Uses fast and slow EMAs (9 and 21 by default) to generate initial signals
Trend Filtering: Confirms signals with longer-term trend direction (50 and 200 EMAs)
Automatic TP/SL Calculation: Displays clear take profit and stop loss levels based on fixed risk points
Visual Alerts: Clear buy/sell markers at the point of signal with detailed labels
Risk Management: Pre-calculated risk-to-reward setup (default 1:2 ratio)
How It Works:
Buy Signal: When the fast EMA crosses above the slow EMA while the 50 EMA is above the 200 EMA (bullish trend)
Sell Signal: When the fast EMA crosses below the slow EMA while the 50 EMA is below the 200 EMA (bearish trend)
Customizable Parameters:
Fast EMA period (default: 9)
Slow EMA period (default: 21)
Trend EMA periods (default: 50 and 200)
Fixed risk in points (default: 20)
Reward ratio (default: 2.0)
The indicator displays clear entry points with predefined stop loss and take profit levels, making it ideal for traders looking for a systematic approach to the markets. Perfect for both day trading and swing trading timeframes.
This tool combines both trend following and momentum principles to filter out low-probability trades and focus on high-quality setups where the trend and momentum align.
ADX Green Trend, Red ChopBased on the ADX indicator. This uses the calculated slope of the ADX line to show if momentum is increasing or decreasing. Green means the slope of the ADX is positive and the trend in increasing. Red means the ADX slope is positive and momentum is decreasing.Gray or Yellow is aneutral transitional zone
Optimized Auto-Detect Strategy (MA, ATR, Trend, RSI) Overview
This script is designed for traders seeking a trend-following approach that adapts to different currency pairs (e.g., EURUSD, NZDUSD, XAUUSD). It combines moving average crossovers with ATR-based stops, optional trend filters, and RSI filters to help reduce false signals and capture larger moves.
Key Features
1. Auto-Detect Logic
- Automatically applies different moving average periods and ATR multipliers based on the symbol (e.g., XAUUSD, EURUSD, NZDUSD).
- Makes it easy to switch charts without manually adjusting parameters each time.
2. ATR-Based Stop
- Uses the Average True Range (ATR) to set dynamic stop-loss levels, adapting to each market’s volatility.
3. Optional Trend Filter
- Filters out trades if price is below the 200 SMA for longs (and above for shorts), aiming to avoid choppy, range-bound markets.
4. Optional RSI Filter
- Only enters long if RSI is above a certain threshold (e.g., 50), or short if below another threshold, reducing entries during low momentum.
5. Partial Exit & Trailing/Break-Even
- Locks in partial profit at a chosen R:R (e.g., 1:1), then either trails the remaining position or moves the stop to break-even.
- This helps capture additional gains if the trend extends beyond the initial target.
6. Customizable Parameters
- You can toggle on/off each filter (Trend, RSI) and adjust the ATR multiplier, MA periods, partial exit levels, etc.
- Allows easy optimization for different pairs or timeframes.
How to Use
1. Add to Chart: Click “Add to chart” in the Pine Editor.
2. Configure Inputs: In the script’s settings, toggle the filters you want (Trend Filter, RSI Filter, etc.) and set your desired ATR multiplier, RSI thresholds, partial exit ratio, etc.
3. Strategy Tester: Check the performance under the “Strategy Tester” tab. Adjust parameters if needed.
4. Realistic Settings: Consider adding spreads/commissions in the “Properties” tab for more accurate backtests, especially if you trade pairs with higher spreads (like XAUUSD).
Disclaimer
No Guarantee: This script does not guarantee profits. Markets are unpredictable, and results may vary with market conditions.
For Educational Purposes: Always do your own research and forward testing. Past performance does not indicate future results.
[MAD] Weighted Trend Detector--> Purpose
The Weighted Trend Detector evaluates market direction by combining multiple technical indicators (RSI, MACD, Moving Averages, ADX, and Volume) across up to three different timeframes.
It calculates an overall trend score to help visualize whether conditions are bullish, bearish, or neutral.
--> Scaling & Weightings
Each component indicator contributes a score between -1.0 and +1.0. User-defined weights (e.g., 0.2 for RSI, 0.3 for MACD) determine how much each indicator influences the final score. An adaptive scaling mechanism ensures extreme values remain in view by dynamically setting the minimum and maximum of the score range over a specified lookback period.
--> Basic Parameters of Individual Indicators
RSI Period: Number of bars for the Relative Strength Index calculation; higher values smooth out noise but may lag.
MACD Fast/Slow/Signal: EMA-based periods to identify momentum shifts. A shorter “Fast” length reacts quickly, while a longer “Slow” length is smoother.
Moving Averages (Short & Long Lengths): Simple Moving Averages used to gauge shorter- vs. longer-term price direction.
ADX Length: Defines how many bars are considered when measuring trend strength. Higher values produce smoother ADX lines.
Volume MA Length: Period over which the average volume is calculated to compare against current volume.
--> Colors & How They Are Mixed
The background color scales from a negative color (for lower scores) to a positive color (for higher scores).
Near the highest or lowest parts of the score range, additional blending occurs if the slope (change in score) reverses:
Turning Down: Mixes with a user-chosen “warning” color if the score is high but moving lower.
Turning Up: Mixes with a user-chosen “recovery” color if the score is low but moving higher.
All colors (including line and label text) can be adjusted in the script’s inputs to suit personal preferences.colors are customizable via inputs.
Have fun :-)
Channel Trend and 3 EMA Stratgy MHG-V.6.1.4Dear Traders..
This Startgy use the 3 tools
1- Trend Detection
2- draw the Ascending and Descending channels
3- Use the 3 Moving average for take the acceptant for position entry.
If ascending channel and make the buy signal, then watch the EMA 2 if the price above the 2 EMA you can open the Long position.
SL alittle under the 2 EMA Curve.
for short position riverce the above manual...
Too Many Cooks trend indicatorToo many Cooks in The Kitchen
You have probably heard the adage "Too many cooks spoils the broth" before. The meaning behind it is obviously that when to many people are trying to work on the same task at once it simply devolves into a fight for control and creates a mess of the situation. But is this true for indicators is the question I had and thus I made this indicator, a simple combination of 8 random trend finding indicators I assembled (A list of these indicators and their authors will be available at the bottom of this page) . Is it any good though ? In short yes, it is a decent trend finding indicator and could likely be used in your strategy in the place of your current trend finding indicator if you so wish. However much of the versatility of the individual indicators IS lost and would not be possible to get back in this big mess of a broth, so this indicator will not be the be all end all of trend indicators nor will it be a free money machine like you may be expecting looking at the list of included indicators so the adage was correct to a degree.
List of Authors and their included indicators
Trading View defaults:
MACD (Modified by me)
Stochastic RSI (Modified by me)
Lazy Bear:
Wavetrend Oscilator (Modified by me)
Traders Dynamic Index (Modified by me)
HACOLT (Modified by me)
Algokid
AK Trend
Racer8
Average Force
KivancOzbilgic
Average Sentiment Osclilator
[JL] Trend or RangeJust want to make an easy indicator to show trend or range.
ToR idea is based on the simple concept:
Range will have more cross than trend
So I calculate difference of two moving average
Then divide ATR to get how many virtual bars in the difference
Calculate sum of virtual bars during the period.
So more virtual bars, more chance to be trend.
will make a table to compare many pairs on one chart.
FX TrendFX Trend Indicator by request of S.C. in The Trading Journal Discord.
Original Meta Trader Indicator at www.mql5.com
FXT = K * ((Close-L1) / (D1*Small range)+(Close-L2) / (D2*Middle range)+(Close-L3) / (D3*Big range))
Where:
D1 = H1 - L1
D2 = H2 - L2
D3 = H3 - L3
L1, H1 - the lowest and the highest prices in the Small range
L2, H2 - the lowest and the highest prices in the Middle range
L3, H3 - the lowest and the highest prices in the Big range
K = 100.0 / (1/Small range+1 / Middle range+1 / Big range)
BANK NIFTY list of stocks with their multi timeframe EMA trend This script gives you an overview of banknifty and its underlying heavy weight stocks.
You can view the trend in single chart in 3 different time frames.
Color indication green for bullish and red for bearish trend
Symbol name shows green if the current day change is positive. Else red color
T!M - Wave Trend Strategy with DatesUsing Lazy Bear's original Wave Trend script but I added dates to it to make it easier to backtest.
buy down and sell high trend 200 sma and ma cross this indicator showing you when have to buy down and sell high and also can see the market trend is being above or below
I'm sorry if there is an error
4-Hour Stochastic EMA TrendThis trading strategy relies heavily on catching the trend. You
may have success using this strategy on as low as the one hour
chart or as high as the daily chart; however, I’ve had most
success trading it on the four hour chart. This strategy consists
of four indicators, which are:
1. 5 Period Exponential Moving Average (closed)
2. 15 Period Exponential Moving Average (closed)
3. 50 Period Exponential Moving Average (closed)
4. Stochastic indicator K=13 D=5 Smooth=5 (13,5,5) 80/20
Levels
Refer
Highest high, Lowest low and Trend, MACD, RSI on CandlesticksHighest high, Lowest low and Trend, MACD, RSI on Candlesticks
SMA TrendThis is SMA based trend with some twist . you can control it via length of the SMA currently set to 20 or by factor that control sensitivity set 0.05 and you can change it to any value that you like
the indicator have signal and alerts
blue line is uptrend
yellow line is down trend
I try to optimize it for stocks but it can work on any asset that you like ' probably need to change settings
btc