MA OrderlinessMA Orderliness measures how well a series of simple moving averages (SMAs) are stacked in the expected order for a trending market and turns that measurement into a normalized oscillator. You choose how many MAs to include and the shortest and longest lengths. The script generates a family of evenly spaced SMAs between those lengths, then compares each pair: shorter MAs should lie above longer ones in an uptrend and below in a downtrend. When any pair is out of order, a “violation” score is accumulated, but violations between nearby MAs count more heavily than those between MAs that are far apart. All weights are summed, and the total weighted violations are converted into a score from –1 (completely reversed) to +1 (perfectly ordered).
This orderliness score is plotted as a line oscillator. A fixed horizontal line at +1 marks perfect order, and another at –1 marks perfect reversal. To smooth the raw oscillator and generate trading signals, the script also plots a simple moving average of the orderliness score over a user-defined period. When the unsmoothed score crosses above its moving average, a bullish crossover alert fires. When it crosses below, a bearish crossover alert fires.
Everything is calculated on each bar so you can see the oscillator evolve in real time. You can customize the number of MAs, their minimum and maximum lengths, and the length of the signal-line SMA to suit different timeframes or markets.
Hareketli Ortalamalar
Adaptive Multi-TF Indicator Table with Presets giua64📌 Script Name:
Adaptive Multi-Timeframe Indicator Table with Presets — giua64
📄 Description:
This script displays an adaptive multi-timeframe dashboard that summarizes the signals of three key technical indicators:
Moving Averages (MAs), Relative Strength Index (RSI), and MACD.
It provides a fast and visually intuitive overview of market conditions across five timeframes (5m, 15m, 30m, 1h, 4h), helping traders quickly identify potential directional biases (e.g., bullish, bearish, or neutral) based on either predefined presets or fully manual settings.
🧰 Preset Configurations:
You can choose between four trading styles, each with optimized indicator parameters:
Scalping
• MAs: 5 / 10 (Fast), 20 / 50 (Slow)
• RSI: 7 periods | Overbought: 70 | Oversold: 30
• MACD: 5 / 13 | Signal: 3
Intraday
• MAs: 9 / 21 (Fast), 50 / 100 (Slow)
• RSI: 14 periods | Overbought: 60 | Oversold: 40
• MACD: 12 / 26 | Signal: 9
Swing
• MAs: 10 / 20 (Fast), 50 / 200 (Slow)
• RSI: 14 periods | Overbought: 65 | Oversold: 35
• MACD: 12 / 26 | Signal: 9
Manual
• Full custom control over all indicator settings.
🛠️ All settings can be customized manually from the options panel, including the exact MA periods, RSI thresholds, and MACD structure.
🧠 How It Works:
For each timeframe, the script evaluates:
MA crossover status (two levels):
The first symbol refers to the crossover of the fast MAs
The second symbol refers to the crossover of the slow MAs
🟢 = Bullish crossover
🔴 = Bearish crossover
➖ = Flat or no clear signal
RSI Direction:
↑ = RSI above upper threshold (potential overbought)
↓ = RSI below lower threshold (potential oversold)
→ = RSI in neutral range
MACD Line vs Signal Line:
↑ = MACD line is above signal line (bullish)
↓ = MACD line is below signal line (bearish)
→ = Flat or neutral signal
Each signal is assigned a numerical score. These are aggregated per timeframe to compute a combined score that reflects the directional bias for that specific time window.
🧠 Adaptive Logic by Asset:
This script is designed to be universally compatible across all asset types — including forex, crypto, stocks, indices, and commodities.
Thanks to its multi-timeframe nature and flexible indicator presets, the script automatically adjusts its behavior based on the asset selected, ensuring relevant analysis without requiring manual recalibration.
🧾 Summary Table Output:
At the bottom of the dashboard, a combined sentiment is displayed for:
3TF → 5m, 15m, 30m
4TF → Adds 1h
5TF → Adds 4h
Each row shows:
Signal → LONG / SHORT / NEUTRAL
Confidence (%) → Based on score aggregation and signal consistency
📌 Customization Options:
Table Position: Left, Right, or Center
Text Size: Small, Normal, or Large
Full Manual Configuration: All MA, RSI, and MACD parameters can be adjusted as needed
⚠️ Disclaimer:
This script is for educational and analytical purposes only.
It does not constitute financial advice or guarantee any trading results.
Always do your own research and apply responsible risk management.
Magic Bounce BouncePurpose
This script plots a Daily-anchored 50- and 200-period Double EMA (DEMA) together with ±ADR (Average Daily Range) “bounce bands”.
When the 50-DEMA crosses above the 200-DEMA the line turns green → bullish trend.
When the 50-DEMA crosses below the 200-DEMA the line turns red → bearish trend.
Because every calculation is forced to the Daily timeframe (even on intraday charts), the signal stays consistent across all resolutions—especially helpful for gauging bigger-picture trends on liquid, 24 × 7 assets such as BTC-USD.
Formula
Daily timeframe only
java
Copy
dema(Source, L) = 2 × EMA(Source, L) – EMA(EMA(Source, L), L)
50-DEMA = dema(Close, 50) // Daily bars
200-DEMA = dema(Close, 200) // Daily bars
ADR = SMA(High – Low, 200) × Mult // Mult default 0.5
Upper Band = 200-DEMA + ADR
Lower Band = 200-DEMA – ADR
Colors
Green indicates a bull trend
Red indicates a bear trend
Grey before the first cross
What’s new in this version
Daily anchoring – request.security() locks every calculation to "D" so the curve never wiggles when you change chart resolution.
Adaptive ADR bands – ±½ of the 200-day ADR (multiplier adjustable) highlight zones where price often “bounces” back toward the mean.
Cleaner visual logic – Single colour variable controls both line and bands for instant trend recognition.
How to use it
Add to BTC-USD daily
Watch the colour:
Green line → Indicates bull trend and price might bounce on retest
Red line → Indicates bear trend and price might bounce on retest
Adjust “ADR Band Multiplier” (0 – 3) to fit a symbol’s personality—higher for volatile alts, lower for stable blue-chips.
Zoom into intraday timeframes (e.g., 1 h, 15 m) for precision entries while keeping the Daily trend bias intact.
Credits & licence
Original DEMA concept by Patrick Mulloy.
This script combines that idea with the “Magic Bounce Line” template by LabOfCrypto and remains open-source under the Mozilla Public License 2.0.
Disclaimer
For educational purposes only. No indicator guarantees future performance; always apply sound risk and money-management rules.
magic wand STSM🔮 Magic Wand STSM | Multi-Timeframe ATR SuperTrend Strategy
This strategy is designed for backtesting purposes only. It includes:
- ATR-based SuperTrend trend detection
- Multi-timeframe confirmation (1H and 30min logic)
- EMA and SMA filters to avoid trading against major trends
- Dynamic lot sizing based on risk % and user-defined equity
- Daily and monthly performance tracking (win/loss filtering)
- Risk management via optional trading halts after poor performance
- Session-based and time-based filters to avoid low-liquidity periods
🔎 Visual performance tracking with summary tables for wins, losses, and net profit.
**Important:**
This strategy does **not place real trades** and is only intended for backtesting and educational use.
Performance metrics are historical and do **not guarantee future results**.
Please use responsibly and adjust to your risk tolerance.
✅ Compliant with TradingView’s policies.
POC + VWAP Strategy w/ Time Filter & Trailing StopPoint of control from fixed range volume profile is determined on a 15 min chart. When price touches the point of control and price is below VWAP, it is a sell. When price is above vwap a buy happens. Only one trade at at time and there are trailing stop and take profit parameters.
Momentum Long + Short Strategy (BTC 3H)Momentum Long + Short Strategy (BTC 3H)
🔍 How It Works, Step by Step
Detect the Trend (📈/📉)
Calculate two moving averages (100-period and 500-period), either EMA or SMA.
For longs, we require MA100 > MA500 (uptrend).
For shorts, we block entries if MA100 exceeds MA500 by more than a set percentage (to avoid fading a powerful uptrend).
Apply Momentum Filters (⚡️)
RSI Filter: Measures recent strength—only allow longs when RSI crosses above its smoothed average, and shorts when RSI dips below the oversold threshold.
ADX Filter: Gauges trend strength—ensures we only enter when a meaningful trend exists (optional).
ATR Filter: Confirms volatility—avoids choppy, low-volatility conditions by requiring ATR to exceed its smoothed value (optional).
Confirm Entry Conditions (✅)
Long Entry:
Price is above both MAs
Trend alignment & optional filters pass ✅
Short Entry:
Price is below both MAs and below the lower Bollinger Band
RSI is sufficiently oversold
Trend-blocker & ATR filter pass ✅
Position Sizing & Risk (💰)
Each trade uses 100 % of account equity by default.
One pyramid addition allowed, so you can scale in if the move continues.
Commission and slippage assumptions built in for realistic backtests.
Stops & Exits (🛑)
Long Stop-Loss: e.g. 3 % below entry.
Long Auto-Exit: If price falls back under the 500-period MA.
Short Stop-Loss: e.g. 3 % above entry.
Short Take-Profit: e.g. 4 % below entry.
🎨 Why It’s Powerful & Customizable
Modular Filters: Turn on/off RSI, ADX, ATR filters to suit different market regimes.
Adjustable Thresholds: Fine-tune stop-loss %, take-profit %, RSI lengths, MA gaps and more.
Multi-Timeframe Potential: Although coded for 3 h BTC, you can adapt it to stocks, forex or other cryptos—just recalibrate!
Backtest Fine-Tuned: Default settings were optimized via backtesting on historical BTC data—but they’re not guarantees of future performance.
⚠️ Warning & Disclaimer
This strategy is for educational purposes only and designed for a toy fund. Crypto markets are highly volatile—you can lose 100 % of your capital. It is not a predictive “holy grail” but a rules-based framework using past data. The parameters have been fine-tuned on historical data and are not valid for future trades without fresh calibration. Always practice with paper-trading first, use proper risk management, and do your own research before risking real money. 🚨🔒
Good luck exploring and experimenting! 🚀📊
EMA Volume-Filtered SignalsCandles will not change color when above or below EMA, which will help you hold your trades longer.
Buy sell signal when 9/21 EMA cross for better overall filtering with volume confirmation.
Use this to place longer trades on the 5 minute timeframe. Can also be used on the 3.
Intraday Multi-Indicator StrategyBuys when trend, momentum, volume, and pattern align.
Sells when downtrend, weak momentum, volume, and bearish pattern align.
Exits based on RSI or MACD reversal.
Uses labels and shapes to clearly show what happened and why.
Works best on 15 mins TF.
Improved Breakout Trend FollowerI took a breakout trend finder and tried to cut out some of the noise, it has yet to be back tested yet
SuperBuy/TrendFollowingThis indicator can mark buy and sell points. There are comments in the code, and you can enable the secondary buy and sell point function yourself.
Dual Pwma Trends [ZORO_47]Key Features:
Dual PWMA System: Combines a fast and slow Parabolic Weighted Moving Average to identify momentum shifts and trend changes with precision.
Dynamic Color Coding: The indicator lines change color to reflect market conditions—green for bullish crossovers (potential buy signals) and red for bearish crossunders (potential sell signals), making it easy to interpret at a glance.
Customizable Parameters: Adjust the fast and slow PWMA lengths, power settings, and source data to tailor the indicator to your trading style and timeframe.
Clean Visualization: Plotted with bold, clear lines (3px width) for optimal visibility on any chart, ensuring you never miss a signal.
How It Works:
The indicator calculates two PWMAs using the imported ZOROLIBRARY by ZORO_47. When the fast PWMA crosses above the slow PWMA, both lines turn green, signaling a potential bullish trend. Conversely, when the fast PWMA crosses below the slow PWMA, the lines turn red, indicating a potential bearish trend. The color persists until the next crossover or crossunder, providing a seamless visual cue for trend direction.
Ideal For:
Trend Traders: Identify trend reversals and continuations with clear crossover signals.
Swing Traders: Use on higher timeframes to capture significant price moves.
Day Traders: Fine-tune settings for faster signals on intraday charts.
Settings:
Fast Length/Power: Control the sensitivity of the fast PWMA (default: 12/2).
Slow Length/Power: Adjust the smoother, slower PWMA (default: 21/1).
Source: Choose your preferred data input (default: close price).
MFI + RSI + EMA Dynamic SignalsThe MFI + RSI + EMA Dynamic Signals is a designed to combine with widened criteria to capture more trading opportunities, it balances momentum, trend, and flexibility, making it suitable for trading on timeframes like 15-minute to 4-hour charts.
How It Works
The indicator uses three technical components with relaxed criteria to produce signals:
Money Flow Index (MFI) for Momentum Extremes:
The MFI, calculated over a 14-period length, measures buying and selling pressure using price and volume. A buy signal can trigger when MFI crosses above the oversold level (default: 30, widened from 20), indicating potential buying pressure, while a sell signal can occur when MFI crosses below the overbought level (default: 70, widened from 80), suggesting selling pressure.
Relative Strength Index (RSI) for Momentum Confirmation:
The RSI, calculated over a 14-period length, confirms momentum strength. Bullish momentum is confirmed when RSI is above a buy threshold (default: 45, relaxed from 50), and bearish momentum when below a sell threshold (default: 55, relaxed from 50), allowing more signals near neutral momentum levels.
Exponential Moving Average (EMA) for Trend Sensitivity:
The indicator uses a fast EMA (default: 9 periods) and a slow EMA (default: 21 periods) to detect trend direction and crossovers. Signals can trigger when the fast EMA crosses the slow EMA, or when the fast EMA is within a proximity threshold (default: 0.5%) of the slow EMA, capturing early trend changes and increasing signal frequency.
Signal Generation
Signals are generated using the previous bar’s values to prevent repainting, with widened criteria for more frequent triggers:
Buy Signal: Either the MFI crosses above the oversold level or the fast EMA crosses above the slow EMA, and either RSI confirms bullish momentum (above 45) or the EMAs are near a crossover (within 0.5%). Displayed as a green upward triangle below the bar.
Sell Signal: Either the MFI crosses below the overbought level or the fast EMA crosses below the slow EMA, and either RSI confirms bearish momentum (below 55) or the EMAs are near a crossover (within 0.5%). Displayed as a red downward triangle above the bar.
Deep Blue Sea Refactor Momentum Shift Indicator [ALLDYN]DBSR - Layered WMA trend clouds with dynamic compression zones and momentum shift alerts.
A trend structure tool using grouped Weighted Moving Averages to reveal market acceleration, commitment, and compression across multiple timeframes.
Visual cloud depth reflects the interaction between short (5–13), mid (36–144), and long-term (720–1440) WMA layers. Includes alerts for fast crossover momentum shifts and toggle-based confluence filtering.
Ideal for swing, intraday, and momentum traders seeking layered confirmation before entries. Open-source and part of the FxAST Toolset by @alldyn_pip_king.
💬 Optional
This is a visual tool for structure and compression. When the cloud tightens, expect volatility. When the fast WMA crosses and deeper layers align — that’s your directional cue.
Toggle short/mid/long layers based on your timeframe. Combine this with your strategy for Confluence, not signals.
Feedback welcome. Complete logic is open — feel free to remix or contribute.
– alldyn_pip_king 🔵
Clock&Flow MM+InfoThis script is an indicator that helps you visualize various moving averages directly on the price chart and gain some additional insights.
Here's what it essentially does:
Displays Different Moving Averages: You can choose to see groups of moving averages with different periods, set to nominal cyclical durations. You can also opt to configure them for instruments traded with classic or extended trading hours (great for Futures), and they'll adapt to your chosen timeframe.
Colored Bands: It allows you to add colored bands to the background of the chart that change weekly or daily, helping you visualize time cycles. You can customize the band colors.
Information Table: A small table appears in a corner of the chart, indicating which cycle the moving averages belong to (daily, weekly, monthly, etc.), corresponding to the timeframe you are using on the chart.
Customization: You can easily enable or disable the various groups of moving averages or the colored bands through the indicator's settings.
It's a useful tool for traders who use moving averages to identify trends and support/resistance levels, and who want a quick overview of market cycles.
Questo script è un indicatore che aiuta a visualizzare diverse medie mobili direttamente sul grafico dei prezzi e a ottenere alcune informazioni aggiuntive.
In pratica, fa queste cose:
Mostra diverse medie mobili: Puoi scegliere di vedere gruppi di medie mobili con periodi diversi impostati sulle durate cicliche nominali. Puoi scegliere se impostarle per uno strumento quotato con orario di negoziazione classico o esteso (ottimo per i Futures) e si adattano al tuo timeframe).
Bande colorate: Ti permette di aggiungere delle bande colorate sullo sfondo del grafico che cambiano ogni settimana o ogni giorno, per aiutarti a visualizzare i cicli temporali. Puoi scegliere il colore delle bande.
Tabella informativa: In un angolo del grafico, compare una piccola tabella che indica a quale ciclo appartengono le medie mobili (giornaliero, settimanale, mensile, ecc.) e corrispondono in base al timeframe che stai usando sul grafico.
Personalizzazione: Puoi facilmente attivare o disattivare i vari gruppi di medie mobili o le bande colorate tramite le impostazioni dell'indicatore.
È uno strumento utile per i trader che usano le medie mobili per identificare trend e supporti/resistenze, e che vogliono avere un colpo d'occhio sui cicli di mercato.
YPC EMA/MA Crossover - Confirmación + AlertasThis automated strategy is based on the crossover between a Simple Moving Average (MA) and an Exponential Moving Average (EMA), with additional confirmation from price action.
A BUY signal is triggered when the EMA crosses above the MA and the price closes above both lines.
A SELL signal is triggered when the EMA crosses below the MA and the price confirms below both lines.
Buy and sell signals are clearly labeled on the chart for easy visualization and decision-making.
The strategy works well on both intraday and higher timeframes, offering flexibility for different trading styles.
Users can customize the length of the moving averages to better suit specific assets or market conditions.
Dải EMAThe ema band shows the market trend, knows where the trend is and gives good signals to enter orders. The ema line can be flexible.
All SMAs, EMAs, VWAP, & BMSB in 1.Miner's MAs - The All-in-One Moving Average Indicator to save you space on your charts by combining many several popular public indicators into one streamlined tool.
This comprehensive indicator consolidates up to 8 individual moving averages with selectable (SMA or EMA choices) into a single, clean tool to reduce chart clutter and streamline technical analysis setup. Each MA features full customization including type selection, length, source, offset, smoothing options (including Bollinger Band additions), multi-timeframe support, and status line display just as the original Trading View single indicators do.
Additional options include integrated VWAP with multiple anchor periods and the popular Bull Market Support Band (20w SMA + 21w EMA). Perfect for traders who use multiple moving averages for confluence analysis, support/resistance identification, and trend confirmation across different timeframes and desperately need to reduce their large list of indictors on the left side of their charts.
This helpful Indicator also makes it a great option for those users & members on the lower tiered and free plans that may be limited to the amount of indicators they can use at the same time who may be just starting out and need support and help top learn TA on their charts. It also supports all major smoothing types and Bollinger Band setups.
-The Ideal Single indicator for most everyone conducting some general TA for scalping, day trading, swing trading, and long-term analysis to save space on the chart windows.
Features:
8 fully customizable moving averages (SMA or EMA choices)
Integrated VWAP with session/week/month/year anchoring
Bull Market Support Band
Advanced smoothing options including Bollinger Bands
Multi-timeframe support for each MA
Clean, organized settings layout
Hope its helpful to anyone and everyone who may need it, also please feel free to comment or add any input, mention any additional options that you think could be added for everyone's benefit.
Thanks!
Miner Chad
Growth Screener Strategy with 9 EMA ExitEntry on Weekly chart for riding the upper Bollinger band with certain more conditions and exiting on breaking of 21 EMA on Weekly chart
Andy's 3WMAThis indicator consist of 3 Linear Weighted Moving Averages of 8, 38 and 200 which are very good for traders. I would like to thank Andy Wei for teaching me these three indicator values and I am making this indicator with his permission to help other traders in need of it.
Arjun'BHRAMASTRA: 21 EMA (5-min)//@version=5
indicator("NQ Scalping Signal: 21 EMA (5-min)", overlay=true)
// === INPUTS ===
emaLength = input.int(21, title="EMA Length")
// === EMA on Higher Timeframe (5-min) ===
ema5 = request.security(syminfo.tickerid, "5", ta.ema(close, emaLength))
// === CONDITIONS ===
// Sell when price is below 5-min EMA
sellSignal = close < ema5 and close >= ema5
// Buy when price is above 5-min EMA
buySignal = close > ema5 and close <= ema5
// === PLOT SIGNALS ===
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="SELL")
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="BUY")
// === OPTIONAL: Plot the EMA for visual reference ===
plot(ema5, title="5-min EMA", color=color.orange)
Distance % from SMAMeasures distance from the moving average. You can tune it for length and visuals.
Karma MA & EMA GöstergesiDescription:
This script combines both Simple Moving Averages (MA) and Exponential Moving Averages (EMA) with customizable periods and unique colors for each line. Users can easily toggle the visibility of MAs and EMAs using checkboxes in the settings panel. Ideal for multi-timeframe trend analysis and identifying key support/resistance levels.
MA Values:
MA 7 → Yellow
MA 25 → Pink
MA 99 → Purple
MA 12 → Green
MA 200 → Maroon
MA 50 → Light Blue
MA 14 → Blue
MA 54 → Orange
MA 21 → Navy Blue
EMA Values:
EMA 7 → Yellow
EMA 25 → Pink
EMA 99 → Purple
EMA 200 → Light Blue
EMA 112 → Green
EMA 50 → Maroon
MA Değerleri:
MA 7 → Sarı
MA 25 → Pembe
MA 99 → Mor
MA 12 → Yeşil
MA 200 → Bordo
MA 50 → Açık mavi
MA 14 → Mavi
MA 54 → Turuncu
MA 21 → Lacivert
EMA Değerleri:
EMA 7 → Sarı
EMA 25 → Pembe
EMA 99 → Mor
EMA 200 → Açık mavi
EMA 112 → Yeşil
EMA 50 → Bordo