Breadth-Driven Swing StrategyWhat it does
This script trades the S&P 500 purely on market breadth extremes:
• Data source : INDEX:S5TH = % of S&P 500 stocks above their own 200-day SMA (range 0–100).
• Buy when breadth is washed-out.
• Sell when breadth is overheated.
It is long-only by design; shorting and ATR trailing stops have been removed to keep the logic minimal and transparent.
⸻
Signals in plain English
1. Long entry
A. A 200-EMA trough in breadth is printed and the trough value is ≤ 40 %.
or
B. A 5-EMA trough appears, its prominence passes the user threshold, and the lowest breadth reading in the last 20 bars is ≤ 20 %.
(Toggle this secondary trigger on/off with “ Enter also on 5-EMA trough ”.)
2. Exit (close long)
First 200-EMA peak whose breadth value is ≥ 70 %.
3. Risk control
A fixed stop-loss (% of entry price, default 8 %) is attached to every long trade.
⸻
Key parameters (defaults shown)
• Long EMA length 200 • Short EMA length 5
• Peak prominence 0.5 pct-pts • Trough prominence 3 pct-pts
• Peak level 70 % • Trough level 40 % • 5-EMA trough level 20 %
• Fixed stop-loss 8 %
• “Enter also on 5-EMA trough” = true (allows additional entries on extreme momentum reversals)
Feel free to tighten or relax any of these thresholds to match your risk profile or account for different market regimes.
⸻
How to use it
1. Load the script on a daily SPX / SPY chart.
(The price chart drives order execution; the breadth series is pulled internally and does not need to be on the chart.)
2. Verify the breadth feed.
INDEX:S5TH is updated after each session; your broker must provide it.
3. Back-test across several cycles.
Two decades of daily data is recommended to see how the rules behave in bear markets, range markets, and bull trends.
4. Adjust position sizing in the Properties tab.
The default is “100 % of equity”; change it if you prefer smaller allocations or pyramiding caps.
⸻
Why it can help
• Breadth signals often lead price, allowing entries before index-level momentum turns.
• Simple, rule-based exits prevent “waiting for confirmation” paralysis.
• Only one input series—easy to audit, no black-box math.
Trade-offs
• Relies on a single breadth metric; other internals (advance/decline, equal-weight returns, etc.) are ignored.
• May sit in cash during shallow pullbacks that never push breadth ≤ 40 %.
• Signals arrive at the end of the session (breadth is EoD data).
⸻
Disclaimer
This script is provided for educational purposes only and is not financial advice. Markets are risky; test thoroughly and use your own judgment before trading real money.
ストラテジー概要
本スクリプトは S&P500 のマーケットブレッド(内部需給) だけを手がかりに、指数をスイングトレードします。
• ブレッドデータ : INDEX:S5TH
(S&P500 採用銘柄のうち、それぞれの 200 日移動平均線を上回っている銘柄比率。0–100 %)
• 買い : ブレッドが極端に売られたタイミング。
• 売り : ブレッドが過熱状態に達したタイミング。
余計な機能を削り、ロングオンリー & 固定ストップ のシンプル設計にしています。
⸻
シグナルの流れ
1. ロングエントリー
• 条件 A : 200-EMA がトラフを付け、その値が 40 % 以下
• 条件 B : 5-EMA がトラフを付け、
・プロミネンス条件を満たし
・直近 20 本のブレッドス最小値が 20 % 以下
• B 条件は「5-EMA トラフでもエントリー」を ON にすると有効
2. ロング決済
最初に出現した 200-EMA ピーク で、かつ値が 70 % 以上 のバーで手仕舞い。
3. リスク管理
各トレードに 固定ストップ(初期価格から 8 %)を設定。
⸻
主なパラメータ(デフォルト値)
• 長期 EMA 長さ : 200 • 短期 EMA 長さ : 5
• ピーク判定プロミネンス : 0.5 %pt • トラフ判定プロミネンス : 3 %pt
• ピーク水準 : 70 % • トラフ水準 : 40 % • 5-EMA トラフ水準 : 20 %
• 固定ストップ : 8 %
• 「5-EMA トラフでもエントリー」 : ON
相場環境やリスク許容度に合わせて閾値を調整してください。
⸻
使い方
1. 日足の SPX / SPY チャート にスクリプトを適用。
2. ブレッドデータの供給 (INDEX:S5TH) がブローカーで利用可能か確認。
3. 20 年以上の期間でバックテスト し、強気相場・弱気相場・レンジ局面での挙動を確認。
4. 資金配分 は プロパティ → 戦略実行 で調整可能(初期値は「資金の 100 %」)。
⸻
強み
• ブレッドは 価格より先行 することが多く、天底を早期に捉えやすい。
• ルールベースの出口で「もう少し待とう」と迷わずに済む。
• 入力 series は 1 本のみ、ブラックボックス要素なし。
注意点・弱み
• 単一指標に依存。他の内部需給(A/D ライン等)は考慮しない。
• 40 % を割らない浅い押し目では機会損失が起こる。
• ブレッドは終値ベースの更新。ザラ場中の変化は捉えられない。
⸻
免責事項
本スクリプトは 学習目的 で提供しています。投資助言ではありません。
実取引の前に必ず自己責任で十分な検証とリスク管理を行ってください。
Indicadores de Banda
Stratégie de Renversement avec VWAP, EMA et MACDstrategie qui fonctionne tres bien en 5 min le meilleur time frame pour set strategie pour le btc
趋势交易+大周期确认 1.6Entertainment, jiacang and fixed take profit have not been written yet, so don't use them. Cryptographic currency and XAUUSD, us index and other effects are ok.
Cryptographic currency is recommended to be more than 5m, XAUUSD and American Index are recommended to be 1m, and the frame is a little bigger.
PS:There is no redrawing and falsification, and all transactions are only carried out after the K-line is closed.
Welcome to communicate with me.
!!!
Supply & Demand Zones + Order Block (Pro Fusion) - Auto Order Strategy Title:
Smart Supply & Demand Zones + Order Block Auto Strategy with ScalpPro (Buy-Focused)
📄 Strategy Description:
This strategy combines the power of Supply & Demand Zone analysis, Order Block detection, and an enhanced Scalp Pro momentum filter, specifically designed for automated decision-making based on high-volume breakouts.
✅ Key Features:
Auto Entry (Buy Only) Based on Breakouts
Automatically enters a Buy position when the price breaks out of a valid demand zone, confirmed by EMA 50 trend and volume spike.
Order Block Logic
Identifies bullish and bearish order blocks using consecutive candle structures and significant price movement.
Dynamic Stop Loss & Trailing Stop
Implements a trailing stop once price moves in profit, along with static initial stop loss for risk management.
Clear Visual Labels & Alerts
Displays BUY/SELL, Demand/Supply, and Order Block labels directly on the chart. Alerts trigger on valid breakout signals.
Scalp Pro Momentum Filter (Optimized)
Uses a modified MACD-style momentum indicator to confirm trend strength and filter out weak signals.
超级趋势跟踪V2A dynamic trend-following strategy for TradingView (Pine Script v6) that uses a custom trend indicator and SuperTrend to generate buy/sell signals. It adapts to any timeframe, supports pyramiding (up to 10 positions), and allocates 10% of equity per trade. Ideal for trending markets like forex, stocks, or crypto, it excels in capturing sustained price movements. Customize the SuperTrend multiplier and period to fit your trading style. Best for intraday or swing trading, but test thoroughly to avoid false signals in choppy markets.
Note: For educational use only. Backtest and validate before live trading.
Ichimoku Chikou Breakout Strategy v2The Zerep indicator, which identifies compression and breakout zones based on the behavior of the lagging span within an Ichimoku framework.
Nirvana Mode PRO v2 - FULL AUTONİRVANAPROV2 INDİKATOR H4RSI_TRENDBOT
emaFast = ta.ema(close, 8)
emaSlow = ta.ema(close, 21)
rsi = ta.rsi(close, 14)
= ta.supertrend(2.0, 10)
volAvg = ta.sma(volume, 10)
volSpike = volume > volAvg * 1.5
Nirvana Mode PRO v2//@version=5
strategy("Nirvana Mode PRO v2", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100, calc_on_every_tick=true)
// === İndikator ===
emaFast = ta.ema(close, 8)
emaSlow = ta.ema(close, 21)
rsi = ta.rsi(close, 14)
= ta.supertrend(2.0, 10)
volAvg = ta.sma(volume, 10)
volSpike = volume > volAvg * 1.5
DDDDD: BB Reversal HunterDDDDD: BB Reversal Hunter — Strategy Overview & How to Use
📊 Overview:
The BB Reversal Hunter strategy is built to capture strong reversal setups using Bollinger Bands, ATR filtering, and a custom SSL-based exit method. It is especially effective in high-volatility environments.
✅ Recommended Usage:
This strategy performs better on the Long side — backtesting results show a higher win rate for long positions. To maximize performance, proper Money Management is essential. Combine this strategy with RSI and SMI indicators for enhanced confirmation and better trade timing.
💡 How to Use:
Use on trending or volatile symbols (e.g., crypto, indices, major FX pairs).
Enable only Long trades (you can disable Shorts in settings if desired).
Wait for a Buy Signal (green label below candle):
Triggered when price crosses up through the SSL line or touches the lower Bollinger Band.
Entry occurs only if ATR filter confirms strong volatility.
Stop Loss and Take Profit are dynamically set based on ATR (Risk:Reward = 1:2).
For best results, confirm entries using:
RSI: Look for values below 40 or bullish divergence.
SMI: Favor entries when momentum begins to reverse upward.
Practice good Money Management:
Risk only a small % of equity per trade (e.g., 1–2%)
Avoid trading during ranging/sideways market sessions
⚠️ Note: This is a swing-style strategy — it works best on higher timeframes such as 1H, 4H, or Daily.
BTC 雙MACD 背離策略(基礎共振 / 適用15分鐘 / 多空自動)📌 Strategy Name: BTC Dual MACD Divergence Strategy (15min, Auto Long & Short)
🔍 Overview:
This strategy uses a dual MACD divergence signal (fast and slow MACD) combined with a proximity filter to the 28-period Simple Moving Average (SMA28) to detect potential trend reversals with stronger confirmation.
🧠 Entry Conditions:
Bullish or Bearish divergence detected on both fast and slow MACD.
Price must be within ±1.5% of the SMA28 (proximity condition).
Long and short entries are allowed automatically.
🎯 Exit Conditions:
Fixed Risk-to-Reward ratio of 1:1.5.
Take Profit: +1.5% from entry price.
Stop Loss: -1.0% from entry price.
⏱ Timeframe:
Optimized for 15-minute charts.
Can be integrated with auto-trading bots via alerts/webhooks.
⚠️ Notes:
This strategy is designed for technical validation and automation testing.
Please backtest thoroughly and use proper risk management before applying in live trading.
Ideal for pairing with platforms like WunderTrading, 3Commas, or other webhook-based bot systems.
AJ strategyA precision-based trading strategy that combines Fibonacci retracement zones with fair value gap entries. Designed for the 15-minute timeframe, it includes automatic trade execution with stop loss, take profit, and built-in risk filtering. Ideal for traders seeking smart money-style setups with visual trade markers.
Nirvana Mode PRONirvana Mode PRO is a fully automated swing trading strategy designed for BTCUSDT on 15-minute charts.
It combines EMA crossover, RSI filtering, Supertrend confirmation, and volume spike detection to generate high-probability entries.
Includes automatic exit conditions and webhook-compatible signal messages for integration with WunderTrading.
Optimized for low-risk, consistent profit with trailing stop, breakeven, and dynamic SL/TP settings.
Nirvana Mode PRONirvana Mode PRO is an advanced automated swing trading strategy designed for BTCUSDT on 15-minute charts. It uses a multi-indicator system including EMA crossover (8 & 21), RSI confirmation (thresholds: 55/45), Supertrend direction filter, and a dynamic volume spike condition to identify high-conviction entries.
Features:
– EMA (8/21) trend logic
– RSI momentum filter
– Supertrend confirmation
– Volume spike validation
– Full signal automation for integration with WunderTrading bots
– Supports Webhook alerts and 100% hands-free execution on Bitget USDT-M Futures
This strategy is optimized for stable low-risk performance with Swing Trade logic and custom alert messaging. Perfect for traders seeking consistent entries without manual intervention.
Nirvana Mode PRONirvana Mode PRO is an advanced automated swing trading strategy designed for BTCUSDT on 15-minute charts. It uses a multi-indicator system including EMA crossover (8 & 21), RSI confirmation (thresholds: 55/45), Supertrend direction filter, and a dynamic volume spike condition to identify high-conviction entries.
Features:
– EMA (8/21) trend logic
– RSI momentum filter
– Supertrend confirmation
– Volume spike validation
– Full signal automation for integration with WunderTrading bots
– Supports Webhook alerts and 100% hands-free execution on Bitget USDT-M Futures
This strategy is optimized for stable low-risk performance with Swing Trade logic and custom alert messaging. Perfect for traders seeking consistent entries without manual intervention.
Nirvana Mode PRONirvana Mode PRO is a precision-built automated trading strategy designed for low-risk, high-efficiency trades on BTCUSDT.
It combines:
- EMA crossover (8/21)
- RSI filters
- Supertrend confirmation
- Volume spike detection
Perfectly optimized for 15-minute charts and full integration with automated platforms like WunderTrading.
Signals:
- Long Entry: "ENTER-LONG_NIRVANA_PRO"
- Short Entry: "ENTER-SHORT_NIRVANA_PRO"
- Exit All: "EXIT-ALL_NIRVANA_PRO"
Suitable for both manual and bot-driven strategies.
Nirvana Mode PRONirvana Mode PRO v1.0 is a fully automated TradingView strategy designed for BTCUSDT on the 15-minute chart. It combines EMA crossover, RSI filtering, Supertrend direction, and volume spike confirmation to provide high-accuracy entries and safe exits. Optimized for integration with WunderTrading Signal Bots.
UTBot + EMA Filter (HA + ATR Logic)hightest winrate >90%,
hightest winrate >90%
hightest winrate >90%
hightest winrate >90%hightest winrate >90%
BTCUSDT_MSTR_BTC_12FEN_DCA策略The real strength of this strategy is that regression prediction from order flow prediction and machine learning to do DCA
DI+/- Cross Strategy with ATR SL and 2% TPDI+/- Cross Strategy with ATR Stop Loss and 2% Take Profit
📝 Script Description for Publishing:
This strategy is based on the directional movement of the market using the Average Directional Index (ADX) components — DI+ and DI- — to generate entry signals, with clearly defined risk and reward targets using ATR-based Stop Loss and Fixed Percentage Take Profit.
🔍 How it works:
Buy Signal: When DI+ crosses above 40, signaling strong bullish momentum.
Sell Signal: When DI- crosses above 40, indicating strong bearish momentum.
Stop Loss: Dynamically calculated using ATR × 1.5, to account for market volatility.
Take Profit: Fixed at 2% above/below the entry price, for consistent reward targeting.
🧠 Why it’s useful:
Combines momentum breakout logic with volatility-based risk management.
Works well on trending assets, especially when combined with higher timeframe filters.
Clean BUY and SELL visual labels make it easy to interpret and backtest.
✅ Tips for Use:
Use on assets with clear trends (e.g., major forex pairs, trending stocks, crypto).
Best on 30m – 4H timeframes, but can be customized.
Consider combining with other filters (e.g., EMA trend direction or Bollinger Bands) for even better accuracy.
BTC Trading RobotOverview
This Pine Script strategy is designed for trading Bitcoin (BTC) by placing pending orders (BuyStop and SellStop) based on local price extremes. The script also implements a trailing stop mechanism to protect profits once a position becomes sufficiently profitable.
________________________________________
Inputs and Parameter Setup
1. Trading Profile:
o The strategy is set up specifically for BTC trading.
o The systemType input is set to 1, which means the strategy will calculate trade parameters using the BTC-specific inputs.
2. Common Trading Inputs:
o Risk Parameters: Although RiskPercent is defined, its actual use (e.g., for position sizing) isn’t implemented in this version.
o Trading Hours Filter:
SHInput and EHInput let you restrict trading to a specific hour range. If these are set (non-zero), orders will only be placed during the allowed hours.
3. BTC-Specific Inputs:
o Take Profit (TP) and Stop Loss (SL) Percentages:
TPasPctBTC and SLasPctBTC are used to determine the TP and SL levels as a percentage of the current price.
o Trailing Stop Parameters:
TSLasPctofTPBTC and TSLTgrasPctofTPBTC determine when and by how much a trailing stop is applied, again as percentages of the TP.
4. Other Parameters:
o BarsN is used to define the window (number of bars) over which the local high and low are calculated.
o OrderDistPoints acts as a buffer to prevent the entry orders from being triggered too early.
________________________________________
Trade Parameter Calculation
• Price Reference:
o The strategy uses the current closing price as the reference for calculations.
• Calculation of TP and SL Levels:
o If the systemType is set to BTC (value 1), then:
Take Profit Points (Tppoints) are calculated by multiplying the current price by TPasPctBTC.
Stop Loss Points (Slpoints) are calculated similarly using SLasPctBTC.
A buffer (OrderDistPoints) is set to half of the take profit points.
Trailing Stop Levels:
TslPoints is calculated as a fraction of the TP (using TSLTgrasPctofTPBTC).
TslTriggerPoints is similarly determined, which sets the profit level at which the trailing stop will start to activate.
________________________________________
Time Filtering
• Session Control:
o The current hour is compared against SHInput (start hour) and EHInput (end hour).
o If the current time falls outside the allowed window, the script will not place any new orders.
________________________________________
Entry Orders
• Local Price Extremes:
o The strategy calculates a local high and local low using a window of BarsN * 2 + 1 bars.
• Placing Stop Orders:
o BuyStop Order:
A long entry is triggered if the current price is less than the local high minus the order distance buffer.
The BuyStop order is set to trigger at the level of the local high.
o SellStop Order:
A short entry is triggered if the current price is greater than the local low plus the order distance buffer.
The SellStop order is set to trigger at the level of the local low.
Note: Orders are only placed if there is no current open position and if the session conditions are met.
________________________________________
Trailing Stop Logic
Once a position is open, the strategy monitors profit levels to protect gains:
• For Long Positions:
o The script calculates the profit as the difference between the current price and the average entry price.
o If this profit exceeds the TslTriggerPoints threshold, a trailing stop is applied by placing an exit order.
o The stop price is set at a distance below the current price, while a limit (profit target) is also defined.
• For Short Positions:
o The profit is calculated as the difference between the average entry price and the current price.
o A similar trailing stop exit is applied if the profit exceeds the trigger threshold.
________________________________________
Summary
In essence, this strategy works by:
• Defining entry levels based on recent local highs and lows.
• Placing pending stop orders to enter the market when those levels are breached.
• Filtering orders by time, ensuring trades are only taken during specified hours.
• Implementing a trailing stop mechanism to secure profits once the trade moves favorably.
This approach is designed to automate BTC trading based on price action and dynamic risk management, although further enhancements (like dynamic position sizing based on RiskPercent) could be added for a more complete risk management system.
2:45 AM Candle High/Low Crossing Bars2:45 AM Candle High/Low Crossing Bars is an indicator that focuses on the trading view 2:45am NY TIME high and low indicating green for buy and red bars for sell, with the 2:45am new york time highlight/ If the next candle sweeps the low we buy while if it sweeps the high we sell, all time zoon must be the new York UTC time.