I need both New EA MT4/MT5

MQL5 Experts

Spécifications

//+------------------------------------------------------------------+
//| 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"));
     }
  }

Répondu

1
Développeur 1
Évaluation
(2279)
Projets
2873
63%
Arbitrage
121
45% / 26%
En retard
429
15%
Gratuit
2
Développeur 2
Évaluation
(16)
Projets
19
11%
Arbitrage
4
25% / 50%
En retard
1
5%
Travail
3
Développeur 3
Évaluation
(553)
Projets
627
40%
Arbitrage
2
100% / 0%
En retard
1
0%
Gratuit
Publié : 9 codes
4
Développeur 4
Évaluation
(5)
Projets
4
25%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(2)
Projets
0
0%
Arbitrage
5
0% / 60%
En retard
0
Gratuit
7
Développeur 7
Évaluation
(268)
Projets
396
27%
Arbitrage
38
39% / 50%
En retard
1
0%
Gratuit
8
Développeur 8
Évaluation
(2)
Projets
1
100%
Arbitrage
2
0% / 100%
En retard
0
Travail
9
Développeur 9
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
(55)
Projets
80
23%
Arbitrage
24
13% / 58%
En retard
7
9%
Travail
12
Développeur 12
Évaluation
(175)
Projets
225
20%
Arbitrage
19
42% / 16%
En retard
0
Chargé
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
(246)
Projets
253
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
15
Développeur 15
Évaluation
(490)
Projets
950
75%
Arbitrage
26
19% / 65%
En retard
100
11%
Chargé
Publié : 1 article, 6 codes
16
Développeur 16
Évaluation
(433)
Projets
686
34%
Arbitrage
32
72% / 9%
En retard
22
3%
Gratuit
17
Développeur 17
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(12)
Projets
12
17%
Arbitrage
2
0% / 50%
En retard
1
8%
Gratuit
20
Développeur 20
Évaluation
(24)
Projets
30
13%
Arbitrage
10
0% / 50%
En retard
8
27%
Travail
21
Développeur 21
Évaluation
(5)
Projets
4
0%
Arbitrage
2
50% / 50%
En retard
2
50%
Gratuit
22
Développeur 22
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
23
Développeur 23
Évaluation
(235)
Projets
278
77%
Arbitrage
12
75% / 0%
En retard
4
1%
Travail
24
Développeur 24
Évaluation
(7)
Projets
8
13%
Arbitrage
5
40% / 20%
En retard
0
Travail
25
Développeur 25
Évaluation
(498)
Projets
741
56%
Arbitrage
47
32% / 30%
En retard
117
16%
Chargé
Publié : 1 code
26
Développeur 26
Évaluation
(300)
Projets
306
69%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
Publié : 1 code
27
Développeur 27
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
28
Développeur 28
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
29
Développeur 29
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
30
Développeur 30
Évaluation
(159)
Projets
284
35%
Arbitrage
17
24% / 59%
En retard
42
15%
Chargé
31
Développeur 31
Évaluation
(2)
Projets
3
0%
Arbitrage
3
0% / 67%
En retard
0
Travail
32
Développeur 32
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
33
Développeur 33
Évaluation
(25)
Projets
29
21%
Arbitrage
20
10% / 50%
En retard
8
28%
Travail
34
Développeur 34
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
Commandes similaires
Acquire existing profitable Expert Advisor with source code for client investment portfolio - Full .mq5 code (clean & commented) - 4+ years backtest (Jan 2022 - Dec 2025, 100% tick data) - ~10% monthly return - Max DD ≤15% - No grid/martingale (strictly enforced) - 1-month forward test required - Send trade history + EA details for review - Demo EA file needed for backtest replication - Open to any currency
i need the multi-chain dex bot with set up and installation i need you to help me set the copy reading wallet on binance or phantom with capital for 100 Euro to 1 Million in one year
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
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

Informations sur le projet

Budget
50+ USD