Tarea técnica
//+------------------------------------------------------------------+
//| ScalperEA.mq5 |
//+------------------------------------------------------------------+
#property copyright "Template"
#property version "1.00"
#property strict
input int FastEMA = 8;
input int SlowEMA = 21;
input int AtrPeriod = 14;
input double StopAtrMult = 1.2;
input double TpAtrMult = 1.0;
input double RiskPercent = 0.5; // percent account risk per trade
input int Magic = 123456;
input double Lots = 0.01;
double EMAFast[], EMASlow[], ATRArr[];
int OnInit()
{
SetIndexBuffer(0, EMAFast);
SetIndexBuffer(1, EMASlow);
// nothing to set for ATR; we'll compute using iATR
return(INIT_SUCCEEDED);
}
void OnTick()
{
// get last two closed candles
int shift = 1; // last closed bar
double fast_prev = iMA(NULL, PERIOD_CURRENT, FastEMA, 0, MODE_EMA, PRICE_CLOSE, shift+1);
double fast_last = iMA(NULL, PERIOD_CURRENT, FastEMA, 0, MODE_EMA, PRICE_CLOSE, shift);
double slow_prev = iMA(NULL, PERIOD_CURRENT, SlowEMA, 0, MODE_EMA, PRICE_CLOSE, shift+1);
double slow_last = iMA(NULL, PERIOD_CURRENT, SlowEMA, 0, MODE_EMA, PRICE_CLOSE, shift);
double atr = iATR(NULL, PERIOD_CURRENT, AtrPeriod, shift);
if (atr <= 0) return;
// simple crossover signals
if (fast_prev <= slow_prev && fast_last > slow_last)
{
// buy signal
double entry = SymbolInfoDouble(_Symbol, SYMBOL_BID); // or use Ask for buy market entry
double stop = entry - StopAtrMult * atr;
double tp = entry + TpAtrMult * atr;
double lots = Lots;
// optionally compute lots from RiskPercent and stop distance
// place market buy
trade_buy(lots, stop, tp);
}
else if (fast_prev >= slow_prev && fast_last < slow_last)
{
// sell signal
double entry = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
double stop = entry + StopAtrMult * atr;
double tp = entry - TpAtrMult * atr;
trade_sell(Lots, stop, tp);
}
}
void trade_buy(double lots, double stop, double tp)
{
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
req.action = TRADE_ACTION_DEAL;
req.symbol = _Symbol;
req.volume = lots;
req.type = ORDER_TYPE_BUY;
req.price = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
req.sl = stop;
req.tp = tp;
req.deviation = 5;
req.magic = Magic;
OrderSend(req, res);
}
void trade_sell(double lots, double stop, double tp)
{
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
req.action = TRADE_ACTION_DEAL;
req.symbol = _Symbol;
req.volume = lots;
req.type = ORDER_TYPE_SELL;
req.price = SymbolInfoDouble(_Symbol, SYMBOL_BID);
req.sl = stop;
req.tp = tp;
req.deviation = 5;
req.magic = Magic;
OrderSend(req, res);
}
Han respondido
1
Evaluación
Proyectos
998
47%
Arbitraje
33
36%
/
36%
Caducado
98
10%
Trabaja
Ha publicado: 6 ejemplos
2
Evaluación
Proyectos
173
25%
Arbitraje
23
9%
/
78%
Caducado
16
9%
Trabaja
3
Evaluación
Proyectos
0
0%
Arbitraje
2
0%
/
100%
Caducado
0
Libre
4
Evaluación
Proyectos
402
27%
Arbitraje
40
40%
/
50%
Caducado
1
0%
Trabaja
5
Evaluación
Proyectos
1
0%
Arbitraje
1
0%
/
100%
Caducado
0
Libre
6
Evaluación
Proyectos
11
0%
Arbitraje
3
0%
/
33%
Caducado
2
18%
Trabaja
7
Evaluación
Proyectos
2
0%
Arbitraje
4
25%
/
50%
Caducado
1
50%
Libre
8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Evaluación
Proyectos
35
34%
Arbitraje
5
0%
/
80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
11
Evaluación
Proyectos
264
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
12
Evaluación
Proyectos
0
0%
Arbitraje
1
0%
/
100%
Caducado
0
Libre
13
Evaluación
Proyectos
3
33%
Arbitraje
2
0%
/
100%
Caducado
0
Libre
14
Evaluación
Proyectos
22
18%
Arbitraje
4
50%
/
25%
Caducado
4
18%
Trabaja
15
Evaluación
Proyectos
0
0%
Arbitraje
5
0%
/
80%
Caducado
0
Libre
16
Evaluación
Proyectos
170
39%
Arbitraje
10
40%
/
0%
Caducado
30
18%
Trabaja
17
Evaluación
Proyectos
8
13%
Arbitraje
3
0%
/
33%
Caducado
2
25%
Libre
Ha publicado: 1 ejemplo
18
Evaluación
Proyectos
8
0%
Arbitraje
3
33%
/
67%
Caducado
4
50%
Libre
19
Evaluación
Proyectos
1
100%
Arbitraje
3
0%
/
100%
Caducado
0
Libre
20
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Evaluación
Proyectos
43
58%
Arbitraje
1
100%
/
0%
Caducado
1
2%
Libre
Ha publicado: 5 ejemplos
Solicitudes similares
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity
Automated trading system
30+ USD
Auto trading system on mobile with high probability win rate. Trades and auto trading system that works well on gold and forex, most important risk reward ratio. It must be 1:3 or more then that whenever possible
Buy Profitable EA, any kind of strategy is acceptable
1000 - 10000 USD
I want to buy proven profitable EA, any kind of strategy is considerable, working on any forex pairs or XAUUSD. I don't want to build from the scratch, so only apply if you already have profitable EA. Please send your EX4 file in advance with your application (MANDATORY), with additional information as below : - Pair and timeframe to use, minimum initial capital requirement, and so on - Type of EA (scalping, in day
Intraday Trade Ninja EA
33+ USD
Intraday Trade Ninja EA Indicators used: Price Border(TMA) MA-X Arrows xSuperTrend Candles EMA 49 & 89- Per Candle Color Switching Lemansignal 200 SMA Major Criteria to consider before a trade setup or condition is taken · The price must have touched/tested the upper or
I am looking for an experienced developer in MQL5 to build a fully AI and automated trading bot (Expert Advisor) for MetaTrader 5. The EA will trade XAUUSD only and will be based purely on price action and Smart Money Concepts (SMC), specifically focusing on liquidity sweeps, market structure shifts (MSS/CHoCH), and wick rejection entries at key points of interest (POIs). The system must follow a strict rule: no
I need an MT5 Expert Advisor for US100 and XAUUSD. The EA must use risk management and must not use martingale or grid. Main requirements: Platform: MetaTrader 5 / MQL5 Symbols: US100 and XAUUSD Timeframes: M15 and M30, with higher timeframe trend filter Trend filter: EMA 50 and EMA 200 Momentum filter: RSI 14 Stop loss: ATR-based or recent swing high/low Take profit: minimum 1.5R risk/reward Risk per trade
FINAL EA STRATEGY DOCUMENT (Chandelier Exit + EMA Breakout System) ------------------------------------ CORE INDICATOR - Chandelier Exit (MAIN LOGIC) - ATR Period: Editable (Default 22) - ATR Multiplier: Editable (Default 3) IMPORTANT: - ATR must NOT be shown as a separate indicator - ATR must be used ONLY internally inside Chandelier Exit - All SL & trailing must strictly follow Chandelier Exit line
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
Prepare expert for Live Chart . Trailing Stop Loss Based on Thresholds needs to be implemented . Live Behavior Based implementation . Logic needs to be changed/upgraded . Couple of parameters to be deleted . Other Filters like news and sessions already coded . Only one symbol to prepare for live , the other one is already optimized . Do ask me to provide you with screen shots of current live scenario
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Información sobre el proyecto
Presupuesto
30 - 500 USD