The drawdown protection EA(DDP) will open a position(position_DD) when the tracked trade(trade_EA) made by another EA goes beyond the drawdown% threshold. when the trade_EA is closed by other EA or drawdawn% threshold is no longer being crossed by position_DD and position_DD is in the positive, at that point position_DD will be closed. The purpose of DDP is to protect the account from sudden and/or prolonged periods of large drawdown.
DDR will have the following behaviors:
1. Each instance of DDP will track particular trades opened by another EA based on the "EA magic number"(tracked_magic_number) and "currency pair"(tracked_trade_currency) parameters.
2. The chart the instance of DDP is open in will be the pair DDP uses in the hedge position.
3. DDP will protect from drawdown occurring in trade_EA in a particular direction, long or short,
based on two parameters: trade_EA_long and trade_EA_short, please see 3.1 - 3.4.
3.1. if both parameters are set to True DDP will track both long and short position made by other EA.
3.2. If trade_EA_long=True and trade_EA_short=False, DDP will only track long trades made by other EA that go into negative and cross the drawdown threshold.
3.3. If trade_EA_long=False and trade_EA_short=True, DDP will only track short trades made by other EA that go into negative and cross the drawdown threshold.
3.4. If trade_EA_long=False and trade_EA_short=False, DDP will not track any trades made by the other EA or open any new position_DD's. If position_DD or multiple positions_DD is/are already open it/they will continue to be managed by DDP as normal.
4. The direction of position_DD(hedge position) will be determined by 2 parameters: position_DD_long and position_DD_short, please see 4.1 - 4.4.
4.1. If both parameters are set to True, then position_DD will be in the opposite direction of trade_EA.
4.2. If position_DD_long=True and position_DD_short=False, DDP can only open long positions when trade_EA goes beyond the drawdown threshold.
4.3. If position_DD_long=False and position_DD_short=True, DDP can only open short positions when trade_EA goes beyond the drawdown threshold.
4.4. If position_DD_long=False and position_DD_short=False, DDP will not open any new positions in any direction. Any already open position_DD will be closed, all position opened by DDP will be closed.
5. The position_DD size will be determined using "position_multiplier" parameter, please see 5.1 - 5.3.
5.1. if "position_multiplier it is set to 1(default), the size of position_DD will equal that of trade_EA,
5.2. if the parameter is set to 1.25, then position_DD will be 25% larger than trade_EA.
5.3. if for example the parameter is set to 0.5 then position_DD size will be 50%/half of the size of trade_EA.
6. DDP must immediately close position_DD if trade_EA is closed by user or other EA or if the drawdown of trade_EA is below drawdown threshold and trade is in a positive direction. There may be multiple trade_EA being tracked and the management of each one must comply with the rules stated.
7. Position_DD must not be allowed to go into high drawdown at any point, the moment position_DD is opened a stop loss will be used, to determine the location of the stop loss the parameter "position_max_drawdown" will be used, this parameter is the maximum drawdown allowed for all position_DD's.
8. Position_DD will have in the comment section the order number for trade_EA in the folowing format: "Order: <Order number>", to allow behavior corroboration using trade history.
9. DDP will be able to track multiple trades opened by other EA, and apply rules discussed above to each position_DD.
10. Source code for the DDP should be provided once completed.
Solicitudes similares
روبوت تداول الذهب MT5 (EA) – عروض المطور مطلوبة أبحث عن شراء روبوت تداول محترف للذهب (XAUUSD) أو استكشاف حل مخصص للتداول الآلي. بيئة التداول منصة التداول: MetaTrader 5 (MT5) أداة التداول: ذهب (XAUUSD) وسيط: فانتاج أسلوب التداول: السكالبينغ أو استراتيجيات آلية مناسبة أخرى ما أبحث عنه أنا منفتح على استراتيجيات وأساليب تداول مختلفة، بما في ذلك السكالبينغ، وتتبع الاتجاهات، والتحليل الذكي للسوق، أو استراتيجيات آلية أخرى
I need an MT5 EA which can identify double EMAs position and their slopes as trading trend and candle closes following the trend after retracement to EMA as trading signal. Buy trend occurs when fast EMA is above slow EMA and their slopes are positive. Sell trend occurs when fast EMA is below slow EMA and their slopes are negative. Buy signal occurs when a bullish candle closes above fast EMA after retracement
FREE FOREX CONSULTATIONS – TECHNICAL ANALYSIS AND TRADING STRATEGY DEVELOPMENT I offer free consultations to individuals interested in the Forex market who wish to improve their understanding of the market and develop a more structured approach to trading. During the consultations, we can cover the following topics: Understanding Charts: Interpreting price movements and market structure. Trend Identification
//+------------------------------------------------------------------+ //| NATHANIEL SMART TRADER EA v1.0 | //| MetaTrader 5 - MQL5 | //| EMA + RSI + ATR + Risk Management | //+------------------------------------------------------------------+ #property copyright "Nathaniel" #property version "1.00" #property strict #include <Trade/Trade.mqh> CTrade trade; //---
//+------------------------------------------------------------------+ //| NATHANIEL SMART TRADER EA v1.0 | //| MetaTrader 5 - MQL5 | //| EMA + RSI + ATR + Risk Management | //+------------------------------------------------------------------+ #property copyright "Nathaniel" #property version "1.00" #property strict #include <Trade/Trade.mqh> CTrade trade; //--- Trading settings input double RiskPercent = 1.0; input
--- I need an MT5 Expert Advisor (EA) for Forex trading. Strategy: - Trade when fast Moving Average (9) crosses above slow Moving Average (21) = BUY - Trade when fast Moving Average (9) crosses below slow Moving Average (21) = SELL - Only 1 trade at a time Settings I want to change: - Lot size - Stop Loss in pips - Take Profit in pips - Trailing Stop - Trading hours (Start and End time) Risk: - Close all trades at
DEVELOPMENT REQUIREMENTS Project Title: ICC Smart Structure EA – MT5 Automated Trading System 1. Project Objective I want a fully automated Expert Advisor (EA) for MetaTrader 5 (MT5), based on my Indication–Correction–Continuation (ICC) trading strategy. The EA must identify market structure, Break of Structure (BOS), swing highs and lows, supply and demand zones, corrections and continuation entries across multiple
برمجة روبوت تداول MQL5 بهدف 50 نقطة مع إدارة مخاطر.مطلوب برمجة خبير تداول آلي يعمل على منصة MQL5، يركز على تحقيق هدف 50 نقطة مع إدارة صارمة للمخاطر وتحديد وقف الخسارة
I want full experience devloper need , I want devlope 4 Type Bot , Grd strategy 2 , and other bias strategy 2 scaning on market condition choose one order buy or sell and take profit and target fully automatic management, I am explain full details on private chat only experience developer contact me
Hello, I want to clarify that my project is specifically for TradingView only. I am looking for an experienced TradingView Pine Script developer (Pine Script v5/v6) to develop advanced custom technical indicators. I am NOT looking for MT4, MT5, MQL4, MQL5, Expert Advisors (EAs), or automated trade execution. 1. Indicators I want developed A. Smart Money Concepts (SMC) - Buy-side and sell-side liquidity sweeps