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
Hy l am looking for someone who can make a robot for using M1 strategy.. I am going to use buy stop and sell stop. in every candle we are going to have entry n TP at same time.i have a video to show you. give me u WhatsApp number I will sent you the video
Looking for an experienced MQL5 developer to build a professional, fully automated Multi-Timeframe trend-following Expert Advisor for MT5. The system is asset-agnostic (Forex, Gold, Indices, Crypto, and Deriv Synthetics). Core Technical Logic: Macro Trend (H4 & H1): Direction determined by Candle Close vs. EMA 200, and EMA 50 > EMA 200 crossover state. Market Structure Filter (H1): Algorithmic
I need an MT4 & MT5 Expert Advisor for ALL pair support Cent Account. Features: Platform: MT4 & MT5 Pair: All Pair Account Type: Cent Account Buy and Sell Fixed Lot Start (user input) Lot Exponent / Multiplier (user input) PipStep / Grid Distance (user input) Take Profit (user input) Maximum Trades (user input) Magic Number (user input) Inputs: Start Lot = 0.01 Take Profit = 40 Lot Exponent = 1.50 PipStep = 40 Max
I want a robot to trade volatility 50(1s) only . A robot that can make me about 100usd in less then a hour but it has to take very short entries for example 3/5 entries at the same time with a very tide stop loss and the tp to be about 10usd
I need a professional MT5 Expert Advisor for XAUUSD. The EA must work on the 5-minute timeframe, with trend confirmation from the 15-minute timeframe. The strategy must be based on: - EMA 9 - EMA 21 - EMA 200 - VWAP - RSI - ADX - ATR - Candlestick patterns - Dynamic support and resistance zones Buy conditions: - Price above EMA 9 and EMA 21 - General trend above EMA 200 - M15 timeframe confirms bullish direction -
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine
Build me an indicator for the daily XAUUSD chart that uses EMA 50/200 crossovers to show trend direction, ADX to confirm trend strength (filtering out anything below 25), and ATR to measure volatility expansion and contraction — color the candles based on bias and add alerts for trend flips and volatility breakouts
AI Stategy: 1.Trend identify by MA(perid 21,50, 100 customiseable) If Market above MA treated up trend If Market down MA trated down trend Above pictue shown as example Entry for uptrend buy & down trend sell Conditions for Sell entry with down trend Condition 1:Previous candle H1time bearish candle must Condition 2: 2 or more bulish candle then 1 bearish candle with 5 minit time frame ABOVE PICTURE SHOWN
Automatically placed at the swing high or swing low of the last 3 closed candles. Take Profit Calculation: Automatically calculated at a fixed 1:2 Risk-to-Reward ratio based on the Stop Loss distance. Spread Filter: The bot must check that the current spread is below Max_Spread_Pips before entry. PART 4: TIME FILTERING & AUTOMATION The bot must stop opening new entries on Friday afternoon. At Friday_AutoClose_Time
# H4 Zone Retest EA (MQL5) An automated trading Expert Advisor (EA) for MetaTrader 5, developed in MQL5. The EA trades gold (XAUUSD) using a multi-timeframe breakout and retest strategy: it defines the first H4 candle of each day as a trading zone, detects breakouts on the M5 chart, waits for a retest, and executes trades with risk management, trailing stops, and optional news filtering. --- ## Features - H4 → M5