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
1008
47%
Arbitragem
33
36%
/
36%
Expirado
99
10%
Trabalhando
Publicou: 6 códigos
2
Classificação
Projetos
184
25%
Arbitragem
25
16%
/
76%
Expirado
16
9%
Livre
3
Classificação
Projetos
0
0%
Arbitragem
2
0%
/
100%
Expirado
0
Livre
4
Classificação
Projetos
403
28%
Arbitragem
40
40%
/
50%
Expirado
1
0%
Livre
5
Classificação
Projetos
1
0%
Arbitragem
1
0%
/
100%
Expirado
0
Livre
6
Classificação
Projetos
12
0%
Arbitragem
3
33%
/
33%
Expirado
0
Livre
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
36
33%
Arbitragem
5
0%
/
80%
Expirado
0
Trabalhando
Publicou: 2 códigos
11
Classificação
Projetos
269
29%
Arbitragem
2
50%
/
0%
Expirado
3
1%
Trabalhando
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
32
38%
Arbitragem
4
50%
/
25%
Expirado
5
16%
Trabalhando
15
Classificação
Projetos
0
0%
Arbitragem
5
0%
/
80%
Expirado
0
Livre
16
Classificação
Projetos
174
40%
Arbitragem
10
40%
/
10%
Expirado
30
17%
Livre
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
53
57%
Arbitragem
2
100%
/
0%
Expirado
1
2%
Livre
Publicou: 5 códigos
Pedidos semelhantes
Chciał bym w tym tłumacza albo ulepszyć jakoś
100 - 1000 USD
Chciał bym w tej grze poznać dużo i zrozumieć ciężko bez języka mam tylko sms na gry nie mam kieszonkowych i kiepsko się trzymam finansowo żeby czasem myślę gdzie będę
Self sufficient Trading robot
30+ USD
Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). Buy Signal: When Fast MA crosses above Slow MA. Sell Signal: When Fast MA crosses below Slow MA. Risk Management & Parameters: Customizable Lot Size (Default: 0.01). Stop Loss (SL) and Take Profit (TP) in pips. Trailing Stop options. Max Spread filter. Platform: MetaTrader 5 (MQL5)
Writing of an Expert Advisor
30+ USD
Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). Buy Signal: When Fast MA crosses above Slow MA. Sell Signal: When Fast MA crosses below Slow MA. Risk Management & Parameters: Customizable Lot Size (Default: 0.01). Stop Loss (SL) and Take Profit (TP) in pips. Trailing Stop options. Max Spread filter. Platform: MetaTrader 5 (MQL5)
I am looking for an experienced MQL5/MT5 developer to develop a custom Expert Advisor based on a complete technical architecture already prepared by the client. This is not a request to design a trading strategy from scratch . The strategy architecture, entry/exit concepts, filters, risk-management requirements and testing requirements are already documented. The main responsibility will be MQL5 development
Ready to use bot
100+ USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best (can be blocked on demo, i don't really care) - investor password from a reputable broker (if history is available... live / demo, same thing, doesn't really
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
Le robot devra : Respecter strictement les règles de risque des comptes FTMO : perte journalière maximale, perte maximale totale, taille des positions, etc. Intégrer un système de gestion du risque automatique. Être capable de gérer différents types de comptes et tailles de capital. Être basé sur ma stratégie et mes règles de trading que je fournirai au développeur. Être entièrement automatisé pour l’exécution des
I need a trading system similar to the attached files. Check attachment for details on the indicator. i guess the indicator contains some of (Rainbow MA , MTF Dashboard , Symbol Switcher , and Trend Histogram), though may not be exactly as listed
VENOM EA
35 - 50 USD
So, im a beginner and I'm pleading you to built me a bot that runs 24hrs and that can buy and sell at the same time, choose a better and profitable strategy. I will do anything thing it takes to get the bot. I hope you take my request into consideration
Informações sobre o projeto
Orçamento
30 - 500 USD