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
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA
Hello, I need a Python-based MT5 forex trading bot developed. The bot should connect to MetaTrader 5, execute trades based on a predefined strategy, and support standard risk management features such as stop loss, take profit, and position sizing. Requirements: MT5 integration using Python Automated trade execution based on provided strategy rules Configurable risk management settings Support for major forex pairs
Hi, I'm Barak, founder of FX Trade Africa, a trading automation company based in Africa. I'm looking for a serious EA developer for a long-term business partnership — not a one-time paid job. IMPORTANT: This is not a paid order. I am looking for a long-term partner who believes in the model and wants to build something serious together. Compensation will be based on profit sharing from funded accounts — details
### ** Main EA File** - `InstitutionalTrendPullbackScalper.mq5` **Core Features Implemented:** **Multi-Timeframe Analysis** - M15 trend filter (EMA20 > EMA50 for uptrends) - M5 entry signals with 5-condition confirmation - Independent indicator sets for both symbols **Advanced Entry Logic** - RSI reversal detection (crosses thresholds) - Price pullback zone validation - Bullish/bearish candle close confirmation -
I need developer who Can perfectly build me a layout of Ninjatrader 8 (NT8) to look and feel the same on SierraCharts? I currently use NT8 but I want to start using SierraCharts because its more robust than NT8, but I don't want to have to worry about programming SierraCharts. How much would this cost? Thank you
i want a trading bot that take trade auto and make 5% profit daily and stop with in 24 hours not more then that at least the bot give me more then 2% not less then that like a ai agent if it make any loss that agent have to take care of it i need only 5 % profit
I am looking for an EA for MT5 which is stable for long period. should make minimum 20% per month and DD should be less than 10% first send me your backtest reports for last 5 years with real ticks. budget is negotiable based on the quality of the EA. source code should be delivered at the end. Please dont apply without sending backtest report as mentioned above, in other case offers would be rejected
I do not have any startegy, and I want you to create one with your experience, you will provide me EA along with source code. you may use Grid or any logic, but the EA should keep generating profit during Newyourk and Asian session
I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor (EA) for MetaTrader 5. The strategy is based on liquidity sweeps, market structure (Break of Structure), and institutional concepts (order blocks), specifically optimized for XAUUSD (Gold). This is not a basic bot. I need a structured, optimized, and reliable system suitable for live trading after testing
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation