safa bot alertGood trading for everying and stuff that very gfood and stuff please let me puibisjertpa 9uihthsi fuckitgn code
Göstergeler ve stratejiler
TOT Strategy, The ORB Titan (Configurable)This is a strategy script adapted from Deniscr 's indicator script found here:
All feedback welcome!
Linear Mean Reversion Strategy📘 Strategy Introduction: Linear Mean Reversion with Fixed Stop
This strategy implements a simple yet powerful mean reversion model that assumes price tends to oscillate around a dynamic average over time. It identifies statistically significant deviations from the moving average using a z-score, and enters trades expecting a return to the mean.
🧠 Core Logic:
A z-score is calculated by comparing the current price to its moving average, normalized by standard deviation, over a user-defined half-life window.
Trades are entered when the z-score crosses a threshold (e.g., ±1), signaling overbought or oversold conditions.
The strategy exits positions either when price reverts back near the mean (z-score close to 0), or if a fixed stop loss of 100 points is hit, whichever comes first.
⚙️ Key Features:
Dynamic mean and volatility estimation using moving average and standard deviation
Configurable z-score thresholds for entry and exit
Position size scaling based on z-score magnitude
Fixed stop loss to control risk and avoid prolonged drawdowns
🧪 Use Case:
Ideal for range-bound markets or assets that exhibit stationary behavior around a mean, this strategy is especially useful on assets with mean-reverting characteristics like currency pairs, ETFs, or large-cap stocks. It is best suited for traders looking for short-term reversions rather than long-term trends.
Parallax Momentum MNQ Strategy# 📈 Parallax Momentum MNQ Strategy
## Overview
The Parallax Momentum MNQ Strategy is a sophisticated support/resistance breakout system specifically designed for Micro Nasdaq futures (MNQ) trading (also works on minis). This strategy combines dynamic level detection with momentum confirmation to identify high-probability entry opportunities while maintaining strict risk management protocols.
## 🎯 Key Features
### Core Strategy Logic
- **Dynamic Support/Resistance Detection**: Automatically identifies key levels using configurable lookback periods
- **Momentum Confirmation**: Volume-based filtering ensures trades align with market momentum
- **ATR-Based Risk Management**: Adaptive stop losses and take profits based on market volatility
- **Dual Entry System**: Both long and short opportunities with limit order execution
### Risk Management
- **ATR-Adaptive Stops**: Stop losses and take profits automatically adjust to market volatility
- **Reward-to-Risk Ratios**: Configurable R:R ratios with default 2:1 minimum
- **Maximum Loss Protection**: Optional daily loss limits to prevent overtrading
- **Session Time Filtering**: Trade only during specified market hours
### Strategy Modes
- **Conservative Mode**: 0.8x risk multiplier for cautious trading
- **Balanced Mode**: Standard 1.0x risk multiplier (default)
- **Aggressive Mode**: 1.2x risk multiplier for active trading
## 📊 Visual Features
### Dashboard Display
- Real-time strategy status and performance metrics
- Current support/resistance levels and ATR values
- Live risk-to-reward ratios for potential trades
- Win rate, profit factor, and drawdown statistics
- Adjustable dashboard size and positioning
### Chart Indicators
- Support and resistance lines with labels
- ATR-based levels (+/-1 ATR and +/-2 ATR)
- Dynamic visual updates as levels change
- Configurable line extensions and styling
## ⚙️ Configuration Options
### Entry Filters
- **Volume Filter**: Optional volume confirmation above SMA
- **Session Time Filter**: 12-hour format time restrictions
- **ATR vs Fixed Stops**: Choose between adaptive or fixed tick-based exits
### Risk Controls
- **ATR Period**: Default 14-period ATR calculation
- **Stop Loss Multiplier**: ATR-based stop distance (default 1.5x)
- **Take Profit Multiplier**: ATR-based target distance (default 1.5x)
- **Secondary Take Profit**: Optional TP2 with position scaling
## 📋 How It Works
### Entry Conditions
**Long Trades**: Triggered when price closes above support buffer but low touches support level, with volume and session confirmation
**Short Trades**: Triggered when price closes below resistance buffer but high touches resistance level, with volume and session confirmation
### Exit Strategy
- **Primary Take Profit**: ATR-based target with 2:1 R:R minimum
- **Stop Loss**: ATR-based protective stop
- **Optional TP2**: Extended target for partial profit taking
- **One Trade at a Time**: No overlapping positions
## 🎛️ Default Settings
- **Lookback Period**: 20 bars for support/resistance detection
- **ATR Period**: 14 bars for volatility calculation
- **Stop Loss**: 1.5x ATR from entry
- **Take Profit**: 1.5x ATR with 2:1 reward-to-risk ratio
- **Session**: 7:30 AM - 2:00 PM (configurable)
## ⚠️ Important Notes
### Risk Disclaimer
- This strategy is for educational and informational purposes only
- Past performance does not guarantee future results
- Always use proper position sizing and risk management
- Test thoroughly on historical data before live trading
- Consider market conditions and volatility when using
### Best Practices
- Backtest on sufficient historical data
- Start with conservative mode for new users
- Monitor performance regularly and adjust parameters as needed
- Use appropriate position sizing for your account
- Consider broker commissions and slippage in live trading
## 🔧 Customization
The strategy offers extensive customization options including:
- Adjustable time sessions with AM/PM format
- Configurable ATR and risk parameters
- Optional maximum daily loss limits
- Dashboard size and position controls
- Visual element toggles and styling
## 📈 Ideal For
- MNQ (Micro Nasdaq) futures traders
- Intraday momentum strategies
- Traders seeking systematic entry/exit rules
- Risk-conscious traders wanting automated stops
- Both beginner and experienced algorithmic traders
---
**Version**: Pine Script v5 Compatible
**Timeframe**: Works on multiple timeframes (test on 1m, 3m, 5m, 15m)
**Market**: Optimized for MNQ but adaptable to other instruments
**Strategy Type**: Trend following with momentum confirmation
RCI 2 Dashboards ✅ Strategy: RCI 2 Dashboards BY Sonu JAIN
This advanced strategy is built around the Rank Correlation Index (RCI), a unique momentum oscillator, and combines it with a comprehensive suite of powerful indicators to identify high-probability trading opportunities. The strategy’s core strength lies in its ability to filter signals using up to 12 different conditions for both long and short trades.
To make the decision-making process clear and intuitive, the strategy features two dynamic, customizable dashboards right on your chart. The first dashboard gives you a live, detailed breakdown of which conditions are met, while the second provides a real-time overview of the strategy’s performance.
How It Works
The strategy generates entry signals based on RCI crossovers and crossunders. These signals are then filtered by a customizable combination of other indicators to confirm the trade.
Long Entry:
The RCI crosses over its moving average.
All enabled long-side filters are met.
Short Entry:
The RCI crosses under its moving average.
All enabled short-side filters are met.
Key Features
RCI Crossover Logic: The core of the strategy is an RCI crossover/crossunder with a customizable moving average (MA). You can choose from SMA, EMA, SMMA (RMA), WMA, or VWMA.
12 Optional Filters: This strategy goes far beyond a simple RCI signal. You can enable or disable a wide range of filters to refine your entries. These include:
Trend: Supertrend, Parabolic SAR (SAR), and Vortex Indicator.
Volatility: Keltner Channels (KC) and Bollinger Bands (BB).
Momentum: Woodies CCI, Money Flow Index (MFI), and Relative Strength Index (RSI).
Volume: On-Balance Volume (OBV) and simple Volume analysis.
Directional Strength: Average Directional Index (ADX).
Timing: A time-of-day filter to trade only during specific market hours.
Dual Dashboards:
Detailed Condition Dashboard: This dashboard shows you exactly which of the 12 filters are currently met with a simple ✓ or ✗. This provides instant clarity on why a trade is or isn't being considered.
Performance Dashboard: This dashboard displays key performance metrics in real-time, including net profit, win rate, profit factor, max drawdown, and current/max winning and losing streaks. It also provides details on the most recent trade, such as entry, stop-loss, and exit prices.
Customizable Stop Loss: The strategy includes a fixed percentage-based stop loss for both long and short positions, which you can easily configure in the settings.
Trade Direction Control: You can choose to trade "Long Only," "Short Only," or "Long & Short," giving you complete control over your trading bias.
This strategy is a powerful tool for traders who want to build a robust, multi-filtered system. The included dashboards make it an excellent educational tool for understanding how different indicators work together to form a complete trading plan. You can use it to backtest and optimize your own unique combination of indicators to find the perfect setup for your market and timeframe.
Market Switches BUY/SELL Signal with iFVGThis Pine Script strategy identifies high-probability trade setups by combining liquidity sweeps of the London session with inverse Fair Value Gaps (iFVGs). It tracks the London high and low between 2:00 AM and 5:00 AM EST, then waits until after 9:30 AM EST to detect whether price sweeps above the London high or below the London low—indicating potential smart-money activity. Following a sweep, the script looks for a valid iFVG pattern, which must be confirmed within four candles. If a London low is swept and a bearish iFVG forms, a long trade is triggered; if a London high is swept and a bullish iFVG forms, a short trade is taken. Only one trade is allowed per day, with a fixed stop loss of $500 and take profit of $1000, both calculated in points based on the instrument. The script also includes chart labels, alert messages, and closes any open positions by 4:00 PM EST.
✅ BACKTEST: UT Bot + RSIRSI levels widened (60/40) — more signals.
Removed ATR volatility filter (to let trades fire).
Added inputs for TP and SL using ATR — fully dynamic.
Cleaned up conditions to ensure alignment with market structure.
Yuri Garcia Smart Money Strategy FULL (COMPLIANT)Yuri Garcia Smart Money Strategy FULL (Slope Divergence)
This script is not a mashup of random indicators. It is an original, coherent strategy that blends multiple institutional-grade tools to form a unified Smart Money trading system. Each component contributes to precise trade filtering, context, and confirmation — no element is decorative or redundant.
🔍 Strategy Logic: How It Works
This strategy integrates the following tools, each with a clearly defined role:
1. Volume Cluster Zones (Orange bands)
Identifies strong buy/sell areas using the highest volume nodes over a rolling window. These act as dynamic points of control where Smart Money is likely active.
2. HTF Zones (4H) (Purple band)
Defines institutional zones by using the 20-bar high/low on the 4-hour chart. These set the outer bounds for valid entries, ensuring alignment with larger market structure.
3. Wick Pullback Filter (Orange circle 🔶)
Detects exhaustion or absorption near zones. Used to confirm genuine rejection after liquidity sweeps or traps.
4. Cumulative Delta Confirmation (Red square 🟥)
Analyzes whether buyers or sellers are dominant using delta volume. Trades only trigger when volume confirms the intended direction.
5. Slope-Based Delta Divergence (Optional)
Detects hidden reversals between price and delta. This prevents late entries and provides early insight into potential trap reversals.
6. Liquidity Grab Detection (Blue diamond 🔷)
Marks smart money stop hunts — temporary price breaks beyond highs/lows, followed by reversal. Used as a confluence tool.
7. ATR-Based Dynamic Risk Control
The strategy uses ATR to calculate SL/TP dynamically. This allows position sizing to adjust to volatility, reducing overexposure in high-momentum conditions.
🎯 Entry Criteria
All the following conditions must be met:
✅ Price is inside a Volume Cluster Zone
✅ Price is within the HTF Institutional Zone
✅ Wick Pullback confirms reaction
✅ Delta confirms strength of buyers/sellers
✅ (Optional) Slope-based divergence signals hidden shift
✅ (Optional) Liquidity grab occurs
Only then will the strategy trigger an entry.
📈 Visual Legend (Symbols on Chart)
Symbol Description
🟣 Purple Zone HTF Support/Resistance zone (4H context)
🟠 Orange Zone Volume cluster from top 3 volume nodes
🔶 Orange Circle Wick Pullback confirmation
🟥 Red Square Delta Confirmation
🔷 Blue Diamond Liquidity Grab indicator
🔵 Blue X Price is inside HTF Zone
🔻 Red Triangle SHORT entry signal
🔺 Green Triangle LONG entry signal
These visuals make it easier to read the chart intuitively while understanding each condition’s role.
⚙️ Strategy Settings Justification
Default Qty: 2% of equity (sustainable risk)
RRR: 2.0 (adaptive to volatility)
ATR Multiplier: 2.0 for SL/TP
Commission: 0.1% used
Slippage: 2 points for realism
Minimum Trades for Testing: Designed to generate over 100 trades under normal backtest conditions
Dataset: Supports BTC, GOLD, Forex, Indices with realistic volatility and volume
These settings reflect a realistic use case for average retail traders and avoid overfitting or unrealistic returns.
📌 How to Use
Apply on 15-minute or 1-hour timeframe.
Wait for full alignment of all entry conditions.
Confirm visually or use included alerts for manual or bot execution.
SL and TP are automatically handled.
🚫 Important Notes
This script is original, not a remix or mashup of unrelated indicators.
Each component was designed to work in harmony, enhancing trade quality and confidence.
No external scripts are required to function.
Alert messages are pre-formatted for both manual and webhook use.
BTC 1m Chop Top/Bottom Reversal (Stable Entries)Strategy Description: BTC 5m Chop Top/Bottom Reversal (Stable Entries)
This strategy is engineered to capture precise reversal points during Bitcoin’s choppy or sideways price action on the 5-minute timeframe. It identifies short-term tops and bottoms using a confluence of volatility bands, momentum indicators, and price structure, optimized for high-probability scalping and intraday reversals.
Core Logic:
Volatility Filter: Uses an EMA with ATR bands to define overextended price zones.
Momentum Divergence: Confirms reversals using RSI and MACD histogram shifts.
Price Action Filter: Requires candle confirmation in the direction of the trade.
Locked Signal Logic: Prevents repaints and disappearing trades by confirming signals only once per bar.
Trade Parameters:
Short Entry: Above upper band + overbought RSI + weakening MACD + bearish candle
Long Entry: Below lower band + oversold RSI + strengthening MACD + bullish candle
Take Profit: ±0.75%
Stop Loss: ±0.4%
This setup is tuned for traders using tight risk control and leverage, where execution precision and minimal drawdown tolerance are critical.
ZYTX RSI SuperTrendZYTX RSI SuperTrend
ZYTX RSI + SuperTrend Strategy
The definitive integration of RSI and SuperTrend trend-following indicators, delivering exemplary performance in automated trading bots.
ZYTX CCI SuperTrendZYTX CCI SuperTrend
The definitive integration of CCI and SuperTrend trend-following indicators, delivering exemplary performance in automated trading bots.
ZYTX SuperTrend V1ZYTX SuperTrend V1 Indicator
Multi-strategy intelligent rebalancing with >95% win rate
Enables 24/7 automated trading
ZYTX GKDDThe ZYTX High-Sell Low-Buy Indicator Strategy is a trend-following indicator that integrates multiple indicator resonances. It demonstrates the perfect performance of an automated trading robot, truly achieving the high-sell low-buy strategy in trading.
Matrix Trading Strategy**Matrix Trading Strategy** is a multi-signal framework designed to identify and exploit intraday trends with controlled precision. It combines three independent entry engines—Opening Range Breakout (ORB), Ultimate Trend via ATR trailing, and a moving average crossover (MA Cross)—which can operate alone or in any combination, offering traders maximum flexibility.
Risk management is fully parameterizable: position sizing by percent of equity, fixed cash amount, or fixed quantity; SL/TP in pips aligned to the instrument’s tick size (`pipSize`); automatic break-even; ATR-based trailing stop (with an option to anchor to the UT line itself); and configurable partial exits (TP1/TP2). Daily trade limits, entry cooldowns, and forced end-of-session liquidation enforce strict discipline.
Visually, the script plots EMAs, a 1-minute VWAP, ORB levels, the UT trailing line, and signal markers, and it colors candles by RSI for rapid momentum assessment. Ready-to-use alerts for ORB, UT, and MA signals support seamless automation via webhooks.
All together, Matrix Trading is a modular framework that adapts effortlessly to cryptocurrencies, metals, or global indices, delivering realistic executions and transparent metrics in both backtests and live trading.
EMA Crossover with Volume + Stacked TP & Trailing SLI am relatively new here. Here is my humble contribution to the community. Simple does it! Ema 21,55 with volume. Surprisingly high win rates and good profit factors on USDJPY, EURJPY, BTCUSD, XAGUSD,XAUUSD, USOIL, USDCAD, EURGBP and AUDNZD. I cannot write a single line of code. I used Copilot for this.
Supertrend + Peak Hours Profitable Strategy
Key Innovations
Adaptive Time Filtering:
Dynamically adjusts to market's most profitable hours
Self-updating based on recent performance
Triple-Layer Confirmation:
Technical signal (Supertrend)
Statistical edge (Time window)
Market condition filters (Volatility + Volume)
BTC/USD Optimization:
UTC-based time calculations
1.5% TP / 4.5% SL for crypto volatility
Position sizing for risk control
Professional Toolkit:
Commission modeling
Visual trade management
Real-time alerts
Performance diagnostics
Ideal For
BTC/USD trading on 15min-4hr timeframes
Volatile crypto pairs (ETH/USD, SOL/USD)
Traders seeking statistically-backed entries
Swing trading with 1-4 day holds
The strategy eliminates emotional trading by combining technical signals with statistically verified time windows, while maintaining strict risk management protocols.
Advanced Supertrend StrategyA comprehensive Pine Script v5 strategy featuring an enhanced Supertrend indicator with multiple technical filters, risk management, and advanced signal confirmation for automated trading on TradingView.
## Features
- **Enhanced Supertrend**: Configurable ATR-based trend following with improved accuracy
- **RSI Filter**: Optional RSI-based signal filtering to avoid overbought/oversold conditions
- **Moving Average Filter**: Trend confirmation using SMA/EMA/WMA with customizable periods
- **Risk Management**: Built-in stop-loss and take-profit based on ATR multiples
- **Trend Strength Analysis**: Filters weak signals by requiring minimum trend duration
- **Breakout Confirmation**: Optional price breakout validation for stronger signals
- **Visual Interface**: Comprehensive chart plotting with multiple indicator overlays
- **Advanced Alerts**: Multiple alert conditions with detailed signal information
- **Backtesting**: Full strategy backtesting with commission and realistic execution
NovaGrid [Mr_Rakun]🔹 Purpose of the Strategy
NovaGrid is a grid-based DCA (Dollar Cost Averaging) strategy that opens positions at price intervals and manages each one with individual take-profit levels. It is designed to generate entries based on selected technical indicators and allows for structured accumulation within a customizable price range and entry conditions.
⸻
🧩 Core Features
• Dynamic Grid System: Opens entries at percentage-based intervals up to a specified limit.
• Indicator-Based Entry Conditions: Choose from RSI, MFI, Stochastic RSI, MACD, VWMA, EMA, SuperTrend, or unconditional entries.
• TP & SL Management: Each position has a separate take-profit level. Optional stop-loss and post-stop shutdown are supported.
• Backtest Range Support: Users can define custom start and end dates for strategy testing.
• Advanced Visuals: Clearly marked entry levels, TP lines, grid projections, and average price lines with labels.
• Info Table Interface: Displays live trade stats such as active grids, total trades, max used grids, and test window.
⸻
🔧 Input Parameters
📌 Grid Settings
• Grid Count (grid): Maximum number of grid entries.
• Percentage Gap (perc): The percentage drop required between each grid entry.
• Take Profit % (tp): The profit percentage used for individual TP levels.
📌 Price Boundaries
• Top Price: No trades are opened above this level. Set to 0 to disable.
• Bottom Price: No trades are opened below this level. Set to 0 to disable.
📌 Stop Loss
• SL %: Places a stop-loss based on the last entry’s price.
• Stop After SL: Stops the strategy from opening new trades once SL is triggered (sltetik flag).
⸻
🧮 Entry Conditions
Select an indicator from the dropdown to determine when the strategy starts building the grid:
• RSI: Entry when RSI crosses below a defined level.
• MFI: Entry when MFI crosses above a defined level.
• Stochastic RSI: Entry when %K crosses under %D and below the threshold.
• MACD: Entry when MACD line crosses above the Signal line.
• VWMA / EMA: Entry when the price is above the moving average.
• SuperTrend: Entry when SuperTrend gives a bullish signal.
• Uncondition: Always enter without checking indicators.
⸻
📈 Position Management
• Entries are placed as limit orders at calculated grid prices.
• TP lines and labels are created per position.
• New entries are opened until the grid limit is reached.
• Positions are exited individually upon reaching TP.
• A stop-loss event closes all open positions. Optional permanent disable.
⸻
⸻
🔧 Input Parameters
📌 Grid Settings
• Grid Count (grid): Maximum number of grid entries.
• Percentage Gap (perc): The percentage drop required between each grid entry.
• Take Profit % (tp): The profit percentage used for individual TP levels.
📌 Price Boundaries
• Top Price: No trades are opened above this level. Set to 0 to disable.
• Bottom Price: No trades are opened below this level. Set to 0 to disable.
📌 Stop Loss
• SL %: Places a stop-loss based on the last entry’s price.
• Stop After SL: Stops the strategy from opening new trades once SL is triggered
⸻
🧮 Entry Conditions
Select an indicator from the dropdown to determine when the strategy starts building the grid:
• RSI: Entry when RSI crosses below a defined level.
• MFI: Entry when MFI crosses above a defined level.
• Stochastic RSI: Entry when %K crosses under %D and below the threshold.
• MACD: Entry when MACD line crosses above the Signal line.
• VWMA / EMA: Entry when the price is above the moving average.
• SuperTrend: Entry when SuperTrend gives a bullish signal.
• Uncondition: Always enter without checking indicators.
⸻
📈 Position Management
• Entries are placed as limit orders at calculated grid prices.
• TP lines and labels are created per position.
• New entries are opened until the grid limit is reached.
• Positions are exited individually upon reaching TP.
• A stop-loss event closes all open positions. Optional permanent disable.
⸻
📊 Info Table
A customizable table in the corner of the chart displays:
• Strategy name and version
• Total configured grids
• Current active grids
• Max used grids
• Total closed trades
• Backtest time range (start and end)
rsi indicator strategyRSIBB Strategy Based on Oversold, Overrbuy Bolinger Band Band. In usoil . Time Indicators is set and the timing is in 5 minutes
An example of Long. When the green marker appears, our entry point is High High If the price fails to reject our High High, our entry will change to the next candlestick. This process will continue until we enter the position.
A marker appears in purple when the green marker appears to us, in which information appears:
The first digit related to the strategist code
The second digit is that we have a few pips to be sure of the candlestick of our entry point
The third digit is our SL that is a coefficient of overall size of yogurt (HIGH - LOW)
Charmin is the digit of our tp that is a coefficient of overall size of yogurt (HIGH - LOW)
In 6 sets
استراتژی RSIBB بر اساس اشباع فروش، اشباع خرید، باند بولینگر. در این روش، اندیکاتورهای زمانی تنظیم شده و زمانبندی ۵ دقیقه است.
مثالی از موقعیت خرید. وقتی نشانگر سبز ظاهر میشود، نقطه ورود ما High است. اگر قیمت نتواند High ما را رد کند، ورود ما به کندل بعدی تغییر میکند. این فرآیند تا زمانی که وارد موقعیت شویم ادامه خواهد داشت.
وقتی نشانگر سبز برای ما ظاهر میشود، یک نشانگر به رنگ بنفش ظاهر میشود که در آن اطلاعات زیر ظاهر میشود:
رقم اول مربوط به کد استراتژیست است.
رقم دوم این است که ما چند پیپ برای اطمینان از کندل نقطه ورود خود داریم.
رقم سوم SL ما است که ضریبی از اندازه کلی ماست (HIGH - LOW) است.
چارمین رقم tp ما است که ضریبی از اندازه کلی ماست (HIGH - LOW) است.
Gold Multi TP Strategy📘 Strategy Description: Gold Multi Take-Profit Strategy (XAUUSD)
This strategy is designed for Gold (XAUUSD) and works on any timeframe (recommended: 15-min or higher). It executes trades based on a simple EMA crossover logic with optional higher-timeframe and ATR-based filters to confirm trend direction and volatility.
🔑 Core Features
✅ Directional control: Trade only long, short, or both directions (Strategy Direction)
✅ Multi-level Take Profit: Scale out at up to 4 configurable profit targets
✅ Fixed Stop Loss: Set custom SL distance for risk control
✅ Position Sizing: Allocate different percentages to each TP level
✅ HTF Trend Filter (optional): Align trades with weekly candle trend
✅ ATR Filter (optional): Improve entries with volatility-based filter
⚙️ Inputs Explained
Input Name Function
Strategy Direction Choose to trade all, long, or short only
Length of Filter Length of the moving average used for HTF trend filter
Candle Time Reference candle timeframe in minutes (e.g., 1440 for daily)
Length of ATR Period for ATR calculation (volatility)
HTF Higher timeframe for filter (e.g., 1 week)
Filter Checkbox Enable/disable trend filter
Stop Loss Fixed SL distance in price units
Qty_percent1-3 % of position allocated to TP1–TP3 (rest goes to TP4)
Take profit1–4 TP levels (in price units) from entry price
🧠 Logic Overview
Entry triggered on EMA 20/50 crossover
Optional filter: entry allowed only if current price is above its HTF MA (bullish) or below (bearish)
Position is scaled out at up to 4 profit levels using different qty_percent
SL remains fixed throughout the trade
📊 Best Use
Intraday trading on XAUUSD, ideally during London/NY sessions
Trending or breakout conditions
Works best with additional confluence (price action, S/R, news)