MT5 EA | 5 Modifications and/or Additions to be Made
1. New rule independent of the existing ones on "RULES
2. Make the Expert Advisor (EA) in MetaTrader 5 (MT5) open a template when an EA signal is activated
3. Filter that make EA review the price before opening new orders after the first one, and only open orders with prices lower (in the case of BUY) or higher (in the case of SELL) than the first existing order.
4. Filter for the EA to check if the candle in another time frame is bullish or bearish, current or closed.
5. Add the option to review Profit and Stop Loss for each open order by Amount or Percentage and close them when the conditions are met.
All Modifications and/or Additions must be implemented so that they have the possibility of working independently.
That is, the BUY settings can be different or the same as those of SELL.
When the "Same_Setup" option is True, the SELL settings are copied from the BUY settings. It is optimized for BUY when this is the case. When False, the settings are independent.

The EA works with two indicators and the price, Bollinger Bands and Volatility Bands.
The source code of EA and Volatility Bands will be provided to whoever is assigned the work to make the modifications and/or additions. Bollinger and Volatility Bands are open source.
1. New rule independent of the existing ones on "RULES"
The EA currently uses separate settings for BUY and for SELL on the Bollinger Bands or Volatility Bands indicator (Depending on which one you choose) and the Bar/price/open/close.
To implement the new rule it is necessary to add another couple of FULL BANDS settings, One for BUY and another for SELL.
The new rule consists of how a bar/price open/close interacts with two independent bands. The rule is the same but inverse to BUY/SELL.
The details of the rule are reserved for whoever is assigned the job.
2. Make the Expert Advisor (EA) in MetaTrader 5 (MT5) open a template when an EA signal is activated on "Order_Type"
It is necessary to add a field that allows entering the name of the "Template" and add the option to the "ENUM" menu, BUy_Template and SELL_Template

3.Filter that make EA review the price before opening new orders after the first one, and only open orders with prices lower (in the case of BUY) or higher (in the case of SELL) than the first existing order.
As an example, in the image below with the filter activated, only 2 SELL orders and 1 BUY order should have been opened.
Price_Order_Filter_BUY True/False
Price_Order_Filter_SELL True/False

4.Filter for the EA to check if the candle in another time frame is bullish or bearish, current or closed.
TimeFrame_Filter_BUY True/False
TimeFrame_for_Filter_BUY by Enum: TimeFrames
Bullish_or_Bearish_BUY by Enum: Bullish or Bearish
Candle_Filter_BUY 0 current, 1 closed
TimeFrame_Filter_SELL True/False
TimeFrame_for_Filter_SELL by Enum: TimeFrames
Bullish_or_Bearish_SELL by Enum: Bullish or Bearish
Candle_Filter_SELL 0 current, 1 closed
5. Add the option to review Profit and Stop Loss for each open order by Amount or Percentage and close them when the conditions are met.
Check_Profit_BUY True/False
By_ChangePR_BUY 2.11 % 0 Inactive, Active >= 0.01 %
By_MountPR_BUY $10.00 0 Inactive, Active >= $ 0.01
Check_StopLost_BUY True/False
By_ChangeSL_BUY -3.20 % 0 Inactive, Active <= -0.01 %
By_MountSL_BUY $-10.00 0 Inactive, Active <= $ -0.01
Check_Profit_SELL True/False
By_ChangePR_SELL 2.11 % 0 Inactive, Active >= 0.01 %
By_MountPR_SELL $10.00 0 Inactive, Active >= $ 0.01
Check_StopLost_SELL True/False
By_ChangeSL_SELL -3.20 % 0 Inactive, Active <= -0.01 %
By_MountSL_SELL $-10.00 0 Inactive, Active <= $ -0.01
---[close price] - [open price] ) / [open price] as a percentage on “Change” Column---

Pedidos semelhantes
I need a custom MT5 expert advisor (EA) designed to mirror trades between two different broker accounts (Master and Slave) running on the same local PC. My primary objective is Synchronous Execution to avoid being exposed to the market due to price mismatches. Core Requirements: Symbol-Agnostic: The EA must automatically copy trades for any symbol I trade (Forex, Gold, Indices, etc.) without needing to hardcode
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy
Title: Design and Development of an Automated Forex Trading Robot Using MQL5 and Machine Learning Techniques Abstract: This project focuses on the design and development of an automated Forex trading robot that integrates MQL5 programming and machine learning techniques. The system aims to predict market movements and execute trades automatically, minimizing human error and emotional trading. By leveraging historical
i want to add the 30m time frame in the ema section high ema is 1h low ema is 5m i want u to add a mid ema so i can use 3 time frames
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. The core logic is based on institutional Order Flow convergence: Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. Delta/Price Divergence: Filtering for market exhaustion (New Highs