EMA as Support/Resistance with Backtests (by Visual Sectors)Knowing what works for a specific stock is the game changer!
This script returns 3 years' backtest of EMA acting as Support or Resistance
Wins and Losses are defined as closing above/below the EMA 50. Settings can be changed to any EMA length.
Actionability is % of time EMA was within range, so a EMA 500 will have very low actionability, while EMA 5 - extremely high
ממוצעים נעים
ezzy_goldencross This strategy is a simple crossover trading strategy using SMA 50 and SMA 200 (long only). I also implemented a percentage profit target and stop loss.
Thuonggsclap- Preferred indicator: 5m wave, mainly using Scalps
- MA9: timing for entry
- EMA34: short-term trend (scalp)
- EMA89: medium-term trend
- EMA200: major trend / noise filter
👉 Suggestions:
- Only BUY when price > EMA34 & EMA89
- Avoid SELL when price is still above EMA200
4 SMA Strong Uptrend (Fixed Daily)Paint chart background when there is a strong aligned uptrend in the four SMA lines
XAUUSD Pro Strategy //@version=5
indicator("XAUUSD RR Buy Sell Indicator", overlay=true, max_labels_count=500, max_boxes_count=100)
// ===== INPUT =====
rr = input.float(2.0, "Risk Reward", step=0.1)
sl_pips = input.int(300, "Stop Loss (points)")
show_boxes = input.bool(true, "Show Entry SL TP Box")
// ===== EMA =====
ema9 = ta.ema(close, 9)
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
plot(ema9, color=color.yellow)
plot(ema50, color=color.blue)
plot(ema200,color=color.red)
// ===== TREND =====
bull = ema50 > ema200
bear = ema50 < ema200
// ===== ENTRY CONDITIONS =====
buyCond = bull and close > ema9 and close < ema9
sellCond = bear and close < ema9 and close > ema9
// ===== PRICE CALC =====
buyEntry = close
buySL = buyEntry - sl_pips * syminfo.mintick
buyTP = buyEntry + (buyEntry - buySL) * rr
sellEntry = close
sellSL = sellEntry + sl_pips * syminfo.mintick
sellTP = sellEntry - (sellSL - sellEntry) * rr
// ===== DRAW =====
if buyCond
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white)
if show_boxes
box.new(bar_index, buyEntry, bar_index + 5, buySL, bgcolor=color.new(color.red,80))
box.new(bar_index, buyTP, bar_index + 5, buyEntry, bgcolor=color.new(color.green,80))
if sellCond
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.red, textcolor=color.white)
if show_boxes
box.new(bar_index, sellSL, bar_index + 5, sellEntry, bgcolor=color.new(color.red,80))
box.new(bar_index, sellEntry, bar_index + 5, sellTP, bgcolor=color.new(color.green,80))
EMA 6/50 Cross + ADX 20 + AlertsThis indicator is designd to filter noise off the EMA cross with the ADX greater than 20 condition.
MA 9 & MA 20 Crossover + EMA200 + CONFIRMED + RSI OB/OS (Alerts)Tesing this strategy. This will not work for all coins. this is short specific coins
BNF (Kotegawa) Strategy [CB Algos]STRATEGY: BNF (Kotegawa) Mean Reversion Strategy
DEVELOPED BY: CB Algos
DESCRIPTION:
This indicator replicates the trading style of Takashi Kotegawa (BNF).
It calculates the percentage deviation of the price from the 25-period SMA.
HOW TO USE:
1. Look for 'Lime' bars (Extreme Buy) or 'Teal' bars (Moderate Buy). These indicate the price has dropped significantly below the average.
2. Look for 'Red' bars (Extreme Sell) as profit-taking zones.
3. Use the Info Panel to see the exact current deviation %.
Zap Super Line// Zap - Close Line Color by SMA20, MACD, RSI
// Description: Line turns green when close > SMA20 and MACD rising or above signal; red otherwise. RSI > 70 turns purple; RSI < 30 turns gray.
// Author: Ron Belson
// Email: ronbelson@gmail.com
EMA Ribbon [PTrades]Multiple EMAs that you can change color and width in the input window so that you can easily see which EMA length that you are adjusting.
Deviation Momentum For Loop | Lyro RSThe Deviation Momentum For Loop is a directional momentum tool that evaluates the persistence of price deviation from a moving average over a historical range using a custom loop-based scoring function. It quantifies relative momentum strength by comparing current deviation to previous values, assigning a net score used to assess trend bias, reversals, and volatility-adjusted strength.
Key Features
Deviation-Based Momentum: Calculates standardized deviation from a selected moving average by subtracting the MA from price and normalizing via standard deviation and a scaling constant. This standardization adjusts for volatility and creates a consistent scoring base across assets and timeframes.
Historical For-Loop Scoring: Implements a user-defined for-loop function that compares current deviation to values from earlier bars (configurable range). Each comparison adds or subtracts from a cumulative score based on whether current deviation exceeds historical ones, producing a dynamic momentum read.
Threshold-Based Signal Logic: Applies user-defined thresholds for long and short signals. If the loop score exceeds the long threshold, a bullish bias is inferred; if it drops below the short threshold, a bearish bias is indicated. These thresholds are plotted for visual clarity.
Multi-Palette Visual System:
Predefined Palettes – Choose from Classic, Mystic, Accented, or Royal schemes for bullish and bearish colors.
Custom Colors – Toggle on custom color selection to manually define bullish (UpC) and bearish (DnC) tones.
Dynamic Visuals – Oscillator line, threshold markers, background shading, bar and candle coloring are applied in real time based on trend state
.
Glow and Overlay Effects: Layered glow lines and optional bar/candle coloring reinforce signal strength and trend status directly on the chart.
Built-In Alerts: Provides alert conditions when the for-loop score crosses above or below the defined thresholds, enabling automated monitoring of trend conditions.
How It Works
MA Calculation – Applies the selected moving average to the chosen price source (e.g., close, open, high). Offers 16 moving average types including SMA, EMA, WMA, TEMA, JMA, FRAMA, ZLSMA, KAMA, and others via the LyroRS/LMAs/1 library.
Deviation Computation – Measures the deviation of price from its moving average, normalized by standard deviation and scaled by a fixed constant factor to account for volatility.
Loop Function – Iterates from user-defined indices (From → To) and compares current deviation to past deviations. Increments score for each instance where current > past, decrements when current < past. The resulting value is plotted as the primary oscillator.
Signal Logic – Long and short threshold values are configurable inputs. Crossing above the long threshold signals bullish bias; crossing below the short threshold signals bearish pressure.
Color Coding & Visual Feedback
Palette or custom colors reflect oscillator's directional state.
Additional glow lines increase signal emphasis.
Background shading highlights crossovers with mid-threshold for enhanced visibility.
Optional bar and candle coloring aligns price visualization with indicator signals.
Practical Use
Momentum Confirmation – Use a score rising above the long threshold as a potential bullish signal; falling below the short threshold may indicate bearish strength.
Volatility Normalization – Standardized deviation ensures consistency across assets of different volatility profiles.
Multi-Timeframe Adaptation – The wide selection of moving averages and loop depth settings allows calibration for scalping, swing, or long-term analysis.
Visual Clarity – Color-coordinated candles, bars, oscillator lines, and background simplify interpretation of signal context and trend structure.
Customization
Select from 16 moving average types to control sensitivity and smoothing.
Adjust loop depth (From/To) to define how far back deviation is compared.
Set custom threshold levels to reflect your preferred sensitivity to momentum shifts.
Customize visuals with predefined palettes or manual color settings for full chart integration.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
Tao of Trading Moving Averages (MM)This is the Tao of Trading script with color shifts for Muffin Man's color needs.
1H Bias - Day Trade FilterThis indicator is intended for the use of two screens 15M and 5M. It will indicate with a green arrow at 8:30 AM central to look bullish or a red arrow at 8:30 AM central to look Bearish. This indicator is based on the 1H chart having price over the 200 MA and the 20 MA above the 50 MA.
Look for pullbacks on the 15M to key areas of support or resistance.
Look for a break of structure entries or pullback entries on the 5M chart.
Green Arrow = Look Bullish on this chart today.
Red Arrow = Look Bearish on this chart today.
X = Do not trade this chart today.
SB - Print MachineIntraday Trading, Observation - Nifty 50, Trade - Nifty Options, Buying only
Rules for Call Options Buying - Observe Nifty 50 Index
1. VWDEMA turns Green (Bullish).
2. VDema turns Green and crossing VWDEMA upside (Bullish).
3. ATR turns Green (Bullish)
4. VPC background turns Green (Bullish). Now Enter Call Side and enjoy the day....
Rules for Put Options Buying - Observe Nifty 50 Index
1. VWDEMA turns Red (Bearish).
2. VDema turns Red and crossing VWDEMA Downside (Bearish).
3. ATR turns Green (Bearish)
4. VPC background turns Red (Bearish). Now Enter Put Side and enjoy the day.....
Exit Rules - As per your own appitite :)
Settings :
VWDEMA Length - 44
VDEMA Length - 21
ATR Length - 14
ATR Multiplier - 1.5
BB - Ignore (Disable/Hide)
Pivot Calculation Method - Wick
Pivot Left Length (Low/High) - 4
Pivot Right Length (Low/High) - 1
Pivot Lebels - Enable All
Pivot Markers - Disable All
Pivot Values - Disable All
VPC Length - 14
VPC Time Frame - 3 Minutes
Main Chart Time Frame - 5 Minutes
Display Settings - As per your own eye comfort
Note - All/Many parameters used here are customisable and come with a dynamic colour coding(Different colour code for uptrend and downtrend)
Settings shared here are best suited to me in terms of output. You can check for your own the settings which suits you the best.
Good Luck !!
Weekly Regime Filter - Trend + Momentum + Structure (MTF)A multi-timeframe weekly regime indicator that classifies market conditions into BULL , BEAR , or CHOP using three components: trend, momentum, and market structure.
Works on any timeframe while always referencing weekly data — no repainting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
Answers one question: What is the weekly regime?
• Trend — EMA hierarchy (Price > EMA Fast > EMA Slow)
• Momentum — DI+ vs DI- with optional ADX filter
• Structure — Break of Structure (BOS) and Change of Character (CHOCH)
BULL = All three bullish
BEAR = All three bearish
CHOP = Mixed signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ KEY FEATURES
• Multi-Timeframe (MTF) — View on 1H, 4H, Daily; regime stays consistent
• Auto-Detect Asset Type — Automatically applies optimized settings for Crypto, Stocks, Forex, Gold, Silver, Oil, Commodities
• BOS/CHOCH Labels — Visual market structure breaks on chart
• Live Status Panel — Shows regime, components, and active parameters
• Non-Repainting — Uses confirmed weekly closes only
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 ASSET PRESETS
• Crypto — EMA 50/200, ADX Off, Pivot 2
• Stocks/Indices — EMA 50/200, ADX >20, Pivot 3
• Forex — EMA 30/100, ADX >25, Pivot 2
• Gold — EMA 40/150, ADX >20, Pivot 3
• Silver — EMA 40/150, ADX >22, Pivot 3
• Oil — EMA 30/100, ADX >25, Pivot 2
• Commodities — EMA 40/120, ADX >20, Pivot 3
Select "Custom" to use your own values.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
For Swing Trading:
• Set chart to Daily
• Use Auto-Detect or select preset
• Long only when BULL, short only when BEAR
• Reduce size or avoid when CHOP
Structure Signals:
• CHOCH ↑ after bear regime = Early reversal signal
• CHOCH ↓ after bull regime = Tighten stops
• BOS in regime direction = Trend continuation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS
• Regime → BULL
• Regime → BEAR
• CHOCH → Bull
• CHOCH → Bear
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
Preset: Auto-Detect, Crypto, Stocks, Forex, Gold, Silver, Oil, Commodities, Custom
Custom Settings (when Custom selected):
• EMA Fast/Slow lengths
• ADX Length & Threshold
• ADX Filter toggle
• Pivot Left/Right
Display:
• Plot Weekly EMAs
• Show BOS/CHOCH Labels
• Show Regime Background
• Background Opacity
• Show Status Label
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
• Needs ~200 weeks of history for full calculation
• Weekly signals are slower by design — filters noise
• Not a standalone system — combine with entries and risk management
• When using presets, Custom input fields won't visually update (Pine limitation) — status label shows actual values
SB - Print MachineIntraday Trading (Buying Only), Observation - Nifty 50, Trade - Nifty options (ATM)
Rules Call Options (ATM):
1. VWDEMA turns Green (Bullish)
2. VDema turns Green and crossing VWDema upside (Bullish)
3. ATR turns Green (Bullish)
4. VCP background turns Green (Bullish)
Rules Put Options (ATM):
1. VWDEMA turns Red (Bearish)
2. VDema turns Red and crossing VWDema downside (Bearish)
3. ATR turns Red (Bearish)
4. VCP background turns Red (Bearish)
Indicator Settings :
1. VWDEMA Length - 44
2. VDema Length - 21
3. ATR Length - 14
4. ATR Multiplier - 1.5
5. BB - Ignore and Skip (Hide)
6. Pivot Calculation Method - Wick
7. Pivot Left Length (Low/High) - 4
8. Pivot Right Length (Low/High) - 1
9. Pivot Levels - Enable All
10. Pivot Markers - Disable
11. Pivot Values - Disable
12. VPC Length - 14
13. VPC Time Frame - 3 Minutes
14. Main Chart Time Frame - 5 Minutes
Display Settings : As per your eye comfort
Note - All settings are customisable here and most are with dynamic colour code (Different colours for upside and downside movement)
Setting shown here are used by me and deliver good results to me only, you can find out your own settings which suits you the best.
Good Luck !!
SB - Print MachineIntraday Trading @ 5 Minutes TF -Observation @ Nifty 50 Index , Trade on - Nifty options
Rules : Call options (ATM) Entry :
1. VWDEMA is Green (Bullish)
2. Vdema is Green and Crossing VWDema upside (Bullish)
3. ATR Turns Green (Bullish)
4. Vwap Channel Background is Green
Put Options (ATM) Entry :
1. VWDEMA is RED (Bearish)
2. Vdema is Red and Crossing VWDema downside(Bearish)
3. ATR Turns Red (Bearish)
4. Vwap Channel Background is red
Settings :
VWDEMA - 44
VDema - 21
ATR - 14
ATR Multiplier - 1.5
BB - Skip
Pivot Calculation Method - Wick
Left length - 4
Right Length - 1
Pivot Lebels - Enable all
Pivot arkers - Skip All
Pivot Values - Skip All
VPC Length - 14
VPC Time Frame - 3 minutes
Main Chart Time Frame - 5 Minutes
Colour Display Settings : As per you eyes comfort. Parameters have dynamic colour coding (different for uptrend and downtrend, use accordingly)
Parameters here are customisable, Shared here is what I am using and getting good results. Test your settings which suits you best. Good Luck !!
Baekdoo VWAP & High-Volume Node Momentum Breakout (V6)Indicator Name: Baekdoo VWAP & High-Volume Node Momentum Breakout (V6)
Description Summary: This indicator tracks the interaction between the VWAP (Volume Weighted Average Price)—the market's "fair value"—and the High-Volume Node (Resistance) from the past 20 bars. The goal is to identify "True Breakouts" where the average entry price of all participants, not just the spot price, successfully surmounts a major supply zone.
Key Features:
Annual Cumulative VWAP: Uses a yearly-anchored VWAP to filter out daily noise on 1D charts and provide a stable trend baseline.
Volume-Based Resistance: Identifies the high of the candle with the maximum volume over 20 periods as a critical supply wall.
Institutional Volume Filter: Signals are only triggered when volume exceeds 2x the 5-day average, ensuring significant market interest.
Dual Exit Strategy: Incorporates a 1.5 ATR Trailing Stop for partial profit-taking and a 20 SMA crossunder for a full risk-off exit.
---------------
지표 명칭: 백두 VWAP 매물대 모멘텀 돌파 전략 (V6)
설명 요약: 본 지표는 시장의 평균 합의 가격인 **VWAP(Volume Weighted Average Price)**과 최근 20일간 가장 강력한 거래가 발생한 **매물대(High Volume Node)**의 상호작용을 추적합니다. 단순히 가격이 뚫는 것이 아니라, 시장 참여자들의 평균 단가 자체가 저항선을 넘어서는 '진성 돌파'를 포착하는 데 목적이 있습니다.
주요 특징:
연간 누적 VWAP: 일봉 차트에서의 노이즈를 줄이기 위해 연간 단위로 누적된 평균 단가를 사용합니다.
매물대 저항선: 지난 20일 중 최대 거래량이 터진 봉의 고점을 저항선으로 설정하여, 악성 매물이 쏟아질 수 있는 구간을 시각화합니다.
거래량 필터: 5일 평균 거래량 대비 2배 이상의 거래가 실릴 때만 신호를 발생시켜 기관 및 세력의 개입 여부를 확인합니다.
스마트 엑싯: 1.5 ATR 트레일링 스톱을 통한 수익 보존과 20일 이평선 이탈을 통한 리스크 관리를 동시에 수행합니다.
ACHT EMA Cross Pullback Strategy with HTF Filter, RSI SignalsADVANCED INDICATOR FOR TRADING USING EMA CROSS PULLBACK STRATEGY
✨ MAIN FEATURES:
• 📈 Signals on pullback after EMA9/EMA20 crossover
• 🔍 Multi-level signal filtering
• 🕒 Multi-timeframe analysis (HTF filter)
• 🛡️ Trend indicator protection
• 📊 Compact information panel
🎯 MAIN SIGNALS:
1️⃣ EMA CROSS + PULLBACK
• EMA9 crosses EMA20 up/down
• Price pullback to EMA9 after crossover
• EMA200 filter (bullish/bearish trend)
2️⃣ RSI SIGNALS IN HTF ZONES
• RSI crossing its SMA
• Works only in HTF zones
• "First signal only" option in zone
🛡️ INDICATOR FILTERS:
• ✅ SuperTrend - main trend identification
• ✅ MACD - additional trend confirmation
• ✅ RSI - overbought/oversold filter
• ✅ HTF filter - higher timeframe analysis
⚙️ CUSTOMIZATION OPTIONS:
• Adjustable periods for all indicators
• Enable/disable each filter
• RSI level settings
• HTF filter timeframe selection
• Signal visualization options
📱 INFORMATION PANEL:
• Compact table with key metrics
• Status of all filters and indicators
• Visual HTF zone indicators
• Emoji for quick perception
🚨 ALERT SYSTEM:
• Alerts on main signals
• Alerts on HTF zone entry
• Alerts on RSI signals
• Customizable trigger conditions
📈 USAGE RECOMMENDATIONS:
1. Wait for EMA9 and EMA20 crossover
2. Look for price pullback to EMA9
3. Check all filter compliance
4. Ensure HTF zone presence
5. Use RSI signals as supplement
⚠️ RISKS AND LIMITATIONS:
• Indicator doesn't guarantee profit
• Always use stop-losses
• Test strategy on demo account
• Adapt parameters to your trading style
SelfContained Momentum Screener (TT+Momentum+Vol+VCP)This script is a self-contained Pine Screener indicator that does not rely on indexes or external symbols. It uses Minervini’s Trend Template to confirm a strong uptrend structure, then evaluates mid-term momentum (6–12 months) and short-term momentum (about 1 month). Optional volume spikes and volatility contraction (simple VCP) can be toggled on or off. The screener filters for stocks that have risen strongly, maintain recent momentum, and show tight consolidation near highs, making it suitable for efficiently identifying high-quality momentum candidates.
このスクリプトは、指数や外部データを使わず自己完結で動作するPineスクリーナー用インジケーターです。ミネルビニのTrend Templateで上昇トレンドの構造を確認し、中長期モメンタム(6〜12か月)と短期モメンタム(約1か月)で勢いを判定します。必要に応じて出来高スパイクと高値圏でのボラティリティ収縮(VCP簡易)をON/OFFでき、条件を満たした銘柄のみを抽出します。強く上昇してきており、直近も勢いがあり、かつ高値圏で締まっている銘柄を効率的に見つけるためのスクリーナーです。
Minervini TT RS Break (vs TOPIX)his script selects “buyable” stocks using Minervini’s Trend Template and filters for market leaders by relative strength versus TOPIX. A BUY signal appears when all TT conditions are met (price above 50/150/200-day MAs, 50>150>200 alignment, rising 200-day MA, +30% from 52-week low, within 25% of 52-week high) and RS is above the threshold, trending up, and making new highs. While BUY is active, an ENTRY signal is shown only when a pivot breakout (above the prior N-day high) occurs with a volume surge (multiple of average volume) and volatility contraction (lower ATR%). An RS BREAK is flagged when relative strength weakens (below its MA or MA turning down), indicating no-add and exit watch. Use BUY to build a watchlist, act only on ENTRY signals, and stop adding while prioritizing exit decisions when RS BREAK appears.






















