Termos de Referência

//+------------------------------------------------------------------+
//| SimpleEA.mq5|
//| Copyright 2023, MetaQuotes Software Corp. |
//+------------------------------------------------------------------+
#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);
      }
   }
  }
//+------------------------------------------------------------------+

Respondido

1
Desenvolvedor 1
Classificação
(31)
Projetos
55
5%
Arbitragem
34
0% / 94%
Expirado
24
44%
Trabalhando
2
Desenvolvedor 2
Classificação
(151)
Projetos
232
32%
Arbitragem
18
39% / 33%
Expirado
1
0%
Carregado
3
Desenvolvedor 3
Classificação
(539)
Projetos
620
33%
Arbitragem
36
39% / 53%
Expirado
11
2%
Ocupado
4
Desenvolvedor 4
Classificação
(94)
Projetos
130
9%
Arbitragem
8
25% / 38%
Expirado
28
22%
Trabalhando
5
Desenvolvedor 5
Classificação
(11)
Projetos
17
59%
Arbitragem
2
0% / 100%
Expirado
2
12%
Livre
6
Desenvolvedor 6
Classificação
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(48)
Projetos
49
8%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Boa tarde, tenho um estratégia muito boa que já opero na real, mas se conseguirmos fazer um EA será muito melhor devido ao tempo necessário na tela e tbm o emocional. A estrategia basicamente é usar 2 tempos graficos diferentes, um macro (10 min por exemplo) e um micro ( 1 min) . Grafico maior será pra marcar as regiões e as entradas serão no gráfico de 1 min (micro) usando um indicador... meu contato: 71 992063513
"Tenho um script no TradingView que uso para entradas manuais. Gostaria de transformá-lo em um robô para MT5 que execute automaticamente as entradas e saídas conforme as condições do script. Posso enviar o código em Pine Script."
I need to modify the CURRENCY indicator to allow viewing the same currency on different timeframes simultaneously, overlaid on the same chart. Insert the same currency multiple times into the indicator. Example: USD D1 USD H4 USD H1 USD M30 USD M15 USD M5 Display all these curves on the same chart, each representing the currency's slope on a different timeframe. Customizable settings for each line, including: Color
//+------------------------------------------------------------------+ //| Gold MetaLockDay EA (MT5) | //| Meta líquida diária com MIX de entradas (XAUUSD) | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //======================== INPUTS ========================// input string InpSymbol = ""; //
Tenho uma foto e video(não deu para anexar) de um robo trabalhando com buy stop e sell stop com indicadores de força e volatilidade. Gostaria de saber se consegue construir um

Informações sobre o projeto

Orçamento
30+ USD
Prazo
de 15 para 35 dias