Breakout with Alma & Slope - for high volatility playSometimes best not to overthink,
buy at line crosses ;)
NFA, DYOR
best for 15m-1Hr, high volatility FX,Gold etc
Long only when 3 conditions met:-
- Fast Alma crosses Slow Alma
-Angle Pointing UP
-ADX above 20
Short when
- aqua line below navy line
- navy line pointing down
- adx >20
EXIT
- Trailing Stop: The trade closes automatically if price hits the **Red Stepped Line** (this is your safety net that follows the price).
- Emergency Exit:** The trade closes immediately if the ALMA lines cross back in the opposite direction (Reversal).
Zmienność
Dynamic Ratchet Trend Strategy [VIX Filter]Overview This strategy is a long-only trend-following system designed to capture major market moves while strictly managing downside risk through a state-machine based "Ratchet" exit logic. It incorporates a volatility filter using the CBOE VIX index to stay out of (or exit) the market during high-stress environments.
Key Features
1. Multi-Condition Entries The strategy looks for momentum shifts and trend breakouts using four Simple Moving Averages (25, 50, 100, 200).
Momentum Cross: SMA 25 crossover above SMA 50.
Trend Breakouts: A specific "3-Bar Breakout" logic above the SMA 50, 100, or 200. This requires the price to hold above the SMA for 3 consecutive bars after being below it, reducing false signals compared to simple closes.
2. VIX Volatility Filter Before entering any trade, the script checks the CBOE:VIX.
Filter: If VIX is above the threshold (default 32), new entries are blocked.
Panic Exit: If you are in a position and the VIX spikes above the threshold, the strategy executes an immediate "Panic Exit" to preserve capital during market crashes.
3. The "Ratchet" Exit System (3 Stages) Unlike a standard trailing stop, this strategy uses a 3-stage dynamic exit mechanism that tightens as profits grow:
Stage 0 (Initial Risk): Standard percentage-based Stop Loss from the entry price.
Stage 1 (The Lock-In): Triggered when profit hits 10% (configurable).
Unique Logic: Instead of trailing from the highest high, the stop is calculated based on the price at the exact moment this stage was triggered. It "steps up" once and holds, securing the initial move without being prematurely stopped out by normal volatility.
Stage 2 (Trailing Mode): Triggered when profit hits 15% (configurable).
The strategy switches to a classic Trailing Stop, following the percentage distance from the Highest High.
4. Emergency Backup A "Dead Cross" (SMA 25 crossing under SMA 50) acts as a final fail-safe to close positions if the trend reverses completely before hitting a stop.
Settings & Inputs
SMAs: Customize the lengths for all four moving averages.
VIX Filter: Toggle the filter on/off and set the panic threshold.
Exit Logic: Fully customizable percentages for Initial SL, Stage 1 Trigger/Distance, and Stage 2 Trigger/Trailing Distance.
Disclaimer This script is for educational purposes only. Past performance is not indicative of future results. Always manage your risk appropriately.
Ratchet Exit Trend Strategy with VIX FilterThis strategy is a trend-following system designed specifically for volatile markets. Instead of focusing solely on the "perfect entry," this script emphasizes intelligent trade management using a custom **"Ratchet Exit System."**
Additionally, it integrates a volatility filter based on the CBOE Volatility Index (VIX) to minimize risk during extreme market phases.
### 🎯 The Concept: Ratchet Exit
The "Ratchet" system operates like a mechanical ratchet tool: the Stop Loss can only move in one direction (up, for long trades) and "locks" into specific stages. The goal is to give the trade "room to breathe" initially to avoid being stopped out by noise, then aggressively reduce risk as the trade moves into profit.
The exit logic moves through 3 distinct phases:
1. **Phase 0 (Initial Risk):** At the start of the trade, a wide Stop Loss is set (Default: 10%) to tolerate normal market volatility.
2. **Phase 1 (Risk Reduction):** Once the trade reaches a specific floating profit (Default: +10%), the Stop Loss is raised and "pinned" to a fixed value (Default: -8% from entry). This drastically reduces risk while keeping the trade alive.
3. **Phase 2 (Trailing Mode):** If the trend extends to a higher profit zone (Default: +15%), the Stop switches to a dynamic Trailing Mode. It follows the **Highest High** at a fixed percentage distance (Default: 8%).
### 🛡️ VIX Filter & Panic Exit
High volatility is often the enemy of trend-following strategies.
* **Entry Filter:** The system will not enter new positions if the VIX is above a user-defined threshold (Default: 32). This helps avoid entering "falling knife" markets.
* **Panic Exit:** If the VIX spikes above the threshold (32) while a trade is open, the position is closed immediately to protect capital (Emergency Exit).
### 📈 Entry Signals
The strategy trades **LONG only** and uses Simple Moving Averages (SMAs) to identify trends:
* **Golden Cross:** SMA 25 crosses over SMA 50.
* **3-Bar Breakouts:** A confirmation logic where the price must close above the SMA 50, 100, or 200 for 3 consecutive bars.
### ⚙️ Settings (Inputs)
All parameters are fully customizable via the settings menu:
* **SMAs:** Lengths for the trend indicators (Default: 25, 50, 100, 200).
* **VIX Filter:** Toggle the filter on/off and adjust the panic threshold.
* **Ratchet Settings:** Percentages for Initial Stop, Trigger Levels for Stages 1 & 2, and the Trailing Distance.
### ⚠️ Technical Note & Risk Warning
This script uses `request.security` to fetch VIX data. Please ensure you understand the risks associated with trading leveraged or volatile assets. Past performance is not indicative of future results.
Multi-Mode Grid StrategyGrid Strategy (SIMPLE)
█ Overview
This script is a system trading tool designed to generate cash flow from market volatility without relying on short-term directional predictions. It operates on the principle of Grid Trading , creating a mesh of buy and sell orders within a user-defined price range.
The strategy automates the process of "buying the dip" and "selling the bounce" repeatedly. It is most effective in sideways markets or during accumulation phases where the price oscillates within a specific channel.
█ TRADING MINDSET & SETUP GUIDE
To use this tool effectively, you must shift your perspective from "Sniper" (trying to hit the perfect entry) to "Manager" (managing a zone). Here is the required mindset for setting up this strategy:
Shift from Prediction to Range Definition
Don't ask: "Will the price go up or down tomorrow?"
Ask instead: "What is the price range the asset is unlikely to break out of in the coming weeks?"
Your primary job is to define the Grid Top Price (Ceiling) and Grid Bottom Price (Floor). As long as the price stays within this "Arena," the strategy will continue to execute trades.
Embrace Volatility as Fuel
For a trend follower, chop/sideways action is a nightmare. For a Grid Trader, it is fuel. Every time the price crosses a grid line down, it builds inventory. Every time it crosses back up, it realizes profit. You want the price to wiggle as much as possible within your defined boundaries.
Capital Allocation & Survivability
The biggest risk in grid trading is the price crashing below your Grid Bottom Price .
Mindset Check: Before launching, assume the price WILL drop to your bottom price immediately. Can your account handle that drawdown?
The script includes leverage and capital percentage inputs to help you size your position correctly. Never allocate 100% of your capital to a tight range without understanding the liquidation risk.
█ HOW IT WORKS
Grid Construction:
The script divides the space between your Upper Border and Lower Border into specific levels based on the Grid Quantity .
- Arithmetic: Equal spacing between lines (Standard).
- Geometric: Spacing based on mathematical ratios (useful for wider ranges).
Execution Logic:
- Entry: When price crosses below a grid line, a Long position is opened.
- Exit: When price bounces back up by a specific number of grid levels (defined by "Distance of TP"), the specific position is closed for a profit.
Time & Backtesting:
You can set specific Start and End Times . This allows you to backtest how the grid would have performed during specific historical volatility events before deploying it on live markets.
█ VISUALIZATION DASHBOARD
To keep you informed without cluttering the chart, the script features an information table at the bottom right:
Cash Out: Total realized profit booked into the account.
Open Position: How many grid levels are currently active (holding bags) vs. total levels.
Open Trade: The current floating P/L of held positions (Unrealized).
Max Drawdown: The deepest drawdown the strategy experienced during the test period.
RISK DISCLAIMER
Grid trading involves significant risk, particularly in strong trending markets that break out of your range against your position. This strategy does not use a stop-loss per trade; it relies on the user defining a safe "Bottom Price" and allocating capital accordingly. Past performance in backtesting does not guarantee future results. This script is a tool for execution and analysis, not financial advice.
RC - Crypto Scalper v3Cryptocurrency scalping strategy for perpetual futures with risk management and automation capabilities.
## Strategy Overview
This strategy identifies high-probability scalping opportunities in cryptocurrency perpetual futures markets using adaptive position sizing, dynamic stop losses, and intelligent exit management to maintain consistent risk-adjusted returns across varying market conditions.
## Technical Foundation
The strategy employs exponential moving averages for trend detection, Bollinger Bands for volatility measurement and mean reversion signals, RSI for momentum confirmation and overbought/oversold conditions, ATR for dynamic volatility-based stop placement, and VWAP for institutional price level identification. These technical indicators are combined with volume analysis and optional multi-timeframe confirmation to filter low-probability setups.
## Entry Methodology
The strategy identifies trading opportunities using three complementary approaches that can be enabled individually or in combination:
Momentum-Based Entries: Detects directional price movements aligned with short-term and intermediate-term trend indicators, with momentum oscillator confirmation to avoid entries at exhaustion points. Volume analysis provides additional confirmation of institutional participation.
Mean Reversion Entries: Identifies price extremes using statistical volatility bands combined with momentum divergence, targeting high-probability reversal zones in ranging market conditions. Entries require initial price structure confirmation to reduce false signals.
Institutional Flow Entries: Monitors volume-weighted price levels to identify areas where institutional orders are likely concentrated, entering on confirmed breaks of these key levels with supporting directional bias from trend indicators.
Each methodology uses distinct combinations of the technical indicators mentioned above, with specific parameter relationships and confirmation requirements that can be customized based on trader preference and market conditions.
## Exit Framework
Adaptive Stop Loss: Uses ATR-based stops (default 0.7x multiplier on 14-period ATR) that automatically adjust to current market volatility. Stop distance expands during volatile periods to avoid premature stops while tightening during consolidation to protect capital. Alternative percentage-based stops available for traders preferring fixed-distance risk management.
Trailing Profit System: Employs a dual-target exit approach combining fixed limit orders with dynamic trailing stops. The system activates trailing stops when positions reach profitable thresholds, allowing winning trades to capture extended moves while protecting accumulated gains. The high fixed limit (6R default) serves as a ceiling for exceptional moves while the trailing mechanism handles the majority of exits at optimal profit levels.
Time-Based Management: Implements maximum holding period constraints (50 bars default) to prevent capital from being trapped in directionless price action. This ensures consistent capital turnover and prevents the strategy from holding through extended consolidation periods.
Breakeven Protection: Automatically adjusts stop loss to entry price plus commission costs once trades reach predefined profit thresholds (0.7R default), eliminating downside risk on positions that have demonstrated directional follow-through.
## Risk Management
Position Sizing: Dynamic position sizing based on account equity percentage risk model (2% default). Calculates optimal position size based on entry price, stop distance, and account risk tolerance. Includes maximum position exposure caps and minimum position size thresholds to ensure practical trade execution.
Daily Loss Limits: Automatic trading suspension when intraday losses exceed configured threshold (5% of equity default). Prevents catastrophic drawdown days and removes emotional decision-making during adverse market conditions. Resets automatically at the start of each new trading day.
Leverage Controls: Comprehensive leverage monitoring with built-in liquidation protection for margined positions. Strategy calculates liquidation prices based on leverage settings and automatically closes positions approaching critical margin levels, preventing forced liquidations.
Exposure Management: Multiple layers of position size controls including maximum position value as percentage of equity (50% default), leverage-adjusted margin requirements, and minimum capital availability thresholds before opening new positions.
## Market Filters
Session-Based Filtering: Configurable trading windows for Asian (00:00-08:00 UTC), London (08:00-16:00 UTC), and New York (13:00-21:00 UTC) sessions. Allows traders to focus on specific market hours or avoid illiquid periods based on their asset and trading style.
Volatility Requirements: Minimum and maximum ATR percentage thresholds ensure strategy only operates within optimal volatility ranges. Prevents trading during both insufficient movement periods and extreme volatility events where execution quality deteriorates.
Trend Alignment: Optional higher timeframe trend filter ensures directional bias aligns with broader market structure, reducing counter-trend entries during strong directional moves.
Volume Confirmation: Configurable volume requirements for entry validation, ensuring sufficient market participation and reducing false signals during low-liquidity periods.
## Automation Support
Built-in webhook integration generates JSON payloads compatible with popular broker automation platforms. Alert system provides comprehensive notifications for all entry signals, exit executions, risk limit breaches, and daily trading status updates. Supports both automated and manual execution workflows.
## Settings Explanation
Initial Capital: $5,000
Selected as realistic starting point for retail traders entering crypto futures markets. Strategy scales proportionally - larger accounts show similar percentage returns with proportionally larger absolute gains and position sizes.
Risk Per Trade: 2%
Conservative default providing significant drawdown tolerance. With 51% historical win rate and positive expectancy, risking 2% per trade allows for extended losing streaks without account impairment. Adjustable from 0.5% (very conservative) to 5% (aggressive, experienced traders only).
Leverage: 10x
Standard cross-margin leverage for cryptocurrency perpetual futures. Combined with 2% risk setting and maximum 50% equity position size caps, actual exposure remains controlled despite leverage. Built-in liquidation protection provides additional safety layer.
Commission: 0.055%
Modeled on major exchange maker fee structures (Bybit, Binance Futures).
**Slippage: 50 ticks**
Ultra-conservative slippage assumption representing extreme worst-case execution scenarios. ETH perpetual tick size is $0.01, therefore 50 ticks equals $0.50 per side or $1.00 round trip slippage per trade.
Real-world slippage on 30-minute timeframe typically ranges from 2-5 ticks ($0.02-0.05 round trip) under normal conditions, with 10-20 ticks during highly volatile periods. The 50-tick setting assumes every single trade executes during extreme market stress conditions.
This ultra-conservative modeling approach means real-world trading performance under typical market conditions may exceed backtest results, as the strategy has been tested under punishing execution cost assumptions that represent worst-case scenarios rather than expected outcomes.
Stop Loss: ATR-based (0.7x multiplier)
Volatility-adaptive stops optimized for 30-minute cryptocurrency perpetuals. The 0.7x multiplier balances protection against premature stops due to normal market noise. Lower multipliers (0.5-0.6x) suitable for lower timeframes, higher multipliers (0.8-1.2x) for higher timeframes.
Take Profit: 6R (Risk:Reward)
High target designed to work in conjunction with trailing stop system rather than as primary exit mechanism. Historical analysis shows most profitable trades exit via trailing stops at lower multiples, with the 6R limit capturing occasional extended moves. This configuration allows the trailing stop system to operate optimally while providing upside capture on exceptional price runs.
Trailing Stop: Activates at 1R | Offset 0.5R
Trailing mechanism engages when position reaches 1:1 risk-reward, then maintains 0.5R distance from peak favourable price. This configuration allows profitable trades room to develop while protecting accumulated gains from reversals.
Maximum Holding Period: 50 bars
Automatic exit trigger after 50 bars (25 hours on 30-minute timeframe) prevents capital commitment to non-trending price action. Adjustable based on timeframe and trading style preferences.
## Backtest Performance
Test Period: November 2023 - November 2025 (2 years)
Asset: ETH/USDT Perpetual Futures
Timeframe: 30 minutes
Initial Capital: $5,000
Performance Metrics:
- Final Equity: $25,353.99
- Net Profit: $20,353.99
- Total Return: 407.08%
- Annualized Return: ~204%
- Total Trades: 2,549
- Winning Trades: 1,308 (51.28%)
- Losing Trades: 1,241 (48.72%)
- Profit Factor: 1.215
- Sharpe Ratio: 0.813
- Sortino Ratio: 6.428
- Maximum Drawdown: 11.53%
- Average Drawdown: <2%
Trade Statistics:
- Average Win: 1.15% per trade
- Average Loss: -0.98% per trade
- Win/Loss Ratio: 1.17:1
- Largest Win: 7.14%
- Largest Loss: -2.31%
- Average Trade Duration: ~8 hours
- Trades Per Month: ~106
Cost Analysis:
- Total Commission Paid: $21,277.06
- Commission as % of Gross Profit: 18.5%
- Modeled Slippage Impact: $2,549.00 (50 ticks per trade)
- Total Trading Costs: $23,826.06
- Net Profit After All Costs: $20,353.99
Risk-Adjusted Performance:
- Return/Max DD Ratio: 35.3
- Profit Per Trade: $7.98 average
- Risk of Ruin: <0.001% (with 2% risk, 51% win rate, 1.17 R:R)
## Bear Market Validation
To validate robustness across different market conditions, the strategy was additionally tested during the 2022 cryptocurrency bear market:
Test Period: May 2022 - November 2022 (7 months)
Market Conditions: ETH declined 57% (from ~$2,900 to ~$1,200)
Bear Market Results:
- Net Profit: $4,959.69
- Return: 99.19%
- Total Trades: 845
- Win Rate: 51.72%
- Maximum Drawdown: 18.54%
- Profit Factor: 1.235
- Outperformance vs Buy & Hold: +156.3%
The strategy demonstrated profitable performance during severe market decline, with short positions showing particular strength (54.1% win rate on shorts vs 49.4% on longs). This validates that the edge is not dependent on bullish market conditions and the multiple entry methodologies adapt naturally to different market environments.
## Recommended Usage
Optimal Timeframes:
- Primary: 30-minute (tested and optimized)
- Alternative: 1-hour (more selective, fewer trades)
- Not recommended: <15-minute (execution quality deteriorates)
Suitable Assets:
High-liquidity cryptocurrency perpetual futures recommended:
- BTC/USDT (>$2B daily volume)
- ETH/USDT (>$1B daily volume)
- SOL/USDT, AVAX/USDT (>$100M daily volume)
- Avoid low-liquidity pairs (<$50M daily volume)
Risk Configuration:
- Conservative: 1-1.5% per trade
- Moderate: 2-3% per trade (default: 2%)
- Aggressive: 3-5% per trade (requires discipline)
## Important Considerations
Backtesting vs Live Trading: Always paper trade first. Real-world results vary based on execution quality, broker-specific factors, network latency, and individual trade management decisions. Backtest performance represents historical simulation with ultra-conservative cost assumptions, not guaranteed future results.
Market Conditions: Strategy designed for liquid, actively-traded markets. Performance characteristics:
- Strong trends: Optimal (trailing stops capture extended moves)
- Ranging markets: Moderate (mean reversion component provides edge)
- Low volatility: Reduced (ATR filter prevents most entries)
- Extreme volatility: Protected (maximum volatility filter prevents entries)
Cost Impact: Commission represents approximately 18.5% of gross profit in backtests. The 50-tick slippage assumption is deliberately punitive - typical execution will likely be 5-10x better (2-10 ticks actual vs 50 ticks modeled), meaning real-world net results may significantly exceed backtest performance under normal market conditions.
Execution Quality: 30-minute timeframe provides sufficient time for order placement and management. Automated execution recommended for consistency. Manual execution requires discipline to follow signals without hesitation or second-guessing.
Starting Procedures:
1. Run backtest on your specific asset and timeframe
2. Paper trade for minimum 50 trades or 2 weeks
3. Start with minimum position sizes (0.5-1% risk)
4. Gradually scale to target risk levels as confidence builds
5. Monitor actual execution costs vs backtest assumptions
## Strategy Limitations
- Requires liquid markets; performance degrades significantly on low-volume pairs
- No built-in news event calendar; traders should manually avoid scheduled high-impact events
- Weekend/holiday trading may experience wider spreads and different price behaviour
- Does not model spread costs (assumes mid-price fills); add 1-2 ticks additional cost for market orders
- Performance during market structure changes (regime shifts) may differ from backtest period
- Requires consistent monitoring during active trading hours for optimal automated execution
- Slippage assumptions are deliberately extreme; actual slippage will typically be much lower
## Risk Disclosure
Cryptocurrency trading involves substantial risk of loss. Leverage amplifies both gains and losses. This strategy will experience losing streaks and drawdowns. The 11.53% maximum historical drawdown in bull market testing and 18.54% in bear market testing do not represent ceilings - larger drawdowns are possible and should be expected in live trading.
Past performance does not guarantee future results. Market conditions evolve, and historical edge may diminish or disappear. No strategy works in all market conditions. The strategy has been tested with extremely conservative slippage assumptions (50 ticks per trade) that significantly exceed typical execution costs; this provides a safety margin but does not eliminate risk.
Capital at Risk: Only trade with capital you can afford to lose completely. The strategy's positive historical performance across both bull and bear markets does not eliminate the possibility of significant losses or account impairment.
Not Financial Advice: This strategy is an educational tool, not investment advice. Users are solely responsible for their trading decisions, risk management, and outcomes. The developer assumes no liability for trading losses.
Leverage Warning: Trading with leverage can result in losses exceeding initial investment. Ensure you understand leverage mechanics and liquidation risks before using leveraged products.
## Technical Requirements
- TradingView Premium subscription (for strategy testing and alerts)
- Understanding of risk management principles
- Familiarity with perpetual futures mechanics
- Broker account supporting crypto perpetuals (if trading live)
- For automation: Webhook-compatible execution platform
## Version History
v3.0 - November 2025 (Initial Release)
- Multi-methodology entry system (Momentum, Mean Reversion, VWAP)
- Comprehensive risk management framework
- Adaptive exit system with trailing stops
- Session and volatility filtering
- Webhook automation support
- Validated across bull market (2024-25) and bear market (2022) periods
- Tested with ultra-conservative 50-tick slippage assumptions
Disclaimer: This strategy is provided "as-is" for educational purposes. Past performance does not indicate future results. All backtests conducted with 50-tick slippage (ultra-conservative assumptions). Actual trading costs typically significantly lower. Trade responsibly and at your own risk.
London Session-2025London Session Strategy - Advanced Algorithmic Trading Strategy
📈 Consistently Profitable Since 2022
A professional strategy based on market structure analysis and institutional
liquidity zone detection. This strategy identifies unique price patterns during
European trading hours and executes precise entries with dynamic risk management.
🔹 Key Features:
- Automatic detection of dynamic support and resistance zones
- Smart position management with optimal risk/reward ratios
- Built-in Revenge Trade mechanism for rapid recovery
- Full visual display of Entry, Stop Loss, and Take Profit levels
- Real-time information dashboard
🔹 Technical Specifications:
- Timeframe: Optimized for intraday trading
- Markets: Futures, Forex, Indices
- Session Focus: European/London hours
- Risk Management: Automated position sizing
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏢 About Our Team:
We are a professional group of traders and developers specializing in building
algorithmic trading strategies and automated systems for financial markets.
🌍 What We Offer to Profitable Traders Worldwide:
💰 Sophisticated Passive Income:
- Access to profitable trading strategies we've developed and refined over years
- Automated systems for smart futures trading
- Advanced trading methods that generate consistent profits
💼 Professional Prop Firm Account Guidance:
- Apex Trader Funding
- Take Profit Trader
- TopStep
- And other leading funding companies
📊 Investments & Capital Growth:
- Stock and futures trading
- Custom strategies tailored to your risk profile
- Sophisticated portfolio management
🎯 What Makes Us Different:
✓ Proven strategies with profit history since 2022
✓ We are active traders - we use the tools we build
✓ Sophisticated methods built from real market experience
✓ Support and guidance for traders around the world
📩 Want to Profit With Us?
Contact us for more information about our strategies and systems.
Join a community of profitable traders already using our tools.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ Disclaimer:
This strategy does not constitute financial advice or investment recommendations.
Past performance is not indicative of future results.
Trading derivatives involves substantial risk of capital loss.
For educational and informational purposes only.
Simple Grid Trading v1.0 [PUCHON]Simple Grid Trading v1.0
Overview
This is a Long-Only Grid Trading Strategy developed in Pine Script v6 for TradingView. It is designed to profit from market volatility by placing a series of Buy Limit orders at predefined price levels. As the price drops, the strategy accumulates positions. As the price rises, it sells these positions at a profit.
Features
Grid Types : Supports both Arithmetic (equal price spacing) and Geometric (equal percentage spacing) grids.
Flexible Order Management : Uses strategy.order for precise control and prevents duplicate orders at the same level.
Performance Dashboard : A real-time table displaying key metrics like Capital, Cashflow, and Drawdown.
Advanced Metrics : Includes Max Drawdown (MaxDD) , Avg Monthly Return , and CAGR calculations.
Customizable : Fully adjustable price range, grid lines, and lot size.
Dashboard Metrics
The dashboard (default: Bottom Right) provides a quick snapshot of the strategy's performance:
Initial Capital : The starting capital defined in the strategy settings.
Lot Size : The fixed quantity of assets purchased per grid level.
Avg. Profit per Grid : The average realized profit for each closed trade.
Cashflow : The total realized net profit (closed trades only).
MaxDD : Maximum Drawdown . The largest percentage drop in equity (realized + unrealized) from a peak.
Avg Monthly Return : The average percentage return generated per month.
CAGR : Compound Annual Growth Rate . The mean annual growth rate of the investment over the specified time period.
Strategy Settings (Inputs)
Grid Settings
Upper Price : The highest price level for the grid.
Lower Price : The lowest price level for the grid.
Number of Grid Lines : The total number of levels (lines) in the grid.
Grid Type :
Arithmetic: Distance between lines is fixed in price terms (e.g., $10, $20, $30).
Geometric: Distance between lines is fixed in percentage terms (e.g., 1%, 2%, 3%).
Lot Size : The fixed amount of the asset to buy at each level.
Dashboard Settings
Show Dashboard : Toggle to hide/show the performance table.
Position : Choose where the dashboard appears on the chart (e.g., Bottom Right, Top Left).
How It Works
Initialization : On the first bar, the script calculates the price levels based on your Upper/Lower price and Grid Type.
Entry Logic :
The strategy places Buy Limit orders at every grid level below the current price.
It checks if a position already exists at a specific level to avoid "stacking" multiple orders on the same line.
Exit Logic :
For every Buy order, a corresponding Sell Limit (Take Profit) order is placed at the next higher grid level.
MaxDD Calculation :
The script continuously tracks the highest equity peak.
It calculates the drawdown on every bar (including intra-bar movements) to ensure accuracy.
Displayed as a percentage (e.g., 5.25%).
Disclaimer
This script is for educational and backtesting purposes only. Grid trading involves significant risk, especially in strong trending markets where the price may move outside your grid range. Always use proper risk management.
MTF EMA Hariss 369The strategy has been prepared in a simplistic manner and easy to understand the concept by any novice trader.
Indicators used:
Current Time frame 20 EMA- Gives clear look about current time frame dynamic support and resistance and trend as well.
Higher Time Frame 20 EMA: Gives macro level trend, support and resistance
Kama: Capture volatility and trend direction.
RVOL: Main factor of price movement.
Buy when price closes above current time frame 20 ema and current time frame 20 ema is above higher time frame 20 ema. Stop loss just below the low of last candle. One can use current time frame 20 ema, higher time frame 20 ema or kama as stop loss depending upon type of asset class and risk appetite. The ideal way is to keep 20 ema as trailing sl if one wants to trail with trend.
Sell when price closes below current time frame 20 ema and current time frame 20 ema is lower than higher time frame 20 ema. Stop loss just above high of last candle.
Ideal target is 1.5 or 2 times of stop loss.
Entry and exit time depends on trading style. Eg. if you want to enter and exit in 5 min time frame, then choose 15 min or 1h as higher time frame as trend filter. Buy and sell signals are also plotted based on this strategy. One should always go with the higher time frame trend. Opting higher time frame trend filter always filters out market noises.
15m ORB Breakout NAS100 (5m Mgmt) v6 - OptimizedOpening Range Breakout Strategy
Buy and sell signals are given upon break of market session opening range. Best utilized for 30 minute NY opening range, managed on 5 min timeframe on NAS100. Tweak the settings for higher win rate on backtesting dashboard before implementing strategy.
CSS_LFU_v0.1Overview:
A multi-factor, market-adaptive swing strategy designed for intraday and short-term crypto trading. It synthesizes momentum, volatility, and trend signals into a unified composite score over a configurable lookback window. The strategy leverages a modular, signal-weighted approach to ensure robust entry timing while remaining compatible with human-in-the-loop validation and algorithmic execution.
Core Modules:
AJFFRSI (RSX-based Momentum): Measures smoothed price momentum with noise-reduction filters to detect crossovers relative to the QQE trailing stop.
QQE (Quantitative Qualitative Easing RSI): A modified RSI with a dynamic trailing stop that adapts to short-term volatility, identifying exhaustion and potential reversal points.
Keltner Channel Zones: Determines overextension relative to trend, providing buy/sell zones based on ATR-banded EMA.
WaveTrend Oscillator: Confirms short-term swings and market direction through smoothed oscillator cross signals.
Rolling Composite Score: Aggregates module signals over a unified lookback (e.g., 144 bars) to normalize noise and capture consistent trends.
Signal Logic:
Each module outputs a discrete score (+1 / 0 / -1).
The rolling composite score sums all module scores over the lookback period.
Long positions trigger when the rolling score meets or exceeds the long threshold.
Short positions trigger when the rolling score meets or falls below the short threshold.
Multi-dimensional signal aggregation reduces false positives from single indicators.
Rolling lookback ensures score normalization across different volatility regimes.
Highly modular: easy to adapt modules or weights to different instruments or timeframes.
Fully compatible with automated execution pipelines, including custom exchange screener bots.
Use Case:
Ideal for quant-driven altcoin or multi-asset strategies where high-frequency validation is critical and sequential module weighting enhances trend flip detection.
Inyerneck Sniper Engine v4.2 — FINAL WORKING 2025Aggressive momentum sniper for pennies. Fires on volume + EMA snaps. Use small size. Alerts ready.
Inyerneck Sniper Engine v4.2 — FINAL WORKING 2025yer momUltra-aggressive momentum sniper built for pennies & BTC.
Fires on every volume explosion + EMA snap. No mercy, no filters.
50+ trades per month. Use small size or die trying.
Private alpha —
Inyerneck Sniper Engine v4.2 — FINAL WORKING 2025Ultra-aggressive momentum sniper built for pennies & BTC.
Fires on every volume explosion + EMA snap. No mercy, no filters.
50+ trades per month. Use small size or die trying.
Private alpha — invite-only. do not change settings without first recording default settings, the default settings are great... usable on any time frame.. aaaaannd... yer mom!
Safe Supertrend Strategy (No Repaint)Overview
The Safe Supertrend is a repaint-free version of the popular Supertrend trend-following indicator.
Most Supertrend indicators appear perfect on historical charts because they flip intrabar and then repaint after the candle closes.
This version fixes that by using close-of-bar confirmation only, making every trend flip 100% stable, safe, and non-repainting.
Why This Supertrend Doesn’t Repaint
Most Supertrend indicators calculate their trend direction using the current bar’s data.
But during a live candle:
ATR expands and contracts
The upper/lower bands move
Price moves above/below the band temporarily
A false flip appears → then disappears when the candle closes
That is classic repainting.
This indicator avoids all of that by using:
close > upper
close < lower
This means:
Trend direction flips only based on the previous candle,
No intrabar calculations,
No flickering signals,
No “perfect but fake” historical performance.
Every signal you see on the chart is exactly what was available in real-time.
How It Works
Calculates ATR (Average True Range) and SMA centerline
Builds upper and lower volatility bands
Confirms trend flips only after the previous bar closes
Plots clear bull and bear reversal signals
Works on all markets (crypto, stocks, forex, indices)
No repainting, no recalc, no misleading flips.
Bullish Signal (Trend Up)
A bullish trend begins only when:
The previous candle closes above the upper ATR band,
And this flip is fully confirmed.
A green triangle marks the start of a new uptrend.
Bearish Signal (Trend Down)
A bearish trend begins only when:
The previous candle closes below the lower ATR band,
And the downtrend is confirmed.
A red triangle signals the start of a new downtrend.
Inputs
ATR Length - default 10
ATR Multiplier - default 3.0
Works on all timeframes and market
Simple, but powerful.
Why Use This Version Instead of a Regular Supertrend?
Most Supertrends:
Look great historically
But repaint continuously on live charts
Give false trend flips intrabar
Cannot be reliably used in strategies
This version:
Uses strict previous-bar logic
Never repaints trend direction
Works perfectly in live trading
Backtests accurately
Is ideal for algorithmic strategies
Ideal For:
Trend-following strategies
Breakout trading
Algo trading systems
Reversal detection
Filtering market noise
Swing trading & scalping
Final Note
This is a safer, more reliable Supertrend designed for real-world use — not perfect-looking repaint illusions.
If you use Supertrend in your trading system, this no-repaint version ensures your signals are trustworthy and consistent.
Safe Supertrend Strategy (No Repaint)Overview
The Safe Supertrend is a repaint-free version of the popular Supertrend trend-following indicator.
Most Supertrend indicators appear perfect on historical charts because they flip intrabar and then repaint after the candle closes.
This version fixes that by using close-of-bar confirmation only, making every trend flip 100% stable, safe, and non-repainting.
Why This Supertrend Doesn’t Repaint
Most Supertrend indicators calculate their trend direction using the current bar’s data.
But during a live candle:
ATR expands and contracts
The upper/lower bands move
Price moves above/below the band temporarily
A false flip appears → then disappears when the candle closes
That is classic repainting.
This indicator avoids all of that by using:
close > upper
close < lower
This means:
Trend direction flips only based on the previous candle,
No intrabar calculations,
No flickering signals,
No “perfect but fake” historical performance.
Every signal you see on the chart is exactly what was available in real-time.
How It Works
Calculates ATR (Average True Range) and SMA centerline
Builds upper and lower volatility bands
Confirms trend flips only after the previous bar closes
Plots clear bull and bear reversal signals
Works on all markets (crypto, stocks, forex, indices)
No repainting, no recalc, no misleading flips.
Bullish Signal (Trend Up)
A bullish trend begins only when:
The previous candle closes above the upper ATR band,
And this flip is fully confirmed.
A green triangle marks the start of a new uptrend.
Bearish Signal (Trend Down)
A bearish trend begins only when:
The previous candle closes below the lower ATR band,
And the downtrend is confirmed.
A red triangle signals the start of a new downtrend.
Inputs
ATR Length - default 10
ATR Multiplier - default 3.0
Works on all timeframes and market
Simple, but powerful.
Why Use This Version Instead of a Regular Supertrend?
Most Supertrends:
Look great historically
But repaint continuously on live charts
Give false trend flips intrabar
Cannot be reliably used in strategies
This version:
Uses strict previous-bar logic
Never repaints trend direction
Works perfectly in live trading
Backtests accurately
Is ideal for algorithmic strategies
Ideal For:
Trend-following strategies
Breakout trading
Algo trading systems
Reversal detection
Filtering market noise
Swing trading & scalping
Final Note
This is a safer, more reliable Supertrend designed for real-world use — not perfect-looking repaint illusions.
If you use Supertrend in your trading system, this no-repaint version ensures your signals are trustworthy and consistent.
EMA Velocity Dual TF Momentum 1h (v2)BINANCE:SOLUSDT
The result is calculated on futures x10
### EMA Velocity Dual TF Momentum (v2) – Public Description
**Overview**
EMA Velocity Dual TF Momentum (v1) is a trend-following momentum strategy that uses the *speed of change* of Exponential Moving Averages (EMA) on two timeframes: the chart timeframe 1h.
The strategy looks for moments when both timeframes point in the same direction and the short‑term momentum is significantly stronger than usual, then manages trades with configurable ATR filtering, stop‑loss / take‑profit and early exit logic.
---
### Core Idea (high level, without formulas)
- On the **lower timeframe** (LTF), the strategy tracks how fast the EMA is moving (its “velocity”) and detects **impulse bars** where this velocity is unusually strong compared to its recent history.
- On the **higher timeframe** (HTF), it also measures EMA velocity and requires that the HTF trend direction is **aligned** with the LTF (both bullish or both bearish), if enabled.
- A **long trade** is opened when:
- LTF EMA velocity is positive (upward momentum),
- LTF momentum is strong enough (impulse),
- HTF EMA velocity is also upwards (if HTF filter is enabled),
- and ATR‑based volatility is above the minimum threshold.
- A **short trade** is opened in the symmetric situation (downward momentum on both timeframes).
- Positions are closed using configurable stop‑loss and take‑profit, and can be partially exited, moved to break‑even and trailed using early‑exit options.
---
### Inputs and Parameters
#### Trend & Momentum (Lower Timeframe)
- **`LTF EMA length (emaLenLTF)`**
Length of the EMA on the chart timeframe used to measure short‑term trend and momentum. Smaller values react faster; larger values are smoother and slower.
- **`LTF velocity lookback (velKLTF)`**
Lookback for computing EMA “velocity” on LTF. Controls how sensitive the momentum calculation is to recent price changes.
- **`LTF impulse lookback bars (impLookback)`**
Window size used to estimate the “normal” average absolute velocity. The strategy compares current momentum against this baseline to detect strong impulse moves.
- **`LTF |velocity| multiplier vs average (impMult)`**
Multiplier for defining what counts as a strong impulse. Higher values = fewer but stronger signals; lower values = more frequent, weaker impulses.
#### Trend & Momentum (Higher Timeframe)
- **`Use higher timeframe alignment (useHTF)`**
If enabled, trades are only taken when the higher‑timeframe EMA velocity confirms the same direction as the lower timeframe.
- **`HTF timeframe (htf_tf)`**
Higher timeframe used for confirmation (e.g. 60 minutes). Defines the “macro” context above the chart timeframe.
- **`HTF EMA length (emaLenHTF)`**
Length of the EMA on the higher timeframe. Controls how smooth and slow the higher‑timeframe trend filter is.
- **`HTF velocity lookback (velKHTF)`**
Lookback for the EMA velocity on HTF. Smaller values react quicker to changes in the higher‑timeframe trend.
#### Volatility / ATR Filter
- **`Use ATR filter (useAtrFilter)`**
Enables a volatility filter based on Average True Range. When active, trades are allowed only if market volatility is not too low.
- **`ATR Period (atrPeriod)`**
Lookback period for ATR calculation. Shorter periods react faster to recent volatility shifts; longer ones are more stable.
- **`ATR Min % for trading (atrMinPerc)`**
Minimum ATR as a percentage of price required to trade. Filters out very quiet, choppy periods where the strategy is more likely to be whipsawed.
#### Risk Management
- **`Use stops (SL/TP) (useStops)`**
Enables fixed stop‑loss and take‑profit exits. If disabled, positions are managed only by early exit logic and manual closing.
- **`Stop Loss % (stopLossPerc)`**
Distance of the protective stop from entry, in percent. Higher values give trades more room but increase risk per trade.
- **`Take Profit % (takeProfitPerc)`**
Distance of the primary profit target from entry, in percent. Controls the reward‑to‑risk profile of each trade.
#### Early Exit / Break‑Even / Trailing
- **`Enable early exit module (useEarlyExit)`**
Master switch for all early exit features: partial profit taking, break‑even stops and trailing exits.
- **`Take partial profit at +% (close 50%) (partialTP)`**
Profit level (in %) at which the strategy closes a partial portion of the position (e.g. 50%), locking in gains while leaving a runner.
- **`Trailing TP distance (%) (trailTP)`**
Distance (in %) for dynamic trailing stop after entry. When positive, the strategy trails the price to protect profits as the move extends.
- **`Break-even stop after +% profit (useBreakEven)`**
Enables automatic move of the stop to the entry price once a certain profit threshold is reached.
- **`Break-even activation (+%) (breakEvenPerc)`**
Profit level (in %) at which the stop is moved to break‑even. Higher values require a larger unrealized profit before break‑even protection kicks in.
#### Visuals
- **`Show labels (showLabels)`**
Toggles on‑chart labels that mark long and short entry signals for easier visual analysis.
- **`Label offset (labelOffset)`**
Horizontal offset (in bars) for placing labels relative to the signal bar. Used only for visual clarity; does not affect trading logic.
---
Если нужно, могу на основе этого текста сразу подготовить компактную версию (ограниченную по символам) специально под поле описания публичного скрипта в TradingView.
EMA Velocity Volatility Clamp (v1)A strategy based on the rate of price change using EMA.
Configured for the 5M Solana.
BINANCE:SOLUSDT
Hash Supertrend [Hash Capital Research]Hash Supertrend Strategy by Hash Capital Research
Overview
Hash Supertrend is a professional-grade trend-following strategy that combines the proven Supertrend indicator with institutional visual design and flexible time filtering.
The strategy uses ATR-based volatility bands to identify trend direction and executes position reversals when the trend flips.This implementation features a distinctive fluorescent color system with customizable glow effects, making trend changes immediately visible while maintaining the clean, professional aesthetic expected in quantitative trading environments.
Entry Signals:
Long Entry: Price crosses above the Supertrend line (trend flips bullish)
Short Entry: Price crosses below the Supertrend line (trend flips bearish)
Controls the lookback period for volatility calculation
Lower values (7-10): More sensitive to price changes, generates more signals
Higher values (12-14): Smoother response, fewer signals but potentially delayed entries
Recommended range: 7-14 depending on market volatility
Factor (Default: 3.0)
Restricts trading to specific hours
Useful for avoiding low-liquidity sessions, overnight gaps, or known choppy periods
When disabled, strategy trades 24/7
Start Hour (Default: 9) & Start Minute (Default: 30)
Define when the trading session begins
Uses exchange timezone in 24-hour format
Example: 9:30 = 9:30 AM
End Hour (Default: 16) & End Minute (Default: 0)
Controls the vibrancy of the fluorescent color system
1-3: Subtle, muted colors
4-6: Balanced, moderate saturation
7-10: Bright, highly saturated fluorescent appearance
Affects both the Supertrend line and trend zones
Glow Effect (Default: On)
Adds luminous halo around the Supertrend line
Creates a multi-layered visual with depth
Particularly effective during strong trends
Glow Intensity (Default: 5.0)
Displays tiny fluorescent dots at entry points
Green dot below bar: Long entry
Red dot above bar: Short entry
Provides clear visual confirmation of executed trades
Show Trend Zone (Default: On)
Strong trending markets (2020-style bull runs, sustained bear markets)
Markets with clear directional bias
Instruments with consistent volatility patterns
Timeframes: 15m to Daily (optimal on 1H-4H)
Challenging Conditions:
Choppy, range-bound markets
Low volatility consolidation periods
Highly news-driven instruments with frequent gaps
Very low timeframes (1m-5m) prone to noise
Recommended AssetsCryptocurrency:
Paulinho Signals – Cripto 5m/15m com Filtro de LateralidadeThis script is an automated Pine Script v6 strategy designed for short-term cryptocurrency trading, especially on 5-minute and 15-minute timeframes. It combines moving average crossovers, trend strength (ADX), volatility (ATR), and candlestick patterns to generate buy and sell signals with a fixed risk/reward management system.
How to Use:
- Apply to cryptocurrency charts on 5m or 15m timeframes.
- Adjust parameters to fit your preferences (EMA, RSI, ADX, ATR).
- Use for backtesting or as a decision-support tool.
Disclaimer:
This script is for educational purposes only and does not constitute financial advice. Always test on demo accounts before applying to live trading.
AlosAlgo V2 (BETA)— V2 BETA —
V2 – 2025-11-21 (Update)
• Rebuilt the core signal engine to remove repainting – higher-timeframe Heikin Ashi / Renko now use confirmed bars only for more stable signals & alerts.
• Added Trend Filter MA so longs are only taken above the MA and shorts only below (optional).
• Added MACD momentum filter and Price Action filter (Higher Low for longs, Lower High for shorts) to cut a lot of chop.
• Introduced a loss-streak “circuit breaker” – after X consecutive losing trades the strategy pauses for a set number of bars.
• New TP/SL engine with 2 modes: ATR-based or Fixed % moves, with 4 staged TPs plus an optional runner and break-even SL after TP2.
• Cleaned up TP/SL lines & labels so levels are fixed per trade and easier to read.
• General refactor for more realistic backtests, better live behaviour and easier parameter tuning compared to V1.
ABOUT
AlosAlgo V2 is a multi-timeframe trend + momentum strategy designed for BTC and other high-liquidity markets. It takes directional bias from a higher timeframe, then filters that bias with volatility, momentum and simple price-action structure before it ever opens a trade.
Purely rule-based, no AI / Bayesian / ML.
Core idea
– Use higher-timeframe structure for direction.
– Only trade when trend, momentum and basic price action agree.
– Manage exits with multiple TPs, an optional runner and a hard SL so risk is defined from the start.
Setups
Two main engines:
• Open/Close – Higher-timeframe Heikin Ashi body direction (close vs open) as the core trend signal.
• Renko – ATR-based Renko feed with EMA cross (fast vs slow) as the core trend signal.
Classic sideways filters (ATR + RSI) can be layered on top if you want to only trade in trending or ranging conditions.
Filters added in V2
• Trend Filter MA – Longs only above the MA, shorts only below (length configurable).
• Momentum Filter – Optional MACD filter; only takes longs when MACD is bullish and shorts when MACD is bearish.
• Price Action Filter – Optional HL/LH logic using pivots: longs after a Higher Low, shorts after a Lower High.
• Loss-Streak Circuit Breaker – After N losing trades in a row, the strategy pauses entries for a set number of bars to avoid bad regimes / tilt.
Risk & exits
Two TP/SL modes:
• ATR mode – SL and TP1–TP4 based on ATR at entry (stopFactor / profitFactor).
• Fixed % mode – SL and TP1–TP4 defined as % moves from entry.
On entry the strategy:
• Opens a single position.
• Places 4 staged TPs (TP1–TP4) with user-defined % sizing.
• Optionally leaves a “runner” managed only by SL and trend changes.
• Can move SL to break-even automatically after TP2 (toggle).
All TP/SL levels are locked at entry and drawn on the chart with labels so you can see exactly what the trade is trying to do.
Non-repainting behaviour
V2 is refactored to avoid the repainting behaviour that V1 used. Higher-timeframe and Renko data are taken from confirmed bars only, and entries are based on state (e.g. > / <) instead of repaint-prone crosses. Backtests are much closer to what you’ll see live, and alerts line up with executed trades more reliably.
How to use (suggested defaults)
• Setup: Open/Close
• TPSType: Fixed %
• Trend Filter: ON
• Momentum Filter: ON
• Price Action Filter: ON
• Sideways Filter: No Filtering
Then tweak TP/SL distances and filters per asset + timeframe, and forward-test before sizing up.
Disclaimer
This is not financial advice, not a guarantee of profit and not a “set and forget” money printer. Always forward-test, paper trade and tune risk before using real capital or automation. Markets change – this is a tool, not a promise.
SMC Trend Filter Strategy (EMA50/EMA200 + FVG)Overview
This strategy implements a multi-timeframe Smart Money Concept (SMC) trading system designed for intraday and swing trading.
It combines a Daily trend filter, Break of Structure (BOS) detection, Order Block (OB) zones, Fair Value Gap (FVG) confirmation, and an ATR-based trailing stop system to achieve structured and rule-based entries.
The strategy is fully automated for backtesting and allows users to evaluate SMC concepts without repainting or discretionary interpretation.
- Core Components
1. Higher-Timeframe Trend Filter (Daily EMA50/EMA200)
The strategy retrieves D1 data and determines market direction using EMA50 and EMA200:
Uptrend → EMA50 > EMA200
Downtrend → EMA50 < EMA200
Trades are only taken in the direction of the Daily trend to avoid counter-trend setups.
2. Market Structure & Break of Structure (BOS)
The strategy identifies swing highs/lows and detects when price breaks beyond them:
Bullish BOS: price closes above previous swing high
Bearish BOS: price closes below previous swing low
This forms the foundation of SMC market structure recognition.
3. Order Block Zone (OB)
Upon detecting a BOS, the strategy marks the previous candle as a potential Order Block:
For bullish BOS → OB = previous candle’s high/low
For bearish BOS → OB = previous candle’s high/low
The OB zone is visualized using a semi-transparent box extended forward
Aquas TrendIt’s a trend-following crossover system with:
A local fast/slow EMA cross for timing entries
A higher-timeframe EMA filter to only trade in the dominant trend
An ATR-based volatility filter so it only trades when the market is moving
ATR-based stop loss and take profit with fixed RR
It tries to catch swings in the direction of the larger trend and ignore chop.
Vital Wave 20-50Simplicity is almost always the most effective approach, and here I’m giving you a trend-following system that exploits the bullish bias of traditional markets and their trending nature, with very basic rules.
Rules (long entries only)
• Market entry: When the EMA 20 crosses above the EMA 50 (from below)
• Main market exit: When the EMA 20 crosses below the EMA 50 (from above)
• Fixed Stop Loss: Placed at the price level of the Lower Bollinger Band at the moment the trade is entered.
In my strategy, the primary exit is when the EMA 20 crosses below the EMA 50. However, this crossover can sometimes take a while to occur, and in the meantime the price may have already dropped significantly. The Stop Loss based on the Lower Bollinger Band is designed to limit losses in case the market moves sharply against the position without giving the bearish crossover signal in time. Having two exit conditions makes the strategy much more robust in terms of risk management.
Risk Management:
• Initial capital: $10,000
• Position size: 10% of available capital per trade
• Commissions: 0.1% on traded volume
• Stop Loss: Based on the Lower Bollinger Band
• Take Profit / Exit: When EMA 20 crosses below EMA 50
Recommended Markets:
XAUUSD (OANDA) (Daily)
Period: January 3, 1833 – November 23, 2025
Total Profit & Loss: +$6,030.62 USD (+57.57%)
Maximum Drawdown: $541.53 USD (3.83%)
Total Trades: 136
Winning Trades (Win Rate): 36.03% (49/136)
Profit Factor: 2.483
XAUUSD (OANDA) (12-hour)
Period: March 19, 2006 – November 23, 2025
Total Profit & Loss: +$1,209.56 USD (+11.89%)
Maximum Drawdown: $384.58 USD (3.61%)
Total Trades: 97
Winning Trades (Win Rate): 35.05% (34/97)
Profit Factor: 1.676
XAUUSD (OANDA) (8-hour)
Period: March 19, 2006 – November 23, 2025
Total Profit & Loss: +$1,179.36 USD (+11.81%)
Maximum Drawdown: $246.88 USD (2.32%)
Total Trades: 147
Winning Trades (Win Rate): 31.97% (47/147)
Profit Factor: 1.626
Tesla (NASDAQ) (4-hour)
Period: June 29, 2010 – November 23, 2025
Total Profit & Loss (Absolute): +$11,687.90 USD (+116.88%)
Maximum Drawdown: $922.05 USD (6.50%)
Total Trades: 68
Winning Trades (Win Rate): 39.71% (27/68)
Profit Factor: 4.156
Tesla (NASDAQ) (3-hour)
Total Profit & Loss: +$11,522.33 USD (+115.22%)
Maximum Drawdown: $1,247.60 USD (8.80%)
Total Trades: 114
Winning Trades: 33.33% (38/114)
Profit Factor: 2.811
Additional Recommendations
(These assets have shown good trending behavior with the same strategy across multiple timeframes):
• NVDA (15 min, 30 min, 1h, 2h, 3h, 4h, 6h, 8h, 12h, Daily)
• NFLX (1h, 2h, 3h, 4h, 6h, 8h, 12h, Daily)
• MA (1h, 2h, 3h, 4h, 6h, 8h, 12h, Daily)
• META (1h, 2h, 3h, 4h, 6h, 8h, 12h, Daily)
• AAPL (1h, 2h, 3h, 4h, 6h, 8h, 12h, Daily)
• SPY (12h, Daily)
About the Code
The user can modify:
• EMA periods (20 and 50 by default)
• Bollinger Bands length (20 periods)
• Standard deviation (2.0)
Visualization
• EMA 20: Blue line
• EMA 50: Red line
• Green background when EMA20 > EMA50 (bullish trend)
• Red background when EMA20 < EMA50 (bearish trend)
Important Note:
We can significantly increase the profit factor and overall profitability by risking a fixed percentage per trade instead of a fixed amount. This would prevent losses from fluctuating with changes in volatility.
This could be implemented by reducing position size or adjusting leverage based on the volatility percentage required for each trade, but I’m not sure if this is fully possible in Pine Script. In my other script, “ Golden Cross 50/200 EMA ,” I go deeper into this topic and provide examples.
I hope you enjoy this contribution. Best regards!






















