Interpolated Median Volatility LSMA | OttoThis indicator combines trend-following and volatility analysis by enhancing traditional LSMA with percentile-based linear interpolation applied to both the Least Squares Moving Average (LSMA) and standard deviation. Rather than relying on raw values, it uses the interpolated median (50th percentile) to smooth out noise while preserving sensitivity to significant price shifts. This approach produces a cleaner trend signal that remains responsive to real market changes, adapts to evolving volatility conditions, and improves the accuracy of breakout detection.
Core Concept
The indicator builds on these core components:
LSMA (Least Squares Moving Average): A linear regression-based moving average that fits line using user selected source over user defined period. It offers a smoother and more reactive trend signal compared to standard moving averages.
Standard Deviation shows how much price varies from the mean. In this indicator, it’s used to measure market volatility.
Volatility Bands: Instead of traditional Bollinger-style bands, this script calculates custom upper and lower bands using percentile-based linear interpolation on both the LSMA and standard deviation. This method produces smoother bands that filter out noise while remaining adaptive to meaningful price movements, making them more aligned with real market behavior and helping reduce false signals.
Percentile interpolation estimates a specific percentile (like the median — the 50th percentile) from a set of values — even when that percentile doesn't fall exactly on one data point. Instead of selecting a single nearest value, it calculates a smoothed value between nearby points. In this script, it’s used to find the median of past LSMA and standard deviation values, reducing the impact of outliers and smoothing the trend and volatility signals for more robust results.
Signal Logic: A long signal is identified when close price goes above the upper band, and a short signal when close price goes below the lower band.
⚙️ Inputs
Source: The price source used in calculations
LSMA Length: Period for calculating LSMA
Standard Deviation Length: Period for calculating volatility
Percentile Length: Period used for interpolating percentile values of LSMA and standard deviation
Multiplier: Controls the width of the bands by scaling the interpolated standard deviation
📈 Visual Output
Colored LSMA Line: Changes color based on signal (green for bullish, purple for bearish)
Upper & Lower Bands: Volatility bands calculated using interpolated values (green for bullish, purple for bearish)
Bar Coloring: Price bars are colored to reflect signal state (green for bullish, purple for bearish)
Optional Candlestick Overlay: Enhances visual context by coloring candles to match the signal state (green for bullish, purple for bearish)
How to Use
Add the indicator to your chart and look for signals when close price goes above or below the bands.
Long Signal: close Price goes above the upper band
Short Signal: close Price goes below the lower band
🔔 Alerts:
This script supports alert conditions for long and short signals. You can set alerts based on band crossovers to be notified of potential entries/exits.
⚠️ Disclaimer:
This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate strategies before applying them in live markets. Use at your own risk.
Moving Averages
EMA Trend Strength [Enhanced]This script shows the trend of the ticker. It paints five states: when the previous closing price is above 10EMA, which is greater than the 20 EMA, and the 20 EMA is greater than the 50 SMA - Very Bullish. When the previous closing price is above 10EMA and 10EMA is > 20EMA - Bullish. Vice versa for Very Bearish and Bearish. All other states are labelled "Neutral". The script allows you to adjust the background colours and colour and appearance of the MA lines.
Use at your own risk :). No warranty of any kind is provided or implied.
Cumulative Moving Average (CMA)This script calculates a Cumulative Moving Average (CMA) with an optional anchoring by date. It enables users to analyze long-term trends either within a specific date range or across the entire historical data of the asset
Momentum HUD (Enhanced with VWAP)*********** TRADERS YOU MUST DOUBLE CLICK THE MOMENTUM HUD TO SET WHAT YOU'RE TRADING, DROP DOWN FOR ETH SET FOR SPY SPX QQQ IWM NDX or OTHER STOCKS and below you PICK YOUR STOCK so it will form the 13 EMA 48 EMA 200 EMA and VWAP for you ***********
This one took all weekend, enjoy fam!!!!
The Momentum HUD (Enhanced with VWAP) is a powerful, all-in-one trading indicator designed to identify high-probability buy and sell signals for ETH-based indices (QQQ, SPY, SPX, IWM, NDX) or custom stocks like AAPL. It combines momentum, RSI, MACD, ADX, EMAs (13, 48, 200), VWAP, and volume analysis to generate actionable "CALLS" (buy) and "PUTS" (sell) signals. A customizable heads-up display (HUD) table provides real-time insights into key metrics, making it ideal for traders seeking a comprehensive technical analysis tool.
This indicator also supports support and resistance analysis indirectly through price interactions with EMAs and VWAP, which often act as dynamic support (e.g., 200 EMA) or resistance (e.g., VWAP rejection). Signals are filtered by an ATR-based volatility check and a cooldown period to reduce noise, ensuring robust trading decisions.
Key Features
Multi-Indicator Signals: Combines Momentum, RSI, MACD, ADX, EMAs, and VWAP for precise buy/sell signals.
Dynamic Support/Resistance: Uses EMA 13, EMA 48, EMA 200, and VWAP to highlight key price levels (e.g., price crossing EMA 13 for support or rejecting VWAP for resistance).
Customizable HUD Table: Displays real-time metrics (Momentum, RSI, MACD, ADX, EMA 200, VWAP) with bullish/bearish status and thresholds.
Symbol Flexibility: Supports ETH-based indices (QQQ, SPY, SPX, IWM, NDX) or any custom stock via user input.
Volatility Filter: Optional ATR filter ensures signals align with sufficient market volatility.
Cooldown Mechanism: Prevents over-signaling with a user-defined cooldown period.
Visual Cues: Plots EMAs, VWAP, buy/sell triangles, and labels for clear visualization.
Alert System: Configurable alerts for buy ("CALLS") and sell ("PUTS") signals.
How It Works
The indicator generates signals based on a confluence of conditions:
Buy Signals (CALLS): Triggered when price crosses above EMA 13 or bounces off VWAP, with positive momentum, RSI > 65, MACD bullish crossover, ADX > 25, price above EMA 200/VWAP, and high volume.
Sell Signals (PUTS): Triggered when price crosses below EMA 48 or rejects EMA 200/VWAP, with negative momentum, RSI < 35, MACD bearish crossover, ADX > 25, price below EMA 200/VWAP, and high volume.
Support/Resistance Context: EMA 200 and VWAP often act as support (e.g., ETH at $2,531–$2,600) or resistance (e.g., ETH at $2,695–$2,800), enhancing signal reliability.
HUD Table: Displays real-time values, status (Bullish/Bearish), and thresholds for all metrics, positioned at a user-defined chart location.
Usage Instructions
Add to Chart: Open TradingView’s Pine Editor, paste the script, and click “Add to Chart.”
Select Symbol: Choose from QQQ (ETH), SPY (ETH), SPX (ETH), IWM (ETH), NDX (ETH), or enter a custom stock symbol (e.g., AAPL).
Adjust Settings: Customize inputs (see below) to match your trading style and timeframe (e.g., intraday or daily).
Interpret Signals:
Green Triangles (CALLS): Indicate buy opportunities below the price bar.
Red Triangles (PUTS): Indicate sell opportunities above the price bar.
EMA/VWAP Lines: Monitor for price interactions (e.g., bounces or rejections) to confirm support/resistance levels.
Set Alerts: Use the built-in alert conditions (“Momentum Buy Signal” or “Momentum Sell Signal”) to receive notifications.
Combine with Analysis: Pair with additional tools (e.g., pivot-based support/resistance scripts) to validate key levels like ETH’s $2,531 support or $2,695 resistance.
Input Settings
Momentum Length: Period for momentum calculation (default: 14).
RSI Length: RSI period (default: 14).
RSI Buy/Sell Thresholds: RSI levels for buy (default: 65) and sell (default: 35).
MACD Fast/Slow/Signal Lengths: MACD settings (default: 12/26/9).
ADX Length/Threshold: ADX period (default: 14) and trend strength threshold (default: 25).
EMA Lengths: Periods for EMA 13, 48, and 200 (default: 13, 48, 200).
Volume Threshold: Multiplier for volume above 20-period average (default: 1.5x).
Signal Cooldown: Bars between signals to reduce noise (default: 5).
ATR Volatility Filter: Enable/disable ATR filter (default: true) and set ATR length (default: 14) and threshold (default: 0.75% of price).
Table Position: HUD placement (options: top_right, top_left, bottom_right, bottom_left).
Symbol Choice: Select ETH-based indices or custom stock (default: QQQ (ETH)).
Custom Stock Symbol: Input ticker for custom stocks (default: AAPL).
Label Colors: Customize text colors for EMA 13, EMA 48, EMA 200, and VWAP labels (default: black).
Example Use Case
For ETH (via QQQ): On a daily chart, set symbol_choice to “QQQ (ETH).” Monitor for buy signals when ETH crosses above $2,600 (EMA 13) with RSI > 65 and high volume, confirming support. Sell signals may trigger if ETH rejects $2,695 (VWAP) with RSI < 35, indicating resistance.
For Stocks (e.g., AAPL): Set custom_symbol to “AAPL.” Look for buy signals when price bounces off EMA 200 (support) and sell signals when price rejects VWAP (resistance).
Notes
Timeframe: Works on any timeframe, with intraday defaulting to the chart’s period and others to daily.
Support/Resistance: Combine with a pivot-based script (e.g., pivot highs/lows) to explicitly plot static support/resistance levels alongside dynamic EMAs/VWAP.
Risk Management: Always use proper risk management, as indicators are not foolproof.
Performance: Best used in trending markets (ADX > 25) and with confirmation from other tools.
Disclaimer
This indicator is for educational and informational purposes only and should not be considered financial advice. Always conduct your own research and consult a financial advisor before trading.
This info page is ready for TradingView’s publication requirements. It highlights the script’s functionality, ties in support/resistance context (per your ETH request), and provides clear instructions. Before publishing, ensure your TradingView account meets their requirements (e.g., verified profile). If you need tweaks or additional features (e.g., explicit support/resistance plotting), let me know!
Combined Trading System: EMAs + ATR + RSIThis indicator gives entry and exit based on rsi , moving average and atr trailing stop
Indicator Buy Sell by Daraviththis indicator make for help trader about signal buy sell and trend line
MEO PRO: BIST Market Strength Oscillator / Piyasa Gücü OsilatörüMEO PRO: BIST Market Strength Oscillator
MEO PRO: BIST Market Strength Oscillator helps you gauge the overall strength of the market by showing how many of your selected Borsa Istanbul (BIST) symbols are trading above their specified moving average. This tool, which generates a value between 0 and 1, provides insight into the general direction of BIST.
Features
* Measures the overall strength of the BIST market.
* Tracks up to 7 user-defined BIST symbols (indices, stocks, etc.).
* Adjustable Moving Average (MA) period for trend determination.
* Adjustable smoothing (EMA) period for the oscillator.
* Clear oscillator output ranging from 0 to 1.
* Key reference levels: Strong Bullish (0.80), Neutral Zone (0.50), Strong Bearish (0.20).
* The indicator's user interface (settings, tooltips) is in Turkish.
---
Who Is It For?
* Borsa Istanbul (BIST) investors and technical analysts.
* Those who want to get an idea about the overall market strength and market breadth.
* Those looking for an additional confirmation and assessment tool for their existing technical analysis methods.
---
How to Use?
1. Adding to Chart:
In TradingView, search for "MEO PRO: BIST Market Strength Oscillator" in the "Indicators" section and add it to your chart.
2. Settings:
MA Period for Trend: Determines the MA against which tracked symbols are evaluated (e.g., 50).
Oscillator Smoothing Period: Smoothes the oscillator line (e.g., 10).
Symbols to Track: Enter up to 7 BIST symbols (e.g., "BIST:XU100", "BIST:GARAN") and activate them.
3. Interpretation:
* If the oscillator is at 0.80 or above, it generally indicates a strong bullish trend in the market.
* If the oscillator is at 0.20 or below, it generally indicates a strong bearish trend in the market.
* Values around 0.50 may suggest an indecisive or sideways market.
* Important Note: This oscillator should not be used as a standalone buy/sell signal but as a decision support tool in conjunction with other analyses.
---
Frequently Asked Questions (FAQ)
Q: Does this indicator only work for BIST?
A: Yes, it is primarily designed for Borsa Istanbul (BIST) symbols and market conditions.
Q: How many symbols can I track at most?
A: There are 7 symbol inputs in the settings.
Q: Why does the oscillator range between 0 and 1?
A: The oscillator shows the ratio of active symbols above their MA to the total number of active symbols; this ratio is always between 0 and 1.
Q: Does this indicator provide definitive buy/sell signals?
A: No. The MEO PRO BIST Market Strength Oscillator is an analysis tool that provides insight into the overall market condition. Trading decisions should be based on your personal risk assessment and other analyses.
---
Disclaimer
* This indicator is for educational and informational purposes only and does not constitute investment advice.
* Past market performance is not a guarantee of future results.
* You are solely responsible for any trades you make using this indicator. Trading in financial markets involves risk of loss.
* It is important to conduct your own research and, if necessary, consult a licensed financial advisor before making any investment decisions.
---
TradingView Terms of Use
By using this indicator on the TradingView platform, you agree to TradingView's Terms of Use. You can access the current terms of use at www.tradingview.com
Volumatic Variable Index Dynamic Average [BigBeluga]Added alerts "Trend up" or "Tren down" to the VIDYA indicator. Thanks to BigBeluga.
HMA 200/150 Trading StrategyThis strategy uses the Hull Moving Average (HMA) to generate buy and sell signals based on price action relative to the HMA 200, with take profit signals based on the HMA 150. It includes a configurable date range for backtesting, allowing users to test the strategy over specific periods.
How It Works
Entry Signals:
Buy: Triggered when the price closes above the HMA 200.
Sell: Triggered when the price closes below the HMA 200.
Take Profit Signals:
Buy Take Profit: Exits the buy position when the price closes below the HMA 150.
Sell Take Profit: Exits the sell position when the price closes above the HMA 150.
Backtest Period: Users can set start and end dates (year, month, day) to limit the strategy’s execution to a specific time range for backtesting purposes.
Settings
Start Year/Month/Day: Set the start date for backtesting (default: January 1, 2023).
End Year/Month/Day: Set the end date for backtesting (default: December 31, 2025).
Visuals
HMA 200: Plotted in blue, used for entry signals.
HMA 150: Plotted in orange, used for take profit signals.
Buy Signal: Green triangle below the bar.
Sell Signal: Red triangle above the bar.
Take Profit Signals: Yellow diamonds (above for buy TP, below for sell TP).
Usage
Add the strategy to your chart.
Adjust the backtest period in the settings to analyze performance over a specific time frame.
Monitor the plotted HMA lines and signals for potential trade entries and exits.
Backtest on your preferred timeframe and asset to evaluate performance.
Notes
This strategy is designed for trend-following and works best in trending markets.
Always test the strategy on a demo account before using it in live trading.
Performance may vary depending on the asset, timeframe, and market conditions.
Disclaimer
This strategy is for educational purposes only and should not be considered financial advice. Trading involves risk, and past performance is not indicative of future results. Always conduct your own research and risk management.
Digital RSI Display (Bottom-Right)Digitial display bottom right of chart, displays RSI live during market hours.
Over 70 RSI turns red to indicate overbought
Under 30 RSI turns green to indicate oversold
SImple & easy.
Golden SMA 50 200Two simple moving averages (short-term vs long-term), e.g. 50-day and 200-day SMA.
Signal: Enter long (bullish) when the short MA crosses above the long MA (a Golden Cross); exit (or go short) when it crosses below (a Death Cross). This classic trend-following combo keeps you in bull markets and gets you out during prolonged downtrends. In Bitcoin, using a MA crossover on daily charts filters out noise and catches the big trend reversals.
Liquidity Sweep Candlestick Pattern with MA Filter📌 Liquidity Sweep Candlestick Pattern with MA Filter
This custom indicator detects liquidity sweep candlestick patterns—price action events where the market briefly breaks a previous candle’s high or low to trap traders—paired with optional filters such as moving averages, color change candles, and strictness rules for better signal accuracy.
🔍 What is a Liquidity Sweep?
A liquidity sweep occurs when the price briefly breaks the high or low of a previous candle and then reverses direction. These events often occur around key support/resistance zones and are used by institutional traders to trap retail positions before moving the price in the intended direction.
🟢 Bullish Liquidity Sweep Criteria
The current candle is bullish (closes above its open).
The low of the current candle breaks the low of the previous candle.
The candle closes above the previous candle’s open.
Optionally, in Strict mode, it must also close above the previous candle’s high.
Optionally, it can be filtered to only show if the candle changed color from the previous one (e.g., red to green).
Can be filtered to only show when the price is above or below a moving average (if MA filter is enabled).
🔴 Bearish Liquidity Sweep Criteria
The current candle is bearish (closes below its open).
The high of the current candle breaks the high of the previous candle.
The candle closes below the previous candle’s open.
Optionally, in Strict mode, it must also close below the previous candle’s low.
Optionally, it can be filtered to only show if the candle changed color from the previous one (e.g., green to red).
Can be filtered to only show when the price is above or below a moving average (if MA filter is enabled).
⚙️ Features & Customization
✅ Signal Strictness
Choose between:
Less Strict (default): Basic wick break and close conditions.
Strict: Must close beyond the wick of the previous candle.
✅ Color Change Candles Only
Enable this to only show patterns when the candle color changes (e.g., from red to green or green to red). Helps filter fake-outs.
✅ Moving Average Filter (optional)
Supports several types of MAs: SMA, EMA, WMA, VWMA, RMA, HMA
Choose whether signals should only appear above or below the selected moving average.
✅ Custom Visuals
Show short (BS) or full (Bull Sweep / Bear Sweep) labels
Plot triangles or arrows to represent bullish and bearish sweeps
Customize label and shape colors
Optionally show/hide the moving average line
✅ Alerts
Includes alert options for:
Bullish sweep
Bearish sweep
Any sweep
📈 How to Use
Add the indicator to your chart.
Configure the strictness, color change, or MA filters based on your strategy.
Observe signals where price is likely to reverse after taking out liquidity.
Use with key support/resistance levels, order blocks, or volume zones for confluence.
⚠️ Note
This tool is for educational and strategy-building purposes. Always confirm signals with other indicators, context, and sound risk management.
Gold BBW Mean ReversionBollinger Band Width Mean Reversion Strategy.
Strategy Components:
1. Bollinger Bands Settings:
• Period (N): 20
• Standard Deviation (K): 2
• Middle Band: 20-period Simple Moving Average (SMA)
2. Bollinger Band Width (BBW):
Calculated as: BBW = (Upper Band - Lower Band) / Middle Band * 100
3. Volatility Threshold:
• Average BBW: a 100-period SMA of the BBW.
• Trigger Condition: Current BBW > 2 × 100 SM Average on BBW
4. Entry Signals:
• Long Entry:
o Price closes below the lower Bollinger Band.
o Subsequent candle closes back inside the bands.
• Short Entry:
o Price closes above the upper Bollinger Band.
o Subsequent candle closes back inside the bands.
5. Stop Loss & Take Profit:
• Stop Loss: 1.5 × Average True Range (ATR) from the entry price.
• Take Profit: Return to the middle Bollinger Band (20-period SMA).Mind Math Money
________________________________________
🕒 Recommended Timeframe
A 15-minute chart is optimal for this strategy on Gold.
SMC Breakout Bot [XAUUSD 5m]not finished but i have hit a wall. if anyyone refines it and makes it better could you message me. i would really appreciate it
GStrategy1️⃣ Long entry based on RSI divergences.
2️⃣ Exit based on RSI filter (RSI> 40 after at least N bars).
3️⃣ Exit if the price has fallen more than 10% from the entry point.
4️⃣ Visualization of % difference for monitoring.
5️⃣ Flexibility: all parameters are configurable in the arguments window.
Pin Bar Reversal StrategyStrategy: Pin Bar Reversal with Trend Filter
One effective high-probability setup is a Pin Bar reversal in the direction of the larger trend. A pin bar is a candlestick with a tiny body and a long wick, signaling a sharp rejection of price
By itself, a pin bar often marks a potential reversal, but not all pin bars lead to profitable moves. To boost reliability, this strategy trades pin bars only when they align with the prevailing trend – for example, taking a bullish pin bar while the market is in an uptrend, or a bearish pin bar in a downtrend. The trend bias can be determined by a long-term moving average or higher timeframe analysis.
Why it works: In an uptrend, a bullish pin bar after a pullback often indicates that sellers tried to push price down but failed, and buyers are resuming control. Filtering for pin bars near key support or moving averages further improves odds of success. This aligns the entry with both a strong price pattern and the dominant market direction, yielding a higher win rate. The pin bar’s own structure provides natural levels for stop and target placement, keeping risk management straightforward.
Example Setup:
USDCHF - 4 Hour Chart
Trend SMA 12
Max Body - 34
Min Wick - 66
ATR -15
ATR Stop Loss Multiplier - 2.3
ATR Take Profit Multiplier - 2.9
Minimum ATR to Enter - 0.0025
[Top] Indicator Status PanelThis tool allows traders quickly assess the market’s current bullish or bearish conditions using multiple widely-adopted technical indicators.
Key Features:
Real-time Market Status: Quickly identifies bullish, bearish, or neutral signals based on key indicators, including EMA crossovers, RSI levels, ADX strength, MACD signals, Bollinger Bands positioning, Keltner Channels, and Price Action thresholds.
Customizable Thresholds: Users can tailor indicator parameters, including EMA lengths, RSI thresholds, ADX strength, MACD settings, Bollinger Bands standard deviations, and Keltner Channel parameters.
Color-Coded Interface: Intuitive color-coding (Green for bullish, Red for bearish, Grey for neutral) enables rapid interpretation of the current market condition for each indicator.
Alert Integration: Provides alerts when multiple indicators become bullish simultaneously, supporting proactive trading decisions.
How to Use:
Configure Indicators: Set your preferred lengths and thresholds for each indicator group (EMA, RSI, ADX, MACD, Bollinger Bands, Keltner Channels, Price Action).
Monitor Conditions: Observe the color-coded panel displayed at the bottom-center of your chart. Green signals bullish momentum, red indicates bearish conditions, and grey represents neutrality.
React to Alerts: Utilize the built-in alerts to notify you when multiple indicators align bullishly, enhancing your strategic timing for entries or exits.
Suggested Use:
Ideal for traders seeking confirmation from multiple technical signals before making trade decisions. Employ this tool alongside your broader market analysis to confirm trend strength, assess market sentiment, and improve trading confidence.
EMA Trend Cross Signal
LOGIC :
This strategy opens position if shorter period Exponential Moving Average (EMA) crosses over or crosses under the longer period EMA and exits position if any of the 3 exit conditions mentioned below is fulfilled
ENTRY CONDITIONS :
LONG ENTRY -
shorter period EMA crosses over longer period EMA
SHORT ENTRY -
shorter period EMA crosses under longer period EMA
EXIT CONDITIONS :
BOTH EMA CROSSED -
LONG EXIT - If price closes below both the shorter period EMA & longer period EMA
SHORT EXIT - If price closes above both the shorter period EMA & longer period EMA
STOP-LOSS HIT -
LONG EXIT - If price closes below the LOW created at the time of ema crossover
SHORT EXIT - If price closes above the HIGH created at the time of ema crossover
EMA CROSS -
LONG EXIT - If shorter period EMA crosses under longer period EMA
SHORT EXIT - If shorter period EMA crosses above longer period EMA
EXAMPLES :
1. TESLA (1-DAY) -
2. APPLE (1-WEEK) -
PYRAMID CLOSING -
Positions will be closed pyramidically in 5 levels and price of each level will be calculated by multiplying current market price with the percentage of each pyramid level's value user has entered
SETTINGS OPTIONS -
MA TYPE -
There is option to choose the type of moving average among SMA, EMA, RMA, WMA, VWMA on chart
MA LENGTH -
There is option to change the length of short period MA & large period MA
FIELD TYPE -
There is also option to choose the price field among open, close, low, high etc. for the selected MA
HISTORICAL BACKTEST -
We can also backtest the strategy for a certain duration of time using this option by changing the start time and end time
SHOW BACKGROUND COLORS FOR EVERY POSITION -
There is option to show background color as green whenever a bullish position is opened and as red whenever a bearish position is opened
SHOW BACKGROUND COLORS FOR EVERY PROFIT & LOSS -
There is option to show green circle in background whenever profit is made and red circle whenever loss is made
SHOW TABLE -
If selected then it will show a table at the top-right corner with all the pyramid levels at which position will be closed for the current scrip
PAUSE TRADING -
If this option is selected then no position will opened on the chart
Trend Scanner ProTrend Scanner Pro, Robust Trend Direction and Strength Estimator
Trend Scanner Pro is designed to evaluate the current market trend with maximum robustness, providing both direction and strength based on statistically reliable data.
This indicator builds upon the core logic of a previous script I developed, called Best SMA Finder. While the original script focused on identifying the most profitable SMA length based on backtested trade performance, Trend Scanner Pro takes that foundation further to serve a different purpose: analyzing and quantifying the actual trend state in real time.
It begins by testing hundreds of SMA lengths, from 10 to 1000 periods. Each one is scored using a custom robustness formula that combines profit factor, number of trades, and win rate. Only SMAs with a sufficient number of trades are retained, ensuring statistical validity and avoiding curve fitting.
The SMA with the highest robustness score is selected as the dynamic reference point. The script then calculates how far the price deviates from it using rolling standard deviation, assigning a trend strength score from -5 (strong bearish) to +5 (strong bullish), with 0 as neutral.
Two detection modes are available:
Slope mode, based on SMA slope reversals
Bias mode, based on directional shifts relative to deviation zones
Optional features:
Deviation bands for visual structure
Candle coloring to reflect trend strength
Compact table showing real-time trend status
This tool is intended for traders who want an adaptive, objective, and statistically grounded assessment of market trend conditions.
Advanced Moving Average ChannelAdvanced Moving Average Channel (MAC) is a comprehensive technical analysis tool that combines multiple moving average types with volume analysis to provide a complete market perspective.
Key Features:
1. Dynamic Channel Formation
- Configurable moving average types (SMA, EMA, WMA, VWMA, HMA, TEMA)
- Separate upper and lower band calculations
- Customizable band offsets for precise channel adjustment
2. Volume Analysis Integration
- Multi-timeframe volume analysis (1H, 24H, 7D)
- Relative volume comparison against historical averages
- Volume trend detection with visual indicators
- Price-level volume distribution profile
3. Market Context Indicators
- RSI integration for overbought/oversold conditions
- Channel position percentage
- Volume-weighted price levels
- Breakout detection with visual signals
Usage Guidelines:
1. Channel Interpretation
- Price within channel: Normal market conditions
- Price above upper band: Potential overbought condition
- Price below lower band: Potential oversold condition
- Channel width: Indicates market volatility
2. Volume Analysis
- High relative volume (>150%): Strong market interest
- Low relative volume (<50%): Weak market interest
- Volume trend arrows: Indicate increasing/decreasing market participation
- Volume profile: Shows price levels with highest trading activity
3. Trading Signals
- Breakout arrows: Potential trend continuation
- RSI extremes: Confirmation of overbought/oversold conditions
- Volume confirmation: Validates price movements
Customization:
- Adjust MA length for different market conditions
- Modify band offsets for tighter/looser channels
- Fine-tune volume analysis parameters
- Customize visual appearance
This indicator is designed for traders who want to combine price action, volume analysis, and market structure in a single, comprehensive tool.
5EMA_BB_ScalpingWhat?
In this forum we have earlier published a public scanner called 5EMA BollingerBand Nifty Stock Scanner , which is getting appreciated by the community. That works on top-40 stocks of NSE as a scanner.
Whereas this time, we have come up with the similar concept as a stand-alone indicator which can be applied for any chart, for any timeframe to reap the benifit of reversal trading.
How it works?
This is essentially a reversal/divergence trading strategy, based on a widely used strategy of Power-of-Stocks 5EMA.
To know the divergence from 5-EMA we just check if the high of the candle (on closing) is below the 5-EMA. Then we check if the closing is inside the Bollinger Band (BB). That's a Buy signal. SL: low of the candle, T: middle and higher BB.
Just opposite for selling. 5-EMA low should be above 5-EMA and closing should be inside BB (lesser than BB higher level). That's a Sell signal. SL: high of the candle, T: middle and lower BB.
Along with we compare the current bar's volume with the last-20 bar VWMA (volume weighted moving average) to determine if the volume is high or low.
Present bar's volume is compared with the previous bar's volume to know if it's rising or falling.
VWAP is also determined using `ta.vwap` built-in support of TradingView.
The Bolling Band width is also notified, along with whether it is rising or falling (comparing with previous candle).
What's special?
We love this reversal trading, as it offers many benifits over trend following strategies:
Risk to Reward (RR) is superior.
It _Does Hit_ stop losses, but the stop losses are tiny.
Means, althrough the Profit Factor looks Nahh , however due to superior RR, end of day it ended up in green.
When the day is sideways, it's difficult to trade in trending strategies. This sort of volatility, reversal strategies works better.
It's always tempting to go agaist the wind. Whole world is in Put/PE and you went opposite and enter a Call/CE. And turns out profitable! That's an amazing feeling, as a trader :)
How to trade using this?
* Put any chart
* Apply this screener from Indicators (shortcut to launch indicators is just type / in your keyboard).
* It will show you the Green up arrow when buy alert comes or red down arrow when sell comes. * Also on the top right it will show the latest signal with entry, SL and target.
Disclaimer
* This piece of software does not come up with any warrantee or any rights of not changing it over the future course of time.
* We are not responsible for any trading/investment decision you are taking out of the outcome of this indicator.
BAFD (Price Action For D.....s)🧠 Overview
This indicator combines multiple Moving Averages (MA) with visual price action elements such as Fair Value Gaps (FVGs) and Swing Points. It provides traders with real-time insight into trend direction, structural breaks, and potential entry zones based on institutional price behavior.
⚙️ Features
1. Multi MA Visualization (SMA & EMA)
- Plots short-, mid-, and long-term moving averages
- Fully customizable: MA type (SMA/EMA) and length per MA
- Dynamic color coding: green for bullish, red for bearish (based on close >/< MA)
2. Fair Value Gaps (FVG) Detection
Detects bullish and bearish imbalances using multiple logic types:
- Same Type: Last 3 candles move in the same direction
- Twin Close: Last 2 candles close in the same direction
- All: Shows all valid FVGs regardless of pattern
Gaps are marked with semi-transparent yellow boxes
Useful for identifying potential liquidity voids and retest zones
3. Swing Highs and Lows
- Automatically identifies major swing points
- Customizable sensitivity (strength setting)
Marked with subtle colored dots for structure identification or support/resistance mapping
📈 Use Cases
- Trend Identification: Visualize momentum on multiple timeframes
- Liquidity Mapping: Spot potential retracement zones using FVGs
- Confluence Building: Combine MA slope, FVG zones, and swing points for refined setups
🛠️ Customizable Settings
- Moving average type and length for each MA
- FVG logic selection and color
- Swing point strength
🔔 Note
This script does not generate buy/sell signals or alerts. It is designed as a visual decision-support tool for discretionary traders who rely on market structure, trend, and price action.