Modification to EA Stop Trading Function using Global Variable

MQL4 Indicateurs Experts

Tâche terminée

Temps d'exécution 3 jours

Spécifications

I require help to get my stop trading function to work (EA is setting GV but not reading to stop trading):

This is how it should work, once a trade is open EA should set Global Variable “_stoptrading”

Example GV: "AUDUSD"_stoptrading"magicnumber"


EA reads (bool stoptrading = GlobalVariableGet(symbol + "_stoptrading") and should not open more than the allowed additional trades per symbol “(input int)max_trades_per_symbol” and not more than the total allowed open trades “(input int) max_trades_total” so if either SL or TP hit no trades are open even if buy/sell conditions met until next Day (Open of new D1 Candle).

Work will be done remotely on my PC please dont bid if you cant work this way. Thank you.


Répondu

1
Développeur 1
Évaluation
(22)
Projets
28
7%
Arbitrage
9
33% / 33%
En retard
1
4%
Travail
2
Développeur 2
Évaluation
(4)
Projets
4
50%
Arbitrage
5
0% / 100%
En retard
0
Gratuit
3
Développeur 3
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(281)
Projets
352
29%
Arbitrage
37
27% / 65%
En retard
10
3%
Chargé
5
Développeur 5
Évaluation
(2675)
Projets
3414
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
6
Développeur 6
Évaluation
(11)
Projets
18
28%
Arbitrage
4
50% / 50%
En retard
1
6%
Gratuit
7
Développeur 7
Évaluation
(3)
Projets
1
0%
Arbitrage
5
0% / 100%
En retard
0
Gratuit
8
Développeur 8
Évaluation
(45)
Projets
91
13%
Arbitrage
34
26% / 59%
En retard
37
41%
Gratuit
9
Développeur 9
Évaluation
(14)
Projets
15
40%
Arbitrage
2
50% / 50%
En retard
1
7%
Gratuit
10
Développeur 10
Évaluation
(298)
Projets
478
40%
Arbitrage
105
40% / 24%
En retard
82
17%
Chargé
Publié : 2 codes
11
Développeur 11
Évaluation
(74)
Projets
84
64%
Arbitrage
5
100% / 0%
En retard
9
11%
Gratuit
12
Développeur 12
Évaluation
(453)
Projets
566
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Gratuit
Publié : 6 codes
13
Développeur 13
Évaluation
(190)
Projets
233
56%
Arbitrage
13
15% / 54%
En retard
43
18%
Gratuit
14
Développeur 14
Évaluation
(45)
Projets
53
57%
Arbitrage
2
100% / 0%
En retard
1
2%
Gratuit
Publié : 5 codes
15
Développeur 15
Évaluation
(14)
Projets
17
18%
Arbitrage
2
0% / 100%
En retard
3
18%
Gratuit
16
Développeur 16
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
17
Développeur 17
Évaluation
(45)
Projets
46
24%
Arbitrage
34
9% / 85%
En retard
10
22%
Gratuit
18
Développeur 18
Évaluation
(20)
Projets
26
38%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
19
Développeur 19
Évaluation
(171)
Projets
195
42%
Arbitrage
13
8% / 54%
En retard
9
5%
Gratuit
Publié : 3 codes
Commandes similaires
Hello, please make me a simple MT5 Expert Advisor for XAUUSD on M15 timeframe. TRADING LOGIC: - BUY when EMA(10) crosses UP EMA(30) - SELL when EMA(10) crosses DOWN EMA(30) TRADING HOURS: - Only trade between 19:00 - 22:00 WIB / Jakarta time RISK SETTINGS: - Lot size: 0.01 - Stop Loss: 70 points - Take Profit: 150 - 300 points - Max 1 open position Please deliver .ex5 file ready to use. Thank you
Gods Plan v8 30 - 500 USD
//+------------------------------------------------------------------+ //| GODS PLAN V8.mq5 | //| Tebogo | //| tebogophago298@gmail.com | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| Expert initialization function |
I’m looking to purchase an existing, proven Trend-Following EA for MT5 . I am NOT looking to develop a new EA from scratch , so please read the requirements carefully before applying. The EA should follow a market-structure/trend-following approach similar to this: Identify a clear Break of Structure (BOS) to confirm the trend direction. Wait for a pullback/retracement instead of chasing the initial breakout. Enter
Hi In my current EA, you have to modify this robot in Instagram & Facebook. Select option 1 and 2 to create robots. My old Robot Pentang Order is designed to put only in order so you will be easy to change. 2 in 1 I have my existing EA like this in which you have to modify this robot in Instagram & Facebook 2 videos must create robots with the select option 1&2 my video link is attached rar file and is clearly
I am looking for an experienced MQL5 developer to create a fully automatic MT5 Expert Advisor (EA) for frequent small-profit trades. My current manual strategy is simple: I watch short-term price movement, enter when price starts moving strongly up or down, and close once a small profit is achieved. I want an EA that can identify these movements and automatically repeat this process throughout the day. Main
Code the indicator to MT5 EA, include all the inputs variables and values Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Allow indicator to show on strategy tester Lot size adjustable Max spread in points (0=disable) Use stop loss circle true or false Stop loss circle in points adjustable Use stop loss true or false Stop loss in points (adjustable) Take profit true or false Use
Hi All, Looking for a ready to TEST and USE EA which makes $20 per day with initial deposit of $100 only with controlled drawdown and no trades during news time. Please note: Budget is fixed and no trial and hit error for testing and developing EA as I do not have time. I will select the developer only after the TEST is successful only, do not force to select and make the payment and payment will be done once I am
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
Need Grid + Martingale Type Averaging EA ( Directional Buy or Sell entry then uses grid/martingale for Recovery if need ) * Must Work Buy + Sell Both Side ( Do not Open Buy or Sell at Once Let the Previous Order Close ) * Min Lot size 0.01 * Max Lot Size 1 ( Can be Edited to maximum ) * Auto TP Shift * Auto Averaging Position also Auto Shift TP as per Averaging * After Averaging Close the Trade in Maximum Profit (
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en

Informations sur le projet

Budget
40 - 50 USD