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
Overview: I am looking for an experienced MQL5 developer to build an advanced Expert Advisor (EA) for MetaTrader 5. The EA must parse trading signals from Telegram channels and execute them automatically on MT5 with high accuracy and low latency. Key Requirements & Custom Features: Multi-Channel Support (2 Telegram Channels): The EA must be able to listen to two different Telegram channels simultaneously. Independent
Ich möchte einen professionellen Expert Advisor (EA) für MetaTrader 5 entwickeln lassen, der sich funktional am ThunderGold Scalper orientiert. Instrument: XAUUSD / GOLD Zeitrahmen: M15 Plattform: MetaTrader 5 / MQL5 Der EA soll eine eigene, nachprogrammierte Strategie verwenden und keine geschützten Quellcodes oder proprietären Dateien des Originalprodukts kopieren. Gewünschte Funktionen: automatischer Handel auf
I need a fully automated Expert Advisor (EA) written in MQL5 for MetaTrader 5. The EA must work directly inside MT5 and must NOT require TradingView, PineConnector, webhooks, or another external connector to place trades. Trading Instrument Primary symbol: XAGUSD (Silver) My broker may display the symbol as XAGUSD-ECN, so the EA should work with the broker’s available XAGUSD symbol. Main entry timeframe: 5-minute
RECHERCHE DÉVELOPPEUR MQL5 — PARTENARIAT 50/50 Objectif : développer un EA de trading automatisé en 11 jours maximum pour participer à plusieurs concours de trading démo. Je recherche un développeur MQL5 expérimenté, capable de développer, tester et optimiser un EA proprement, avec une vraie maîtrise de la gestion du risque. CONCOURS VISÉS 🥇 XM — Weekly Demo Contest - Concours récurrent - Prize pool annoncé : 25 000
I need a EA programer to program my EA for MLQ5 to sell at the last candle before impulses to the downside(-) and buy on the last candle before the upside(+) movement. For the take profit we target the nearest high for buy and target nearest low for sell.Stop loss on the last weak of the order block
//+------------------------------------------------------------------+ //| XAUUSD Wolfe + SMC Quick Profit EA | //| MT5 / MQL5 | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //================================================================== // INPUTS //================================================================== //--- General
can you help me with I have an indicator that I built and I work with PickMyTrade. The entries come through the alerts I get from Trading View . Trading View needs to send an alert and PickMyTrade executes a trade at that exact same second. Now, I have a problem in Trading View with the synchronization between the alert and the signal. I have a box that I built for a trade. It needs to output the box and get an
Key Technical Specifications Platform & Engine: Native MetaTrader 5 (MQL5) using CTrade execution class. Trading Strategy: Dual-directional breakout grid strategy featuring dynamic price validation and overall equity trailing stops. Order Capacity: 70 total pending orders max (35 Buy grid levels, 35 Sell grid levels). Core Features & Execution Rules Feature Specification Details Price Direction Guard Automatically
Buying profitable EA Budget up to 1.5k (Serious offer) Specification EN I will pay 1.5k (negotiable) for an EA for existing MT4 that generates a minimum of 5% or higher a month consistently no monthly DD more than 5% on ,5k account Please send demo version with optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it in a demo account. Developer should be willing
I need an MT4 Expert Advisor (MQL4). 1. Open one Buy and one Sell trade simultaneously. 2. Adjustable lot size (default 0.01). 3. Stop Loss on both trades. 4. If one trade hits Stop Loss: - Do not open a replacement trade. - Leave the remaining trade open. 5. Optional trailing stop: - On/Off switch. - Adjustable distance. 6. When the remaining trade closes: - Open a new Buy and Sell pair. - Repeat continuously