EA to oclose a trade and open another from an external indicator

MQL4 Experts

Trabalho concluído

Tempo de execução 82 dias
Comentário do desenvolvedor
Would like to do more jobs for you .. Things went right . Thanks!
Comentário do cliente
The EA Amine has created for me works as I requested. Amine even added a few extra features. Would work with him again.

Termos de Referência

I want the EA to monitor the currency pair in the chart and perform some tasks for me. I have an indicator that adds signs on my charts. Information is displayed when the cursor is placed over it.

I would like two of these values to trigger the closing of the trade the EA has previously opened and open a new one. I will provide the first transaction number to close (if there is one already opened) or let the EA find the next trigger and open the first one.

Trigger Values from the indicator

Value1 and Value2

Inputs for the trade

- 2 Volume size choices = by lot (default = 0.10) or % of the Available Margin (default 25%)

- Stop Loss $$

- Take Profit $$

- # times to repeat the cycle (stop after closing the trade)

And, when I want the EA to monitor a trade already opened:

- Trigger value to look for next (default = Value1)

- Transaction number the trade to close


Action (when trigger value is added to chart)

- verify if new trigger value added is different from the previous one (if the same, ignore and continue monitoring)

- for Value1 - Close BUY and open SELL

- for Value2 - Close SELL and open BUY

- a sound alert and email or txt message would be nice to let me know the CLOSE and BUY were successful

Because I may be trading the same currency pair when the EA is running, I would like the EA to be self contained and only close the transaction it has previously opened. I also would like the EA to keep note of every trigger signal added to the chart (with date, time and price) in a file that I could use to analyze my indicator's performance and tweak it when necessary.



Respondido

1
Desenvolvedor 1
Classificação
(68)
Projetos
111
26%
Arbitragem
17
6% / 71%
Expirado
15
14%
Livre
Publicou: 9 códigos
2
Desenvolvedor 2
Classificação
(133)
Projetos
185
30%
Arbitragem
77
9% / 73%
Expirado
77
42%
Livre
3
Desenvolvedor 3
Classificação
(69)
Projetos
76
59%
Arbitragem
0
Expirado
12
16%
Livre
Publicou: 2 códigos
4
Desenvolvedor 4
Classificação
(12)
Projetos
17
35%
Arbitragem
1
0% / 100%
Expirado
3
18%
Livre
Pedidos semelhantes
BTC 5 Minutes scalping 50 - 100 USD
import { useState, useEffect, useRef } from "react"; const INIT_LOT = 0.01; const TP_MOVE = 200; const SL_MOVE = 120; const START_BALANCE = 1000; const MAX_LOT = 5.12; const TICK_MS = 1200; function ema(arr, n) { if (arr.length < n) return null; const k = 2 / (n + 1); let e = arr.slice(0, n).reduce((s, v) => s + v, 0) / n; for (let i = n; i < arr.length; i++) e = arr[i] * k + e * (1 - k); return e; } function
🚀 ADAPTIVE GRID HEDGE EA (FULL VERSION) 🧠 📌 GENERAL CONCEPT This Expert Advisor (EA) uses a strategy combining: Grid trading (order grid) Hedge (protection with opposite positions) Lot scaling (progressive) Loss compensation with profits Continuous operation (non-stop) Focus on: Small recurring profits High trade volume (rebate/IB) The system does not depend on direction, but rather on market oscillation . Main
I have a indicator working good but have some bug for arrow placement . budget is fixed 30 used . only experience developer apply. i want to arrow get put on just above the candle high and candle low
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this
i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
Pip Scalper Bot 60+ USD
i want a trading bot that is aleast 98% sure,and cam also do scalping 99% correct using smart money concept, ICT, ALL technical analysis on it and also put risk management on it
It is very important, that your software can replicate the trade logic 1:1 as the original myfxbook statistic. You should have a professional software to analyze the trade logic. I tried it with ChatGPT and GROK and it doesnt worked at all. You need to have better tools for that job. If you can not do it to 99% same trade logic as the original statistic do not message me. Payment only after delivering the EA (Demo
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
I need a fully functional Expert Advisor (EA) for MetaTrader 5 focused on trading XAUUSD (Gold). The strategy should be based on fast scalping entries using indicators such as RSI, Moving Averages, or similar confirmation tools. The EA must include fixed risk management (1%–2% per trade), automatic lot calculation, and stop loss/take profit settings. It should be optimized for low spread conditions and quick market

Informações sobre o projeto

Orçamento
20 - 35 USD
Prazo
de 5 para 15 dias