Termos de Referência

//+------------------------------------------------------------------+
//|                                                     SimpleEA.mq4 |
//|                        Generated by MetaEditor                   |
//|                   https://www.mql5.com/en/docs                   |
//+------------------------------------------------------------------+
#property strict

// Input parameters
input double LotSize = 0.1; // Lot size
input int MovingAveragePeriod = 50; // MA period

// Global variables
double maCurrent;
double maPrevious;

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   // Initialization of variables
   maCurrent = 0;
   maPrevious = 0;
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
   // Cleanup code here
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   // Calculate current and previous MA
   maCurrent = iMA(NULL, 0, MovingAveragePeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
   maPrevious = iMA(NULL, 0, MovingAveragePeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
   
   // Check for buy signal
   if (maPrevious < Close[1] && maCurrent > Close[0])
     {
      // Open buy order
      OrderSend(Symbol(), OP_BUY, LotSize, Ask, 2, 0, 0, "Buy Order", 0, 0, Blue);
     }
   
   // Check for sell signal
   if (maPrevious > Close[1] && maCurrent < Close[0])
     {
      // Open sell order
      OrderSend(Symbol(), OP_SELL, LotSize, Bid, 2, 0, 0, "Sell Order", 0, 0, Red);
     }
  }
//+------------------------------------------------------------------+

Respondido

1
Desenvolvedor 1
Classificação
(86)
Projetos
106
37%
Arbitragem
8
88% / 0%
Expirado
0
Trabalhando
2
Desenvolvedor 2
Classificação
(292)
Projetos
366
21%
Arbitragem
43
58% / 23%
Expirado
41
11%
Carregado
3
Desenvolvedor 3
Classificação
(1)
Projetos
3
0%
Arbitragem
0
Expirado
0
Trabalhando
4
Desenvolvedor 4
Classificação
(8)
Projetos
18
17%
Arbitragem
3
67% / 0%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(4)
Projetos
1
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(159)
Projetos
162
78%
Arbitragem
2
100% / 0%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(121)
Projetos
154
43%
Arbitragem
20
60% / 20%
Expirado
7
5%
Trabalhando
8
Desenvolvedor 8
Classificação
(16)
Projetos
17
12%
Arbitragem
1
0% / 100%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(194)
Projetos
198
27%
Arbitragem
0
Expirado
3
2%
Livre
10
Desenvolvedor 10
Classificação
(38)
Projetos
40
25%
Arbitragem
20
15% / 75%
Expirado
8
20%
Trabalhando
11
Desenvolvedor 11
Classificação
(67)
Projetos
76
7%
Arbitragem
33
9% / 55%
Expirado
6
8%
Trabalhando
Pedidos semelhantes
Hello Developers, I am currently seeking a highly skilled and experienced developer to assist with an important project. I requested the conversion of an existing TradingView code to MetaTrader 4 (MT4). The main objective is to convert a TradingView script to an exact MT4 equivalent. If you have the expertise and are interested in this project, please provide a quote and your estimated timeline for the conversion
MT5 hft bot 100 - 250 USD
HELLO I AM IN NEED OF HFT TRADING BOT FOR MT5 AND BEFORE WE PROCEEDS YOU MUST SHOW ME HOW YOUR BOT WORK OR SEND ME DEMO VERSION FIRST TO CHECK OUT YOUR BOT WORKING SYSTEM
I already have a Fibonacci based indicator which give precise entry as well as take profit and stop loss levels without repainting. I want to convert this to an EA so as to enable it pick trades automatically. Pay attention to the attached Images for entry and exit description. The EA will be protected with password or any other security protocols. THE EA OUTPUT will be in MQ4 & MQ5
// Define the properties input int ShortPeriod = 12; input int LongPeriod = 26; input double LotSize = 0.1; // OnTick function is called every time there is a price update void OnTick() { double shortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double longMA = iMA(NULL, 0, LongPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double prevShortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
Necesito un bot decente para prueba de fondeo y también cuenta personal, scalp, no grid, no martingale, no practicas prohibidas, algo objetivo, confiable y rentable... 5 Min mínimos de duración por operación, algo ya hecho y bactesteado en cuenta real y de fondeo. Necesito algo agresivo, constante pero que no exponga el capital... prefiero una estrategia de smc
An ea with 4 moving average, and two time frame confluence. Option to add risk to reward and percentage of balance to trade. Message me remaining for the more info
I am looking for a day trading bot with over 95% success ratio for gold and forex. It should use all the relevant strategies like moving averages (10, 20, 50), volume, RSI and trend into consideration and then generate buy and sell trade automatically with trailing SL and generate max profit
***** THIS IS FOR MT5 ***** The indicator now makes 5 lines and I use it on US30 It is for NY session and has inputs for times - open and close It creates lines at NY open NY open line 100 point 200 points I want to add 300 pt lines and 400 point lines I want On/off box added for dotted or dashed 50 - 150 - 250 and 350 lines I want alerts when the candles reach the 100 - 200 ect...lines but would love "Push
Active expert 250+ USD
hi, I must do changes to a dashboard with manual input of trader and active expert. Budget 250$ Can do? the budget is correct based on job to do. If you want me to increase the budget you can message me
HELLO DEAR DEV'S. I'VE AN EA BUT IT STOP WORKING WHEN MT4 HAS BEEN UPDATED TO THE LATEST VERSION (1420). SO I NEED A GOOD DEVELOPPER THAT COULD UPDATE THIS EA TO THE LATEST VERSION OF MT4 SO I CAN USE IT. NB: IT'S A SINGLE FILE (.EX4) AND THE PRICE CAN BE NEGOCIATED TO BE SUITABLE FOR BOTH PARTIES. THANK YOU

Informações sobre o projeto

Orçamento
50+ USD

Cliente

Pedidos postados1
Número de arbitragens0