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

MQL4 Experts

Tâche terminée

Temps d'exécution 82 jours
Commentaires de l'employé
Would like to do more jobs for you .. Things went right . Thanks!
Commentaires du client
The EA Amine has created for me works as I requested. Amine even added a few extra features. Would work with him again.

Spécifications

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.



Répondu

1
Développeur 1
Évaluation
(68)
Projets
111
26%
Arbitrage
17
6% / 71%
En retard
15
14%
Gratuit
Publié : 9 codes
2
Développeur 2
Évaluation
(133)
Projets
185
30%
Arbitrage
77
9% / 73%
En retard
77
42%
Gratuit
3
Développeur 3
Évaluation
(69)
Projets
76
59%
Arbitrage
0
En retard
12
16%
Gratuit
Publié : 2 codes
4
Développeur 4
Évaluation
(12)
Projets
17
35%
Arbitrage
1
0% / 100%
En retard
3
18%
Gratuit
Commandes similaires
Technical Specifications: "Dawn Range Breakout" Expert Advisor (Final Version) 1. Overview The purpose of this EA is to capture the breakout of a specific hourly range on Gold (XAUUSD) or any other pair, with a focus on high-precision entry, strict risk management (1 trade per day), and partial profit taking. 2. Core Trading Logic Timeframe: M15. Reference Hour: The EA must identify the High and Low of the H1 candle
I need an Expert Advisor based on SK indicator for gold trading. Entry: - Open trade immediately when SK signal appears Stop Loss: - Fixed stop loss = $200 per trade Take Profit: - TP1: close 50% of the position - TP2: final target Lot Size: - Fixed lot = 0.02 Pair: - XAUUSD only Timeframe: - M15 Rules: - Only one trade per signal - No duplicate trades - Move stop loss to breakeven after TP1 Requirements: - The EA
i am looking for an experienced MQL5 developer to build a high-frequency trading Expert Advisor (EA) for XAUUSD (Gold) on M1 and M5 timeframes. The EA must include advanced execution logic, dynamic pending orders, risk management, and news/session filters. Clean, efficient, and well-documented code is required. Strategy type: Scalping (fast trades, quick profit). Very fast execution logic (optimized for speed). Goal
I need a very profitable scalping robot for gold trading at M1 timeframe. I should have adjustable trailing stop, step, SL, TP in points it should use both trade opening and pending orders just as in the links below https://vt.tiktok.com/ZSHj9cD5w/&nbsp ; https://vt.tiktok.com/ZSHjHFvkg/&nbsp ;
Ea with MM Masaniello 50 - 200 USD
I would like to develop a bot that allows me to manually input trades based on the Masaniello money management system, which I will configure at the outset. Within this setup, I will be able to define all the key parameters of the Masaniello strategy, including the total number of events, expected winning events, stake ratio (i.e. the TP/SL ratio), and the initial capital. Once the Masaniello parameters are set, the
Manly 30 - 200 USD
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
looking for Expert to create or ready made solution for bonus hedge auto set cross trading of opposite trading strategy. the expert may guide what max and best he can do to make the EA perfect
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted

Informations sur le projet

Budget
20 - 35 USD
Délais
de 5 à 15 jour(s)