I need an EA to open and close trades following an indicator signal

MQL5 エキスパート

仕事が完了した

実行時間9 日
開発者からのフィードバック
Muchas gracias por el proyecto Sergio, ha sido un placer.
依頼者からのフィードバック
Excelente programador. Entendió rápidamente lo que deseaba, hizo todos los ajustes que solicité y me dio sugerencias para mejorar mi EA. Estoy muy contento con el EA final. Sin duda lo recomiendo.

指定

I need an EA that opens trades automatically in the direction of the signal sent by BrainTrend Indicator and close current opened trade that should be in the opposite direction of this new signal. In other words, the EA should reverse trades continuously when BrainTrend indicator sends new signals (blue = BUY and red = SELL) found here: https://www.mql5.com/en/code/395 (also attached mq5 file).  You can check the next image to understand what I mean:


Brain Trend Indicator Signals being reversed.


The EA can depend on the BrainTrend Indicator or if you prefer or see it simpler, you can add the logic of the indicator to the EA as long as it works in an identical way, with same signals and same input fields.

I should be able to stop the EA manually or it should stop automatically if a fixed amount or percentage of equity or balance is reached.

The EA should be able to trade anything that can be traded in MetaTrader 5 from any broker.


I'd like a GUI (that should be able to be minimized) with the following options:

  • Minimum Lot - Show the minimum lot allowed by the server for the currency, index, pair, etc.

  • Price per Lot - Show the price in USD per lot for the currency, index, pair, etc.

  • Price per Pip - Show the price in USD per Pip for the currency, index, pair, etc. and lot size used

  • LOT field - Lot size used for RUN NOW button below for new orders

  • BUY ONLY (Buy button green, Sell button red) - EA should open only BUY orders when BrainTrend indicator sends BUY signal and instead of reversing order when BrainTrend send a SELL signal, it should close the BUY order and wait for next BUY order
    Buy enabled, Sell disabled

  • SELL ONLY (Buy button red, Sell button green) - EA should open only SELL orders when BrainTrend indicator sends SELL signal and instead of reversing order when BrainTrend send a BUY signal, it should close the SELL order and wait for next SELL order
    Buy disabled, Sell enabled

  • BUY & SELL / RUN NOW (Buy button green, Sell button green) - EA should open BUY and SELL orders and reverse orders when opposite direction signal is sent by BrainTrend indicator, if EA was not running and there are no open orders when both BUY and SELL buttons were clicked and changed to green, this option should begin opening an order in the direction of the last BrainTrend indicator signal
    Buy enabled, Sell enabled

  • STOP (Buy button red, Sell button red) - EA should stop opening BUY or SELL orders and if there were any open orders when both BUY and SELL were clicked and changed to red, EA should allow any open order to close when opposite direction signal is sent by BrainTrend indicator
    Buy disabled, Sell disabled


The EA should include the following Input fields in the properties:

  • Comments field - I can add any type of comment to orders opened in this chart

  • Magic Number field - EA should begin with 5 digits corresponding to minutes in chart (00001 for M1, 00060 for H1, 01440 for D1, 10080 for W1, etc.), it should allow any timeframe and then append my custom digits.  Example, if EA is in an H1 chart and I choose 8888, the complete magic number should be 000608888

  • Lot size - Initial lot size to be used by EA when opening and reversing orders

  • Order direction - BUY, SELL, BUY & SELL (dropdown menu) - How this works is in the description above for the GUI

  • Open first trade - NOW or NEXT SIGNAL (dropdown menu) - If NOW is selected, EA should open first order immediately in the direction of the lastBrainTrend indicator signal.  If NEXT SIGNAL is selected, EA should open first order until the next BrainTrend indicator signal

  • Open reverse trades after new indicator signal - IMMEDIATELY, NEXT CANDLE, FIXED SECONDS.  If IMMEDIATELY is selected, EA should reverse orders immediately after indicator shows new signal.  If NEXT CANDLE is selected, EA should reverse orders when next candle appears after indicator shows new signal.  If FIXED SECONDS is selected, EA should reverse order after the seconds filled in the field below.

  • Fixed Seconds - (If FIXED SECONDS is chosen above) - EA should reverse order after this amount of seconds

  • Protection - BALANCE AMOUNT, BALANCE %, EQUITY AMOUNT, EQUITY % (dropdown menu) - The way the EA will use the amount in the next field to protect the account

  • Amount or Percentage (according to selection above) - Example, if BALANCE AMOUNT is selected above and 500 is typed in this field, it means that the EA will do the actions in the below selection if the Balance reaches $500 or if BALANCE % is selected and 50 is entered, same will happen when 50% of balance is reached

  • Protection Action - KEEP ORDERS OPEN, LOCK ORDERS, CLOSE ORDERS (drowdown menu) - Action EA should do if balance or equity in settings above is reached

  • Protection Action 2: STOP EA, KEEP EA RUNNING (dropdown menu) - Action EA should do if balance or equity in settings above is reached

  • Alerts - Enable, Disable

  • Email - Enable, Disable

  • Push notifications - Enable, Disable

  • Sound for Alerts - Enable, Disable


IMPORTANT: EA should manage only the orders it opened in the chart where EA is running and should ignore orders opened in other charts, even if they were also opened by the same EA in that other chart.

I mention this because I've used other EAs that have a "Reverse" option and when selected, it reverses all open orders in MetaTrader, no matter in what currency or in what chart orders were opened.

