Tarea técnica
//+------------------------------------------------------------------+
//| SimpleEA.mq4 |
//| Generated by MetaEditor |
//+------------------------------------------------------------------+
#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);
}
}
//+------------------------------------------------------------------+
Han respondido
1
Evaluación
Proyectos
207
61%
Arbitraje
10
80%
/
0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
2
Evaluación
Proyectos
510
23%
Arbitraje
60
57%
/
25%
Caducado
60
12%
Trabajando
3
Evaluación
Proyectos
5
0%
Arbitraje
3
0%
/
100%
Caducado
1
20%
Trabaja
4
Evaluación
Proyectos
19
16%
Arbitraje
3
67%
/
0%
Caducado
0
Libre
5
Evaluación
Proyectos
2
0%
Arbitraje
4
0%
/
100%
Caducado
0
Libre
6
Evaluación
Proyectos
326
71%
Arbitraje
2
100%
/
0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
7
Evaluación
Proyectos
186
41%
Arbitraje
24
58%
/
21%
Caducado
13
7%
Libre
8
Evaluación
Proyectos
38
21%
Arbitraje
5
0%
/
60%
Caducado
0
Libre
9
Evaluación
Proyectos
269
29%
Arbitraje
1
100%
/
0%
Caducado
3
1%
Trabaja
Ha publicado: 2 ejemplos
10
Evaluación
Proyectos
46
24%
Arbitraje
34
9%
/
85%
Caducado
10
22%
Libre
11
Evaluación
Proyectos
80
10%
Arbitraje
38
8%
/
58%
Caducado
6
8%
Libre
12
Evaluación
Proyectos
2
100%
Arbitraje
1
0%
/
0%
Caducado
0
Libre
13
Evaluación
Proyectos
2
50%
Arbitraje
2
0%
/
100%
Caducado
0
Libre
14
Evaluación
Proyectos
4
0%
Arbitraje
1
0%
/
0%
Caducado
0
Libre
Solicitudes similares
Looking for a developer in NinjaTrader For coding Inst - ES,NQ Chart type - Tick, range, volume & time Brief- Fib levels mapped on chart which act as entries, tgts and stops all based on candle close. (Maybe) use MACD for filtering direction. Daily manual input of the TWO fib Anchor levels is part of the strategy. I need a well experienced developer to bid and before biding check the attached file well. the PDF and
1- The EA must h ave a unique strategy specialized on make trades with very very low RRR, so basicaly risking 1475$ to make 100$, with an ammount adjustable of trades per day. (This is very important that i wish in 100 trades, it makes a maximum of 10 trades of mistake, maybe less...) 2- The EA must have the strategy specialized on INDEX CFD. 3- The EA must make each trade with more than 3 minutes, and less than 12h
Modification of an existing MQL5 EA TH-05
30 - 300 USD
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
EA LOTS SIZE MODIFICATION !!!
30 - 300 USD
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
Hi, can you define entry conditions based on 100 or 200 trades? If you need more history, i can give you more trades. It is EURUSD with great results! If you can do it, contact me
The Ultimate Trading Bot
30+ USD
take your time better make it for days and have good bot than never benefits both of us. Make the bot have zero errors and backtest it for a 2 year period
Wise Legend
30 - 500 USD
I want this robot to alert me on a good entry point on the trading flat form ether to buy or to sell. And also alert me when to close the market. And alert me on market continuations
I have an existing MT5 Expert Advisor with the original MQ5 source code. I need an experienced MQL5 developer to review, debug and professionally improve the existing EA, not build an unrelated EA from scratch. The EA is mainly for XAUUSD and already contains entry signals, EMA filters, automatic lot sizing, basket profit management, spread/margin protection, news filtering and recovery logic. The main problem is the
I buy EA for USDEUR or XAUUSD for FTMO with proven backtest. Send me images with backtest reports where daily max dd is 1% on 200k account. I can buy several eas if you have them with proofs. Need images of backtesting for 5 years
Cerco uno sviluppatore MQL5 esperto per lavorare su un Expert Advisor (EA) XAUUSD per MetaTrader 5 già esistente , versione attuale XAU_V59.mq5 . L'obiettivo è modificare, correggere e sviluppare il codice esistente senza stravolgere la logica già presente , mantenendo le regole ei parametri già definiti, salvo le modifiche espressamente richieste. REQUISITI FONDAMENTALI Il codice deve essere scritto in MQL5 nativo e
Información sobre el proyecto
Presupuesto
50+ USD