The TP/SL system needs to be changed
1. Hide/make nonfunctional 4 parameters: fallback_tp_mult and fallback_tp_mult. Hide parameters: "useEmergency tp/sl ", "newtp", "newsl".
2. Create two NEW parameters (one TP/ one SL) to replace the 4 hidden functions - to make only ONE emergency tp/sl system.
The new emergency TP system will be a multiple of the original tp value that is set by the "Takeprofitmode = TP_MODE_SD_Percent = TP PERCENT = default % value" functions. In the event that the original value does not meet minimum requirements the Emergency TP system will multiply this value.
The new emergency SL system will be a multiple of the original sl value that is set by the " Stoplossmode = SL_MODE_SD = Stoplossdeviation = default value. In the event that the original value does not meet minimum requirements the Emergency SL system will multiply this value.
However, the original tp/sl and emergency tp/sl systems must be independent e.g. if the original SL satisfies the minimum requirements but the original TP does not, only the emergency TP system will be activated - rather than the emergency system being activated for both. This is to prevent unecessary risk/uncertainty and maks sure only the "failing" parameter(s) is fixed.
TP/SL for the trend/second trade
The SL/TP for the second trade are made to be both parameters that are multiples of the SL of the first trade
Email order and result structure
On the Open positon email I want it to say -
1. The email Subject line = "ORDER - Symbol name and type of position" for example: "ORDER - EUR/USD BUY"
2. The email Message space = "#Order number - Entry Price =, SL =, TP =" for example: "#4834783483 - entry price = 100, SL = 98, TP = 102"
On the result email I want it to say -
1. The email Subject line = "RESULT - the symbol name and type of position (buy/sell)" for example: "RESULT - GBP/USD SELL".
2. The email message = "'#Order Number - Result = £x and x points" for example: "#353454353 - Result = £10 and 100 points"
The current format of the order and result emails are not in this format and it looks messy.
Extras
Arrows are placed at the entry and exit price of a trade for both original and second trades.
The Stoploss deviation lines also drawn on and updated every minute (just like the trading deviation lines) - so in total there will be 5 lines, 1 linear regression, 2 trading standard deviation line (e.g. +/-4th deviation) and 2 stop loss deviation lines (e.g. +/- 6th deviation line).
This Stop loss deviation line setting must be an optional parameter (e.g. true/false), it will derive from the "Stoplossmode = SL_MODE_SD = Stoplossdeviation = default value" string.
*All pre existing functions must continue to work
Solicitudes similares
DESCRIPTION: I require an experienced MQL5 developer to build a fully automated, multi‑engine, multi‑asset trend‑following trading system for MetaTrader 5. The system includes: Multiple TrendEngine instances (one per symbol) A PortfolioController that manages all engines Volatility‑regime detection Dual‑timeframe confirmation ATR‑based breakout logic ATR‑based stop management Micropyramiding Risk‑weighted satellites
Description: I need a semi-automatic Expert Advisor (EA) developed for MetaTrader 5 (Hedging account, optimized for Exness Cent accounts) to manage my manual trades on Gold (XAUUSD) using a positive pyramiding trend-following strategy. Detailed Specifications: 1. Multi-Basket Management (Crucial): The EA does NOT open the initial trade. It waits for me to open a manual trade (Buy or Sell). If I open another manual
Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
//@version=6 indicator("منظومة El_3aksiiya 0 المتكاملة", overlay=true, max_labels_count=500, max_boxes_count=500, max_lines_count=500) // الألوان color_accum = color.new(#0000FF, 85) color_manip = color.new(#FFFF00, 80) color_dist = color.new(#FFC0CB, 80) color_elliot = #FF8C00 color_fib = #FFFF00 color_entry = #00FFFF color_tp = #00FF00 rsiVal = ta.rsi(close, 14) // نموذج AMD var int barCount = 0 if
Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only
I need help in building a Robot SNIPER X AI — FINAL BUILD Trading System Type AI Scalping + Sniper Entry Expert Advisor Platforms MetaTrader 4 MetaTrader 5 Supported Brokers � exness.com � justmarkets.com � deriv.com Universal MT4/MT5 broker support FINAL CORE FEATURES ✅ AI Scalping Engine ✅ Sniper Entries ✅ Auto Buy/Sell ✅ EMA Trend Detection ✅ RSI Momentum Filter ✅ Smart Stop Loss ✅ Dynamic Take Profit ✅ Trailing
Hello, I am looking for a serious and experienced MQL5 developer who also has practical trading experience , not only programming skills. The goal is to develop a professional-grade Expert Advisor / semi-automated trading system suitable for prop firm trading , with a strong focus on: ✅ Quality ✅ Robustness ✅ Risk control ✅ Realistic execution ✅ Professional backtesting ✅ Prop firm-friendly logic This is not a simple
//+------------------------------------------------------------------+ //| $10 Smart Scalping Bot for MT5 | //| EURGBP + AUDUSD + XAGUSD Optimized | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //========================= INPUTS ================================== input double LotSize = 0.01; input int FastEMA = 20; input int SlowEMA =
1. Project Overview & Strategic Objective We are seeking an elite, senior-level MQL developer to design and engineer a bulletproof, proprietary MT4 non-standard bar generation application. The primary objective of this project is to build an independent, institutional-grade charting infrastructure to permanently eliminate third-party plugin dependency risks (highlighted by legacy solutions like AZ-INVEST going
Hello, I am looking to develop a commercial-grade Expert Advisor for MT5 specifically optimized for XAUUSD (Gold). The underlying logic should be an intelligent, trend-filtered cost-averaging grid system focused on capital preservation. The EA must include the following functional architecture: 1. Core Strategy Structure: - Must feature a multi-strategy logic entry module. I want to use a combination of 3-4 standard