50 SMA 5-Candle Crossover50 SMA 5-Candle Crossover. Testing out. Not for trading but for investing. HOLD
Indicatori e strategie
ajish Dual Awesome Oscillators with Bollinger Bandsthis is one of best oscillator for identify the trend .this oscillator is well working in index. it has upper limit and lower limit and it will helps you for trend continuation ,and trend reversal
BRC High/Low + Retest + Sweep🧭 Overview
The BRC System (Break–Retest–Claim) is a structured breakout-retest strategy that automatically identifies new highs or lows, confirms liquidity sweeps, and highlights high-probability reclaim zones. It supports both long and short setups with adaptive zone shading and full-session awareness.
⚙️ Core Features
✅ Dual-Side Logic: Detects both bullish (Break–Retest–Reclaim) and bearish (Breakdown–Retest–Reclaim) setups.
✅ Liquidity Sweep Mode: Captures false breakouts (sweep-and-reclaim) for advanced liquidity-based trading.
✅ Adaptive Shading:
🟩 Green — Long bias
🟥 Red — Short bias
⬜ Grey — Neutral (weak ADX)
✅ EMA + ADX Trend Filters: Confirms direction using higher-timeframe momentum.
✅ Configurable Profiles: Pre-tuned for Gold day-trades and EUR/USD swings (customizable mode included).
✅ Compact Dashboard: Shows active profile, trend timeframe, ADX, bias direction, and win/loss stats for the last N trades.
✅ Abbreviated Labels (toggle): RL = Retest Long | SL = Sweep Long | RS = Retest Short | SS = Sweep Short.
✅ Dynamic Zones: Automatically updates breakout-retest areas with visual boxes extending forward.
📊 How It Works
Detects a new swing high/low breakout within a chosen lookback range.
Waits for retest of the broken level (or reclaim after liquidity sweep).
Confirms entry when body closes in trend direction + ADX/EMA filters pass.
Tracks outcomes with auto-calculated win % dashboard.
💡 Best Use
Use on Gold (XAUUSD) for intraday scalps or EUR/USD for swing trades.
Works across timeframes — best visual clarity on M15–H4.
Integrate with your risk-reward or alert-triggered execution system.
Volume-Confirmed Reversal Engine [AlgoPoint]Volume-Confirmed Reversal Engine v2.0
Overview
A price pattern alone is not enough to signal a high-probability reversal. True market turning points—moments of capitulation or euphoria—are almost always confirmed by a significant spike in volume.
The Volume-Confirmed Reversal Engine is designed to identify these exact moments. It filters out low-conviction price movements and focuses only on reversal patterns that are backed by meaningful volume activity.
How It Works
The indicator's logic is based on a sequential confirmation process:
- High-Volume Anchor Candle: The engine first scans for an "Anchor Candle"—a candle that makes a new high or low over a user-defined look_back period. Critically, this candle's volume must also be significantly higher than the recent average. Low-volume breakouts are ignored.
- Setup Activation & Visualization: When a valid Anchor Candle is detected, the indicator enters a "setup" phase. It visually marks this on your chart by drawing a Setup Box around the high and low of the Anchor Candle, extending it forward for the duration of the confirm_in window.
- Confirmation & Signal: A final signal is only triggered if the price breaks out of the opposite side of the Setup Box within the confirmation window. This action, combined with the initial volume spike, confirms the reversal.
- Setup Box Visualization: See exactly which candle the indicator is watching and the key price levels (the box boundaries) that need to be broken for a signal.
Signal Strength Score (1-4): Every signal now comes with a score, providing insight into its quality based on four factors:
- The base price pattern is met.
- The initial Anchor Candle had high volume.
- The final Confirmation Candle also had high volume.
- The signal is aligned with the long-term macro trend (e.g., a BUY signal above the 200 EMA).
Status Dashboard: A simple panel on your chart tells you what the indicator is doing in real-time ("Scanning for Setups," "Watching Bullish Setup," etc.) and displays a countdown for how many bars are left for a confirmation.
How to Interpret & Use
- The Box: When a colored box appears, it's an early warning that a reversal setup is active. Watch the boundaries of the box for a potential breakout.
- The Score: Use the score to gauge the quality of a signal. A 3/4 or 4/4 score represents a very high-conviction setup where multiple technical factors are aligned.
- The Dashboard: Use the panel to understand the indicator's current state and the time-sensitivity of an active setup.
- The BUY/SELL Labels: These are the final, actionable triggers, appearing only after the full price and volume confirmation process is complete.
RED RICHI EMA 34&55This indicator displays two exponential moving averages (EMA 34 & EMA 55) to identify mid-term trend direction.
It also marks crossover points with green and red circles for bullish and bearish trend shifts.
Position Size Calculator — classic + ATR% (Ostin V.)Position Size Calculator — classic + ATR% (stable)
A clean and reliable position size calculator for swing and day traders.
Perfect for crypto markets and volatility-based risk management.
📊 Features:
Calculates position size based on risk ($ or %).
Displays risk/reward ratio (RR), stop distance, and position value.
Measures daily volatility (ATR%) to help adjust stop-loss levels.
Includes a tip for optimal stop width: SL ≥ 1.0–1.5 × ATR%.
Minimal and stable design — no chart clutter, no extra lines.
⚙️ How to use:
Set your account balance and risk per trade (%).
Enter your entry, stop loss, and (optional) target price.
Instantly see your position size, RR, and volatility data.
📈 Use ATR% to align your stops with real market volatility and avoid random stop-outs.
Bitcoin Halving Strategy
A systematic, data-driven trading strategy based on Bitcoin's 4-year halving cycles. This strategy capitalizes on historical price patterns that emerge around halving events, providing clear entry and exit signals for both accumulation and profit-taking phases.
🎯 Strategy Overview
This automated trading system identifies optimal buy and sell zones based on the predictable Bitcoin halving cycle that occurs approximately every 4 years. By analyzing historical data from all previous halvings (2012, 2016, 2020, 2024), the strategy pinpoints high-probability trading opportunities.
📊 Key Features
Automated Signal Generation: Buy signals at halving events and DCA zones, sell signals at profit-taking peaks
Multi-Phase Analysis: Tracks Accumulation, Profit Taking, Bear Market, and DCA phases
Visual Dashboard: Real-time performance metrics, phase countdown, and position tracking
Backtesting Enabled: Comprehensive historical performance analysis with configurable parameters
Risk Management: Built-in position sizing, slippage control, and optional short trading
⚙️ Strategy Logic
Buy Signals:
At halving event (Week 0)
DCA zone entry (Week 135 post-halving)
Sell Signals:
Profit-taking zone (Week 80 post-halving)
Optional short position entry for advanced traders
📈 Performance Highlights
Captures major bull run profits while avoiding prolonged bear markets
Clear visual indicators for all phases and transitions
Customizable timing parameters for personalized risk tolerance
Professional dashboard with live P&L, win rate, and drawdown metrics
🛠️ Customization Options
Adjustable phase timing (profit start/end, DCA timing)
Position sizing control
Enable/disable short trading
Visual customization (colors, labels, zones)
Table positioning and transparency
⚠️ Risk Disclosure
Past performance does not guarantee future results. This strategy is based on historical halving cycle patterns and should be used as part of a comprehensive trading plan. Always conduct your own research and consider your risk tolerance before trading.
💡 Ideal For
Long-term Bitcoin investors seeking systematic entry/exit points
Swing traders capitalizing on multi-month trends
Portfolio managers implementing cycle-based allocation strategies
Katana_Fox RSI Pro - Advanced Momentum Indicator with Clear BUOverview:
Connors RSI Pro is a sophisticated enhancement of the classic Connors RSI indicator, designed for traders who demand professional-grade tools. This premium version combines multiple momentum components with intelligent signaling and beautiful visualization to give you an edge in the markets.
Key Features:
🎯 Clear BUY/SELL Signal System
BUY signals in green when CRSI crosses above oversold level
SELL signals in red when CRSI crosses below overbought level
Clean, professional labels that are easy to read
Customizable overbought/oversold levels (70/30 default)
🎨 Professional Visualization
Modern color scheme that adapts to market conditions
Customizable background fills for better readability
Smooth, easy-to-read line plotting
⚡ Enhanced Calculations
Triple-component momentum analysis (RSI, UpDown RSI, Percent Rank)
EMA smoothing for reduced noise and false signals
Configurable lengths for each component
🔔 Advanced Alert System
4 distinct alert conditions for various market scenarios
Compatible with TradingView's native alert system
Perfect for automated trading strategies
Input Parameters:
RSI Length (3): Period for standard RSI calculation
UpDown Length (2): Period for UpDown RSI component
ROC Length (100): Period for Rate of Change percentile ranking
Signal Alerts: Toggle BUY/SELL signals on/off
Custom Colors: Choose between classic and modern color schemes
Trading Signals:
BUY (Green Label): Bullish signal when CRSI crosses above oversold level
SELL (Red Label): Bearish signal when CRSI crosses below overbought level
Background Colors: Visual zones indicating momentum strength
Ideal For:
Swing traders seeking momentum reversals
Day traders looking for overbought/oversold conditions
Algorithmic traders needing reliable signals
Technical analysts wanting multi-timeframe confirmation
How to Use:
Oversold Bounce: Enter long when CRSI shows BUY signal above 30
Overbought Rejection: Enter short when CRSI shows SELL signal below 70
Trend Confirmation: Use the 50-level crossover for trend direction
Divergence Trading: Look for price/indicator divergences at extremes
Upgrade your trading arsenal with Connors RSI Pro - where professional analytics meet clear trading signals!
MA Disparity (乖離率%)このインジケータは、現在の終値と移動平均線(SMAまたはEMA)との**乖離率(かいりりつ)**を%で表示します。
「価格が移動平均線からどれだけ離れているか」を視覚的に把握することで、**過熱感(買われすぎ/売られすぎ)**を判断できます。
設定で期間(例:20日、25日など)を自由に変更可能
SMA/EMAの選択が可能
0%ラインを基準として、プラス側は上方乖離、マイナス側は下方乖離を示します
トレンドの勢い確認、押し目・戻り目の判断にも活用できます
📊 例:
+10%以上 → 短期的な過熱感
-10%以下 → 売られすぎの可能性
---
This indicator displays the disparity ratio (price deviation) between the current close and a moving average (SMA or EMA), expressed in percentage.
It helps visualize how far the price has moved away from its average — a useful signal for identifying overbought or oversold conditions.
Adjustable period (e.g., 20, 25, 50, etc.)
Selectable MA type (SMA or EMA)
0% baseline: positive values = above MA, negative = below MA
Great for spotting trend strength, pullbacks, and reversals
📈 Example:
+10% → potential overbought zone
-10% → potential oversold zone
---
#Kairi #Disparity #MovingAverage #Volume #SMA #EMA #Overbought #Oversold #Japan
Volume Peak (2 before & 2 after) - FixedThe option to detect volume peaks higher than the surrounding bars.
Twisted Forex's Doji + Area StrategyTitle
Twisted Forex’s Doji + Area Strategy
Description
What this strategy does
This strategy looks for doji candles forming inside or near supply/demand areas . Areas are built from swing pivots and sized with ATR, then tracked for retests (“confirmations”). When a doji prints close to an area and quality checks pass, the strategy places a trade with the stop beyond the doji and a configurable R:R target.
How areas (zones) are built
• Swings are detected with a user-set pivot length.
• Each swing spawns a horizontal area centered at the pivot price with half-height = zoneHalfATR × ATR .
• Duplicates are de-duplicated by center distance (ATR-scaled).
• Areas fade when broken beyond a buffer or after an optional age (expiry).
• Retests are recorded when price touches and then bounces away from the area; repeated reactions increase the zone’s “strength”.
Signal logic (summary)
Doji detection: strict or loose body criteria with optional minimum wick fractions and ATR-scaled minimum range.
Proximity: price must be inside/near a supply or demand area (proxATR × ATR).
Side resolution: overlap is resolved by (a) which side price penetrates more, (b) fast/slow EMA trend, or (c) nearest distance. Optional “previous candle flip” can bias long after a bearish candle and short after a bullish one.
Optional 1-bar confirmation: the bar after the doji must close away from the area by confirmATR × ATR .
Quality filter (Off/Soft/Strict): four checks—(i) wick rejection past the edge, (ii) doji closes in an edge “band” of the area, (iii) fresh touch (cooldown), (iv) approach impulse over a short lookback. In Strict , thresholds auto-tighten.
Orders & exits
• Long: stop below doji low minus buffer; Short: above doji high plus buffer.
• Target = rrMultiple × risk distance .
• Pyramiding is off by default.
Position sizing
You can size from the script or from Strategy Properties:
• Script-driven (default): set Position sizing = “Risk % of equity” and choose riskPercent (e.g., 1.0%). The script applies safe floors/rounding (FX micro-lots by default) so quantity never rounds to zero.
• Properties-driven : toggle Use TV Properties → Order size ON, then pick “Percent of equity” in Properties (e.g., 1%). The header includes safe defaults so trades still place.
Key inputs to explore
• Zone building : pivotLen, zoneHalfATR, minDepartureATR, expiryBars, breakATR, leftBars, dedupeATR.
• Doji & proximity : strictDoji, dojiBodyFrac, minWickFrac, minRangeATR, proxATR, minBarsBetween.
• Overlap resolution : usePenetration, useTrend (EMA 21/55), “previous candle flip”, needNextBarConf & confirmATR.
• Quality : qualityMode (Off/Soft/Strict), minQualPass/kStrict, wickPenATR, edgeBandFrac, approachLookback, approachMinATR, freshTouchBars.
• Zone strength gating : minStrengthSoft / minStrengthStrict.
• HTF confluence (optional) : useHTFTrend (HTF EMA 34/89) and/or useHTFZoneProx (HTF swing bands).
Tips to make it cleaner / higher quality
• Turn needNextBarConf ON and use confirmATR = 0.10–0.15 .
• Increase approachMinATR (e.g., 0.35–0.45) to require a stronger pre-touch impulse.
• Raise minStrengthSoft/Strict (e.g., 4–6) so only well-reacted zones can signal.
• Use signalsOnlyConfirmed ON if you prefer trades only from zones with retests (the script falls back gracefully when none exist yet).
• Nudge proxATR to 0.5–0.6 to demand tighter proximity to the level.
• Optional: enable useHTFTrend to filter counter-trend setups.
Default settings used in this publication
• Initial capital: 100,000 (illustrative).
• Slippage: 1 tick; Commission: 0% (you can raise commission if you prefer—spread is partly modeled by slippage).
• Sizing: Risk % of equity via inputs; riskPercent = 1.0% ; FX uses micro-lot floors by default.
• Quality: Off by default (Soft/Strict available).
• HTF trend gate: Off by default.
Backtesting notes
For a meaningful sample size, test on liquid symbols/timeframes that yield 100+ trades (e.g., majors on 5–15m over 1–2 years). Backtests are modelled and broker costs/spread vary—validate on your feed and forward-test.
How to read the chart
Shaded bands are supply (above) and demand (below). Brighter bands are the nearest K per side (visual aid). BUY/SELL labels mark entries; colored dots show entry/SL/TP levels. You can hide zones or unconfirmed zones for a cleaner view.
Disclaimer
This is educational material, not financial advice. Trading involves risk. Always test and size responsibly.
Trend CandlesThis shows candlesticks that only follow the trend. So it will make it easier to know where the trend is going.
K线计数竖线 - 贯穿屏幕Used to mark the past N k-lines to facilitate understanding of the running direction of the moving average
Ngo Gia Minh Quy 30Indicator xin vai ca lon a. Dung indicator nay trade thua nua thi nghi me no di. hahahahaha
Daily High/Low/Mid (Prev Day Extended Split)Very usefull indicator to understand yesterday"s high low middle and next day"s high low middle in every chart, even in renko chart. try it...
Trend Direction Indicator//This indicator simply tells the trend direction and created for listing achieves which simplifies the shares those have an UP direction.
Ngo Gia Minh Quy 50Indicator xin vai ca lon a. Dung indicator nay trade thua nua thi nghi me no di. hahahahaha
No Supply (Low-Volume Down Bars) — IdoThis indicator flags classic Wyckoff/VSA “No Supply (NS)” events—down bars that print on unusually low volume, suggesting a lack of sellers rather than strong selling pressure. NS often appears near support, LPS, or within re-accumulation ranges as a test before continuation higher.
Signal definition (configurable):
Down bar: choose Close < PrevClose or Close < Open.
Low volume: Volume < SMA(Volume, len) × threshold (e.g., 0.7).
Optional volume lower than the prior two bars (reduces noise).
Optional narrow spread: range (H–L) below its average.
Optional close position: close in the upper half of the bar.
Optional trend filter: only mark NS above or below an EMA (or any).
Optional wide-bar exclusion: skip unusually wide bars.
Visuals & outputs
Blue dot below each NS bar (optional bar tint).
Separate pane showing Relative Volume (vol / volSMA) to gauge effort.
Built-in alertcondition to trigger notifications when NS prints.
Inputs (high level)
lenVol: Volume SMA length.
ratioVol: Volume threshold vs. average (e.g., 0.7 = 70%).
usePrev2: Require volume below each of the prior two bars.
useNarrow + lenRange + ratioRange: Narrow-bar filter.
useClosePos + minClosePos: Close in upper portion of the bar.
downBarMode: Define “down bar” logic.
trendFiltOn, trendLen, trendSide: EMA trend filter.
useWideFilter, lenRangeWide, wideThreshold: Skip wide bars.
How to use (Wyckoff/VSA context)
Treat NS as a test of supply: price dips, but volume is light and close holds up.
Stronger when it prints near support/LPS within a re-accumulation structure.
Confirmation (recommended): within 1–3 bars, see demand—e.g., break above the NS high with expanding volume (above average or above the prior two bars). Many traders place a buy-stop just above the NS high; common stops are below the NS low or the most recent swing low.
Scanning tip
TradingView’s stock screener can’t consume Pine directly.
Use a Watchlist Custom Column that reports “bars since NS” to sort symbols (0 = NS on the latest bar). A companion column script is provided separately.
Notes & limitations
Works on any timeframe (intraday/daily/weekly), but context matters.
Expect false positives around news, gaps, or illiquid symbols—combine with structure (trend, S/R, phases) and risk management.
© moshel — Educational use only; not financial advice.
Euro Area vs US10YThe Euro Area GDP-Weighted Yield vs US10Y Spread is a macroeconomic indicator designed for forex traders and institutional investors who want to monitor the fundamental interest rate differential between the Eurozone and the United States. This tool aggregates sovereign bond yields from the major Eurozone member states using a weighted methodology based on outstanding government debt, providing a comprehensive view of the Euro Area’s fixed income market dynamics.
This indicator calculates a composite 10-year government bond yield for the Eurozone by combining data from seven major member countries: Germany, France, Italy, Spain, Netherlands, Belgium, and Austria. The weights are based on the proportion of government debt outstanding in each country, reflecting the actual composition of the European sovereign bond market rather than just GDP size.
The indicator then compares this Euro Area weighted yield against the US 10-Year Treasury yield (US10Y), producing a yield spread that serves as a powerful leading indicator for EUR/USD price movements.
FirstStrike Long 200 - Daily Trend Rider [KedArc Quant]Strategy Description
FirstStrike Long 200 is a disciplined, long-only momentum strategy designed for daily "strike-first" entries in trending markets. It scans for RSI momentum above a customizable trigger (default 50), confirmed by EMA trend filters, and limits you to *exactly one trade per day* to avoid overtrading. It uses ATR for dynamic risk management (1.5x stop, 2:1 RR target) and optional trailing stops to ride winners. Backtested with realistic commissions and sizing, it prioritizes low drawdowns (<1% max in tests) over aggressive gains—ideal for swing traders seeking quality setups in bull runs.
Why It's Different from Other Strategies
Unlike generic RSI crossover bots or EMA ribbon mashups that spam signals and bleed in chop, FirstStrike enforces a "one-and-done" daily gate, blending precision momentum (RSI modes with grace/sustain) with robust filters (volume, sessions, rearm dips).
How It Helps Traders
- Reduces Emotional Trading: One entry/day forces discipline—miss a setup? Wait for tomorrow. Perfect for busy pros avoiding screen fatigue.
- Adapts to Regimes: Switch modes for trends ("Cross+Grace") vs. ranges ("Any bar")—boosts win rates 5-10% in backtests on high-beta names like .
- Risk-First Design: ATR scales stops to vol capping DD at 0.2% while targeting 2R winners. Trailing option locks +3-5% runs without early exits.
- Quick Insights: Labels/alerts flag entries with RSI values; bgcolor highlights signals for visual scanning. Helps spot "first-strike" edges in uptrends, filtering ~60% noise.
Why This Is Not a Mashup
This isn't a Frankenstein of off-the-shelf indicators—while it uses standard RSI/EMA/ATR (core Pine primitives), the innovation lies in:
- Custom Trigger Engine: Switchable modes (e.g., "Cross+Grace+Sustain" requires post-cross hold) prevent perpetual signals, unlike basic `ta.crossover()`.
- Daily Rearm Gate: Resets eligibility only after a dip (if enabled), tying momentum to mean-reversion—original logic not found in common scripts.
- Per-Day Isolation: `var` vars + `ta.change(time("D"))` ensure zero pyramiding/overlaps, beyond simple session filters.
All formulae are derived in-house for "first-strike" (early RSI pops in trends), not copied from public repos.
Input Configurations
Let's break down every input in the FirstStrike Long 200 strategy. These settings let you tweak the strategy like a dashboard—start with defaults for quick testing,
then adjust based on your asset or timeframe (5m for intraday). They're grouped logically to keep things organized, and most have tooltips in the script for quick reminders.
RSI / Trigger Group: The Heart of Momentum Detection
This is where the magic starts—the strategy hunts for "upward energy" using RSI (Relative Strength Index), a tool that measures if a stock is overbought (too hot) or oversold (too cold) on a 0-100 scale.
- RSI Length: How many bars (candles) back to calculate RSI. Default is 14, like a 14-day window for daily charts. Shorter (e.g., 9) makes it snappier for fast markets; longer (21) smooths out noise but misses quick turns.
- Trigger Level (RSI >= this): The key RSI value where the strategy says, "Go time!" Default 50 means enter when RSI crosses or holds above the neutral midline. Why is this trigger required? It acts as your "green light" filter—without it, you'd enter on every tiny price wiggle, leading to endless losers. RSI above this shows building buyer power, avoiding weak or sideways moves. It's essential for quality over quantity, especially in one-trade-per-day setups.
- Trigger Mode: Picks how strict the RSI signal must be. Options: "Cross only" (exact RSI crossover above trigger—super precise, fewer trades); "Cross+Grace" (crossover or within a grace window after—gives a second chance); "Cross+Grace+Sustain" (crossover/grace plus RSI holding steady for bars—best for steady climbs); "Any bar >= trigger" (looser, any bar above—more opportunities but riskier in chop). Start with "Any bar" for trends, switch to "Cross only" for caution.
- Grace Window (bars after cross): If mode allows, how many bars post-RSI-cross you can still enter if RSI dips but recovers. Default 30 (about 2.5 hours on 5m). Zero means no wiggle room—pure precision.
- Sustain Bars (RSI >= trigger): In sustain mode, how many straight bars RSI must stay above trigger. Default 3 ensures it's not a fluke spike.
- Require RSI Dip Below Rearm Before Any Entry?: A yes/no toggle. If on, the strategy "rearms" only after RSI dips below a low level (like a breather), preventing back-to-back signals in overextended rallies.
- Rearm Level (if requireDip=true): The dip threshold for rearming. Default 45—RSI must go below this to reset eligibility. Lower (30) for deeper pullbacks in volatile stocks.
For the trigger level itself, presets matter a lot—default 50 is neutral and versatile for broad trends. Bump to 55-60 for "strong momentum only" (fewer but higher-win trades, great in bull runs like tech surges); drop to 40-45 for "early bird" catches in recoveries (more signals but watch for fakes in ranges). The optimize hint (40-60) lets you test these in TradingView to match your risk—higher presets cut noise by 20-30% in backtests.
Trend / Filters Group: Keeping You on the Right Side of the Market
These EMAs (Exponential Moving Averages) act like guardrails, ensuring you only long in uptrends.
- EMA (Fast) Confirmation: Short-term EMA for price action. Default 20 periods—price must be above this for "recent strength." Shorter (10) reacts faster to intraday pops.
- EMA (Trend Filter): Long-term EMA for big-picture trend. Default 200 (classic "above the 200-day" rule)—price above it confirms bull market. Minimum 50 to avoid over-smoothing.
Optional Hour Window Group: Timing Your Strikes
Avoid bad hours like lunch lulls or after-hours tricks.
- Restrict by Session?: Yes/no for using exact market hours. Default off.
- Session (e.g., 0930-1600 for NYSE): Time string like "0930-1600" for open to close. Auto-skips pre/post-market noise.
- Restrict by Hour Range?: Fallback yes/no for simple hours. Default off.
- Start Hour / End Hour: Clock times (0-23). Defaults 9-15 ET—focus on peak volume.
Volume Filter Group: No Volume, No Party
Confirms conviction—big moves need big participation.
- Require Volume > SMA?: Yes/no toggle. Default off—only fires on above-average volume.
- Volume SMA Length: Periods for the average. Default 20—compares current bar to recent norm.
Risk / Exits Group: Protecting and Profiting Smartly
Dynamic stops based on volatility (ATR = Average True Range) keep things realistic.
- ATR Length: Bars for ATR calc. Default 14—measures recent "wiggle room" in price.
- ATR Stop Multiplier: How far below entry for stop-loss. Default 1.5x ATR—gives breathing space without huge risk
- Take-Profit R Multiple: Reward target as multiple of risk. Default 2.0 (2:1 ratio)—aims for twice your stop distance.
- Use Trailing Stop?: Yes/no for profit-locking trail. Default off—activates after entry.
- Trailing ATR Multiplier: Trail distance. Default 2.0x ATR—looser than initial stop to let winners run.
These inputs make the strategy plug-and-play: Defaults work out-of-box for trending stocks, but tweak RSI trigger/modes first for your style.
Always backtest changes—small shifts can flip a 40% win rate to 50%+!
Outputs (Visuals & Alerts):
- Plots: Blue EMA200 (trend line), Orange EMA20 (price filter), Green dashed entry price.
- Labels: Green "LONG" arrow with RSI value on entries.
- Background: Light green highlight on signal bars.
- Alerts: "FirstStrike Long Entry" fires on conditions (integrates with TradingView notifications).
Entry-Exit Logic
Entry (Long Only, One Per Day):
1. Daily Reset: New day clears trade gate and (if required) rearm status.
2. Filters Pass: Time/session OK + Close > EMA200 (trend) + Close > EMA20 (price) + Volume > SMA (if enabled) + Rearmed (dip below rearm if toggled).
3. Trigger Fires: RSI >= trigger via selected mode (e.g., crossover + grace window).
4. Execute: Enter long at close; set daily flag to block repeats.
Exit:
- Stop-Loss: Entry - (ATR * 1.5) – dynamic, vol-scaled.
- Take-Profit: Entry + (Risk * 2.0) – fixed RR.
- Trailing (Optional): Activates post-entry; trails at Close - (ATR * 2.0), updating on each bar for trend extension.
No shorts or hedging—pure long bias.
Formulae Used
- RSI: `ta.rsi(close, rsiLen)` – Standard 14-period momentum oscillator (0-100).
- EMAs: `ta.ema(close, len)` – Exponential moving averages for trend/price filters.
- ATR: `ta.atr(atrLen)` – True range average for stop sizing: Stop = Entry - (ATR * mult).
- Volume SMA: `ta.sma(volume, volLen)` – Simple average for relative strength filter.
- Grace Window: `bar_index - lastCrossBarIndex <= graceBars` – Counts bars since RSI crossover.
- Sustain: `ta.barssince(rsi < trigger) >= sustainBars` – Consecutive bars above threshold.
- Session Check: `time(timeframe.period, sessionStr) != 0` – TradingView's built-in session validator.
- Risk Distance: `riskPS = entry - stop; TP = entry + (riskPS * RR)` – Asymmetric reward calc.
FAQ
Q: Why only one trade/day?
A: Prevents revenge trading in volatile sessions . Backtests show it cuts losers by 20-30% vs. multi-entry bots.
Q: Does it work on all assets/timeframes?
A: Best for trending stocks/indices on 5m-1H. Test on crypto/forex with wider ATR mult (2.0+).
Q: How to optimize?
A: Use TradingView's optimizer on RSI trigger (40-60) and EMA fast (10-30). Aim for PF >1.0 over 1Y data.
Q: Alerts don't fire—why?
A: Ensure `alertcondition` is enabled in script settings. Test with "Any alert() function calls only."
Q: Trailing stop too loose?
A: Tune `trailMult` to 1.5 for tighter; it activates alongside fixed TP/SL for hybrid protection.
Glossary
- Grace Window: Post-RSI-cross period (bars) where entry still allowed if RSI holds trigger.
- Rearm Dip: Optional pullback below a low RSI level (e.g., 45) to "reset" eligibility after signals.
- Profit Factor (PF): Gross profit / gross loss—>1.0 means winners outweigh losers.
- R Multiple: Risk units (e.g., 2R = 2x stop distance as target).
- Sustain Bars: Consecutive bars RSI stays >= trigger for mode confirmation.
Recommendations
- Backtest First: Run on your symbols (/) over 6-12M; tweak RSI to 55 for +5% win rate.
- Live Use: Start paper trading with `useSession=true` and `useVol=true` to filter noise.
- Pairs Well With: Higher TF (daily) for bias; add ADX (>25) filter for strong trends (code snippet in prior chats).
- Risk Note: 10% sizing suits $100k+ accounts; scale down for smaller. Not financial advice—past performance ≠ future.
- Publish Tip: Add tags like "momentum," "RSI," "long-only" on TradingView for visibility.
Strategy Properties & Backtesting Setup
FirstStrike Long 200 is configured with conservative, realistic backtesting parameters to ensure reliable performance simulations. These settings prioritize capital preservation and transparency, making it suitable for both novice and experienced traders testing on stocks.
Initial Capital
$100,000 Standard starting equity for portfolio-level testing; scales well for retail accounts. Adjust lower (e.g., $10k) for smaller simulations.
Base Currency
Default (USD) Aligns with most US equities (e.g., NASDAQ symbols); auto-converts for other assets.
Order Size
1 (Quantity) Fixed share contracts for simplicity—e.g., buys 1 share per trade. For % of equity, switch to "Percent of Equity" in strategy code.
Pyramiding
0 Orders No additional entries on open positions; enforces strict one-trade-per-day discipline to avoid overexposure.
Commission
0.1% Realistic broker fee (e.g., Interactive Brokers tier); factors in round-trip costs without over-penalizing winners.
Verify Price for Limit Orders
0 Ticks No slippage delay on TPs—assumes ideal fills for historical accuracy.
Slippage
0 Ticks Zero assumed slippage for clean backtests; real-world trading may add 1-2 ticks on volatile opens.
These defaults yield low drawdowns (<0.3% max in tests) while capturing trend edges. For live trading, enable slippage (1-3 ticks) to mimic execution gaps. Always forward-test before deploying!
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
Multi-Timeframe MA - TCMasterThis indicator displays up to four moving averages from different timeframes on a single chart.
It’s designed for traders who want to track higher-timeframe trends while analyzing price action on lower timeframes — a key technique in multi-timeframe confluence trading.
You can freely customize the type, length, timeframe, and color for each moving average line.
⚙️ Features
4 configurable Moving Averages (each with its own type, length, and timeframe).
Supported types:
SMA, EMA, WMA, RMA, HMA, VWMA, DEMA, TEMA.
Real-time values are fetched from higher timeframes using request.security() (no repaint).
Individual visibility toggle and line width for each MA.
Dynamic info label shows current distance between price and each MA.
Built with Pine Script v6, ensuring optimal performance and flexibility.
📊 Typical Use Cases
Identify trend direction across multiple timeframes.
Confirm entries/exits using higher timeframe trend alignment.
Spot potential reversal or continuation zones when short-term price interacts with long-term MAs.
Build confluence setups for swing, scalp, or intraday strategies.
🧠 Example Setup
MA Type Length Timeframe Purpose
MA #1 SMA 200 1m Micro trend
MA #2 EMA 200 5m Short-term trend
MA #3 EMA 200 15m Medium trend
MA #4 SMA 200 30m Macro trend
🔔 Tips
Combine with oscillators (e.g., RSI, Stoch, MACD) for stronger confluence.
Use color coding to distinguish short vs long timeframe trends.
Consider adding alerts when price crosses any MA (can be extended easily in code).
⚠️ Notes
All higher-timeframe data is handled safely using lookahead=barmerge.lookahead_off to prevent repainting.
Label updates only on the latest bar for efficiency.
VWMA, DEMA, TEMA, and HMA are computed via internal formulas for compatibility with Pine Script v6.
🏁 Summary
Multi-Timeframe MA is a powerful tool for traders who want to merge the clarity of moving averages with the precision of multi-timeframe analysis.
It helps you see the bigger picture without switching charts — perfect for intraday, swing, and trend-following strategies.
Multi-Timeframe MA - TCMaster🧩 Overview
This indicator displays up to four moving averages from different timeframes on a single chart.
It’s designed for traders who want to track higher-timeframe trends while analyzing price action on lower timeframes — a key technique in multi-timeframe confluence trading.
You can freely customize the type, length, timeframe, and color for each moving average line.
⚙️ Features
4 configurable Moving Averages (each with its own type, length, and timeframe).
Supported types:
SMA, EMA, WMA, RMA, HMA, VWMA, DEMA, TEMA.
Real-time values are fetched from higher timeframes using request.security() (no repaint).
Individual visibility toggle and line width for each MA.
Dynamic info label shows current distance between price and each MA.
Built with Pine Script v6, ensuring optimal performance and flexibility.
📊 Typical Use Cases
Identify trend direction across multiple timeframes.
Confirm entries/exits using higher timeframe trend alignment.
Spot potential reversal or continuation zones when short-term price interacts with long-term MAs.
Build confluence setups for swing, scalp, or intraday strategies.
🧠 Example Setup
MA Type Length Timeframe Purpose
MA #1 SMA 200 1m Micro trend
MA #2 EMA 200 5m Short-term trend
MA #3 EMA 200 15m Medium trend
MA #4 SMA 200 30m Macro trend
🔔 Tips
Combine with oscillators (e.g., RSI, Stoch, MACD) for stronger confluence.
Use color coding to distinguish short vs long timeframe trends.
Consider adding alerts when price crosses any MA (can be extended easily in code).
⚠️ Notes
All higher-timeframe data is handled safely using lookahead=barmerge.lookahead_off to prevent repainting.
Label updates only on the latest bar for efficiency.
VWMA, DEMA, TEMA, and HMA are computed via internal formulas for compatibility with Pine Script v6.
🏁 Summary
Multi-Timeframe MA is a powerful tool for traders who want to merge the clarity of moving averages with the precision of multi-timeframe analysis.
It helps you see the bigger picture without switching charts — perfect for intraday, swing, and trend-following strategies.