Mta

MQL5 Experts

Spécifications

//+------------------------------------------------------------------+
//|                                                      TestMEA.mq4 |
//|                        Copyright 2018, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2018, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int order;


int OnInit()
  {
//--- create timer
   EventSetTimer(60);
      
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//--- destroy timer
   EventKillTimer();
      
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
//---
  double movingAverage= iMA(NULL,0,15,0,MODE_SMA,PRICE_MEDIAN,0);
  double currentPrice= Open[0];
  double lastPrice = Open[1];

     if((currentPrice > movingAverage) && (currentPrice < lastPrice)) {
   //Sell
   order = OrderSend(NULL,OP_SELL,1,currentPrice,0,NULL,NULL,NULL,0,0,NULL);
   } else if ((currentPrice < movingAverage) && (currentPrice > lastPrice)) {
  //Buy
  order = OrderSend(NULL,OP_BUY,1,currentPrice,0,NULL,NULL,NULL,0,0,NULL);
   }
   }
//+------------------------------------------------------------------+
//| Timer function                                                   |
//+------------------------------------------------------------------+
void OnTimer()
  {
//---
   
  }
//+------------------------------------------------------------------+
//| Tester function                                                  |
//+------------------------------------------------------------------+
double OnTester()
  {
//---
   double ret=0.0;
//---

//---
   return(ret);
  }
//+------------------------------------------------------------------+
//| ChartEvent function                                              |
//+------------------------------------------------------------------+
void OnChartEvent(const int id,
                  const long &lparam,
                  const double &dparam,
                  const string &sparam)
  {
//---
   
  }
//+------------------------------------------------------------------+

Répondu

1
Développeur 1
Évaluation
(119)
Projets
127
41%
Arbitrage
3
33% / 67%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(90)
Projets
118
17%
Arbitrage
44
23% / 39%
En retard
20
17%
Gratuit
3
Développeur 3
Évaluation
(258)
Projets
395
28%
Arbitrage
69
19% / 49%
En retard
120
30%
Gratuit
4
Développeur 4
Évaluation
(73)
Projets
132
52%
Arbitrage
9
44% / 33%
En retard
64
48%
Gratuit
5
Développeur 5
Évaluation
(8)
Projets
17
41%
Arbitrage
1
100% / 0%
En retard
2
12%
Travail
6
Développeur 6
Évaluation
(2375)
Projets
2983
65%
Arbitrage
76
47% / 14%
En retard
340
11%
Gratuit
7
Développeur 7
Évaluation
(33)
Projets
35
40%
Arbitrage
11
9% / 91%
En retard
4
11%
Gratuit
8
Développeur 8
Évaluation
(90)
Projets
121
38%
Arbitrage
19
16% / 53%
En retard
19
16%
Occupé
9
Développeur 9
Évaluation
(66)
Projets
143
34%
Arbitrage
11
9% / 55%
En retard
26
18%
Travail
10
Développeur 10
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
Commandes similaires
Hello everybody I would like to modify an existing indicator. I want to create a Dashboard that will display alerts created by my personal indicator called TREND. It will have to display alerts created on several timeframes and for several currencies. Each currency will need to be able to modify its own TREND indicator settings. The TREND indicator settings will be accessible by double-clicking on the currency name
I need a Martingale Expert Advisor that can hedge using Pending Order Grid. It will use indicators such as stochastic oscillator and moving average. I will provide details when you contact me
Trading bot 100 - 500 USD
I need an MQL4 trading bot with this features : 1. Trading 24/7 2. hedged for any unexpected trade reflection or losses 3. connected to the news 4. pauses during the news only if needed , because already it has a footprint tool 5. Always aims for a higher profit 6. Has a footprint tool for an accurate signals 7. never miss any opportunity 8. has turtle trading strategy 9. capable to start trading 1000$ capital 10. it
Hi! I would like an expert MT4 developer to create an EA based only on MACD. I will give more details about the timeframe, lot size, parameters of MACD, and trade conditions in private. Thank You
Fyemess Hotcold 50+ USD
*Strategy:* - Buy when the 50-day moving average crosses above the 200-day moving average - Sell when the 50-day moving average crosses below the 200-day moving average *Code:* ``` //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ int OnInit() { return(INIT_SUCCEEDED); }
hola necesito convertir un ea mt4 a mt5 tengo los codigos fuentes de mq4 por favor aplicar al trabajo agradeceria su tiempo asi que por favor necesito que trabaje de la misma que trabaja en mt4 solo quiero conversion y si hay algun error por favor corregir
i want an EA that enters based on the form of a candle if the lower wick is bigger then the rest of the candle i want buy and if the upperwick is bigger then the rest of the candle i want a sell single, i want it to enter with the sl 1 tick lower or higher then the lower or upperwick depening on buy or sell trade. then the stoploos needs to move when the trade goes to 0,5% sl too break even, when trad eis on 1% sl to
Hello, I am searching for a reliable mt4 programmer who can have a look at my existing mt4 indicator, I'm curious of having a specialist in coding to check the entire code and highlight any errors or bugs that might be affecting this indicator from not having optimal performance, keep in mind that the algorithm code will be shared with you in comment section, The purpose of this job is just to modify this indicator
I want to build an indicator or EA that calculates the statistics on an instrument, and show the statistical distribution of the calculated sample statistics. The statistics will be based on Open high low close of a candle. I want the right to the EA and the source code I want to be able to change to different timeframes and get the statistics on those time frame. When i apply the indicator to intraday timeframe, i
There are clients who want to buy at fantastic prices, EA prices start at $5000-$50,000 dollars. Developers better be careful with this, because initially you pretend to ask for a backtest, via Telegram ask to forward it to Telegram yourself or your family, even though at that time you did it and you added him as your friend, actually at the same time after you forwarded your EA. , he has stolen your EA. It's best to

Informations sur le projet

Budget
5000+ USD
Pour le développeur
4500 USD