Specifiche
//+------------------------------------------------------------------+
//| SimpleEA.mq5|
//| Copyright 2023, MetaQuotes Software Corp. |
//| https://www.mql5.com|
//+------------------------------------------------------------------+
#property copyright "2023, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
input int FastMAPeriod = 12; // Período da média móvel rápida
input int SlowMAPeriod = 26; // Período da média móvel lenta
input double LotSize = 0.1; // Tamanho do lote
double FastMA, SlowMA;
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//--- initialization of indicators
FastMA = iMA(NULL, 0, FastMAPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
SlowMA = iMA(NULL, 0, SlowMAPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//---
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
FastMA = iMA(NULL, 0, FastMAPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
SlowMA = iMA(NULL, 0, SlowMAPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
double previousFastMA = iMA(NULL, 0, FastMAPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
double previousSlowMA = iMA(NULL, 0, SlowMAPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
if (previousFastMA < previousSlowMA && FastMA > SlowMA)
{
if (OrderSelect(0, SELECT_BY_POS, MODE_TRADES) == false)
{
OrderSend(Symbol(), OP_BUY, LotSize, Ask, 2, 0, 0, "Buy Order", 0, 0, clrGreen);
}
}
}
//+------------------------------------------------------------------+
Con risposta
1
Valutazioni
Progetti
55
5%
Arbitraggio
35
0%
/
94%
In ritardo
24
44%
In elaborazione
2
Valutazioni
Progetti
236
33%
Arbitraggio
20
45%
/
30%
In ritardo
1
0%
In elaborazione
3
Valutazioni
Progetti
637
33%
Arbitraggio
41
41%
/
46%
In ritardo
11
2%
Occupato
4
Valutazioni
Progetti
130
9%
Arbitraggio
8
25%
/
38%
In ritardo
28
22%
In elaborazione
5
Valutazioni
Progetti
17
59%
Arbitraggio
2
0%
/
100%
In ritardo
2
12%
Gratuito
6
Valutazioni
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
7
Valutazioni
Progetti
49
8%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
1️ ⃣ Informações Gerais Plataforma: MetaTrader 5 Tipo: Expert Advisor (EA) Operação: Hedge + Grid Dinâmico Indicador base: Average True Range (ATR período 20) 2️ ⃣ LÓGICA OPERACIONAL 🔹 2.1 Abertura Inicial O robô trabalha sempre com ordem de compra e venda ao mesmo tempo (HEDGE) e o fechamento é sempre usando GRID que tem multiplicador de lote e o tamanho (espaçamento) dinâmico com base em um fator de
Robo de elite
40 - 100 USD
seu Robô de Elite: Precisão: Filtros RSI e Price Action. Rentabilidade: Lote dinâmico baseado no capital (Compound Interest). Automação 24h: Filtro de horário para evitar spreads altos. Satisfação: Dashboard interativo com "Botão de Pânico"
Informazioni sul progetto
Budget
30+ USD
Scadenze
da 15 a 35 giorno(i)