MA Crossover Strategy with TP/SL (5 EMA Filter)How the Strategy Works on a 5-Minute Chart:
Data Input (5-Minute Candles):
Every single data point (candle) on your chart will represent 5 minutes of price action (Open, High, Low, Close for that 5-minute period).
All calculations (MAs, EMA, signals) will be based on these 5-minute price data points.
Moving Average Calculations:
Fast MA (10-period SMA): This will be the Simple Moving Average of the closing prices of the last 10 five-minute candles. It reacts relatively quickly to recent price changes.
Slow MA (30-period SMA): This will be the Simple Moving Average of the closing prices of the last 30 five-minute candles. It represents a slightly longer-term trend compared to the Fast MA.
5 EMA (5-period EMA): This is the Exponential Moving Average of the closing prices of the last 5 five-minute candles. Being an EMA, it gives more weight to the most recent 5-minute prices, making it very responsive to immediate price action.
Signal Generation (Entry Conditions):
Long Entry Signal:
The 10-period SMA crosses above the 30-period SMA (indicating a potential bullish shift in the short-to-medium term trend).
AND the current 5-minute candle's closing price is above the 5-period EMA (confirming that the immediate price momentum is also bullish and supporting the crossover).
If both conditions are met at the close of a 5-minute candle, a "Buy" signal is generated.
Short Entry Signal:
The 10-period SMA crosses below the 30-period SMA (indicating a potential bearish shift).
AND the current 5-minute candle's closing price is below the 5-period EMA (confirming immediate bearish momentum).
If both conditions are met at the close of a 5-minute candle, a "Sell" signal is generated.
Trade Execution:
When a signal is triggered, the strategy enters a trade (long or short) at the closing price of that 5-minute candle.
Immediately upon entry, it places two contingent orders:
Take Profit (Target): Set at 2% (by default) away from your entry price. For a long trade, it's 2% above; for a short trade, 2% below.
Stop Loss: Set at 1% (by default) away from your entry price. For a long trade, it's 1% below; for a short trade, 1% above.
The trade will remain open until either the Take Profit or Stop Loss price is hit by subsequent 5-minute candles.
Implications for Trading on a 5-Minute Chart:
Increased Trade Frequency: You will likely see many more signals and trades compared to higher timeframes (like 1-hour or daily charts). This means more potential opportunities but also more transaction costs (commissions, slippage).
Sensitivity to Noise: Lower timeframes are more prone to "market noise" – small, random price fluctuations that don't indicate a true trend. While the 5 EMA filter helps, some false signals might still occur.
Faster Price Action: Price movements can be very rapid on a 5-minute chart. Your take profit or stop loss levels might be hit very quickly, sometimes within the same or next few candles.
Parameter Optimization is Crucial: The default MA lengths (10, 30) and EMA (5) might not be optimal for every asset or market condition on a 5-minute chart. You'll need to backtest extensively and potentially adjust these lengths, as well as the targetPerc and stopPerc, to find what works best for the specific instrument you're trading.
Risk Management: The fixed percentage stop loss is vital on a 5-minute chart due to its volatility. Without it, a few unfavorable moves could lead to significant losses.
Medie mobili
High Accuracy Volume Breakout StrategyHigh Accuracy Volume Breakout Strategy (EMA + RSI Filter)
🧠 Description:
This is a high-accuracy breakout strategy based on volume surges, trend confirmation, and momentum filtering, designed for intraday and short-term trading.
The strategy aims to capture strong directional moves triggered by sudden increases in volume, with entry filters to avoid low-quality or choppy signals.
✅ Entry Logic:
🔺 Buy Entry Conditions:
Current candle closes above previous high
Volume is greater than 1.5× the 20-period average
Price is above 50 EMA (uptrend confirmation)
RSI is below 70 (not overbought)
🔻 Sell Entry Conditions:
Current candle closes below previous low
Volume is greater than 1.5× the 20-period average
Price is below 50 EMA (downtrend confirmation)
RSI is above 30 (not oversold)
🎯 Exit Logic:
Stop Loss: 1.2 × ATR(14)
Take Profit: 2.0 × ATR(14)
🧪 Recommended Settings:
Parameter Value
Timeframe 5-minute, 15-minute
Markets Gold (XAUUSD), Nifty, BankNifty, BTC, NASDAQ
Risk/Reward ~1:1.6
Expected Accuracy ~65–75% in trending markets
📊 Features:
🔸 ATR-based dynamic stoploss and target
🔸 Volume spike confirmation to detect real breakouts
🔸 EMA 50 trend filter to reduce false signals
🔸 RSI filter to avoid extreme zones (overbought/oversold)
🔸 Plotted buy/sell arrows for clarity
⚠️ Disclaimer:
This strategy is for educational purposes only. Please backtest and paper trade before using in live markets. Performance may vary depending on asset and timefram
plot(ema50, color=color.orange)
SMA Ratio w/ RSI, BB & EMAOverview:
This strategy combines signal-based trend logic with advanced volatility filters, RSI confirmation, dynamic stop-loss/take-profit levels, and higher-timeframe (HTF) trend validation. A fully visual dashboard provides live feedback on market conditions, win rates, and current signal strength.
Key Features:
🔁 Dynamic Stop-Loss/Take-Profit based on ATR and signal strength
📶 Gradient Signal Strength using custom SMA/EMA crossovers
📊 Higher Timeframe Trend Filter for directional bias
🌀 Bollinger Band Squeeze Filter to detect low-volatility breakout zones
💹 RSI Filter to avoid overbought/oversold traps
🧠 Signal Classification: Detects LH/HL Buy/Sell setups and displays them as labels (e.g., "LH Buy", "HL Sell")
🧾 Live Dashboard: Displays signal strength, trend status, volatility, win rate, drawdown, and confidence
🎨 Arcade Theme Option for colorful visual feedback
How It Works:
Entry signals are generated using a differential between fast and slow SMAs (sig) and an EMA of the signal for smoothing.
ATR and Bollinger Band widths adjust SL/TP zones based on market volatility.
Higher timeframe EMA determines bullish or bearish market bias.
Confirmations require RSI agreement and a Bollinger Band squeeze breakout.
Trade Classification Logic:
LH Buy/Sell = Lower High → potential weak reversal
HL Buy/Sell = Higher Low → potential strength after correction
These are shown with labels on the chart to help you assess trade strength visually.
Best Use:
Works on various timeframes
Suitable for trend-following strategies with volatility-based exits
Ideal for traders who want clarity and visual feedback on trade quality
⚠️ Disclaimer: This is a strategy script for educational purposes only. Always test thoroughly on demo accounts before using with real capital.
GamePirer M1GamePirer M1 Strategy - Executive Summary (English)
Overview
The GamePirer M1 is a sophisticated intraday trading strategy specifically designed for gold (XAU/USD) trading on 1-minute timeframes. This automated system combines multi-EMA analysis with advanced risk management and time-based filters to maximize profitability during peak market hours.
Key Features
Multi-EMA System: Uses EMA 3, 10, 50, and 200 for trend confirmation
NY Session Filter: Operates exclusively during 7:00 AM - 11:00 AM EST
Risk Management: 1:1.5 risk-reward ratio with dynamic exits
Daily Limits: Maximum 5 trades per day to prevent overtrading
Entry Signals
LONG: EMA 3 crosses above EMA 10, with EMA 3 above EMA 50 and EMA 200
SHORT: EMA 3 crosses below EMA 10, with EMA 10 below EMA 50 and EMA 200
Exit Strategy
Take Profit: 150 ticks ($15 per mini lot)
Stop Loss: 100 ticks ($10 per mini lot)
Smart Exits: Dynamic closure based on EMA reversals
Performance Metrics
Expected Win Rate: 65-75% with proper filtering
Average Trade Duration: 10-30 minutes
Monthly Target: 15-25% returns
Maximum Drawdown: <10% with proper risk management
Why It's Profitable
Premium Trading Hours: Capitalizes on gold's highest volatility period
Multi-Confirmation: Reduces false signals through layered filtering
Disciplined Risk Management: Consistent position sizing and stop losses
Adaptive Exits: Maximizes profits while protecting capital
Emotional Control: Automated execution prevents psychological trading errors
This strategy is ideal for traders seeking a systematic, reliable approach to gold trading with emphasis on consistency and sustainable capital growth.
5 EMA STRATEGY by Power of Stocks(StockYogi)5 EMA STRATEGY by Power of Stocks(StockYogi)
This is a 5 EMA Breakout Strategy inspired by the trading principles taught by Shubhashi Pani, founder of the Power of Stocks (POS) community.
The strategy is designed to:
• Detect breakout setups when price breaks the high/low of a signal candle (based on EMA conditions)
• Enter trades only if the breakout occurs within the next 3 candles
• Allow multiple trades in the same direction without closing the earlier one
• Use independent stop-loss (SL) and take-profit (TP) targets for each trade based on a user-defined risk-reward ratio
• Optionally enter trades only at candle close
• Optionally avoid trades during a custom time window (e.g., 3:00 PM to 3:30 PM IST)
• Optionally close all open positions at a defined time (e.g., 3:30 PM IST)
The goal of this strategy is to provide greater flexibility and realism for intraday or short-term traders following structured breakout systems.
Disclaimer: This script is an implementation of technical ideas for educational purposes only. It is not financial advice. All trading involves risk, and past performance does not guarantee future results.
Strategy Credits:
This strategy is based on publicly known breakout rules taught by Shubhashi Pani (Power of Stocks). This is not an official POS script, and I am not affiliated with the Power of Stocks team. This implementation was developed independently to follow the logic shared for educational use.
Feel free to use, backtest, and modify according to your needs. Constructive feedback is welcome!
ZakionBitcoin Trailing Stop StrategyThe trailing stop indicator dynamically adjusts stop-loss (SL) levels to lock in profits as price moves favorably. It uses pivot levels and ATR to set optimal SL points, balancing risk and reward.
Trade confirmation filters, a key feature, ensure entries align with market conditions, reducing false signals. In 2023 a study showed filtered entries improve win rates by 15% in forex. This enhances trade precision.
SL settings, ranging from very tight to very wide, adapt to volatility via ATR calculations. These settings anchor SL to previous pivot levels, ensuring alignment with market structure. This caters to diverse trading styles, from scalping to swing trading.
The indicator colors the profit zone between the entry point (EP) and SL, using light green for buy trades and light red for sell trades. This visual cue highlights profit potential. It’s ideal for traders seeking dynamic risk management.
A table displays real-time trade details, including EP, SL, and profit/loss (PNL). Backtests show trailing stops cut losses by 20% in trending markets. This transparency aids decision-making.
TFlab Trailing Stop StrategyThe trailing stop indicator dynamically adjusts stop-loss (SL) levels to lock in profits as price moves favorably. It uses pivot levels and ATR to set optimal SL points, balancing risk and reward.
Trade confirmation filters, a key feature, ensure entries align with market conditions, reducing false signals. In 2023 a study showed filtered entries improve win rates by 15% in forex. This enhances trade precision.
SL settings, ranging from very tight to very wide, adapt to volatility via ATR calculations. These settings anchor SL to previous pivot levels, ensuring alignment with market structure. This caters to diverse trading styles, from scalping to swing trading.
The indicator colors the profit zone between the entry point (EP) and SL, using light green for buy trades and light red for sell trades. This visual cue highlights profit potential. It’s ideal for traders seeking dynamic risk management.
A table displays real-time trade details, including EP, SL, and profit/loss (PNL). Backtests show trailing stops cut losses by 20% in trending markets. This transparency aids decision-making.
15-Minute King (VWAP + Z-Score + CVD Oscillator)fridrich instituational secret . ( limited time only 4 free )
MULTI INDICATOR BY DEEPANINDIAThis TradingView strategy combines EMA, SuperTrend, and swing high/low to identify trend breakouts. A long trade is triggered when the previous candle closes above the EMA High and the current candle breaks the prior high. A short trade occurs (if not in Long Only mode) when the opposite happens with the EMA Low. The SuperTrend confirms trend direction, while swing points act as dynamic stop-loss levels. The script includes customizable inputs for EMA lengths, SuperTrend settings, and swing lookback. It helps traders capture strong trends with defined entries and exits using a rules-based, multi-indicator approach.
MULTI INDICATOR BY DEEPANINDIAThis TradingView strategy combines EMA, SuperTrend, and swing high/low to identify trend breakouts. A long trade is triggered when the previous candle closes above the EMA High and the current candle breaks the prior high. A short trade occurs (if not in Long Only mode) when the opposite happens with the EMA Low. The SuperTrend confirms trend direction, while swing points act as dynamic stop-loss levels. The script includes customizable inputs for EMA lengths, SuperTrend settings, and swing lookback. It helps traders capture strong trends with defined entries and exits using a rules-based, multi-indicator approach.
VWMA + ML RSI StrategyVWMA + ML RSI Strategy
This strategy combines the power of Volume-Weighted Moving Average (VWMA) with a Machine Learning-enhanced RSI to generate high-probability long entries.
✅ Buy Logic:
A buy signal is triggered when:
The candle closes above the VWMA
The ML RSI (smoothed using advanced moving averages) is above 60
If only one of the above conditions is met, the strategy waits for the second to confirm before entering.
❌ Sell Logic:
The position is closed when:
The candle closes below the VWMA, and
The ML RSI falls below 40
🎯 Risk Management:
Take Profit: 1.5% above entry
Stop Loss: 1.5% below entry
🤖 ML RSI Explanation:
The ML RSI is a refined version of the traditional RSI using smoothing techniques (like ALMA, EMA, etc.) to reduce noise and enhance responsiveness to price action. It helps filter out weak signals and improves trend confirmation.
🔧 Customization:
Adjustable VWMA length
Configurable ML RSI smoothing method, length, and ALMA sigma
Thresholds for entry/exit RSI levels
K-Capital AlgoK-Capital Algo - Smart Trend & Risk Strategy 📈
A high-efficiency trend-following system with adaptive exits (ATR, Trailing, Fixed %). Built for swing & position traders who want automated risk control.
🔥 Core Features:
✔ Dual MA Signals – ALMA/EMA crossover for clean trends
✔ 3 Exit Modes – ATR stops, Trailing stops, or Fixed % take-profit
✔ Auto Risk Management – Dynamic stop-loss & partial exits
✔ Backtest Dashboard – Win rate, profit factor, trade analytics
✔ Multi-Timeframe Confirmation – Reduces false signals
⚙️ Quick Setup:
Entries: Long (MA↑) / Short (MA↓)
Exits: Choose ATR (volatility-based), Trailing, or Fixed %
Risk: Adjust position size & stop-loss
🎯 Best For:
- Gold on 10 minutes
- BTC on 30 minutes
- Forex on 15 minutes
Disciplined trend followers
Traders who hate manual stop management
🔔 Pro Tip: Combine with higher timeframe trends for best results!
Improved Breakout-Retest Strategy (5M Entry)This strategy combines the strength of a higher timeframe structure with precision 5-minute entries. It identifies consolidation zones on the 4H chart, waits for a strong breakout in the direction of the trend, and then enters on a retest confirmed by an engulfing candle on the 5-minute timeframe. A 200 EMA filter ensures trades align with the dominant trend, while a strict 1:3 risk-to-reward ratio maximizes profitability. It's designed to reduce false breakouts and optimize small account growth with tight stop losses and high probability setups during active trading hours.
Kc Quad MACustom and Premade strategies for the Nasdaq 100 and Dow Jones. Save your own user defined settings as strategies. Quadrouple moving average strategy with small take profits. Utilizing several aspects including ATR, RSI, Volume threshold, change of character, break of structure and more! Stop loss, take profit, max daily loss and max daily profit built in. Don't want to trade during closed hours or the holidays? The strategy automatically shuts off and closes out your trades, when the market is closed. If you want a strategy that runs on full auto-pilot, this is the one to get!
My strategy - US Open OnlyThis is a simple moving average crossover strategy designed to trade only during the US stock market open (09:30–11:00 New York time). It enters a long position when the 14-period SMA crosses above the 28-period SMA, and a short position when the 14-period SMA crosses below the 28-period SMA. Trades are only allowed during the defined US Open session to increase precision and avoid noise outside high-volume market hours.
Kc Quad MA 7Custom and Premade strategies for the Nasdaq 100 and Dow Jones. Quadrouple moving average strategy with small take profits. Utilizing several aspects including ATR, RSI, Volume threshold, change of character, break of structure and more! Stop loss, take profit, max daily loss and max daily profit built in. Don't want to trade during closed hours or the holidays? The strategy automatically shuts off and closes out your trades, when the market is closed. If you want a strategy that runs on full auto-pilot, this is the one to get!
Enhanced Ichimoku Cloud Strategy V1 [Quant Trading]Overview
This strategy combines the powerful Ichimoku Kinko Hyo system with a 171-period Exponential Moving Average (EMA) filter to create a robust trend-following approach. The strategy is designed for traders seeking to capitalize on strong momentum moves while using the Ichimoku cloud structure to identify optimal entry and exit points.
This is a patient, low-frequency trading system that prioritizes quality over quantity. In backtesting on Solana, the strategy achieved impressive results with approximately 3600% profit over just 29 trades, demonstrating its effectiveness at capturing major trend movements rather than attempting to profit from every market fluctuation. The extended parameters and strict entry criteria are specifically optimized for Solana's price action characteristics, making it well-suited for traders who prefer fewer, higher-conviction positions over high-frequency trading approaches.
What Makes This Strategy Original
This implementation enhances the traditional Ichimoku system by:
Custom Ichimoku Parameters: Uses non-standard periods (Conversion: 7, Base: 211, Lagging Span 2: 120, Displacement: 41) optimized for different market conditions
EMA Confirmation Filter: Incorporates a 171-period EMA as an additional trend confirmation layer
State Memory System: Implements a sophisticated memory system to track buy/sell states and prevent false signals
Dual Trade Modes: Offers both traditional Ichimoku signals ("Ichi") and cloud-based signals ("Cloud")
Breakout Confirmation: Requires price to break above the 25-period high for long entries
How It Works
Core Components
Ichimoku Elements:
-Conversion Line (Tenkan-sen): 7-period Donchian midpoint
-Base Line (Kijun-sen): 211-period Donchian midpoint
-Span A (Senkou Span A): Average of Conversion and Base lines, plotted 41 periods ahead
-Span B (Senkou Span B): 120-period Donchian midpoint, plotted 41 periods ahead
-Lagging Span (Chikou Span): Current close plotted 41 periods back
EMA Filter: 171-period EMA acts as a long-term trend filter
Entry Logic (Ichi Mode - Default)
A long position is triggered when ALL conditions are met:
Cloud Bullish: Span A > Span B (41 periods ago)
Breakout Confirmation: Current close > 25-period high
Ichimoku Bullish: Conversion Line > Base Line
Trend Alignment: Current close > 171-period EMA
State Memory: No previous buy signal is still active
Exit Logic
Positions are closed when:
Ichimoku Bearish: Conversion Line < Base Line
Alternative Cloud Mode
When "Cloud" mode is selected, the strategy uses:
Entry: Span A crosses above Span B with additional cloud and EMA confirmations
Exit: Span A crosses below Span B with cloud and EMA confirmations
Default Settings Explained
Strategy Properties
Initial Capital: $1,000 (realistic for average traders)
Position Size: 100% of equity (appropriate for backtesting single-asset strategies)
Commission: 0.1% (realistic for most brokers)
Slippage: 3 ticks (accounts for realistic execution costs)
Date Range: January 1, 2018 to December 31, 2069
Key Parameters
Conversion Periods: 7 (faster than traditional 9, more responsive to price changes)
Base Periods: 211 (much longer than traditional 26, provides stronger trend confirmation)
Lagging Span 2 Periods: 120 (custom period for stronger support/resistance levels)
Displacement: 41 (projects cloud further into future than standard 26)
EMA Period: 171 (long-term trend filter, approximately 8.5 months of daily data)
How to Use This Strategy
Best Market Conditions
Trending Markets: Works best in clearly trending markets where the cloud provides strong directional bias
Medium to Long-term Timeframes: Optimized for daily charts and higher timeframes
Volatile Assets: The breakout confirmation helps filter out weak signals in choppy markets
Risk Management
The strategy uses 100% equity allocation, suitable for backtesting single strategies
Consider reducing position size when implementing with real capital
Monitor the 25-period high breakout requirement as it may delay entries in fast-moving markets
Visual Elements
Green/Red Cloud: Shows bullish/bearish cloud conditions
Yellow Line: Conversion Line (Tenkan-sen)
Blue Line: Base Line (Kijun-sen)
Orange Line: 171-period EMA trend filter
Gray Line: Lagging Span (Chikou Span)
Important Considerations
Limitations
Lagging Nature: Like all Ichimoku strategies, signals may lag significant price moves
Whipsaw Risk: Extended periods of consolidation may generate false signals
Parameter Sensitivity: Custom parameters may not work equally well across all market conditions
Backtesting Notes
Results are based on historical data and past performance does not guarantee future results
The strategy includes realistic slippage and commission costs
Default settings are optimized for backtesting and may need adjustment for live trading
Risk Disclaimer
This strategy is for educational purposes only and should not be considered financial advice. Always conduct your own analysis and risk management before implementing any trading strategy. The unique parameter combinations used may not be suitable for all market conditions or trading styles.
Customization Options
Trade Mode: Switch between "Ichi" and "Cloud" signal generation
Short Trading: Option to enable short positions (disabled by default)
Date Range: Customize backtesting period
All Ichimoku Parameters: Fully customizable for different market conditions
This enhanced Ichimoku implementation provides a structured approach to trend following while maintaining the flexibility to adapt to different trading styles and market conditions.
Superfui - AintLenFuiSuperfui - AintLenFui: A Multi-Strategy Trading Framework
It can work as great as your brain can process and throw your creative on it.
The name tributed to my friends who always support me.
Thank you so much for others' code. I use them to build this.
// --- Credits ---
// @veryfid for ATR SL
// @TradesLuci1 for Breakouts
// @Dreadblitz for Follow Line Indicator - ORC Crypto FLI_AAFLI
// @Misu for Range Detector
The "Superfui - AintLenFui" is not a single strategy but a comprehensive and adaptive trading framework. It intelligently combines three distinct sub-strategies into one powerful system, designed to perform across various market conditions—whether the market is trending, ranging, or transitioning.
The core strength of this framework lies in its versatility, robust risk management, and its non-repainting signal logic, ensuring that backtest results are reliable and align with live trading performance.
The Three Core Strategies (The Three Pillars)
This framework automatically identifies the market condition and deploys the most suitable strategy.
1.Breakout Strategy (Trend Following)
Objective: To capture momentum and ride strong trends.
How it Works: It identifies key support/resistance levels using Pivot Highs and Lows. A trade is triggered when the price decisively breaks through these levels, signaling the start or continuation of a trend.
Ideal Market: Strong trending markets (Uptrends or Downtrends).
2.Mean Reversion Strategy (Range Trading)
Objective: To profit from price fluctuations within a defined range.
How it Works: When the built-in "Range Detector" identifies a sideways market (indicated by orange bands), this strategy activates. It looks for buy opportunities when the price dips to the lower band (in an oversold RSI condition) and sell opportunities when the price rises to the upper band (in an overbought RSI condition).
Ideal Market: Sideways, choppy, or non-trending markets.
3.RD Signal Strategy (Momentum Ignition)
Objective: To catch the very beginning of a new trend as it emerges from a range.
How it Works: This strategy triggers a trade based on the Range Detector's color change. A signal is generated when the market state shifts from "Range" (Orange) to "Uptrend" (Green) for a long trade, or to "Downtrend" (Red) for a short trade.
Ideal Market: Market transitions from a range-bound state to a trending state.
Additional Advanced Filtering & Confirmation
To improve signal quality and reduce false entries, the framework employs a suite of professional-grade filters (Most of them are for Breakout):
Volatility Filter: Ensures trades are taken only when market volatility is within an optimal range.
Volume Confirmation: Validates breakout signals with a surge in trading volume.
ADX Filter: Confirms that a trend has sufficient strength before entering a Breakout trade.
Multi-Timeframe (MTF) Analysis: Aligns trades with the dominant trend on higher timeframes for increased probability.
MA & RSI Filters: Provide additional layers of confirmation for trade direction and momentum.
Robust Risk Management
Capital protection is a cornerstone of this strategy.
Flexible Stop Loss: Options for ATR-based, Candle-based, or fixed Points stop loss.
Breakeven: Automatically moves the stop loss to the entry point after a certain profit is reached, protecting the trade from turning into a loss.
Trailing Stop: Locks in profits by moving the stop loss as the price moves favorably.
Max Daily Drawdown: A critical safety feature that halts all trading for the day if a predefined equity loss percentage is hit, preventing catastrophic losses.
Key Feature: Non-Repainting Logic
The strategy is specifically coded to be non-repainting. It makes all trading decisions based on data from confirmed, closed candles. This means the signals you see in a backtest are exactly what you would have seen in real-time, providing a high degree of confidence in the strategy's historical performance.
Only Break and Retest StrategyCombines various strategies of Break and Retest along with VWAP and 9 MA.
Holy GrailThis is a long-only educational strategy that simulates what happens if you keep adding to a position during pullbacks and only exit when the asset hits a new All-Time High (ATH). It is intended for learning purposes only — not for live trading.
🧠 How it works:
The strategy identifies pullbacks using a simple moving average (MA).
When price dips below the MA, it begins monitoring for the first green candle (close > open).
That green candle signals a potential bottom, so it adds to the position.
If price goes lower, it waits for the next green candle and adds again.
The exit happens after ATH — it sells on each red candle (close < open) once a new ATH is reached.
You can adjust:
MA length (defines what’s considered a pullback)
Initial buy % (how much to pre-fill before signals start)
Buy % per signal (after pullback green candle)
Exit % per red candle after ATH
📊 Intended assets & timeframes:
This strategy is designed for broad market indices and long-term appreciating assets, such as:
SPY, NASDAQ, DAX, FTSE
Use it only on 1D or higher timeframes — it’s not meant for scalping or short-term trading.
⚠️ Important Limitations:
Long-only: The script does not short. It assumes the asset will eventually recover to a new ATH.
Not for all assets: It won't work on assets that may never recover (e.g., single stocks or speculative tokens).
Slow capital deployment: Entries happen gradually and may take a long time to close.
Not optimized for returns: Buy & hold can outperform this strategy.
No slippage, fees, or funding costs included.
This is not a performance strategy. It’s a teaching tool to show that:
High win rate ≠ high profitability
Patience can be deceiving
Many signals = long capital lock-in
🎓 Why it exists:
The purpose of this strategy is to demonstrate market psychology and risk overconfidence. Traders often chase strategies with high win rates without considering holding time, drawdowns, or opportunity cost.
This script helps visualize that phenomenon.
MPS v3.2 – MicroStructure Pulse Scalper📌 MPS v3.2 – MicroStructure Pulse Scalper
Description:
MPS v3.2 is an advanced scalping strategy tailored for precision entries on low timeframes. Built around microstructure theory and volatility behavior, it integrates a fusion of institutional-grade filters for trade validation, including:
• VWAP Z-Score Deviation – mean-reversion logic from anchored value
• Volume Spike Detection – identifies aggressive orderflow surges
• Volatility Expansion – signals breakouts using dynamic ATR range
• Liquidity Sweeps (Stop-Hunts) – detects market maker traps
• Bullish/Bearish Pin Bar Confirmation – filters false sweeps
• Signal Clustering Memory – boosts signal reliability via AI-style memory
• Trend, Session, and Risk Filters – optional layers for alignment
• Visual Enhancements – gradient candles, entry zone heatmap, and stats panel
Key Features:
Risk/Reward-based exit OR VWAP take profit
Trailing stop functionality
Adaptive “Aggressive Mode” for early entries
Clean, minimal dashboard with live performance stats
Built for 1m–5m scalping, optimized for BTC/ETH and other liquid pairs
Tuga SupertrendDescription
This strategy uses the Supertrend indicator enhanced with commission and slippage filters to capture trends on the daily chart. It’s designed to work on any asset but is especially effective in markets with consistent movements.
Use the date inputs to set the backtest period (default: from January 1, 2018, through today, June 30, 2025).
The default input values are optimized for the daily chart. For other timeframes, adjust the parameters to suit the asset you’re testing.
Release Notes
June 30, 2025
• Updated default backtest period to end on June 30, 2025.
• Default commission adjusted to 0.1 %.
• Slippage set to 3 ticks.
• Default slippage set to 3 ticks.
• Simplified the strategy name to “Tuga Supertrend”.
Default Parameters
Parameter Default Value
Supertrend Period 10
Multiplier (Factor) 3
Commission 0.1 %
Slippage 3 ticks
Start Date January 1, 2018
End Date June 30, 2025