Termos de Referência
//+------------------------------------------------------------------+
//| Expert Advisor: Gold AI Scalping Bot (M1/M5 MA Crossover) |
//+------------------------------------------------------------------+
#property copyright "OpenAI"
#property version "1.01"
#property strict
input string symbol = "XAUUSD";
input ENUM_TIMEFRAMES timeframe = PERIOD_M1; // Change to PERIOD_M5 if needed
input int fastMA = 5;
input int slowMA = 20;
input double lotSize = 0.1;
input int stopLoss = 100; // in points (e.g., 10 pips)
input int takeProfit = 150; // in points (e.g., 15 pips)
input int magicNumber = 777777;
double maFastPrev, maFastCurr;
double maSlowPrev, maSlowCurr;
//+------------------------------------------------------------------+
//| Expert initialization |
//+------------------------------------------------------------------+
int OnInit()
{
Print("Gold AI Scalping Bot initialized on ", EnumToString(timeframe));
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
if (Symbol() != symbol) return;
if (PositionsTotal() > 0) return; // Avoid multiple trades
// MA values
maFastPrev = iMA(symbol, timeframe, fastMA, 0, MODE_EMA, PRICE_CLOSE, 1);
maFastCurr = iMA(symbol, timeframe, fastMA, 0, MODE_EMA, PRICE_CLOSE, 0);
maSlowPrev = iMA(symbol, timeframe, slowMA, 0, MODE_EMA, PRICE_CLOSE, 1);
maSlowCurr = iMA(symbol, timeframe, slowMA, 0, MODE_EMA, PRICE_CLOSE, 0);
// Crossover detection
if (maFastPrev < maSlowPrev && maFastCurr > maSlowCurr)
{
// BUY signal
OpenTrade(ORDER_TYPE_BUY);
}
else if (maFastPrev > maSlowPrev && maFastCurr < maSlowCurr)
{
// SELL signal
OpenTrade(ORDER_TYPE_SELL);
}
}
//+------------------------------------------------------------------+
//| Trade execution |
//+------------------------------------------------------------------+
void OpenTrade(ENUM_ORDER_TYPE type)
{
double price = (type == ORDER_TYPE_BUY) ? SymbolInfoDouble(symbol, SYMBOL_ASK)
: SymbolInfoDouble(symbol, SYMBOL_BID);
double sl = (type == ORDER_TYPE_BUY) ? price - stopLoss * _Point
: price + stopLoss * _Point;
double tp = (type == ORDER_TYPE_BUY) ? price + takeProfit * _Point
: price - takeProfit * _Point;
MqlTradeRequest request;
MqlTradeResult result;
ZeroMemory(request);
request.action = TRADE_ACTION_DEAL;
request.symbol = symbol;
request.volume = lotSize;
request.type = type;
request.price = NormalizeDouble(price, _Digits);
request.sl = NormalizeDouble(sl, _Digits);
request.tp = NormalizeDouble(tp, _Digits);
request.magic = magicNumber;
request.deviation = 10;
request.type_filling = ORDER_FILLING_IOC;
if (!OrderSend(request, result))
{
Print("Trade failed: ", result.retcode);
}
else
{
Print("Trade opened: ", (type == ORDER_TYPE_BUY ? "BUY" : "SELL"));
}
}
Respondido
1
Classificação
Projetos
2833
62%
Arbitragem
118
46%
/
25%
Expirado
428
15%
Trabalhando
2
Classificação
Projetos
9
22%
Arbitragem
0
Expirado
0
Carregado
3
Classificação
Projetos
588
38%
Arbitragem
2
100%
/
0%
Expirado
1
0%
Trabalhando
Publicou: 9 códigos
4
Classificação
Projetos
4
25%
Arbitragem
1
0%
/
100%
Expirado
0
Livre
5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Classificação
Projetos
0
0%
Arbitragem
1
0%
/
0%
Expirado
0
Livre
7
Classificação
Projetos
375
25%
Arbitragem
22
59%
/
23%
Expirado
1
0%
Ocupado
8
Classificação
Projetos
1
100%
Arbitragem
1
0%
/
0%
Expirado
0
Trabalhando
9
Classificação
Projetos
1
0%
Arbitragem
1
0%
/
0%
Expirado
0
Trabalhando
10
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
11
Classificação
Projetos
73
21%
Arbitragem
11
18%
/
27%
Expirado
6
8%
Trabalhando
12
Classificação
Projetos
212
20%
Arbitragem
17
47%
/
18%
Expirado
0
Trabalhando
13
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
14
Classificação
Projetos
242
31%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
15
Classificação
Projetos
906
76%
Arbitragem
25
16%
/
68%
Expirado
99
11%
Trabalhando
Publicou: 1 artigo, 6 códigos
16
Classificação
Projetos
655
33%
Arbitragem
31
74%
/
6%
Expirado
20
3%
Livre
17
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Classificação
Projetos
11
18%
Arbitragem
1
0%
/
0%
Expirado
1
9%
Livre
20
Classificação
Projetos
6
17%
Arbitragem
2
0%
/
0%
Expirado
1
17%
Carregado
21
Classificação
Projetos
2
0%
Arbitragem
1
0%
/
0%
Expirado
1
50%
Trabalhando
22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Classificação
Projetos
268
77%
Arbitragem
10
80%
/
0%
Expirado
4
1%
Carregado
24
Classificação
Projetos
8
13%
Arbitragem
5
40%
/
20%
Expirado
0
Livre
25
Classificação
Projetos
736
56%
Arbitragem
47
32%
/
30%
Expirado
116
16%
Trabalhando
Publicou: 1 código
26
Classificação
Projetos
290
70%
Arbitragem
2
100%
/
0%
Expirado
0
Trabalhando
Publicou: 1 código
27
Classificação
Projetos
945
47%
Arbitragem
303
59%
/
25%
Expirado
125
13%
Livre
28
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
29
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
I’m looking for an EA (Expert Advisor) developer or an existing EA that is built on volume and order flow trading strategies . Requirements: EA must trade based on volume / order flow signals . Should have precise entry and exit points with proven high profitability . Must include full source code as part of the purchase. Should work across any major currency pair , with preference for Gold (XAUUSD) . Ability to
Trading bot developer needed
30+ USD
Hello, I’m currently looking to hire a professional and experienced developer to help create a custom trading bot (Expert Advisor) for the MetaTrader platform (MT5). What I Need: I’m looking for someone who can: Develop a fully automated trading bot based on my strategy (which I will provide in detail)
Ea that uses 4 existing mt5indicators
30 - 75 USD
Ea that uses the same 4 indicators with options to turn on or off each indicator. tp and sl in currency with lotsize starting from 0.0001. No further parameters. if it can be done in 3 days would be lovely
EA for Tradingview alerts
100+ USD
I'm looking for an EA that can automate my tradingview alerts (like pineconnector or tradingconnector does) with automatic risk calculation based on SL (pineconnector offers this function but it doesn't always work well). Using webhook would be great or a set up locally over chrome. - I would send a command like: sell,EURUSD,risk=0.5,sl=1.0784479159258427,tp=1.0748320840741577 - based on the risk percentage, current
Tebza&Lee_EA
48+ USD
I need an experienced mql5 developer to build a ** high-performance support and resistance EA** This EA must only trade Nas100, Us30, USDZAR, XAGUSD, XAUUSD, XPTUSD, USDJPY, USDCHF, USDCAD, EURUSD, GBPUSD and More details are attached
MosesRobot
30+ USD
1. Timeframe & Pairs Timeframe: 5-minute chart (M5) Pairs: EURUSD, GBPUSD, USDJPY,XAUUSD (low spreads, high liquidity) Trading Hours: London & New York session overlap (13:00–17:00 UTC) for volatility. --- 2. Indicators & Filters Main Signals: 1. EMA Crossover: EMA 9 (fast) & EMA 21 (slow) Buy signal: EMA 9 crosses above EMA 21 Sell signal: EMA 9 crosses below EMA 21 2. RSI Filter (Period 14): Buy only if RSI > 50
GOLDEN WEALTH EA
30 - 40 USD
I need developer that will help me to convert indication with signal to EA. that will be able to trade on any pair and brokers with the features of take profit, stop loss, risk management and trade in the adjustable % of equity or account balance
I am working with several EAs (that i created). Inside MT5, they are fine. However, I’m also using a local MT5 runner on port 8787 to allow triggering backtests via commands. This requires exposing the runner via Cloudflare tunnels. I already: Installed cloudflared Created a tunnel and token Can generate temporary trycloudflare.com URLs But I am stuck on the final step: configuring the tunnel and updating the runner
An Expert Advisor with two time frames
200 - 400 USD
An Expert Advisor with two time frames. Time frame 1 Buy when price closes below Moving average indicator, or sell when price closes above Moving average indicator. Time frame 2 If a buy position is open, close when price crosses below Moving Average indicator. If a sell position is open, close when price crosses above Moving Average indicator. Repeat forever. Adjustable parameters like the free Experts in the Mql5
X
30+ USD
I NEED AN EA THAT WORKS ON DERIV VOLATILITY BREAKE OUT AT EVERY 50 LEVEL BUY OR SELL 1/1 RAHIO 9 WILL EXPLAIN LETTER ON NOT THAT MUCH THE STRATEGY IS MORE OF PYCHOLOGYCAL LEVEL WILL WORK AS THE ZONE WHILE THE WE WAIT FOR A BREAK OF A HIGH OR ALOW AT THAT AREA
Informações sobre o projeto
Orçamento
50+ USD
Cliente
Pedidos postados1
Número de arbitragens0