SMA Vertical OffsetThis Indicator allow you to adjust the SMA offset vertically instead of horizontally
簡單移動平均線(SMA)
50-100-200 MA Crosses with Priority (Open Source)Shows MA-EMA-WMA crosses with priority. Also has 2 additional customizable options you can add for scalping and such. It's an open source code so you can change 50-100-200 moving averages to your personal use by just changing the code.
Deviation Rate Crash SignalDescription
This indicator provides entry signals for contrarian trades that aim to capture rebounds after sharp declines, such as during market crashes.
A signal is triggered when the deviation rate from the 25-day moving average falls below -25% (default setting). On the chart, a red circle is displayed below the candlestick to indicate the signal.
Backtest (2000–2024, Nikkei 225 stocks):
Win rate: 64.73%
Payoff ratio: 1.141
Probability of ruin: 0.0% (with proper risk control)
Trading Rules (Long only):
Entry: Market buy at next day’s open when the closing price is 25% or more below the 25-day MA.
Exit: Market sell at next day’s open when:
The closing price is 10% above the entry price (take profit), or
The closing price is 10% below the entry price (stop loss), or
40 days have passed since entry.
Notes:
This indicator is tuned for crisis periods (e.g., 2008 Lehman Shock, 2011 Great East Japan Earthquake, 2020 COVID-19 crash, 2024 Yen carry trade reversal).
In normal market conditions, signals will be rare.
Pine Screener BETA Support:
Add this indicator to your favorites and scan with long condition = true.
Screener results display both the MA deviation rate and current price.
When multiple signals occur, use the deviation rate as a reference to prioritize setups.
説明
このインジケーターは、暴落時など短期間で急落した銘柄のリバウンドを狙う逆張りトレードのエントリーシグナルを提供します。
25日移動平均線からの乖離率が -25% を下回ったときにシグナルが点灯します(初期設定)。シグナルはメインチャートのローソク足の下に赤い丸印で表示されます。
バックテスト結果(2000~2024年、日経225銘柄):
勝率: 64.73%
ペイオフレシオ: 1.141
破産確率: 0.0%(適切なリスク管理を行った場合)
トレードルール(買いのみ):
エントリー: 終値が25日移動平均線から25%以上下方乖離した場合、翌日の寄り付きで成行買い。
手仕舞い: 翌日の寄り付きで成行売り(以下のいずれかの条件を満たした場合)
終値が買値より10%以上上昇(利確)
終値が買値より10%以上下落(損切り)
エントリーから40日経過
注意点:
このインジケーターは、2008年リーマンショック、2011年東日本大震災、2020年コロナショック、2024年円キャリートレード巻き戻しショックなど、危機的局面で効果を発揮するように調整されています。
通常の相場ではシグナルはほとんど出現しません。
Pine Screener BETA 対応:
このインジケーターをお気に入り登録し、long condition = true をフィルター条件にしてスキャンしてください。
スクリーナー結果には移動平均乖離率と現在値が表示されます。
シグナルが同時に多数出現した場合は、移動平均乖離率を参考に優先順位をつけてください。
Chandelier Exit_MA RibbonCombine Indicator for easy use of Chandelier Exit Indicator and MA Ribbon Indicator for educational purpose
Multiple Colored Moving AveragesMULTIPLE COLORED MOVING AVERAGES - USER GUIDE
DISCLAIMER
----------
Both the code and this documentation were created heavily using artificial intelligence. I'm lazy...
This indicator was inspired by repo32's "Moving Average Colored EMA/SMA" indicator. *
What is this indicator?
-----------------------
This is a TradingView indicator that displays up to 4 different moving averages on your chart simultaneously. Each moving average can be customized with different calculation methods, colors, and filtering options.
Why would I use multiple moving averages?
-----------------------------------------
- See trend direction across different timeframes at once
- Identify support and resistance levels
- Spot crossover signals between fast and slow MAs
- Reduce false signals with filtering options
- Compare how different MA types react to price action
What moving average types are available?
----------------------------------------
11 different types:
- SMA: Simple average, equal weight to all periods
- EMA: Exponential, more weight to recent prices
- WMA: Weighted, linear weighting toward recent data
- RMA: Running average, smooth like EMA
- DEMA: Double exponential, reduced lag
- TEMA: Triple exponential, even less lag
- HMA: Hull, fast and smooth combination
- VWMA: Volume weighted, includes volume data
- LSMA: Least squares, based on linear regression
- TMA: Triangular, double-smoothed
- ZLEMA: Zero lag exponential, compensated for lag
How do I set up the indicator?
------------------------------
Each MA has these settings:
- Enable/Disable: Turn each MA on or off
- Type: Choose from the 11 calculation methods
- Length: Number of periods (21, 50, 100, 200 are common)
- Smoothing: 0-10 levels of extra smoothing
- Noise Filter: 0-5% to ignore small changes
- Colors: Bullish (rising) and bearish (falling) colors
- Line Width: 1-5 pixels thickness
What does the smoothing feature do?
-----------------------------------
Smoothing applies extra calculations to make the moving average line smoother. Higher levels reduce noise but make the MA respond slower to price changes. Use higher smoothing in choppy markets, lower smoothing in trending markets.
What is the noise filter?
--------------------------
The noise filter ignores small percentage changes in the moving average. For example, a 0.3% filter will ignore any MA movement smaller than 0.3%. This helps eliminate false signals from minor price fluctuations.
When should I use this indicator?
---------------------------------
- Trend analysis: See if market is going up, down, or sideways
- Entry timing: Look for price bounces off MA levels
- Exit signals: Watch for MA slope changes or crossovers
- Support/resistance: MAs often act as dynamic levels
- Multi-timeframe analysis: Use different lengths for different perspectives
What are some good settings to start with?
-------------------------------------------
Conservative approach:
- MA 1: EMA 21 (short-term trend)
- MA 2: SMA 50 (medium-term trend)
- MA 3: SMA 200 (long-term trend)
- Low noise filtering (0.1-0.3%)
Active trading:
- MA 1: HMA 9 (very responsive)
- MA 2: EMA 21 (short-term)
- MA 3: EMA 50 (medium-term)
- Minimal or no smoothing
How do I interpret the colors?
------------------------------
Each MA changes color based on its direction:
- Bullish color: MA is rising (upward trend)
- Bearish color: MA is falling (downward trend)
- Gray: MA is flat or unchanged
What should I look for in crossovers?
-------------------------------------
- Golden Cross: Fast MA crosses above slow MA (bullish signal)
- Death Cross: Fast MA crosses below slow MA (bearish signal)
- Multiple crossovers in same direction can confirm trend changes
- Wait for clear separation between MAs after crossover
How do I use MAs for support and resistance?
---------------------------------------------
- In uptrends: MAs often provide support when price pulls back
- In downtrends: MAs may act as resistance on rallies
- Multiple MAs create support/resistance zones
- Stronger levels where multiple MAs cluster together
Can I use this with other indicators?
-------------------------------------
Yes, it works well with:
- Volume indicators for confirmation
- RSI or MACD for timing entries
- Bollinger Bands for volatility context
- Price action patterns for setup confirmation
What if I get too many signals?
-------------------------------
- Increase smoothing levels
- Raise noise filter percentages
- Use longer MA periods
- Focus on major crossovers only
- Wait for multiple MA confirmation
What if signals are too slow?
-----------------------------
- Reduce smoothing to 0
- Lower noise filter values
- Switch to faster MA types (HMA, ZLEMA, DEMA)
- Use shorter periods
- Focus on the fastest MA only
Which MA types work best in different markets?
----------------------------------------------
Trending markets: EMA, DEMA, TEMA (responsive to trends)
Choppy markets: SMA, TMA, HMA with smoothing (less whipsaws)
High volatility: Use higher smoothing and noise filtering
Low volatility: Use minimal filtering for better responsiveness
Do I need all the advanced features?
------------------------------------
No. Start with basic settings:
- Choose MA type and length
- Set colors you prefer
- Leave smoothing at 0
- Leave noise filter at 0
Add complexity only if needed to improve signal quality.
How do I know if my settings are working?
-----------------------------------------
- Backtest on historical data
- Paper trade the signals first
- Adjust based on market conditions
- Keep a trading journal to track performance
- Be willing to modify settings as markets change
Can I save different configurations?
------------------------------------
Yes, save different indicator templates in TradingView for:
- Different trading styles (scalping, swing trading)
- Different market conditions (trending, ranging)
- Different instruments (stocks, forex, crypto)
[DEM] Combo Moving Average Combo Moving Average is designed to create a composite trend-following indicator by averaging seven different types of moving averages into a single smoothed line. The indicator overlays directly on the price chart, combining ALMA (Arnaud Legoux Moving Average), EMA (Exponential), HMA (Hull), RMA (Rolling), SMA (Simple), VWMA (Volume Weighted), and WMA (Weighted) moving averages to provide a more robust and less noisy trend signal. The resulting composite moving average changes color dynamically - displaying green when the trend is upward (current value higher than previous) and red when the trend is downward, offering traders a clear visual representation of the overall market direction across multiple moving average methodologies.
Custom Alpha v1Heiken Ashi based indicator using moving average crossovers combined with LuxAlgo Ultimate RSI with custom weighting to trigger buy and sell signals.
Settings for weightings and signal threshold are fully customizable in the indicator settings.
SMAs can be toggled on/off under the style tab of indicator settings.
SMA - Color ShiftThis script throws down a 200-period simple moving average and paints the whole wave depending on where price is riding right now. If price is paddling above the line 🟢, the wall glows green like you’re cruising down the face of a clean set. If price is duck-diving below 🔴, the line flashes red — danger zone, you’re getting worked. And if the candle’s smacking right on it 🟠, it lights up orange, like hanging in the impact zone deciding if you’re bailing or charging.
It’s your surf check for trend bias: one quick look and you know if the market’s pumping, dumping, or balancing right on the lip. 🌴🤙
SMA - RGB WallThis script throws down a 200-period simple moving average and paints the whole wave depending on where price is riding right now. If price is paddling above the line 🟢, the wall glows green like you’re cruising down the face of a clean set. If price is duck-diving below 🔴, the line flashes red — danger zone, you’re getting worked. And if the candle’s smacking right on it 🟠, it lights up orange, like hanging in the impact zone deciding if you’re bailing or charging.
It’s your surf check for trend bias: one quick look and you know if the market’s pumping, dumping, or balancing right on the lip. 🌴🤙
20 MA ReversionA mean reversion tactic with the 20 SMA:
the indicator is chcking specific parameters, such as the volume related to the last day's volume, distance from 20 SMA, CCI values and changes, trends, and recent gaps that will act as a magnet.
enjoy!
RTC EMA/SMA Combo IndicatorRTC Combo indicator with 20 EMA, 50 EMA and 200 SMA
Primarily used for Market Structure purpose
Slovenský Hybrid (VWAP, Multi MA)Slovenský Hybrid (VWAP, Multi MA) – JS VWAP/MA
Tento indikátor som vytvoril ja, Ján Salma – mentor Akadémie , špeciálne pre slovenský trh. Je navrhnutý tak, aby ho bolo možné používať aj na bezplatnej verzii TradingView a zároveň aby ostal priestor na pridanie ďalších vlastných indikátorov.
👉 Čoskoro pribudne nová verzia, ktorá bude obsahovať ešte viac nástrojov v jednom balíku.
Funkcie a nastavenia:
Indikátor kombinuje viacero kľúčových prvkov technickej analýzy do jedného nástroja:
Multi Moving Averages (MA)
Môžeš zobraziť až 4 rôzne kĺzavé priemery.
Každý MA sa dá zapnúť alebo vypnúť podľa potreby.
Možnosť nastaviť dĺžku periody.
Výber typu: SMA alebo EMA.
Nastavenie zdroja ceny (Close, Open, High, Low, atď.).
Možnosť upraviť farbu a hrúbku čiary pre lepší prehľad.
VWAP (Volume Weighted Average Price)
VWAP sa dá zapnúť alebo vypnúť.
Nastavenie farby a hrúbky čiary.
Výhody indikátora
Jednoduché a prehľadné nastavenia v slovenskom jazyku.
Ideálne pre začiatočníkov aj pokročilých traderov.
Kombinuje viacero indikátorov do jedného, čo šetrí miesto v grafe.
Umožňuje flexibilne prispôsobiť vzhľad podľa vlastného štýlu obchodovania.
________________________________________
✅ Tento nástroj je výbornou pomôckou pre každého, kto sa chce zamerať na čistý graf, prehľadné nastavenia a efektívne využitie TradingView.
Slovak Hybrid (VWAP, Multi MA) – JS VWAP/MA
This indicator was created by Ján Salma – mentor of the Slovak Academy , especially for the Slovak market. It is designed to work even on the free version of TradingView, while keeping space for additional indicators on your chart.
👉 A new version with more tools combined in one indicator is coming soon!
Features and Settings:
Multi Moving Averages (MA)
Up to 4 customizable moving averages.
Each MA can be turned on/off individually.
Choose between EMA or SMA.
Adjustable length, source, line width, and color.
VWAP (Volume Weighted Average Price)
Can be enabled/disabled.
Adjustable line thickness and color.
Benefits:
Simple and intuitive settings in Slovak language.
Great for both beginners and advanced traders.
Combines multiple indicators into one → saves chart space.
Fully customizable look to fit your trading style.
________________________________________
✅ A clean, flexible, and easy-to-use indicator for every trader who wants efficiency and clarity in their charts.
RSI ADX Bollinger Analysis High-level purpose and design philosophy
This indicator — RSI-ADX-Bollinger Analysis — is a compact, educational market-analysis toolkit that blends momentum (RSI), trend strength (ADX), volatility structure (Bollinger Bands) and simple volumetrics to provide traders a snapshot of market condition and trade idea quality. The design philosophy is explicit and layered: use each component to answer a different question about price action (momentum, conviction, volatility, participation), then combine answers to form a more robust, explainable signal. The mashup is intended for analysis and learning, not automatic execution: it surfaces the why behind signals so traders can test, learn and apply rules with risk management.
________________________________________
What each indicator contributes (component-by-component)
RSI (Relative Strength Index) — role and behavior: RSI measures short-term momentum by comparing recent gains to recent losses. A high RSI (near or above the overbought threshold) indicates strong recent buying pressure and potential exhaustion if price is extended. A low RSI (near or below the oversold threshold) indicates strong recent selling pressure and potential exhaustion or a value area for mean-reversion. In this dashboard RSI is used as the primary momentum trigger: it helps identify whether price is locally over-extended on the buy or sell side.
ADX (Average Directional Index) — role and behavior: ADX measures trend strength independently of direction. When ADX rises above a chosen threshold (e.g., 25), it signals that the market is trending with conviction; ADX below the threshold suggests range or weak trend. Because patterns and momentum signals perform differently in trending vs. ranging markets, ADX is used here as a filter: only when ADX indicates sufficient directional strength does the system treat RSI+BB breakouts as meaningful trade candidates.
Bollinger Bands — role and behavior: Bollinger Bands (20-period basis ± N standard deviations) show volatility envelope and relative price position vs. a volatility-adjusted mean. Price outside the upper band suggests pronounced extension relative to recent volatility; price outside the lower band suggests extended weakness. A band expansion (increasing width) signals volatility breakout potential; contraction signals range-bound conditions and potential squeeze. In this dashboard, Bollinger Bands provide the volatility/structural context: RSI extremes plus price beyond the band imply a stronger, volatility-backed move.
Volume split & basic MA trend — role and behavior: Buy-like and sell-like volume (simple heuristic using close>open or closeopen) or sell-like (close1.2 for validation and compare win rate and expectancy.
4. TF alignment: Accept signals only when higher timeframe (e.g., 4h) trend agrees — compare results.
5. Parameter sensitivity: Vary RSI threshold (70/30 vs 80/20), Bollinger stddev (2 vs 2.5), and ADX threshold (25 vs 30) and measure stability of results.
These exercises teach both statistical thinking and the specific failure modes of the mashup.
________________________________________
Limitations, failure modes and caveats (explicit & teachable)
• ADX and Bollinger measures lag during fast-moving news events — signals can be late or wrong during earnings, macro shocks, or illiquid sessions.
• Volume classification by open/close is a heuristic; it does not equal TAPEDATA, footprint or signed volume. Use it as supportive evidence, not definitive proof.
• RSI can remain overbought or oversold for extended stretches in persistent trends — relying solely on RSI extremes without ADX or BB context invites large drawdowns.
• Small-cap or low-liquidity instruments yield noisy band behavior and unreliable volume ratios.
Being explicit about these limitations is a strong point in a TradingView description — it demonstrates transparency and educational intent.
________________________________________
Originality & mashup justification (text you can paste)
This script intentionally combines classical momentum (RSI), volatility envelope (Bollinger Bands) and trend-strength (ADX) because each indicator answers a different and complementary question: RSI answers is price locally extreme?, Bollinger answers is price outside normal volatility?, and ADX answers is the market moving with conviction?. Volume participation then acts as a practical check for real market involvement. This combination is not a simple “indicator mashup”; it is a designed ensemble where each element reduces the others’ failure modes and together produce a teachable, testable signal framework. The script’s purpose is educational and analytical — to show traders how to interpret the interplay of momentum, volatility, and trend strength.
________________________________________
TradingView publication guidance & compliance checklist
To satisfy TradingView rules about mashups and descriptions, include the following items in your script description (without exposing source code):
1. Purpose statement: One or two lines describing the script’s objective (educational multi-indicator market overview and idea filter).
2. Component list: Name the major modules (RSI, Bollinger Bands, ADX, volume heuristic, SMA trend checks, signal tracking) and one-sentence reason for each.
3. How they interact: A succinct non-code explanation: “RSI finds momentum extremes; Bollinger confirms volatility expansion; ADX confirms trend strength; all three must align for a BUY/SELL.”
4. Inputs: List adjustable inputs (RSI length and thresholds, BB length & stddev, ADX threshold & smoothing, volume MA, table position/size).
5. Usage instructions: Short workflow (check TF alignment → confirm participation → define stop & R:R → backtest).
6. Limitations & assumptions: Explicitly state volume is approximated, ADX has lag, and avoid promising guaranteed profits.
7. Non-promotional language: No external contact info, ads, claims of exclusivity or guaranteed outcomes.
8. Trademark clause: If you used trademark symbols, remove or provide registration proof.
9. Risk disclaimer: Add the copy-ready disclaimer below.
This matches TradingView’s request for meaningful descriptions that explain originality and inter-component reasoning.
________________________________________
Copy-ready short publication description (paste into TradingView)
Advanced RSI-ADX-Bollinger Market Overview — educational multi-indicator dashboard. This script combines RSI (momentum extremes), Bollinger Bands (volatility envelope and band expansion), ADX (trend strength), simple SMA trend bias and a basic buy/sell volume heuristic to surface high-quality idea candidates. Signals require alignment of momentum, volatility expansion and rising ADX; volume participation is displayed to support signal confidence. Inputs are configurable (RSI length/levels, BB length/stddev, ADX length/threshold, volume MA, display options). This tool is intended for analysis and learning — not for automated execution. Users should back test and apply robust risk management. Limitations: volume classification here is a heuristic (close>open), ADX and BB measures lag in fast news events, and results vary by instrument liquidity.
________________________________________
Copy-ready risk & misuse disclaimer (paste into description or help file)
This script is provided for educational and analytical purposes only and does not constitute financial or investment advice. It does not guarantee profits. Indicators are heuristics and may give false or late signals; always back test and paper-trade before using real capital. The author is not responsible for trading losses resulting from the use or misuse of this indicator. Use proper position sizing and risk controls.
________________________________________
Risk Disclaimer: This tool is provided for education and analysis only. It is not financial advice and does not guarantee returns. Users assume all risk for trades made based on this script. Back test thoroughly and use proper risk management.
Liquidity Lines 2.0Liquidity Lines Indicator Description:
This indicator detects points of liquidity based on reversals in price action. It simulates simple moving average (SMA) candles and identifies when raw price candles engulf either the low of a bullish SMA candle or the high of a bearish SMA candle. The liquidity point is then placed at the high of the bearish SMA candle or the low of the bullish SMA candle. These levels often correspond to areas where many traders place stop-loss orders and can provide insight into where “smart money” might be hunting liquidity.
Features and Alerts:
Liquidity Lines automatically track upper and lower liquidity levels and plot them as customizable horizontal lines on the chart. Users can adjust line length, color, width, and style, and choose whether lines extend to the right. The indicator also detects when these liquidity levels are “swept” by price and triggers alerts in real time, allowing traders to be notified of potential stop-loss hunts or key market reactions as they happen. This makes it easy to monitor critical liquidity zones without constantly watching the chart.
How to Use Strategically:
Traders can use these liquidity points to anticipate potential price reactions. For example, if price approaches a lower liquidity line from above, it may act as support or a zone where stop orders are being triggered. Conversely, an upper liquidity line may act as resistance or a trigger zone for stops above the market. Combining these levels with your existing market structure, trend analysis, or confirmation signals can help identify high-probability entries, exits, and areas where smart money activity may occur.
EMA/SMA Zones 9, 21, 30, 50, 100, 200 + othersMeant for swing trading on the daily chart, feel free to copy and remove/add sections as you wish (Used chatGPT for a lot of it).
Auto-Anchored MA with Deviation BandsAuto-Anchored MA with Deviation Bands
✨ Features
📈 Auto-Anchored MA: Calculates moving averages (EMA, SMA, EWMA, WMA, VWAP, TEMA) anchored to user-defined periods (Hour, Day, Week, etc.).📏 Deviation Bands: Plots upper/lower bands using Percentage or Standard Deviation modes for volatility analysis.⚙️ Customizable Timeframes: Choose anchor periods from Hour to Year for flexible trend analysis.🎨 Visuals: Displays MA and bands with gradient fills, customizable colors, and adjustable display bars.⏱️ Countdown Table: Shows bars since the last anchor for easy tracking.🛠️ Smoothing: Applies smoothing to bands for cleaner visuals.
🛠️ How to Use
Add to Chart: Apply the indicator on TradingView.
Configure Inputs:
Anchor Settings: Select anchor period (e.g., Day, Week).
MA Settings: Choose MA type (e.g., VWAP, TEMA).
Deviation Settings: Set deviation mode (Percentage/Std Dev) and multipliers.
Display Settings: Adjust bars to display, colors, and gradient fill.
Analyze: View MA, deviation bands, and countdown table on the chart.
Track Trends: Use bands as dynamic support/resistance and monitor anchor resets.
🎯 Why Use It?
Dynamic Analysis: Auto-anchors MA to key timeframes for adaptive trend tracking.
Volatility Insight: Deviation bands highlight potential breakouts or reversals.
Customizable: Tailor MA type, timeframe, and visuals to your trading style.
User-Friendly: Clear visuals and countdown table simplify analysis.
📝 Notes
Ensure sufficient bars for accurate MA and deviation calculations.
Gradient fill enhances readability but can be disabled for simplicity.
Best used with complementary indicators like RSI or Bollinger Bands for robust strategies.
Happy trading! 🚀📈
SMA – RGB Wave RiderThe SMA Wave Rider is like catching a clean set rolling in — instead of just a flat white line, your SMA12 lights up with a color gradient that shows whether the trend is mellow or pumping. It measures the slope of the SMA, normalizes it for whatever timeframe you’re surfing, then runs it through a contrast curve so the steeper the wave, the hotter the color. Pick your palette — Miami neon, Sunrise vibes, Pumpkin Spice autumn glow — and watch the line shift as the market gains or loses momentum. It’s trend strength painted right on the rail, so you can ride the flow instead of just guessing where the current’s pulling you. 🏄♂️🌊
SMA MAD SuperTrend | OquantThe SMA MAD SuperTrend | Oquant is an trend-following indicator designed to help traders identify potential trend directions and reversals using a unique combination of a Simple Moving Average (SMA), Mean Absolute Deviation (MAD), and a SuperTrend mechanism. This script aims to provide clear visual signals for trend entries and exits, making it suitable for traders looking to capture trends.
This indicator innovatively combines the smoothing properties of an SMA with the volatility-adaptive qualities of MAD to create dynamic SuperTrend bands. Unlike traditional SuperTrend indicators that rely on Average True Range (ATR) for volatility, this script uses Mean Absolute Deviation(MAD) to measure the average absolute deviation from the mean price, providing a different perspective on price volatility. The result is a SuperTrend system that adapts to market conditions with a focus on price deviation, offering a unique tool for trend detection.
Components and Calculations
Simple Moving Average (SMA):
The SMA is a widely used indicator that calculates the average of a specified number of closing prices. It smooths price data to identify the overall trend direction. In this script, the SMA serves as the baseline for calculating dynamic upper and lower bands.
Mean Absolute Deviation (MAD):
MAD measures the average absolute deviation of the price from its mean. It quantifies volatility by calculating how far prices deviate from the mean price, offering an alternative to ATR.
SuperTrend Mechanism:
This SuperTrend indicator generates dynamic upper and lower bands around the Simple Moving Average (SMA) using mean absolute deviation as measure of volatility.
It tracks trend direction by comparing the close price to the bands:
If the price crosses above the upper band, the trend turns bullish, and the SuperTrend follows the lower band.
If the price crosses below the lower band, the trend turns bearish, and the SuperTrend follows the upper band.
The bands adjust based on their previous values, updating only when the price crosses a band or the band shifts in the correct direction, reducing false signals and ensuring stable trend detection.
How to Use the Indicator
Trend Signals:
Green Line: Indicates a bullish trend (price above the SuperTrend line).
Purple Line: Indicates a bearish trend (price below the SuperTrend line).
Bar and Candle Coloring: Bars and candles are colored green for bullish trends and purple for bearish trends, making it easy to visualize trend direction.
Filled Areas: The area between the price and the SuperTrend line is filled with transparent colors (green for bullish, purple for bearish) to highlight trend.
Inputs:
Source: Choose the price data for calculations.
SMA Length: Adjust the period for the SMA. Longer periods smooth the trend further.
MAD Length: Set the period for MAD calculation. Shorter periods make the MAD more sensitive.
Factor: Control the distance of the SuperTrend bands from the SMA. Higher values widen the bands, reducing sensitivity to price fluctuations.
Alerts:
The script includes alert conditions for trend changes:
SMA MAD SuperTrend Long: Triggered when the trend turns bullish.
SMA MAD SuperTrend Short: Triggered when the trend turns bearish.
Set up alerts in TradingView to receive notifications for these conditions.
Why Use This Script?
The SMA MAD SuperTrend | Oquant offers a fresh take on trend-following by integrating SMA as baseline and MAD for volatility measurement, providing an alternative to ATR-based SuperTrend indicators. Its clear visual signals, customizable inputs, and alert conditions make it versatile for traders of all levels.
⚠️ 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 indicators/strategies before applying them in live markets. Use at your own risk.
BTC_Hull Suite StrategyOverview
BTC_Hull Suite Strategy is a trend-following system designed to keep drawdowns modest while staying exposed during genuine uptrends. It uses the Hull Moving Average (HMA) for fast, low-lag trend turns, a long-term SMA filter to avoid chop, and a percentage trailing stop to protect gains.
🔧 What the strategy includes
- Hull Moving Average (HMA) with configurable length (default 55)
- SMA filter (default 130) to trade only with higher-timeframe bias
- Trailing stop in percent (default 5%) based on the running peak of close
- Execution model: signals are evaluated on the previous bar and entries are placed at the next bar’s open (TradingView default)
📈 How it works:
✅ Entry (Long):
Detects a bullish Hull turn by comparing the current HMA to its value 3 bars ago:
h > h3 and h <= h3 → HMA just turned up on the prior bar
The SMA filter must confirm: close > sma
If both are true (and within the date window), a long is opened next bar at the open
❌ Exit:
Hull turn down: h < h3 and h >= h3 , or
Trailing stop: price closes below peak * (1 – trailingPct)
Either condition closes the position at the current bar’s close
Notes:
pyramiding = 1 → allows one add-on (maximum two concurrent long positions)
Position sizing defaults to 20% of equity per entry (adjustable in Properties)
Who is this for?
This strategy is tailored for Bitcoin traders (spot or perpetuals) who want a rules-based, low-lag trend system with built-in drawdown protection.
It works best on Daily or 4H charts, but parameters can be adapted for other timeframes.
⚠️ Disclaimer
This strategy is provided for educational and research purposes only.
It is not financial advice. Markets are risky — always test on your own data, include realistic fees/slippage, and forward-test before using real capital.