Takashi Kotegawa Dip Reversal StrategyYou can use this alongside my other indicator to see if a stock is good with the indicator. Pine Script® strategyby EloniThe9
SPY Quant ML + Session Filter Strategy [CocoChoco]S&P 500 Quant: Machine Learning & Mean Reversion (Session-Filtered) Overview This is a professional-grade quantitative strategy designed specifically for the S&P 500. It combines classical statistical mean reversion (Z-Score) with a modern Machine Learning filter and rigorous institutional-grade risk management. The strategy is optimized for traders who prioritize high win rates and capital preservation, specifically avoiding the "gap risk" associated with holding positions overnight. Core Methodology 1. Statistical Entry (The Z-Score Engine) The strategy identifies "oversold" conditions in a bullish context. It calculates the Z-Score of the price relative to its 20-period Mean (SMA). By default, it looks for a -1.2 Standard Deviation extension, signaling a high-probability "dip" ripe for a snap-back to the mean. 2. Trend & ML Filters To avoid "catching a falling knife," the strategy uses two layers of confirmation: Trend Filter: Only takes Long positions when the price is above the 200-period SMA, ensuring we only buy dips in a confirmed uptrend. ML Correlation Filter: A Machine Learning-inspired module that analyzes the correlation between RSI and Volatility (ATR). It only permits entries when market internal dynamics suggest a reversal is technically "healthy." 3. Institutional Risk Management This script is built for "safety-first" automation: Hard Stop Loss: Fixed at 1.5% to protect against sudden market shocks. Active Trailing: A dual-trigger trailing stop. It activates once the price touches the 20 SMA (The Mean) OR once a trade reaches a 0.50% profit threshold. This ensures near-winners are protected and large runners are captured. Intraday Circuit Breaker: Includes a Max Daily Drawdown (2%) limit. If hit, the script automatically closes losing positions and halts trading for the day, while allowing winning positions to continue. Key Features Session-Specific: Tailored for the US Trading Session (UTC/NY times). Zero Overnight Risk: Automatically flattens all positions before the market close (16:00 NY Time). Holiday Intelligence: Hard-coded logic for US Market Holidays and Early Closes (2026–2028), ensuring the bot doesn't get stuck in illiquid holiday markets. Hourly Entry Cap: Limits entries to one per hour to prevent over-concentration during a single price leg. How to Use Timeframe: I suggest you use it on the 5-minute or 1-hour timeframe for optimal results. Instrument: Designed for the S&P 500, but highly effective on SPY, IVV, and ES (Futures). Pyramiding: Designed to handle up to 3 concurrent positions, allowing the strategy to scale into a move as the Z-Score deepens. Automation Ready This script is fully compatible with webhook-based automation tools. All signals (Entry, SL, Trail, Market Close, and Daily Limit) are clearly labeled in the Alert comments for seamless execution. I haven't tasted it though. This is not financial advice. Please perform your own tests and manage your risk. Disclaimer Past performance does not guarantee future results. This script is a tool for quantitative analysis and should be used as part of a broader diversified trading plan.Pine Script® strategyby CocoChoco19
US30 AsianRange 1900-0000 LIMIT OCO (1pct risk) 120 fib 30/150asian sweep at the 120 fib, aiming for 150 pips long and short buy limits set, once one is hit for the day cancel the opposite limit straight awayPine Script® strategyby shaneeames0713
High Breakout PRO Huy Hoang Trader High Breakout PRO - Strategy Description ## 🚀 Overview **High Breakout PRO** is a professional-grade Trend Following strategy designed to capture major market moves while strictly managing risk. Built on the core philosophy of "Price Action Breakouts," this script enhances the classic Donchian Channel breakout method with modern risk management tools like the **Hybrid Exit** and **EMA Trend Filter**. This strategy is optimized for **Gold (XAUUSD)**, **Bitcoin (BTC)**, and **Major Stocks (AAPL, AMZN)** on **H4 and Daily** timeframes. ## 💎 Key Features 1. **Trend Filter (EMA):** Only takes long positions when the price is above the 200-period EMA. This filters out counter-trend noise and significantly improves winning probability. 2. **Hybrid Exit Mechanism ("Holy Grail"):** A unique dynamic trailing stop that combines: * **Price Structure:** Uses the lowest low of the last Y bars (Donchian Support). * **Volatility:** Uses ATR-based trailing (Chandelier Exit logic). * *Logic:* The system automatically chooses the **tighter** (higher) stop level between the two, ensuring you lock in profits rapidly during strong volatility while giving the trade room to breathe during accumulation. 3. **Professional Visuals:** A refined "Wealth & Earth" themes (Gold/Silver/Brown) specifically designed to reduce eye strain and provide clear, professional signal visibility without chart clutter. ## 🛠 Strategy Logic ### entry rules * **Breakout:** Price closes above the Highest High of the last `X` bars (Default: 20). * **Trend Confirmation:** Closing Price > EMA 200 (Configurable). ### Exit Rules * **Dynamic Stop Loss:** The trade is closed when price breaches the **Hybrid Trailing Stop**. * The Trailing Stop never moves down. It only moves up as price increases. * It effectively adapts to both slow-grinding trends and explosive spikes. ## ⚙️ Best Settings (Recommended) * **Timeframe:** H4 (Swing Trading) or Daily (Position Trading). * **Entry Period (X):** 20 * **Exit Period (Y):** 10 * **Trend Filter:** ON (EMA 200) * **Risk Management:** Hybrid Mode (ATR Multiplier 3.0) ## ⚠️ Disclaimer This strategy follows trends. It may experience drawdowns during choppy/sideways markets. Always use proper risk management (position sizing) and backtest on your specific asset before live trading. --- *Developed by Huy Hoang Trader. Empowering traders with institutional-grade tools.* Contact for work: www.facebook.com Pine Script® strategyby ngohuyhoanghcm9
EMA50 for Gold strategy TF 15MThis is a strategy for Gold in TF 15M using EMA50 of HTPine Script® strategyby dranjumnm6
Shock Gap Bot [Enhanced]Shock Gap bot this to provide entry for pre market stocks , so you can get the bounce back Pine Script® strategyby wellbeing3103Updated 12
Testthis is a test script bool newClosed = strategy.closedtrades > strategy.closedtrades if newClosed int last = strategy.closedtrades - 1 // 最新平仓 trade 的关键信息 string eid = strategy.closedtrades.entry_id(last) float epx = strategy.closedtrades.entry_price(last) string xid = strategy.closedtrades.exit_id(last) float xpx = strategy.closedtrades.exit_price(last) float pnl = strategy.closedtrades.profit(last) // 注意:单位是策略币种/合约计价(受 commission 等影响) // 判断是不是“止损”触发(看 exit_id) bool isStop = str.startswith(xid, "S_SL_") string msg = "CLOSED TRADE (new) " +"entry: " + eid + " @ " + str.tostring(epx) + " " +"exit : " + xid + " @ " + str.tostring(xpx) + " " +"pnl : " + str.tostring(pnl) + " " +"isStop=" + str.tostring(isStop) label.new(bar_index, high, msg, style=label.style_label_down, textalign=text.align_left) Pine Script® strategyby panda9527014
Session Liquidity Reversion Strategy (Asia Range False Breakout)Overview This strategy is based on a session-driven liquidity hypothesis rather than a simple indicator combination. During the Asian trading session, many markets enter a low-liquidity equilibrium, forming a relatively narrow price range. When higher-volume participants enter during the London and New York sessions, price often performs false expansions beyond this Asian range before reverting back toward fair value. This script systematically identifies and trades those failed session expansions. Core Concept The strategy operates in three distinct phases: Asia Session Range Formation The high and low of the Asian session are recorded. This range represents a temporary balance area formed under reduced participation. Range Locking Once the Asian session ends, the range is frozen. No repainting or forward-looking calculations are used. False Breakout Detection & Reversion During the London/New York session, price must break beyond the Asia range and fail to hold. A momentum filter (RSI) confirms rejection strength. Trades are entered only after price closes back inside the range, targeting reversion rather than continuation. This approach avoids chasing breakouts and instead focuses on liquidity traps and failed expansions. Risk Management & Assumptions Risk parameters are intentionally conservative and realistic: Position sizing uses percentage of equity Default risk per trade is approximately 2% Stop losses are ATR-based, adapting to volatility Risk-to-reward is fixed and configurable Realistic commission and slippage are included One trade per session is allowed to avoid over-exposure No martingale, grid, or averaging logic is used. Usage Notes Recommended timeframes: 5m – 30m Designed for: Forex, Indices, Crypto Performance will vary by instrument and session volatility All parameters are configurable for research and optimization This strategy is intended for educational and research purposes, demonstrating how session-based liquidity behavior can be tested systematically using Pine Script. Pine Script® strategyby JaxonJackFX13
Money Machine💰 Money Machine Trading Strategy An advanced TradingView Pine Script strategy that combines RSI, MACD, and trend analysis with visual buy/sell zones for optimal trade entries and exits. 🎯 Strategy Overview The Money Machine follows a strict set of rules to ensure high-probability trades: Entry Rules ✅ BUY (Long) Conditions: 1. MACD line crosses ABOVE signal line (bullish crossover) 2. Overall trend is bullish (price above EMAs) 3. RSI is below 70 (not overbought) ✅ SELL (Short) Conditions: 1. MACD line crosses BELOW signal line (bearish crossover) 2. Overall trend is bearish (price below EMAs) 3. RSI is above 30 (not oversold) Exit Rules 🚪 Exit Long: MACD line crosses below signal line 🚪 Exit Short: MACD line crosses above signal linePine Script® strategyby lipovsektin44529
KELTNER BREAKOUT STRATEGY FOR CRYPTO ASSETS 1. Philosophy: The "Volatility Breakout" The core philosophy is that **momentum precedes price**. By waiting for a break above the Keltner Channel, you aren't just betting that the price will go up; you are betting that the price has enough energy (volatility) to move outside its standard deviation. Asset Class Suitability: This strategy is specifically designed for **Cryptocurrencies**. Because Crypto often moves in parabolic cycles with high volatility, it can sustain the "overextended" moves required to stay outside the Keltner Channels. Why not FX or Stocks? Traditional markets like Forex are typically mean-reverting, and Stocks often have "gap" risks or lower intraday volatility. In those markets, hitting the upper KC band often signals exhaustion. In Crypto, it’s often the signal that the "real" move is starting. The "Let Winners Run" Mantra: No fixed Take Profit (TP) allows you to capture "fat-tail" returns—those rare, massive trends that make up the bulk of a trend-follower's profits. 2. Background: The Components *Keltner Channels: Uses Average True Range (ATR) rather than standard deviation. This makes the bands more representative of actual price action and volatility gaps common in crypto. The 100 MA Anchor: The 100-period Simple Moving Average acts as the "line in the sand." It filters out noise and provides a trailing exit that only triggers when the macro trend has officially shifted. 3. Trading Cheat Sheet (Copy-Paste Ready) Market Environment Asset Focus: Crypto Only (High Volatility assets). Trend Filter: Price must be outside the KC 100 bands to confirm a macro trend. Long Setup (Buy) Macro Requirement: Price must be trading ABOVE the KC 100 Upper Band. Entry Trigger: Price crosses ABOVE the KC 20 Upper Band. Mandatory Exit: Price closes BELOW the MA 100. Short Setup (Sell) Macro Requirement: Price must be trading BELOW the KC 100 Lower Band. Entry Trigger: Price crosses BELOW the KC 20 Lower Band. Mandatory Exit: Price closes ABOVE the MA 100. Risk Management Take Profit: None (Trend-following approach). Stop Loss: Trailing via the MA 100. Pine Script® strategyby hushedDiamond975738
Serhan deneme 2Sadece deneme için yapılan bir çalışma, geliştirdikçe paylaşacağm, lütfen fazla dikkate almayınız.Pine Script® strategyby boztilkiserhan13
Bullish Divergent Bar DCA Strategy [Skyrexio]Overview Bullish Divergent Bar DCA Strategy is a long-only, multi-layer Dollar-Cost Averaging (DCA) strategy that builds positions around bullish divergent bars formed below the Williams Alligator. It detects potential local bottoms and then scales into the move using up to four pyramiding entries, each with its own size and price threshold. The strategy optionally incorporates Market Facilitation Index (MFI) and Awesome Oscillator (AO) momentum to strengthen reversal confirmation and uses ATR-based take profit on the averaged entry price. Unique Features Layered DCA entries with equity-based sizing . It supports up to four DCA layers, where each additional layer is opened only after a configurable percentage drawdown from the first entry and position size is computed as a fraction of current equity via a geometric weighting scheme. Optional AO and MFI confirmation . Users can require Awesome Oscillator momentum divergence, MFI/volume “squat” bars, or both to confirm that the reversal bar is accompanied by capitulation and weakening downside momentum. ATR-based dynamic take profit . Take profit is defined as a multiple of ATR added to the current average entry price, automatically adjusting exits to prevailing volatility. Built-in DCA visualization . The script can plot the initial entry level and all DCA thresholds to make the averaging structure and risk visually transparent on the chart. Methodology The core entry logic starts from a bullish divergent bar definition: the bar must close above its midpoint (close > hl2) and be the lowest low within the user-defined lookback window, flagging a local swing low. On top of this, the bar must form entirely below all three Alligator lines, ensuring that the pattern appears after a sustained downside move rather than inside noise. If enabled, AO adds a momentum filter by requiring the Awesome Oscillator difference to be negative (descending bar on AO histogram), signaling fading downside momentum at the potential bottom. If the MFI filter is enabled, the bar (or one of the last two bars) must be a “squat” bar where spread narrows while volume increases, approximating effort vs. result exhaustion. Once a valid bullish reversal bar is detected and the time is within the configured trading window, the strategy opens the first DCA layer using a stop entry at the bar’s high (confirmation level), only entering if price actually breaks the bar high. Additional layers (second, third, and fourth entries) are only allowed if price trades below percentage thresholds from the first entry price and a new valid bullish reversal bar forms, thereby averaging down into deep pullbacks while still requiring fresh reversal evidence. While any DCA position is open, the strategy continuously recalculates the take profit as the current volume-weighted average entry price plus ATR multiplied by a user-defined factor. All individual entries share the same take profit level through separate strategy exit calls, so the entire stacked position exits together once price has moved sufficiently above the averaged entry. Strategy settings In the inputs window, users can configure the following strategy settings: sourceUuid / secretToken: Identifiers used to format JSON alerts for automated execution through webhooks. Trade Start Date/Time: Beginning of the backtest/live-trading window. Trade Stop Date/Time: End of the backtest/live-trading window. Show DCA Levels (default = false): Toggles plotting of the initial entry level and all three DCA thresholds on the chart. Enable MFI (default = false): Enables the MFI-style volume/spread filter. Enable AO (default = false): Enables Awesome Oscillator confirmation. Number Of Bar For Lowest Bar (default = 7): Lookback window used to identify the lowest low bar for the bullish reversal bar condition. Layer 2 Threshold Percent (default = 4.0): Percentage drop from the first layer price that must be reached to allow the second DCA entry. Layer 3 Threshold Percent (default = 10.0): Percentage drop from the first layer price required to unlock the third DCA layer. Layer 4 Threshold Percent (default = 22.0): Percentage drop from the first layer price required to unlock the fourth DCA layer. Position Size Multiplier (default = 2.0): Multiplier used in the geometric weighting scheme to determine how much equity is allocated to each additional DCA layer. Number Of ATR For Take Profit (default = 2.0): ATR multiple added to the current average entry price to calculate the shared take profit for all open layers. Users can refine these parameters during backtesting to fit the volatility profile and structure of the specific asset and timeframe. Justification of Methodology Before understanding why this particular combination of indicator has been chosen let's briefly explain what is Williams Alligator, MFI and AO. let’s start with the Williams Alligator. Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages: Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead. Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward. Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward. When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades. The Awesome Oscillator (AO), developed by Bill Williams, is a momentum indicator designed to measure market momentum by contrasting recent price movements with a longer-term historical perspective. It helps traders detect potential trend reversals and assess the strength of ongoing trends. The formula for AO is as follows: AO = SMA5(Median Price) − SMA34(Median Price) where: Median Price = (High + Low) / 2 SMA5 = 5-period Simple Moving Average of the Median Price SMA 34 = 34-period Simple Moving Average of the Median Price The Market Facilitation Index (MFI) is a technical indicator that measures the price movement per unit of volume, helping traders gauge the efficiency of price movement in relation to trading volume. Here's how you can calculate it: MFI = (High−Low)/Volume MFI can be used in combination with volume, so we can divide 4 states. Bill Williams introduced these to help traders interpret the interaction between volume and price movement. Here’s a quick summary: Green Window (Increased MFI & Increased Volume): Indicates strong momentum with both price and volume increasing. Often a sign of trend continuation, as both buying and selling interest are rising. Fake Window (Increased MFI & Decreased Volume): Shows that price is moving but with lower volume, suggesting weak support for the trend. This can signal a potential end of the current trend. Squat Window (Decreased MFI & Increased Volume): Shows high volume but little price movement, indicating a tug-of-war between buyers and sellers. This often precedes a breakout as the pressure builds. Fade Window (Decreased MFI & Decreased Volume): Indicates a lack of interest from both buyers and sellers, leading to lower momentum. This typically happens in range-bound markets and may signal consolidation before a new move. For our purposes we are interested in squat bars. This is the sign that volume cannot move the price easily. This type of bar increases the probability of trend reversal. In this indicator we added to enable the MFI filter of reversal bars. If potential divergent bar or two preceding bars have squat state this bar can be interpret as a reversal one. The strategy intentionally focuses on bullish divergent bars forming at local lows and below the Alligator to catch potential exhaustion points in downtrends where risk/reward becomes asymmetric. The Alligator (Jaw, Teeth, Lips) acts as a dynamic structure filter: requiring price to be below all three lines before reversal helps avoid chasing minor pullbacks inside an ongoing uptrend and instead concentrates entries on deeper corrections where mean reversion potential is higher. The custom bullish divergent bar rule (close above midpoint and being the lowest low over N bars) approximates a local capitulation candle, which often precedes short squeezes or at least strong reactions. By combining this with AO and MFI-style filters, the strategy further increases the likelihood that the pattern coincides with downside momentum(as a confirmation that current trend is downward, AO difference < 0) and effort vs. result anomalies (squat bars), which is common signatures of trend exhaustion. The DCA structure is designed to deploy capital progressively rather than all at once: the first entry is triggered only if price confirms the reversal by breaking above the bar’s high, while subsequent layers require both a deeper discount relative to the initial entry and a new bullish reversal signal. Percentage thresholds from the first entry ensure that each additional allocation is made at meaningfully better prices, improving the blended entry level and reducing the break-even distance. Finally, using ATR as the basis for take profit aligns exits with current volatility. A fixed-percentage target can be too tight in volatile regimes or too loose in quiet markets, whereas ATR-based targets scale with average bar range. Applying ATR to the evolving average entry price of all open layers keeps the risk/reward framework consistent across different volatility regimes and DCA configurations. Backtest Results Operating window: Date range of backtests is 2025.01.01 - 2026.01.01. It is chosen to let the strategy to close all opened positions. Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks. Initial capital: 10000 USDT Maximum Single Position Loss: -6.56% Maximum Single Profit: +4.92% Net Profit: +934.08 USDT (+9.34%) Total Trades: 121 (82.64% win rate) Profit Factor: 2.948 Maximum Accumulated Loss: 624.72 USDT (-6.15%) Average Profit per Trade: 7.72 USDT (+0.37%) Average Trade Duration: 60 hours These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters. You should run your own backtests on the target asset and timeframe (for example, BTC/USDT on intraday charts) and adjust threshold percentages, layer sizing, and ATR take profit factor to match your risk tolerance and market conditions. How to Use Add the script to favorites for easy access. Apply to the desired timeframe and chart. Configure settings using the dropdown choice list in the built-in menu. Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}} Disclaimer: Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementationPine Script® strategyby Skyrexio143
GOLD_SILVER_FARMING BEST for gold/silver spot Note: Don't use in small timeframe, at least D1Pine Script® strategyby trungnam210199824
Buy Sell Signal Strategybuy sell signal stratergy it works great for autopilotPine Script® strategyby berakah882212
DANI _ MTF Pullback StrategyMTF Pullback - RSI Panel Summary Purpose: Companion indicator for the main strategy that displays RSI with divergence detection in a separate pane below the price chart. Settings ParameterDefaultDescriptionRSI Length14Lookback period for RSI calculationRSI Oversold Level30Threshold for oversold conditionRSI Overbought Level70Threshold for overbought conditionDivergence Lookback Bars10How many bars to look back for divergence detection What It Displays RSI Line — Changes color based on zone: Purple = neutral (between 30-70) Green = oversold (below 30) Red = overbought (above 70) Horizontal Levels: Red dashed line at 70 (overbought) Green dashed line at 30 (oversold) Gray dotted line at 50 (midpoint) Zone Fills: Light red shading above 70 Light green shading below 30 Divergence Markers: "DIV" label with lime circle = bullish divergence (price makes lower low, RSI makes higher low while oversold) "DIV" label with fuchsia circle = bearish divergence (price makes higher high, RSI makes lower high while overbought) Background Flash: Green flash when bullish divergence detected Red flash when bearish divergence detected Divergence Logic Bullish: Price makes a lower low AND RSI makes a higher low AND RSI is in oversold territory → potential reversal up Bearish: Price makes a higher high AND RSI makes a lower high AND RSI is in overbought territory → potential reversal downand for the strategy15:36Outlined strategy script components and display mechanics.The user wants a summary of the main strategy script, similar to what I provided for the RSI panel. I should cover the purpose, settings, entry conditions, exit conditions, and what it displays on the chart.MTF Pullback Strategy Summary Purpose: Multi-timeframe pullback strategy that trades trend continuations. Uses 4H timeframe for trend direction and entry timeframe (typically 15M) for precise entries based on RSI divergence and engulfing patterns. Settings ParameterDefaultDescriptionTimeframesHigher Timeframe240 (4H)Timeframe for trend detectionTrend FilterEMA Length50EMA period for trend directionRSIRSI Length14RSI calculation periodRSI Oversold Level30Long entry RSI thresholdRSI Overbought Level70Short entry RSI thresholdDivergence Lookback10Bars to scan for divergenceSwing DetectionSwing Lookback5Bars left/right to confirm swingRisk ManagementATR Length14ATR calculation periodStop Loss ATR Multiplier2.0SL = 2× ATR from entryTake Profit %2.0TP = entry ± 2%Trade DirectionTrade LongstrueEnable long tradesTrade ShortstrueEnable short trades Entry Conditions Long Entry (all must be true): 4H uptrend (price above 50 EMA + EMA rising) Current price above 4H 50 EMA Price pulling back from recent 4H swing high RSI oversold (<30) or below 40 Bullish RSI divergence OR RSI turning up from oversold Bullish engulfing candle at or within 2 bars after swing low Short Entry (all must be true): 4H downtrend (price below 50 EMA + EMA falling) Current price below 4H 50 EMA Price pulling back from recent 4H swing low RSI overbought (>70) or above 60 Bearish RSI divergence OR RSI turning down from overbought Bearish engulfing candle at or within 2 bars after swing high Exit Conditions Exit TypeLongShortStop LossEntry - (2 × ATR)Entry + (2 × ATR)Take ProfitEntry × 1.02 (+2%)Entry × 0.98 (-2%) What It Displays On Chart: Blue line = 4H 50 EMA Green triangle below bar = long entry signal Red triangle above bar = short entry signal Green background tint = 4H uptrend active Red background tint = 4H downtrend active Info Table (top right): FieldShows4H TrendUP ↑ / DOWN ↓ / NEUTRALPrice vs EMAABOVE / BELOWPullback LYES/NO (long pullback active)Pullback SYES/NO (short pullback active)Bull DivYES/NO (bullish divergence)Bear DivYES/NO (bearish divergence) Strategy Logic Flow 4H TREND CHECK ↓ PRICE VS 50 EMA ↓ PULLBACK DETECTED? ↓ RSI CONDITION MET? ↓ RSI DIVERGENCE? ↓ ENGULFING AT SWING? ↓ ENTRY → SL (2×ATR) + TP (2%) Alerts Available Long Entry Signal — Triggers when all long conditions align Short Entry Signal — Triggers when all short conditions align Recommended Usage Apply to 15-minute chart (fetches 4H data automatically) Use alongside the RSI Panel indicator for visual confirmation Backtest on trending pairs/assets (crypto, forex majors, indices) Adjust ATR multiplier if stops are too tight/wide for your assetPine Script® strategyby VKtrade202512
Empyrean - Strat 1minGood for bot trading. 1min TF, with 15min confluence. Setting are here 22 Min Pivot Size x ATR 0.1 Enable TF1 Resolution TF1 15 Use SMA SmaLen 23 ADX Length 21 ADX Threshold 20 ATR Baseline Length 2 TP * ATR 5.5 SL * ATR 1.5/3Pine Script® strategyby Emyrean1121
Fractal Breakout with 3-Point TrendTriggers buy when the price breaks above the last fractal high Triggers sell when the price breaks below the last fractal low Filter is calculate the closing price of last 3 fractal highs or low to determine the trend Pine Script® strategyby olushekun19
HA EMA50 Trend Filter No Chop Daily Trade LimitsThis strategy trades strong directional moves using Heikin-Ashi candle confirmation and a 50-period EMA trend filter, while aggressively avoiding consolidation. Entries occur only after two consecutive Heikin-Ashi candles close in the same direction with price on the correct side of the EMA, and are further filtered using ATR-normalized volatility, range, EMA slope, and EMA cross-chop conditions to ensure the market is actively trending. Trades are executed at the open of the next candle, managed with structure-based or fixed stop losses, an optional break-even rule, and exited on Heikin-Ashi color reversal or protective stops. To protect capital and reduce overtrading, the strategy enforces strict daily limits, allowing a maximum of five trades per symbol and automatically stopping trading after two losing trades in a single day. Designed for forex markets during active sessions, this system prioritizes clean trends and capital preservation over frequent entries.Pine Script® strategyby rshray920
TSM RSI + Supertrend (ATR SL + Partial Booking) 302026RSI + Supertrend Strategy (ATR Stop-Loss + Partial Profit Booking) Strategy Objective This strategy is designed to: Trade only in strong trends Avoid false entries using RSI confirmation Protect capital with a volatility-based (ATR) stop-loss Book profits in stages to reduce risk and ride big moves 🔧 Indicators Used 1️⃣ Supertrend Role: Trend direction Green line → Uptrend Red line → Downtrend Settings: ATR Period: 10 Multiplier: 3 2️⃣ RSI (Relative Strength Index) Role: Momentum confirmation RSI above 50 → Bullish strength RSI below 50 → Bearish strength Settings: RSI Length: 14 Level: 50 🟢 BUY (Long Trade) Rules A BUY trade is taken when all conditions are met: Supertrend changes from Red to Green → Trend turns bullish RSI is above 50 → Buying momentum is strong 📌 Entry: ➡️ Enter BUY at the next candle. 🔴 SELL (Short Trade) Rules A SELL trade is taken when all conditions are met: Supertrend changes from Green to Red → Trend turns bearish RSI is below 50 → Selling momentum is strong 📌 Entry: ➡️ Enter SELL at the next candle. 🛑 Stop-Loss (ATR-Based) Stop-loss is calculated using ATR (Average True Range) Adapts automatically to market volatility BUY Trade SL = Entry Price − (ATR × Multiplier) SELL Trade SL = Entry Price + (ATR × Multiplier) ✅ This avoids tight SL in volatile markets and wide SL in calm markets. 🎯 Partial Profit Booking Logic 🔹 First Target (Partial Exit) 50% of the position is booked at 1:1 Risk–Reward This locks in profits early and reduces risk 🔹 Remaining 50% Held as long as the Supertrend does not reverse Exits only when the trend flips Helps capture big trending moves 🔄 Exit Rules Summary Situation Action ATR Stop-Loss hit Full exit 1:1 target reached 50% profit booked Supertrend flips Remaining 50% exited ⏱️ Best Timeframes Trading Style Timeframe Intraday 5 min / 15 min Swing 1 Hour / Daily Best markets: Trending stocks Index futures Directional options (CE / PE) ⭐ Why This Strategy Is Powerful ✔ Trades with trend, not against it ✔ RSI filters weak signals ✔ ATR-based SL adjusts to volatility ✔ Partial booking reduces psychological pressure ✔ Lets winners run and cuts losers early ⚠️ Important Notes Avoid sideways markets Always backtest before live trading Risk management is more important than entries.Pine Script® strategyby SARAVANANTamilShareMarket12
TSM RSI + Supertrend (Fixed SL + 1:2 RR) 302026RSI + Supertrend Combo Strategy (Fixed SL & 1:2 Risk–Reward) To trade only in the direction of the trend using Supertrend and enter with momentum confirmation from RSI, while strictly controlling risk with a fixed stop loss and a 1:2 target. Supertrend – identifies market trend RSI (14) – confirms strength of the trend BUY CONDITIONS (Long Trade) Supertrend changes from Red to Green → Market trend turns bullish Price trades above Supertrend line RSI is above 50 → Buying momentum is strong ✅ Enter BUY at the next candle open. 🔴 SELL CONDITIONS (Short Trade) Supertrend changes from Green to Red → Market trend turns bearish Price trades below Supertrend line RSI is below 50 → Selling momentum is strong ✅ Enter SELL at the next candle open. 🛑 Risk Management (Most Important) Stop Loss (SL): Fixed percentage from entry price Target (TP): 2 × Stop Loss → Risk : Reward = 1 : 2 Example (BUY Trade) Entry: ₹100 Stop Loss (0.5%): ₹99.50 Target (1:2): ₹101.00 ⏱️ Best Timeframes Intraday: 5 min / 15 min Swing Trading: 1 Hour / Daily. Why This Strategy Works ✔ Trades with the trend, not against it ✔ RSI filters false Supertrend signals ✔ Fixed SL protects capital ✔ 1:2 RR ensures profitability even with ~40% win rate ✔ Simple rules – beginner friendly ⚠️ Important Notes Avoid sideways markets Best results in trending stocks / indices Always backtest before live trading.Pine Script® strategyby SARAVANANTamilShareMarket14
House Rules SuperTrend Strategy (ATR-Based, Non-Repainting)📝 DESCRIPTION Overview The House Rules SuperTrend Strategy is a clean, rule-based trading strategy built using Pine Script® v6. It is designed for transparent backtesting, non-repainting signals, and simple trend-following execution across all markets and timeframes. This strategy uses TradingView’s built-in SuperTrend indicator, which is derived from Average True Range (ATR), to identify trend direction changes and generate long and short trades. How the Strategy Works Long Entry A long position is opened when the SuperTrend flips from bearish to bullish This confirms a potential upward trend shift Short Entry A short position is opened when the SuperTrend flips from bullish to bearish This confirms a potential downward trend shift Exits Positions are closed when either: The opposite SuperTrend signal appears, or The ATR-based Stop Loss or Take Profit is reached (if enabled) All signals are calculated on confirmed candle closes only, ensuring accurate and fair backtesting. Risk Management Optional ATR-based Stop Loss Optional ATR-based Take Profit Position sizing based on percentage of equity Commission included for realistic performance results All parameters are user-adjustable from the settings panel. Backtesting & Transparency This is a strategy, not an indicator No repainting No future data usage No hidden filters No lookahead bias Fully compatible with TradingView’s Strategy Tester Users are encouraged to test different symbols, timeframes, and parameter values to suit their trading style. Recommended Use This strategy can be used on: Cryptocurrencies Forex Stocks Indices Futures It performs best in trending market conditions and may underperform during low-volatility or ranging markets. Disclaimer This script is provided for educational and research purposes only. It is not financial advice. Always test and validate strategies before using them in live trading.Pine Script® strategyby JaxonJackFX49
Bank Nifty RSI Dynamic v6This is a specialized mean-reversion strategy designed for Bank Nifty (NSE:NIFTYBANK) on the 5-minute timeframe. It focuses on capturing rapid reversals when the market reaches extreme overbought or oversold conditions based on the Relative Strength Index (RSI). Unlike standard RSI strategies that wait for a cross back into the neutral zone, this script uses asymmetric dynamic exits to lock in profits early as momentum shifts. How it Works Timeframe: Optimized for 5m (Intraday). Bullish Entry (Call): Triggers when the RSI closes below 30. This identifies a potential "exhaustion" in selling pressure. Bearish Entry (Put): Triggers when the RSI closes above 68. This identifies a potential "overextension" in buying pressure. Dynamic Exits: Calls are closed when RSI recovers to 45. Puts are closed when RSI cools down to 56. Position Sizing: Fixed at 3 Lots (90 units), calibrated for the 2026 Bank Nifty lot size. Key Features Pine Script v6: Built using the latest TradingView standards for faster execution and better backtesting accuracy. Capital Efficiency: Includes a zero-margin override to ensure the backtester reflects the full 3-lot position regardless of account leverage settings. Visual Signals: Uses clear plotshape triangles (Green for Call, Red for Put) directly on the price chart for easy manual execution or alert monitoring. Risk Disclaimer Bank Nifty is highly volatile. This strategy does not include a fixed stop loss by default (exits are momentum-based), so users should be prepared for drawdowns during strong trending phases where RSI remains in extreme zones for extended periods. Always backtest on your preferred broker's data before going live.Pine Script® strategyby rahulrana952
ICT Opening Gap Strategy [Momentum1]Momentum strategy taken off the close of the first candle after the NDOG/NWOG. Built with Gemini. Pine Script® strategyby Toddwaters7247