Spécifications
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link "https://www.mql5.com" #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo input int InpSwingBars = 5; // Barras para confirmar Topo/Fundo (Swing) input bool InpSendAlert = true; // Enviar Alerta na Tela input bool InpSendPush = false; // Enviar Notificação Push (Celular) // Variáveis Globais datetime lastBarTime; double lastHigh = 0; double lastLow = 0; int marketTrend = 0; // 1 = Alta, -1 = Baixa //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { lastBarTime = 0; lastHigh = 0; lastLow = 0; marketTrend = 0; return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Expert deinitialization function | //+------------------------------------------------------------------+ void OnDeinit(const int reason) { } //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick() { // Verificar se é uma nova barra de H1 datetime currentBarTime = iTime(InpSymbol, PERIOD_H1, 0); if(currentBarTime == lastBarTime) return; // Se for o mesmo período, sai da função // Atualiza o tempo da última barra processada lastBarTime = currentBarTime; // Precisamos de histórico suficiente if(iBars(InpSymbol, PERIOD_H1) < InpSwingBars * 3) return; // Identificar Topo e Fundo anterior baseado em deslocamento double highCheck = iHigh(InpSymbol, PERIOD_H1, InpSwingBars); double lowCheck = iLow(InpSymbol, PERIOD_H1, InpSwingBars); // Inicializa valores na primeira execução if(lastHigh == 0) lastHigh = highCheck; if(lastLow == 0) lastLow = lowCheck; // Preço de fechamento da barra anterior (vela fechada H1) double closePrice = iClose(InpSymbol, PERIOD_H1, 1); // Lógica de Mudança de Estrutura (BOS / ChoCh) if(closePrice > lastHigh) { if(marketTrend != 1) { TriggerAlert("Mundança de Estrutura de ALTA (BOS/ChoCh) em H1 para " + InpSymbol); marketTrend = 1; } lastHigh = highCheck; // Atualiza novo topo } else if(closePrice < lastLow) { if(marketTrend != -1) { TriggerAlert("Mundança de Estrutura de BAIXA (BOS/ChoCh) em H1 para " + InpSymbol); marketTrend = -1; } lastLow = lowCheck; // Atualiza novo fundo } } //+------------------------------------------------------------------+ //| Função auxiliar para envio de alertas | //+------------------------------------------------------------------+ void TriggerAlert(string message) { Print(message); if(InpSendAlert) Alert(message); if(InpSendPush) SendNotification(message); }
Répondu
1
Évaluation
Projets
184
25%
Arbitrage
25
16%
/
76%
En retard
16
9%
Gratuit
2
Évaluation
Projets
28
7%
Arbitrage
9
33%
/
33%
En retard
1
4%
Travail
3
Évaluation
Projets
15
40%
Arbitrage
3
0%
/
100%
En retard
0
Travail
Publié : 1 article
4
Évaluation
Projets
21
19%
Arbitrage
5
40%
/
40%
En retard
0
Gratuit
5
Évaluation
Projets
5
0%
Arbitrage
5
0%
/
40%
En retard
0
Gratuit
6
Évaluation
Projets
129
25%
Arbitrage
25
28%
/
56%
En retard
8
6%
Gratuit
7
Évaluation
Projets
9
67%
Arbitrage
0
En retard
0
Travail
8
Évaluation
Projets
7
57%
Arbitrage
1
100%
/
0%
En retard
0
Gratuit
9
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
10
Évaluation
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 3 codes
11
Évaluation
Projets
276
21%
Arbitrage
25
52%
/
16%
En retard
0
Chargé
12
Évaluation
Projets
36
39%
Arbitrage
0
En retard
2
6%
Gratuit
13
Évaluation
Projets
2
0%
Arbitrage
1
0%
/
100%
En retard
0
Gratuit
14
Évaluation
Projets
6
17%
Arbitrage
3
0%
/
67%
En retard
0
Gratuit
15
Évaluation
Projets
23
39%
Arbitrage
8
0%
/
50%
En retard
4
17%
Gratuit
16
Évaluation
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 6 codes
17
Évaluation
Projets
22
18%
Arbitrage
9
33%
/
44%
En retard
3
14%
Travail
Publié : 1 code
18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
19
Évaluation
Projets
4
0%
Arbitrage
1
100%
/
0%
En retard
1
25%
Gratuit
20
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
21
Évaluation
Projets
520
24%
Arbitrage
61
57%
/
25%
En retard
60
12%
Chargé
22
Évaluation
Projets
855
61%
Arbitrage
33
27%
/
45%
En retard
24
3%
Gratuit
Publié : 1 code
23
Évaluation
Projets
134
66%
Arbitrage
36
25%
/
56%
En retard
22
16%
Gratuit
Publié : 10 codes
24
Évaluation
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 4 codes
25
Évaluation
Projets
30
40%
Arbitrage
3
33%
/
67%
En retard
7
23%
Travail
26
Évaluation
Projets
20
35%
Arbitrage
0
En retard
1
5%
Travail
27
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
28
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
29
Évaluation
Projets
553
50%
Arbitrage
57
40%
/
37%
En retard
227
41%
Travail
30
Évaluation
Projets
310
75%
Arbitrage
15
67%
/
0%
En retard
6
2%
Travail
31
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
32
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 1 code
33
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
34
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 3 codes
35
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
36
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
37
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Hello developers,I am looking for an experienced MQL5 developer to create an EA based on Moving Average retest strategy with advanced recovery system.The concept is simple: Entry is based on MA close and retest. Initial trade has small TP and no SL.If price goes against the initial position, the EA should manage it using:Opposite hedge tradePending limit grid systemBasket take profitMartingale lot multiplier after
15 years in trading. Your ideas turned into reliable trading software. I build production-ready trading tools for individual traders and businesses: Expert Advisors (EAs), trade copiers, indicators, scripts, and custom automation. From EAs for prop trading to affiliate solutions with custom licensing, activation, and access controls—I develop software around your requirements. Full source code. Clear documentation
Thujkkds
30 - 200 USD
Me and I will be there thank you for your help and sub and sub and sub in the morning to get the season and the screen is on the way home now and I will motho
MT5 to MEXC web trading
50+ USD
Hi gentlemen, I want MT5 market orders placed (open and close orders) on MEXC trading through web browser. MEXC doesnt allow algo trading. - Need source code budget: USD 50 (quote me your price and delivery time) I need this at the earliest and this job is only for mexc.com, not binance or any other exchange I look forward to your price offer and your suggestions. Appreciate
Ultra mobile bot
31+ USD
//+------------------------------------------------------------------+ //| UltraBot_MT5_EA.mq5 | //| Copyright 2026, UltraBot Algorithmic Engine | //| Brokers: RCG Markets & Razor Market | //+------------------------------------------------------------------+ #property copyright "UltraBot Automated Algo" #property link "https://ultrabot-mt5.app" #property version
Automate this Video Strategy
35 - 100 USD
https://www.youtube.com/watch?v=xMNx8f-aGQE& ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging
Custom MT5 Trading Robot for Gold and Forex
200 - 300 USD
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Ninjascript strategy tester
30+ USD
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
EA-MT5-XAUUSD-PuPrime-Live6 +10%/m
30 - 200 USD
I am looking for an EA using MT5, trading XAUUSD on PuPrime-Live6, Standard account. LIMITATIONS No martingale, no grid. Start equity 1000 EUR. Leverate 1:500 Account in USD. PuPrime-Live6 All settings (risk, time, drawdown %, cooldown, lot size) shall be adjustable on init or backtest. VERIFICATIONS The EA needs to reach the profit goals on Actual Ticks, 100ms slippage in backtests for each month 2026. profit goal
Informations sur le projet
Budget
30+ USD