Termos de Referência
//+------------------------------------------------------------------+
//| 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);
}
Respondido
1
Classificação
Projetos
998
47%
Arbitragem
33
36%
/
36%
Expirado
98
10%
Trabalhando
Publicou: 6 códigos
2
Classificação
Projetos
173
25%
Arbitragem
23
9%
/
78%
Expirado
16
9%
Trabalhando
3
Classificação
Projetos
0
0%
Arbitragem
2
0%
/
100%
Expirado
0
Livre
4
Classificação
Projetos
402
27%
Arbitragem
40
40%
/
50%
Expirado
1
0%
Trabalhando
5
Classificação
Projetos
1
0%
Arbitragem
1
0%
/
100%
Expirado
0
Livre
6
Classificação
Projetos
11
0%
Arbitragem
2
0%
/
50%
Expirado
2
18%
Trabalhando
7
Classificação
Projetos
2
0%
Arbitragem
4
25%
/
50%
Expirado
1
50%
Livre
8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Classificação
Projetos
35
34%
Arbitragem
5
0%
/
80%
Expirado
0
Trabalhando
Publicou: 2 códigos
11
Classificação
Projetos
264
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
12
Classificação
Projetos
0
0%
Arbitragem
1
0%
/
100%
Expirado
0
Livre
13
Classificação
Projetos
3
33%
Arbitragem
2
0%
/
100%
Expirado
0
Livre
14
Classificação
Projetos
22
18%
Arbitragem
4
50%
/
25%
Expirado
4
18%
Trabalhando
15
Classificação
Projetos
0
0%
Arbitragem
5
0%
/
80%
Expirado
0
Livre
16
Classificação
Projetos
170
39%
Arbitragem
10
40%
/
0%
Expirado
30
18%
Trabalhando
17
Classificação
Projetos
8
13%
Arbitragem
3
0%
/
33%
Expirado
2
25%
Livre
Publicou: 1 código
18
Classificação
Projetos
8
0%
Arbitragem
3
33%
/
67%
Expirado
4
50%
Livre
19
Classificação
Projetos
1
100%
Arbitragem
3
0%
/
100%
Expirado
0
Livre
20
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Classificação
Projetos
43
58%
Arbitragem
1
100%
/
0%
Expirado
1
2%
Livre
Publicou: 5 códigos
Pedidos semelhantes
📌 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
Informações sobre o projeto
Orçamento
30 - 500 USD