I need both New EA MT4/MT5

MQL5 Experts

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
Desenvolvedor 1
Classificação
(2279)
Projetos
2873
63%
Arbitragem
121
45% / 26%
Expirado
429
15%
Livre
2
Desenvolvedor 2
Classificação
(16)
Projetos
19
11%
Arbitragem
4
25% / 50%
Expirado
1
5%
Trabalhando
3
Desenvolvedor 3
Classificação
(553)
Projetos
627
40%
Arbitragem
2
100% / 0%
Expirado
1
0%
Livre
Publicou: 9 códigos
4
Desenvolvedor 4
Classificação
(5)
Projetos
4
25%
Arbitragem
1
0% / 100%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(2)
Projetos
0
0%
Arbitragem
5
0% / 60%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(268)
Projetos
396
27%
Arbitragem
38
39% / 50%
Expirado
1
0%
Livre
8
Desenvolvedor 8
Classificação
(2)
Projetos
1
100%
Arbitragem
2
0% / 100%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(55)
Projetos
80
23%
Arbitragem
24
13% / 58%
Expirado
7
9%
Trabalhando
12
Desenvolvedor 12
Classificação
(175)
Projetos
225
20%
Arbitragem
19
42% / 16%
Expirado
0
Carregado
13
Desenvolvedor 13
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(246)
Projetos
253
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
15
Desenvolvedor 15
Classificação
(490)
Projetos
950
75%
Arbitragem
26
19% / 65%
Expirado
100
11%
Carregado
Publicou: 1 artigo, 6 códigos
16
Desenvolvedor 16
Classificação
(433)
Projetos
686
34%
Arbitragem
32
72% / 9%
Expirado
22
3%
Livre
17
Desenvolvedor 17
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(12)
Projetos
12
17%
Arbitragem
2
0% / 50%
Expirado
1
8%
Livre
20
Desenvolvedor 20
Classificação
(24)
Projetos
30
13%
Arbitragem
10
0% / 50%
Expirado
8
27%
Trabalhando
21
Desenvolvedor 21
Classificação
(5)
Projetos
4
0%
Arbitragem
2
50% / 50%
Expirado
2
50%
Livre
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(235)
Projetos
278
77%
Arbitragem
12
75% / 0%
Expirado
4
1%
Trabalhando
24
Desenvolvedor 24
Classificação
(7)
Projetos
8
13%
Arbitragem
5
40% / 20%
Expirado
0
Trabalhando
25
Desenvolvedor 25
Classificação
(498)
Projetos
741
56%
Arbitragem
47
32% / 30%
Expirado
117
16%
Carregado
Publicou: 1 código
26
Desenvolvedor 26
Classificação
(300)
Projetos
306
69%
Arbitragem
2
100% / 0%
Expirado
0
Livre
Publicou: 1 código
27
Desenvolvedor 27
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
28
Desenvolvedor 28
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
30
Desenvolvedor 30
Classificação
(159)
Projetos
284
35%
Arbitragem
17
24% / 59%
Expirado
42
15%
Carregado
31
Desenvolvedor 31
Classificação
(2)
Projetos
3
0%
Arbitragem
3
0% / 67%
Expirado
0
Trabalhando
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
(25)
Projetos
29
21%
Arbitragem
20
10% / 50%
Expirado
8
28%
Trabalhando
34
Desenvolvedor 34
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
Pedidos semelhantes
Please teach me orderflow 300 - 3000 USD
I am searching a profitable trader that is using orderflow in his analysis. Only serious offers please. Please send me your history of trades. I need proof. Merry Christmas everyone
I am looking for an experienced MQL5 developer to create a high-performance Super Scalper EA for MetaTrader 5, designed specifically for XAUUSD trading on IC Markets. Only serious developers with proven scalping experience should apply. 🔧 General Requirements Platform: MetaTrader 5 (MT5) Instrument: XAUUSD Timeframe: M1 – M15 Broker: IC Markets Initial capital: $100–150 USD Minimum lot: 0.01 Risk per trade
Looking for an Existing Profitable MQL EA for XAUUSD (Gold) – Daily Micro-Scalping I am looking for an already existing Expert Advisor (EA) or script for XAUUSD (Gold) based on a daily micro-scalping strategy . I am not looking to develop a new strategy from scratch , but rather a ready-to-use or previously used system with proven performance. Basic Requirements Instrument: XAUUSD (Gold) Platform: MT5 (preferred) /
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
Create a script. The purpose of the script is to catch changes in the trend and execute a trade. We will include a single indicator that is used as a signal. The stop loss is defined. Here is the blueprint: The indicator is Donchain Channels. The parameters are Lenght 20, Offset: 0. The timeframe is 1H. Instrument is EUR/USD. Condition: use candle close as parameter to execute a BUY or SELL order. if the Donchain
MT5 30 - 50 USD
I'm looking for an experienced MQL5 developer to help with backtesting, optimization, and VPS setup for a prop firm EA on XAUUSD (Gold). Scope of work - Backtest and optimize using high-quality tick data from Dukascopy or Polygon (2020–2025) - Perform Monte Carlo and Walk-Forward testing to optimize parameters like ATR multipliers and risk % - VPS installation and configuration for continuous MT5 operation - Apply

Informações sobre o projeto

Orçamento
50+ USD