NK SMC + RSI StrategyThis is the strategy coined by Naimat Khan and tested more than 1000 time, but has given 70% accuracy.Pine Script®策略由sirnaimatkhan提供12
Bullish Engulfing at Daily Support (Pivot Low) - R Target (v6)1. What this strategy really is (in human terms) This strategy is not about predicting the market. It’s about waiting for proof that buyers are stepping in at a price where they already should. Think of it like this: “I only buy when price falls into a known ‘floor’ and buyers visibly take control.” That’s it. Everything in the script enforces that idea. 2. The two ingredients (nothing else) Ingredient #1: Daily Support (the location) Support is an area where price previously fell and then reversed upward. In the script: Support is defined as the most recent confirmed daily swing low A swing low means: Price went down Stopped Then went up enough to prove that buyers defended that level This matters because: You’re not guessing where support might be You’re using a level where buyers already proved themselves “At support” doesn’t mean exact Markets don’t bounce off perfect lines. So the script allows a small zone (the “support tolerance”): Example: 0.5% tolerance If support is at 100 Anywhere between ~99.5–100.5 counts This prevents missing good trades just because price was off by a few ticks. Ingredient #2: Bullish Engulfing Candle (the trigger) This is the confirmation. A bullish engulfing candle means: Sellers were in control Buyers stepped in hard enough to fully overpower them The bullish candle’s body “swallows” the previous candle Psychologically, it says: “Sellers tried, failed, and buyers just took control.” That’s why this candle works only at support. A bullish engulfing in the middle of nowhere means nothing. 3. Why daily timeframe matters The daily chart: Filters out noise Reflects decisions made by institutions, not random scalpers Produces fewer but higher-quality signals That’s why: The script uses daily data You typically get very few trades per month Most days: no trade That “boredom” is the edge. 4. When a trade is taken (exact conditions) A trade happens only if ALL are true: Price drops into a recent daily support zone A bullish engulfing candle forms on the daily chart Risk is clearly defined (entry, stop, target) If any one is missing → no trade 5. How risk is controlled (this is crucial) The stop loss (where you admit you’re wrong) The stop is placed: Below the support level Or below the low of the engulfing candle With a small ATR buffer so normal noise doesn’t stop you out Meaning: “If price breaks below this area, buyers were wrong. I’m out.” No hoping. No moving stops. No exceptions. Position sizing (why this strategy survives losing streaks) Each trade risks a fixed % of your account (default 1%). So: Big stop = smaller position Small stop = larger position This keeps every trade equal in risk, not equal in size. That’s professional behavior. 6. The take-profit logic (why 2.8R matters) Instead of guessing targets: The strategy uses a multiple of risk (R) Example: Risk = $1 Target = $2.80 You can lose many times and still come out ahead. This is why: Win rate ≈ 60% is more than enough Even 40–45% could still work if discipline is perfect 7. Why patience is the real edge (not the pattern) The bullish engulfing is common. Bullish engulfing at daily support is rare. Most people fail because they: Trade engulfings everywhere Ignore location Lower standards when bored Add “just one more indicator” Your edge is: Saying no 95% of the time Taking only trades that look obvious after they work 8. How to use this strategy effectively (rules to follow) Rule 1: Only take “clean” setups Skip trades when: Support is messy or unclear Price is chopping sideways The engulfing candle is tiny The market is news-chaotic (earnings, FOMC, etc.) If you have to convince yourself, skip it. Rule 2: One trade at a time This strategy works best when: You’re not stacked in multiple correlated trades You treat each setup like it matters Quality > quantity. Rule 3: Journal screenshots, not just numbers After each trade, save: Daily chart screenshot Support level marked Entry / stop / target After 50–100 trades, patterns jump out: Best tolerance % Best stop buffer Markets that behave well vs poorly That’s how the original trader refined it. Rule 4: Expect boredom and drawdowns You will have: Weeks with zero trades Clusters of losses Long flat periods That’s normal. If you “fix” it by adding more trades: You destroy the edge. 9. Who this strategy is perfect for This fits you if: You don’t want screen addiction You prefer process over excitement You’re okay being wrong often You want something you can execute for years It is not for: Scalpers Indicator collectors People who need action every day 10. The mindset shift (the real lesson of that story) The money didn’t come from bullish engulfings. It came from: Defining one repeatable behavior Removing everything else Trusting math + patience Doing nothing most of the time If you want, next we can: Walk through real example trades bar-by-bar Optimize settings for a specific market you trade Add filters that increase quality without adding complexityPine Script®策略由kboyle89提供18
MDZ Strategy v4.2 - Multi-factor trend strategyWhat This Strategy Does MDZ (Momentum Divergence Zones) v4.2 is a trend-following strategy that enters long positions when multiple momentum and trend indicators align. It's designed for swing trading on higher timeframes (2H-4H) and uses ATR-based position management. The strategy waits for strong trend confirmation before entry, requiring agreement across five different filters. This reduces trade frequency but aims to improve signal quality. Entry Logic A long entry triggers when ALL of the following conditions are true: 1. EMA Stack (Trend Structure) Price > EMA 20 > EMA 50 > EMA 200 This "stacked" alignment indicates a strong established uptrend 2. RSI Filter (Momentum Window) RSI between 45-75 (default) Confirms momentum without entering overbought territory 3. ADX Filter (Trend Strength) ADX > 20 (default) Ensures the trend has sufficient strength, not a ranging market 4. MACD Confirmation MACD line above signal line Histogram increasing (momentum accelerating) 5. Directional Movement +DI > -DI Confirms bullish directional pressure Exit Logic Positions are managed with ATR-based levels: ParameterDefaultDescriptionStop Loss2.5 × ATRBelow entry priceTake Profit6.0 × ATRAbove entry priceTrailing Stop2.0 × ATROptional, activates after entry The default configuration produces a 1:2.4 risk-reward ratio. Presets The strategy includes optimized presets based on historical testing: PresetTimeframeNotes1H Standard1 HourMore frequent signals2H Low DD2 HourConservative settings3H Optimized3 HourBalanced approach4H Swing4 HourWider stops for swing tradesCustomAnyFull manual control Select "Custom" to adjust all parameters manually. Inputs Explained EMAs Fast EMA (20): Short-term trend Slow EMA (50): Medium-term trend Trend EMA (200): Long-term trend filter RSI Length: Lookback period (default 14) Min/Max: Entry window to avoid extremes ADX Min ADX: Minimum trend strength threshold Risk Stop Loss ATR: Multiplier for stop distance Take Profit ATR: Multiplier for target distance Trail ATR: Trailing stop distance (if enabled) Session (Optional) Filter entries by time of day Recommended OFF for 3H+ timeframes What's Displayed Info Panel (Top Right) Current preset Trend status (Strong/Wait) ADX, RSI, MACD readings Position status Risk-reward ratio Stats Panel (Top Left) Net P&L % Total trades Win rate Profit factor Maximum drawdown Chart EMA lines (20 blue, 50 orange, 200 purple) Green background during strong uptrend Triangle markers on entry signals Important Notes ⚠️ This is a long-only strategy. It does not take short positions. ⚠️ Historical results do not guarantee future performance. Backtests show what would have happened in the past under specific conditions. Markets change, and any strategy can experience drawdowns or extended losing periods. ⚠️ Risk management is your responsibility. The default settings risk 100% of equity per trade for backtesting purposes. In live trading, appropriate position sizing based on your risk tolerance is essential. ⚠️ Slippage and commissions matter. The backtest includes 0.02% commission and 1 tick slippage, but actual execution costs vary by broker and market conditions. Best Practices Test on your specific market — Results vary significantly across different instruments Use appropriate position sizing — Never risk more than you can afford to lose Combine with your own analysis — No indicator replaces understanding market context Paper trade first — Validate the strategy matches your trading style before risking capital Alerts Two alerts are available: MDZ Long Entry: Fires when all entry conditions are met Uptrend Started: Fires when EMA stack first aligns bullish Methodology This strategy is based on the principle that trend continuation has better odds than reversal when multiple timeframe momentum indicators agree. By requiring five independent confirmations, it filters out weak setups at the cost of fewer total signals. The ATR-based exits adapt to current volatility rather than using fixed pip/point targets, which helps the strategy adjust to different market conditions. Questions? Leave a comment below.Pine Script®策略由VolForge提供已更新 20
April Love Supertrend with tp slDual Supertrend during the new york session, playing around onlyPine Script®策略由alikarrfitnessworld提供1
Volatility Engine [MZ] (Signals Only) v1This is another example demonstrating how the strategy can be applied in practice. Please refer to the Strategy Report → Properties section to review the exact input settings used in this setup. The example shown is based on RAVEUSDT on the 11-minute timeframe. The strategy is not limited to a single instrument — it has been tested and can be applied across multiple coins and different timeframes, provided that the parameters are properly adjusted to the market’s volatility and structure. As always, results depend on correct configuration and market conditions.Pine Script®策略由MateuszZon提供6
Multi KI Agenten Strategie (Final V2)What's included in the Pine Script (Technical Analysis) These features are mathematically implemented in the script and function as "agent logic": • Trend Following: Integrated via EMAs (50, 100, 200). • Volume Analysis: An agent checks for institutional volume spikes. • Supply & Demand: Zones are calculated based on price extremes. • RSI & Fibonacci: Both are built in as decision criteria for the agents. • Controlling AI: The "veto logic" in the code acts as a controlling instance, blocking signals if the risk is too high or divergences exist. • Alerts: The "LONG" and "SHORT" alerts are only triggered after approval by the controlling mechanism.Pine Script®策略由NextMoveAI提供27
BTC Scalping 3m | Supertrend + MACD Squeeze (NY) [v6 FINAL]BTC 3-Minute Scalping Strategy Supertrend Bias + MACD Squeeze (New York Session) This is a fully mechanical BTC scalping strategy designed to capture short momentum bursts that occur when volatility expands in the direction of the higher-timeframe trend. The strategy combines trend confirmation, volatility compression/expansion, and strict session filtering to reduce noise and improve consistency. How It Works Trend Bias Uses a 15-minute Supertrend to define market direction. Trades are taken only in the direction of the higher-timeframe trend. Counter-trend signals are ignored. Timing & Entry Executes on the 3-minute chart. Waits for volatility compression using a LazyBear-style MACD Squeeze. Enters only when the squeeze releases and momentum turns positive. Entry occurs on candle close above the execution-timeframe Supertrend. Session Filter Trades only during the New York session (13:00–21:00 UTC). This avoids low-liquidity periods and reduces false breakouts. Risk & Exits Dynamic stop-loss placed at the execution-timeframe Supertrend. Risk is calculated using the actual filled entry price for accurate R-based exits. Primary profit target is 0.5R, optimized for scalping. Positions are exited immediately if: Price closes against Supertrend Supertrend flips direction Momentum (MACD histogram) turns negative Trades are typically short-lived (1–3 candles), keeping exposure minimal. Key Characteristics Non-repainting logic Fully rule-based (no discretion) High win-rate, low-RR scalping profile Designed for BTC futures/perpetuals Optimized for New York session volatility Usage Notes Run on BTC 3-minute charts Best results during active NY hours Performance will vary by exchange, fees, and slippage This strategy is intended for education and testing, not financial advice Summary This strategy focuses on trading volatility expansion aligned with trend, using Supertrend for structure and MACD Squeeze for timing. By restricting trades to high-liquidity hours and enforcing strict exits, it aims for consistent, repeatable scalps rather than large directional bets.Pine Script®策略由blood_doc提供86
Cumulative RSI StrategyThis strategy is designed for high-volatility assets (like 3x Leveraged ETFs: SOXL). Instead of using a standard RSI, it calculates a Cumulative RSI (CRSI), which is the sum of the RSI over a specific number of bars (default is 2 or 3 days). This smoothes out noise and identifies extreme overbought or oversold conditions more accurately.Pine Script®策略由sumi110026提供0
lww Crossover Strategy Strategy Description This strategy is based on the confluence of VWAP, MVWAP, and EMA crossover structure, designed to identify short-term trend continuation opportunities in both long and short directions. A trade signal is generated only when the fast EMA, slow EMA, and smoothed VWAP are all positioned on the same side of the MVWAP, indicating directional alignment and structural confirmation. Entries occur only at the moment the condition first becomes true, which helps reduce overtrading during ranging or choppy market conditions. The strategy enforces a one-trade-at-a-time rule, ensuring that no new positions are opened while an existing trade is active. Risk management is handled through predefined take-profit and stop-loss levels, which are automatically placed upon entry to maintain clear and consistent risk control. An optional setting allows positions to be closed early if an opposite signal appears. This strategy is suitable for short-term and intraday trading, emphasizing disciplined execution, structural confirmation, and controlled risk exposure.Pine Script®策略由liu1584036092提供14
proof quant model v1team, this is the model for our class. It is public but yeah its not like there will be specific ip or stuff like that. Get to workPine Script®策略由ribidiskizz提供7
VWAP Pullback Strategy This strategy automates a VWAP continuation setup: wait for price to cross VWAP, confirm a pullback that stays on the breakout side, then enter on a breakout through the pullback’s open. Sequence 1. VWAP cross inside the selected session (default 10:10–15:00 ET). 2. After price moves at least Min distance before pullback, the first opposite candle (staying above/below VWAP) becomes the pullback; a configurable Min distance for breakout ensures the follow-up candle closes far enough beyond the pullback open. 3. Entry occurs at the breakout bar’s close, unless the candle is farther than Max VWAP distance from VWAP, in which case a limit order is placed at VWAP ± distance. Stops sit SL offset points from VWAP; take- profit uses the chosen Risk/Reward Ratio. The script sizes each trade to risk a fixed fraction of equity (1 % by default) and can move the stop to breakeven once price reaches Break-even trigger (%) of the way to the target. The companion indicator plots the same signals so you can visually confirm entries and projected SL/TP before running the strategy live. Use this for VWAP-based continuation testing, alert generation, or as a template for your broker integration.Pine Script®策略由hronnie提供4
Volatility Engine [MZ] (Signals Only) v1Volatility Engine — Signals Only v1 Volatility Engine is a minimalist, signal-only trading strategy designed to identify high-probability LONG and SHORT opportunities during periods of meaningful market expansion. The script intentionally displays only entry signals on the chart — no indicators, no bands, no moving averages, no trend lines. All calculations are performed internally, allowing traders to focus entirely on price action, execution, and risk management, without indicator What you see • Clear LONG / SHORT signals plotted directly on price • No overlays or auxiliary indicators • Clean, distraction-free chart What happens under the hood The engine internally evaluates multiple market conditions, including: • expansion vs. contraction regimes • directional context • activity thresholds • confirmation logic • optional recovery and risk management mechanisms All logic is fully internal and cannot be reverse-engineered from the chart. Key features • Signals-only visualization • Works across crypto, forex, indices, and equities • Suitable for scalping, intraday, and swing trading • Built-in risk management support • Ready for alerts and automation workflows Signals are generated on confirmed bars and do not repaint. Optimization & Usage Notes This script requires proper configuration. Performance may vary depending on the market, symbol, and timeframe. Each asset behaves differently, therefore: • settings should be adjusted individually • parameters may need optimization per timeframe and market conditions • results will differ across instruments For best results, users are encouraged to: • test different configurations • adapt settings to the selected timeframe • use the script as part of a broader trading process This is not a “plug-and-play” system. Proper testing and risk management are essential to maximize performance. Disclaimer This script is a trading tool, not financial advice. Trading involves risk. Past performance does not guarantee future results. Always test and apply proper risk management. Pine Script®策略由MateuszZon提供4
MACD Bounce Strategy for CryptohopperSell and Buy alerts based on MACD crossover values for automated triggers in CryptohopperPine Script®策略由Dwinn提供已更新 10
MACD Bounce Strategy BTCUSD CryptohopperBased on MACD. 4h timeframe. Sell and buy based on specific cross over values in MACDPine Script®策略由Dwinn提供0
Multifactor trend analysis1) Overview ◆ A 30-minute technical-analysis framework combining: ◆ Higher-timeframe trend structure ◆ SMA-spread chop-risk filter ◆ Linear-regression slope classification ◆ 30-min breakout-style triggers ◆ Multi-indicator consensus layer (MACD, RSI, Stoch, Ichimoku, CCI, PSAR, Williams %R, Heikin-Ashi, Force Index) ◆ Adaptive sizing & loss-pause module ◆ Two separate downward-signal branches with different logic and time-weighting 2) Core Components Higher-Timeframe Structure ◆Up-bias: close > long-MA AND short-MA > long-MA ◆Down-bias: close < short-MA AND short-MA < long-MA Chop-Risk Filter ◆Require MA-spread > threshold to avoid sideways noise. Trend Slope ◆Linear-regression slope divided into strength categories. Trigger (30-min) ◆Upward: high breaks above prior short-MA ◆Downward: low breaks below prior long-MA ◆Both include bar-state confirmation. Consensus Score ◆Multiple indicators → +1 / -1 / 0 → combined score guiding downward logic. Weekly Adjustments ◆Certain thresholds adapt at weekly cycle boundaries. 3) Conditions & Sizing Upward Activation Needs: ◆ HTF up-bias ◆Chop-filter pass ◆Upward breakout relative to prior MA Adaptive Sizing Based on: ◆Recent negative streaks ◆Slope category ◆User-defined limits Downward Logic Branch A ◆HTF down-bias ◆Down-MA breakout ◆Slope-acceleration requirement ◆Size increases with setup strength Branch B ◆Close below SMA-deviation threshold ◆Down-bias consensus score > limit ◆Regression slope below requirement ◆Weekly thresholds ◆Time-window weighting Interval Control ◆Must exceed minimum bar spacing. Loss-Pause ◆After too many negative sequences → temporary cooldown. 4) Originality ◆ Dual-layer filtering: structure + chop ◆ Slope ranges instead of simple slope up/down ◆ Multi-indicator consensus ◆ Adaptive sizing + pause logic ◆ Designed for stable behavior in historical directional phases 5) Usage ◆ Default: 30-minute timeframe ◆ Not tied to any market/product ◆ Chop-filter reduces action in sideways periods ◆ Exits/trails adjustable ◆ Suitable only for study and research, not performance expectations 6) Disclaimer - Educational only — no trading advice ◆ No recommendations, no predictions ◆ Past data ≠ future results ◆ Not responsible for outcomes ◆ No order execution ◆ Markets can be high-risk ◆ Invite-Only access; no source code; no refunds ◆ User assumes all risks ✅ 教育用途/策略研究 ✅ 不提供投資建議/不代操 ✅ 不保證績效/過去不代表未來 ✅ Invite‑Only 授權 10,000 TWD per month /不提供原始碼 ✅ 數位授權啟用後不退款 ✅ 使用者自行承擔交易風險 Release Notes v1.0: Initial release v1.1: Added cooling / drawdown-limit mechanism v1.2: Optimize the Bull algorithmPine Script®策略由kiwei580提供已更新 6
ronismc333 דור בן שימול: //+------------------------------------------------------------------+ //| SMC GBP PRO EA – FTMO Ready 30M עם חצים | //+------------------------------------------------------------------+ #property strict input double RiskPercent = 1.0; input int RSIPeriod = 14; input int StopLossPoints = 200; input int TakeProfitPoints = 400; input int MagicNumber = 202630; input bool EnableAlerts = true; int rsiHandle; //+------------------------------------------------------------------+ int OnInit() { rsiHandle = iRSI(_Symbol, PERIOD_M30, RSIPeriod, PRICE_CLOSE); Comment("SMC GBP PRO EA Status: CONNECTED Account: ", AccountNumber()); return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ void OnTick() { if(PositionsTotal() > 0) { UpdateStatus(); return; } double rsi ; CopyBuffer(rsiHandle,0,0,1,rsi); double high1 = iHigh(_Symbol, PERIOD_M30,1); double low1 = iLow(_Symbol, PERIOD_M30,1); double close1= iClose(_Symbol, PERIOD_M30,1); double high2 = iHigh(_Symbol, PERIOD_M30,2); double low2 = iLow(_Symbol, PERIOD_M30,2); //==== HTF TREND (1H EMA50) ==== double emaHTF = iMA(_Symbol, PERIOD_H1, 50, 0, MODE_EMA, PRICE_CLOSE, 0); double closeHTF = iClose(_Symbol, PERIOD_H1, 0); bool htfBull = closeHTF > emaHTF; bool htfBear = closeHTF < emaHTF; //==== LIQUIDITY SWEEP ==== bool sweepBuy = low1 < low2 && close1 > low2; bool sweepSell = high1 > high2 && close1 < high2; //==== BOS ==== bool bosBuy = sweepBuy && close1 > high2; bool bosSell = sweepSell && close1 < low2; //==== BUY/SELL CONDITIONS ==== bool buy = bosBuy && rsi > 50 && htfBull; bool sell = bosSell && rsi < 50 && htfBear; double lot = CalculateLot(StopLossPoints, RiskPercent); if(buy) { OpenTrade(ORDER_TYPE_BUY, lot, StopLossPoints, TakeProfitPoints, "BUY GBP"); DrawArrow("BUY", 0, low1 - 10*_Point, clrLime, "BUY GBP"); } if(sell) { OpenTrade(ORDER_TYPE_SELL, lot, StopLossPoints, TakeProfitPoints, "SELL GBP"); DrawArrow("SELL", 0, high1 + 10*_Point, clrRed, "SELL GBP"); } UpdateStatus(); } //+------------------------------------------------------------------+ double CalculateLot(int slPoints, double riskPercent) { double riskMoney = AccountBalance() * riskPercent / 100.0; double lot = riskMoney / (slPoints * _Point * 10); lot = MathMax(lot,0.01); return(NormalizeDouble(lot,2)); } //+------------------------------------------------------------------+ void OpenTrade(ENUM_ORDER_TYPE type,double lot,int sl,int tp,string comment) { double price = (type==ORDER_TYPE_BUY) ? SymbolInfoDouble(_Symbol,SYMBOL_ASK) : SymbolInfoDouble(_Symbol,SYMBOL_BID); double slPrice = (type==ORDER_TYPE_BUY) ? price - sl*_Point : price + sl*_Point; double tpPrice = (type==ORDER_TYPE_BUY) ? price + tp*_Point : price - tp*_Point; MqlTradeRequest req; MqlTradeResult res; ZeroMemory(req); req.action = TRADE_ACTION_DEAL; req.symbol = _Symbol; req.volume = lot; req.type = type; req.price = price; req.sl = slPrice; req.tp = tpPrice; req.deviation= 20; req.magic = MagicNumber; req.comment = comment; if(!OrderSend(req,res)) { Print("Trade failed: ",res.retcode); if(EnableAlerts) Alert("Trade failed: ",res.retcode); } else { if(EnableAlerts) Alert(comment," opened at ",price); Print(comment," opened at ",price); } } //+------------------------------------------------------------------+ void UpdateStatus() { string text = "SMC GBP PRO EA Status: CONNECTED Account: "+IntegerToString(AccountNumber()); if(PositionsTotal()>0) text += " Trade Open!"; Comment(text); } //+------------------------------------------------------------------+ void DrawArrow(string name, int shift, double price, color clr, string text) { string objName = name + IntegerToString(TimeCurrent()); if(ObjectFind(0,objName) >=0) ObjectDelete(0,objName); ObjectCreate(0,objName,OBJ_ARROW,0,Time ,price); ObjectSetInteger(0,objName,OBJPROP_COLOR,clr); ObjectSetInteger(0,objName,OBJPROP_WIDTH,2); ObjectSetInteger(0,objName,OBJPROP_ARROWCODE,233); // חץ ObjectSetString(0,objName,OBJPROP_TEXT,text); } ------------------------------------------------------------------+ //| SMC GBP PRO EA – FTMO 30M + TP/SL + Trailing Stop | //+------------------------------------------------------------------+ #property strict input double RiskPercent = 1.0; input int RSIPeriod = 14; input int StopLossPoints = 200; input int TakeProfitPoints = 400; input int MagicNumber = 202630; input bool EnableAlerts = true; int rsiHandle; //+------------------------------------------------------------------+ int OnInit() { rsiHandle = iRSI(_Symbol, PERIOD_M30, RSIPeriod, PRICE_CLOSE); Comment("SMC GBP PRO EA Status: CONNECTED Account: ", AccountNumber()); return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ void OnTick() { // UpdateStatus(); // Trailing Stop ManageTrailing(); if(PositionsTotal() > 0) return; double rsi ; CopyBuffer(rsiHandle,0,0,1,rsi); double high1 = iHigh(_Symbol, PERIOD_M30,1); double low1 = iLow(_Symbol, PERIOD_M30,1); double close1= iClose(_Symbol, PERIOD_M30,1); double high2 = iHigh(_Symbol, PERIOD_M30,2); double low2 = iLow(_Symbol, PERIOD_M30,2); //==== HTF TREND (1H EMA50) ==== double emaHTF = iMA(_Symbol, PERIOD_H1, 50, 0, MODE_EMA, PRICE_CLOSE, 0); double closeHTF = iClose(_Symbol, PERIOD_H1, 0); bool htfBull = closeHTF > emaHTF; bool htfBear = closeHTF < emaHTF; //==== LIQUIDITY SWEEP ==== bool sweepBuy = low1 < low2 && close1 > low2; bool sweepSell = high1 > high2 && close1 < high2; //==== BOS ==== bool bosBuy = sweepBuy && close1 > high2; bool bosSell = sweepSell && close1 < low2; //==== BUY/SELL CONDITIONS ==== bool buy = bosBuy && rsi > 50 && htfBull; bool sell = bosSell && rsi < 50 && htfBear; double lot = CalculateLot(StopLossPoints, RiskPercent); if(buy) { OpenTrade(ORDER_TYPE_BUY, lot, StopLossPoints, TakeProfitPoints, "BUY GBP"); DrawArrow("BUY", 0, low1 - 10*_Point, clrLime, "BUY GBP"); } if(sell) { OpenTrade(ORDER_TYPE_SELL, lot, StopLossPoints, TakeProfitPoints, "SELL GBP"); DrawArrow("SELL", 0, high1 + 10*_Point, clrRed, "SELL GBP"); } } //+------------------------------------------------------------------+ double CalculateLot(int slPoints, double riskPercent) { double riskMoney = AccountBalance() * riskPercent / 100.0; double lot = riskMoney / (slPoints * _Point * 10); lot = MathMax(lot,0.01); return(NormalizeDouble(lot,2)); } //+------------------------------------------------------------------+ void OpenTrade(ENUM_ORDER_TYPE type,double lot,int sl,int tp,string comment) { double price = (type==ORDER_TYPE_BUY) ? SymbolInfoDouble(_Symbol,SYMBOL_ASK) : SymbolInfoDouble(_Symbol,SYMBOL_BID); double slPrice = (type==ORDER_TYPE_BUY) ? price - sl*_Point : price + sl*_Point; double tpPrice = (type==ORDER_TYPE_BUY) ? price + tp*_Point : price - tp*_Point; MqlTradeRequest req; MqlTradeResult res; ZeroMemory(req); req.action = TRADE_ACTION_DEAL; req.symbol = _Symbol; req.volume = lot; req.type = type; req.price = price; req.sl = slPrice; req.tp = tpPrice; req.deviation= 20; req.magic = MagicNumber; req.comment = comment; if(!OrderSend(req,res)) { Print("Trade failed: ",res.retcode); if(EnableAlerts) Alert("Trade failed: ",res.retcode); } else { if(EnableAlerts) Alert(comment," opened at ",price); Print(comment," opened at ",price); } } //+------------------------------------------------------------------+ void UpdateStatus() { string text = "SMC GBP PRO EA Status: CONNECTED Account: "+IntegerToString(AccountNumber()); if(PositionsTotal()>0) text += " Trade Open!"; Comment(text); } //+------------------------------------------------------------------+ void DrawArrow(string name, int shift, double price, color clr, string text) { string objName = name + IntegerToString(TimeCurrent()); if(ObjectFind(0,objName) >=0) ObjectDelete(0,objName); ObjectCreate(0,objName,OBJ_ARROW,0,Time ,price); ObjectSetInteger(0,objName,OBJPROP_COLOR,clr); ObjectSetInteger(0,objName,OBJPROP_WIDTH,2); ObjectSetInteger(0,objName,OBJPROP_ARROWCODE,233); // חץ ObjectSetString(0,objName,OBJPROP_TEXT,text); } //+------------------------------------------------------------------+ void ManageTrailing() { for(int i=PositionsTotal()-1;i>=0;i--) { ulong ticket = PositionGetTicket(i); if(PositionSelectByTicket(ticket)) { double price = PositionGetDouble(POSITION_PRICE_OPEN); double sl = PositionGetDouble(POSITION_SL); double tp = PositionGetDouble(POSITION_TP); ENUM_POSITION_TYPE type = (ENUM_POSITION_TYPE)PositionGetInteger(POSITION_TYPE); double newSL = 0; if(type == POSITION_TYPE_BUY) { double trail = SymbolInfoDouble(_Symbol,SYMBOL_BID) - StopLossPoints*_Point; if(trail > sl) newSL = trail; } else if(type == POSITION_TYPE_SELL) { double trail = SymbolInfoDouble(_Symbol,SYMBOL_ASK) + StopLossPoints*_Point; if(trail < sl) newSL = trail; } if(newSL != 0) { MqlTradeRequest req; MqlTradeResult res; ZeroMemory(req); req.action = TRADE_ACTION_SLTP; req.symbol = _Symbol; req.position = ticket; req.sl = newSL; req.tp = tp; OrderSend(req,res); } } } }Pine Script®策略由dorbenshimol20提供22114
BE-QuantFlow: Adaptive Momentum Trading█ Overview: QuantFlow: Adaptive Momentum Trading QuantFlow is a sophisticated algorithmic momentum trading method designed specifically for indices and high-beta stocks. However, its logic is universal; with appropriate parameter tuning, it adapts to various asset classes and timeframes. While the standard momentum indicators (like RSI or MACD) simply measure how fast price is moving (Velocity), QuantFlow analyzes the quality and conviction of the trend . Features like Dynamic Volatility Filtering and Trend Shielding, combined with volatility weighting and a "Dual-Line" approach to distinguish between a sustainable institutional trend and a temporary retail spike, make the indicator unique and more powerful. █ Why QuantFlow ? Quant (The Engine): This replaces subjective guessing with objective math. Instead of just seeing that the price is "up," we measure "how it got there". For example, a stock that rises 1 currency value every day for 10 days (smooth trend) gets a much higher score than a stock that jumps 10 currency value in one minute and does nothing else (erratic noise). This mathematical rigor provides the structure. █ Core Logic & Philosophy To understand how QuantFlow calculates momentum, imagine a "Tug-of-War" between Buyers (Bulls) and Sellers (Bears). Most indicators (like RSI) use a single line. If RSI is at 50, it means "Neutral." But "Neutral" can mean two very different things: Peace: Nothing is happening. No one is buying or selling. War: Buyers are pushing hard, but Sellers are pushing back equally hard. Volatility is massive. A single line hides this reality. QuantFlow splits the market into two separate scores: Bull Score (Green Line): How hard are the buyers pushing? Bear Score (Red Line): How hard are the sellers pushing? The Layman's Advantage: If both lines are low = Sleepy Market (Avoid). If Green is high and Red is low = Clean Uptrend (Buy). If Red is high and Green is low = Clean Downtrend (Sell). If both lines are high = Chaos/War Zone (Wait). █ How it Weight "Sustenance" (The Critical Quality Check) This is the most unique aspect of QuantFlow: Trend direction alone is not enough; Sustenance is weighed equally . Standard indicators treat every 10 currency value movements the same way with no distinction. However, QuantFlow asks, "Did you hold the ground you gained?" Scenario A (High Sustenance) : A stock opens at 100, marches to 110, and closes at 110. Verdict : Buyers pushed up and sustained the price. QuantFlow Weight : 100%. This is a high-quality move. Scenario B (Low Sustenance) : A stock opens at 100, spikes to 110, but gets sold off to close at 102. Verdict : Buyers pushed up (Trend is Up), but failed to sustain it (Long Wick). QuantFlow Weight : 20%. This is treated as "Noise" or a trap. By mathematically weighing the Close Location Value (where the candle closes relative to its high/low), QuantFlow filters out "Gap-and-Fade" traps and exhaustion spikes that fool traditional indicators. Comparisons: QuantFlow vs. The Rest Calculation Logic : Standard RSI/MACD measures simple price change over time. QuantFlow measures Price Change 'times (x)' Conviction (Sustenance Weighting). Visual Output : Standard tools show a single line (0-100), often hiding market conflict. QuantFlow displays Dual Lines (Bull vs Bear Intensity) to reveal the true state of the battle. Trap Handling : Standard indicators are often fooled by sharp spikes. QuantFlow ignores "Gap-and-Fade" moves with poor closing conviction. Adaptability : Standard tools use static levels (e.g., Overbought > 70). QuantFlow uses Dynamic Bands that adjust automatically to recent volatility. █ Dynamic Volatility Filtering Unlike standard indicators that use fixed levels (e.g., "Buy if RSI > 50"), QuantFlow acknowledges that "50" means something different in a quiet market versus a crashing market. This section explains the statistical engine driving the signals. The Problem with Static Levels : In a low-volatility environment, a momentum score of 55 might indicate a massive breakout. In a high-volatility environment, a score of 55 might just be random noise. A fixed threshold cannot handle both scenarios. The Solution: Adaptive Statistics : The script maintains a memory of the Momentum Events. It doesn't just look at price; it looks at where the momentum occurred in the past and draws a "Noise Zone" (Grey Band). This logic acts as a "Smart Gatekeeper" for trade entries: Scenario A: Inside the Noise (The Filter) If a new momentum signal happens inside the Noise Zone, the script assumes it is likely chop or noise. Action : It forces a wait period. The signal is delayed until the trend sustains itself for Confirm Bars; else the signal is cancelled. This filters out ~70% of false signals in sideways markets. Scenario B: Outside the Noise (The Breakout) If a new momentum signal happens outside the Noise Zone (or the momentum score smashes through the Upper Band), it is statistically significant (an outlier event). Action: It triggers an Immediate Entry. No waiting is required because the move is powerful enough to escape the historical noise zone. █ The ⚠️ "Warning" System (Heads-up for Smart Reversals) While you are directional if there is potential reversal signal, it provides the heads-up warning for a better decision-making █ Special Utility: Ghost Mode For intraday traders, the biggest disruption to "Flow" is the mandatory broker square-off at 3:15 PM (considering Indian Market). Often, a trend continues overnight, and the trader misses the gap-up opening the next morning because their algo was flat. Ghost Mode is a unique feature that runs silently in the background: At Square-off: The strategy closes your official position to satisfy the broker. In the Background: It keeps the trade "alive" virtually (Ghost). Next Morning: If the market opens in the trend's favor, the strategy re-enters the trade automatically. This approach ensures you capture the full swing of the trend, even if you are forced to exit at the previous session. █ Advice on this indicator: Parameter Calibration: The default settings are optimized for BankNifty on 5-minute charts. If you trade stocks, crypto, commodities, or any higher timeframes (e.g., 15-min or hourly), you must adjust these. Low Volatility Assets: Reduce Stop Multiplier to 2.0. High Volatility Assets: Increase Momentum Lookback to 50 to filter noise. Confluence (Additional Confirmation): While QuantFlow is a complete system, using it alongside Key Support/Resistance Levels or Volume Profile provides the highest probability setups. Pine Script®策略由TradeWiseWithEase提供已更新 22150
EMA Multi-Type Strategy TrumailThis is a price-action + EMA trend strategy that: Uses EMA as trend filter Looks for pullbacks and structure shifts near the EMA Trades 3 different entry patterns (TYPE 1 / 2 / 3) Allows: Fixed SL–TP (RR based) OR ATR trailing stop Optionally blocks opposite trades until the current trade exits Think of it as: “Trade continuation after pullback in EMA trend, with multiple confirmation strengths.”Pine Script®策略由manjunathprasad_mpm提供0
EMA Multi-Type StrategyThis is a price-action + EMA trend strategy that: Uses EMA as trend filter Looks for pullbacks and structure shifts near the EMA Trades 3 different entry patterns (TYPE 1 / 2 / 3) Allows: Fixed SL–TP (RR based) OR ATR trailing stop Optionally blocks opposite trades until the current trade exits Think of it as: “Trade continuation after pullback in EMA trend, with multiple confirmation strengths.”Pine Script®策略由manjunathprasad_mpm提供6
ML-Inspired Adaptive Momentum Strategy (TradingView v6)This strategy demonstrates an adaptive momentum approach using volatility-normalized trend strength. It is designed for educational and analytical purposes and uses deterministic, fully transparent logic compatible with Pine Script v6. ML-Inspired Concept (Educational Context) Pine Script cannot train or execute real machine-learning models. Instead, this strategy demonstrates ML-style thinking by: Converting price data into features Normalizing features to account for volatility differences Producing a bounded confidence score Applying thresholds for decision making This is not predictive AI and does not claim forecasting capability. Strategy Logic EMA is used to measure directional bias EMA slope represents momentum change ATR normalizes the slope (feature scaling) A clamped score between −1 and +1 is generated Trades trigger only when the score exceeds defined thresholds Risk & Execution Position size capped at 5% equity Commission and slippage included for realistic testing Signals are calculated on closed bars only Purpose This script is intended to help traders explore adaptive momentum concepts and understand how feature normalization can be applied in systematic trading strategies.Pine Script®策略由AIScripts提供19
Supertrend + OBV AND Logic (long only)Supertrend + OBV Regime Filter (Long-Only) is a rule-based trend regime detection script that combines ATR-based Supertrend structure with volume-confirmed momentum using On-Balance Volume (OBV). The Supertrend (ATR 10, multiplier 3) defines the primary market regime and acts as the absolute authority for trend direction, while OBV—manually calculated for robustness and smoothed using EMA(20) with a signal EMA(20)—is used to confirm participation and momentum. A long signal is generated only on confirmed bar close when the Supertrend is bullish (price above the Supertrend line) and OBV momentum turns positive via an EMA crossover, enforcing strict AND-logic confirmation and preventing entries during low-volume or transitional phases. The strategy maintains a single long position per trend, with no pyramiding, averaging, or discretionary overrides. A full exit is triggered immediately when the Supertrend flips bearish, serving as a hard regime exit rather than a profit-target-based stop. Additionally, an OBV downside crossover generates a non-executable “Protect” signal (visual only), intended for risk-management actions such as reducing exposure or pausing position additions, particularly for grid or DCA implementations. This script is not designed as a grid, scalping, or buy-and-hold strategy; instead, it functions as a conservative trend and regime filter suitable for discretionary trading or as a signal layer to control automated long-bias execution systems. Forward testing and proper risk management are strongly recommended.Pine Script®策略由blood_doc提供23
Volatility Engine [MZ] (Signals Only)Volatility Engine — Signals Only Volatility Engine is a minimalist, signal-only trading strategy designed to identify high-probability LONG and SHORT opportunities during periods of meaningful market expansion. The script intentionally displays only entry signals on the chart — no indicators, no bands, no moving averages, no trend lines. All calculations are performed internally, allowing traders to focus entirely on price action, execution, and risk management, without indicator clutter. What you see Clear LONG / SHORT signals plotted directly on price No overlays or auxiliary indicators Clean, distraction-free chart What happens under the hood The engine internally evaluates multiple market conditions, including: expansion vs. contraction regimes directional context activity thresholds confirmation logic optional recovery and risk management mechanisms All logic is fully internal and cannot be reverse-engineered from the chart. Key features Signals-only visualization Works across crypto, forex, indices, and equities Suitable for scalping, intraday, and swing trading Built-in risk management support Ready for alerts and automation workflows Signals are generated on confirmed bars and do not repaint. Optimization & Usage Notes This script requires proper configuration. Performance may vary depending on the market, symbol, and timeframe. Each asset behaves differently, therefore: settings should be adjusted individually parameters may need optimization per timeframe and market conditions results will differ across instruments For best results, users are encouraged to: test different configurations adapt settings to the selected timeframe use the script as part of a broader trading process This is not a “plug-and-play” system. Proper testing and risk management are essential to maximize performance. Disclaimer This script is a trading tool, not financial advice. Trading involves risk. Past performance does not guarantee future results. Always test and apply proper risk management. Pine Script®策略由MateuszZon提供已更新 12
[Invite-Only] HHFF1B Hybrid Trend Strategy Overview The HHFF1B Hybrid Trend Strategy is an asymmetric trend-following system designed to capture high-probability breakouts while filtering out false signals in choppy markets. Unlike traditional symmetrical strategies, this script applies distinct logic for Long and Short entries to adapt to different market behaviors. Core Logic 1. Asymmetric Entry Conditions The strategy differentiates between bullish trends and bearish breakdowns: Long Entry (Trend Confirmation): Focuses on stability. A position is opened only when the price breaks above the Bollinger Band Upper Rail, confirmed by the Parabolic SAR, and is trading above key Long-Term EMAs (100 & 200). An RSI filter (30-70) is applied to avoid buying at extreme overbought levels. Short Entry (Volatility Explosion): Focuses on momentum. Short entries require high volatility confirmed by ADX (Average Directional Index) and DMI. It looks for a "Bollinger Band Squeeze" release combined with a breakdown below the Lower Rail. 2. Risk Management & Profit Protection This is not a "fire and forget" system. It includes active trade management: Dynamic Stop Loss: Initial stops are set based on percentage risk, but the strategy includes a "Breakeven Trigger." Once the trade moves favorably by a specific percentage (0.6% for Longs, 0.8% for Shorts), the stop moves to the entry price to protect capital. Guard Exit Mechanism: A specialized logic that monitors the Parabolic SAR. If the trade is in profit (>0.45%) but the SAR signals a potential reversal, the strategy exits early to lock in gains before the trend collapses. Trailing Stop: Uses ATR-based trailing stops to let winning trades run while the trend persists. Settings & Customization Users can adjust risk per trade, lookback periods, and specific ADX thresholds to fit different assets (Crypto, Forex, or Stocks). Disclaimer This strategy is for educational and analytical purposes only. Past performance does not guarantee future results. Trading involves significant risk. Access This is an Invite-Only script. To gain access, please check the links in my Signature below or send me a Private Message. 概述 HHFF1B 混合趋势策略 是一套非对称的趋势跟踪系统,旨在捕捉高概率的突破行情,同时在震荡市场中过滤虚假信号。与传统的对称策略不同,本脚本针对“做多”和“做空”采用了完全不同的底层逻辑,以适应市场上涨缓和与下跌急促的不同特性。 核心逻辑 1. 非对称入场机制 多头入场 (Long): 侧重于趋势确认。仅当价格突破布林带上轨,且同时满足抛物线 SAR 指标翻转、位于长周期均线(EMA 100 & 200)之上时才会触发。同时引入 RSI 过滤器(30-70区间),避免在极端超买区域追高。 空头入场 (Short): 侧重于爆发力。空头信号需要高波动率支持,通过 ADX (平均趋向指标) 和 DMI 进行筛选。策略会寻找“布林带挤压 (Squeeze)”后的向下爆发点,确保在动能最强时介入。 2. 动态风控与利润卫士 本策略包含主动的仓位管理机制,而非简单的固定止盈止损: 保本机制 (Breakeven): 当浮盈达到一定比例(多头0.6%,空头0.8%)时,止损线自动上移至开仓价,实现“无风险”持仓。 SAR 反转保护 (Guard Exit): 这是一个特殊的保护逻辑。如果当前持仓已有微利(>0.45%)但 SAR 指标显示短期反转信号,策略会立即离场,防止利润回撤。 ATR 移动止盈: 使用基于 ATR 的追踪止损,在趋势延续时让利润奔跑。 设置与自定义 用户可以根据不同的交易品种(加密货币、外汇或股票)调整每笔风险、布林带周期以及 ADX 阈值等参数。 免责声明 本脚本仅供学习和辅助分析使用。历史回测数据不代表未来表现。交易有风险,入市需谨慎。 如何获取 这是一个“仅限邀请 (Invite-Only)”的脚本。 如需申请访问权限,请查看下方我的 个人签名 (Signature) 或直接 私信 (Private Message) 联系我。Pine Script®策略由whai6626提供5