Şartname
//+------------------------------------------------------------------+ //| 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); }
Yanıtlandı
1
Derecelendirme
Projeler
179
25%
Arabuluculuk
24
17%
/
75%
Süresi dolmuş
16
9%
Serbest
2
Derecelendirme
Projeler
27
7%
Arabuluculuk
9
33%
/
33%
Süresi dolmuş
1
4%
Çalışıyor
3
Derecelendirme
Projeler
13
31%
Arabuluculuk
3
0%
/
100%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 makale
4
Derecelendirme
Projeler
20
15%
Arabuluculuk
5
40%
/
40%
Süresi dolmuş
0
Serbest
5
Derecelendirme
Projeler
5
0%
Arabuluculuk
5
0%
/
40%
Süresi dolmuş
0
Serbest
6
Derecelendirme
Projeler
129
25%
Arabuluculuk
24
29%
/
54%
Süresi dolmuş
8
6%
Serbest
7
Derecelendirme
Projeler
3
33%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
8
Derecelendirme
Projeler
6
67%
Arabuluculuk
1
0%
/
0%
Süresi dolmuş
0
Çalışıyor
9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Derecelendirme
Projeler
263
22%
Arabuluculuk
23
52%
/
17%
Süresi dolmuş
0
Yüklendi
12
Derecelendirme
Projeler
34
35%
Arabuluculuk
0
Süresi dolmuş
2
6%
Serbest
13
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
14
Derecelendirme
Projeler
6
17%
Arabuluculuk
3
0%
/
67%
Süresi dolmuş
0
Serbest
15
Derecelendirme
Projeler
22
41%
Arabuluculuk
8
0%
/
50%
Süresi dolmuş
3
14%
Serbest
16
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 5 kod
17
Derecelendirme
Projeler
21
14%
Arabuluculuk
8
38%
/
38%
Süresi dolmuş
3
14%
Yüklendi
18
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
19
Derecelendirme
Projeler
4
0%
Arabuluculuk
1
100%
/
0%
Süresi dolmuş
1
25%
Serbest
20
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
21
Derecelendirme
Projeler
502
23%
Arabuluculuk
60
55%
/
25%
Süresi dolmuş
59
12%
Çalışıyor
22
Derecelendirme
Projeler
838
61%
Arabuluculuk
33
27%
/
45%
Süresi dolmuş
24
3%
Serbest
Yayınlandı: 1 kod
23
Derecelendirme
Projeler
134
66%
Arabuluculuk
36
25%
/
56%
Süresi dolmuş
22
16%
Serbest
Yayınlandı: 10 kod
24
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
25
Derecelendirme
Projeler
27
41%
Arabuluculuk
3
0%
/
67%
Süresi dolmuş
6
22%
Yüklendi
26
Derecelendirme
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
27
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
28
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Bollinger and rRSI
30+ USD
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200
50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy
300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
Proje bilgisi
Bütçe
30+ USD
KDV (23%):
6.9
USD
Toplam:
37
USD
Geliştirici için
27
USD
Müşteri
Verilmiş siparişler1
Arabuluculuk sayısı0