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
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
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
I need an Expert Advisor (EA) for MetaTrader (MT4 or MT5) based on the following scalping strategy. Platform: MT4 or MT5 Symbol: EURUSD (should work on other pairs as well) Timeframe: M1 or M5 Indicators: - EMA 9 - EMA 21 - RSI (14) Buy Conditions: - EMA 9 crosses above EMA 21 - RSI > 55 - Spread < 1.5 pips - Only one trade at a time Sell Conditions: - EMA 9 crosses below EMA 21 - RSI < 45 - Spread < 1.5 pips -
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
I need a clean, bug-free MT5 Expert Advisor (MQL5) based on this exact mechanical scalping strategy on M5 timeframe for EURUSD. Indicators (built-in): - EMA 9 and EMA 21 on M5 - RSI 14 - ADX 14 (>25 for strong trend) - H1 EMA 21 above/below H1 EMA 9 for trend alignment Entry Rules (ALL must be true): BUY: EMA9 crosses above EMA21 (on closed bar) + RSI > 50 + ADX > 25 + H1 EMA21 > H1 EMA9 SELL: Mirror (cross below
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend

Informations sur le projet

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