For example, if I have the EA running for EURUSD in M5, M30 and H1 charts, EA running in M5 chart should only manage EURUSD orders it opened in his own M5 chart and should not touch other EURUSD orders opened by EAs in the M30 and H1 charts, even if they all are the same currency.

I might be adding more features in the future such as trend filters, Telegram notification, etc. so EA should be able to be updated and improved.

応答済み

1
開発者 1
評価
(361)
プロジェクト
643
26%
仲裁
92
72% / 14%
期限切れ
12
2%
仕事中
パブリッシュした人: 1 code
2
開発者 2
評価
(65)
プロジェクト
71
30%
仲裁
8
0% / 88%
期限切れ
5
7%
3
開発者 3
評価
(6)
プロジェクト
7
0%
仲裁
0
期限切れ
5
71%
4
開発者 4
評価
(211)
プロジェクト
313
34%
仲裁
63
37% / 38%
期限切れ
100
32%
取り込み中
5
開発者 5
評価
(171)
プロジェクト
195
42%
仲裁
13
8% / 54%
期限切れ
9
5%
パブリッシュした人: 3 codes
6
開発者 6
評価
(2646)
プロジェクト
3363
68%
仲裁
77
48% / 14%
期限切れ
342
10%
パブリッシュした人: 1 code
7
開発者 7
評価
(18)
プロジェクト
24
54%
仲裁
0
期限切れ
2
8%
パブリッシュした人: 3 codes
8
開発者 8
評価
(574)
プロジェクト
945
47%
仲裁
309
58% / 27%
期限切れ
125
13%
9
開発者 9
評価
(69)
プロジェクト
146
34%
仲裁
13
8% / 62%
期限切れ
26
18%
パブリッシュした人: 6 codes
類似した注文
Hello, I am searching a good programmed to convert EA from mql5 into pinescript and DX TRADE made automatisation. Source of code required. Budget is negotiable. Thanks for attention and have a nice day
Profitable EA for sell 200 - 1000 USD
I am having 2 very proven and profitable EA which will give you profit and at the end of week you are always in profit. 1 This bot is safe bot and it generates handsome amount of profit with very less drawdown and high accuracy of 75-85%. 2. This bot is very aggressive and will suggest to go with only when you are having big capital and wanted to take more risk. It can make your account multiple fold
Looking for a Marketing Partner for my EAs! I am a developer looking for an experienced partner to help promote and market my Expert Advisors (MT4/MT5). How it works: > * I handle the coding, updates, and technical support. You handle the marketing, outreach, and bringing in traders. Compensation: We work on a Revenue Share / Profit Split basis. If you have an audience of traders or know how to market forex tools
Money wizard 30 - 200 USD
I Malwande Linda require a trading bot that would for me because I don't usually get ft time to seat and analyze the chat. I want a robot that would analyze the market and take trades for me. I want a robot that will make money weekly because I'm a student so Fridays are not busy days for me I want a robot that I can trust. I also would appreciate some indicators on my live account so that even when I'm not using a
EA based on CSV 50+ USD
Hello Developers, I need some consultation to help narrow down an idea and develop an EA. I have a csv file that stores data like this: Date portfolio portfolio_value 18/11/2025 ['EURNZD', 'EURCAD', 'EURJPY', 'EURCHF', 'AUDNZD', 'AUDCAD', 'AUDJPY', 'AUDCHF', 'USDNZD', 'USDCAD', 'USDJPY', 'USDCHF', 'GBPNZD', 'GBPCAD', 'GBPJPY', 'GBPCHF'] 1.7970698812202368 19/11/2025 ['CHFAUD', 'CHFNZD', 'CHFGBP', 'CHFJPY', 'EURAUD'
* For Buy - Time = greater than _______ and Less than ______ Remove SL , Time = greater than _______ Replace SL At _______ and also Spread= Less than ( points) ________ ( Same condition for sell side also ) at opposite direction . * For Buy - Time = greater than ______ and price is Below _______ and spread is lower than ( points) _____ cut loss . ( Same condition for sell side also) At opposite direction
Trading can take us to the top but trading robots would take us to the sky with trades, money and more. Trading is about learning how to make money and become successful without pressure. I need an excellent trading robot with excellent skills and knowledge
The strategy is already fully defined with exact logic, scoring system, entry rules, risk management, and execution protection (spread, slippage, deviation). The strategy is already fully defined with exact logic, scoring system, entry rules, risk management, and execution protection (spread, slippage, deviation). Please follow the specification strictly without any discretionary interpretation
Job Description: I am looking for a skilled MQL5 developer to create a custom Expert Advisor (EA). The trading strategy relies on standard indicators, but requires precise execution logic and strict risk management rules. Key Technical Requirements & Skills Needed: Multi-Timeframe (MTF): Basic ability to read one indicator's data from a higher timeframe (M15) while the EA runs on a lower timeframe (M5). Instant
EA MACENIC PRO V12L 30 - 50 USD
Ready made robot for executing trades because don't have PC or laptop does it come as license key that allows straight extension to be a ready made of change your mind and the match is still hustling and I recommend exness broker on any. Strategy of a mobile robot arrena that execute trades it self and 24/7 operational system that enhances power of electronic art technology with automatic EA optimization

プロジェクト情報

予算
45 - 100 USD
締め切り
最低 5 最高 10 日