I need both New EA MT4/MT5

MQL5 エキスパート

指定

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

応答済み

1
開発者 1
評価
(2246)
プロジェクト
2833
62%
仲裁
118
46% / 25%
期限切れ
428
15%
仕事中
2
開発者 2
評価
(7)
プロジェクト
9
22%
仲裁
0
期限切れ
0
取り込み中
3
開発者 3
評価
(515)
プロジェクト
588
38%
仲裁
2
100% / 0%
期限切れ
1
0%
仕事中
パブリッシュした人: 9 codes
4
開発者 4
評価
(5)
プロジェクト
4
25%
仲裁
1
0% / 100%
期限切れ
0
5
開発者 5
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
6
開発者 6
評価
(1)
プロジェクト
0
0%
仲裁
1
0% / 0%
期限切れ
0
7
開発者 7
評価
(254)
プロジェクト
375
25%
仲裁
22
59% / 23%
期限切れ
1
0%
多忙
8
開発者 8
評価
(1)
プロジェクト
1
100%
仲裁
1
0% / 0%
期限切れ
0
仕事中
9
開発者 9
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 0%
期限切れ
0
仕事中
10
開発者 10
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
11
開発者 11
評価
(50)
プロジェクト
73
21%
仲裁
11
18% / 27%
期限切れ
6
8%
仕事中
12
開発者 12
評価
(164)
プロジェクト
212
20%
仲裁
17
47% / 18%
期限切れ
0
仕事中
13
開発者 13
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
14
開発者 14
評価
(236)
プロジェクト
242
31%
仲裁
0
期限切れ
3
1%
パブリッシュした人: 2 codes
15
開発者 15
評価
(461)
プロジェクト
906
76%
仲裁
25
16% / 68%
期限切れ
99
11%
仕事中
パブリッシュした人: 1 article, 6 codes
16
開発者 16
評価
(414)
プロジェクト
655
33%
仲裁
31
74% / 6%
期限切れ
20
3%
17
開発者 17
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
18
開発者 18
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
19
開発者 19
評価
(11)
プロジェクト
11
18%
仲裁
1
0% / 0%
期限切れ
1
9%
20
開発者 20
評価
(6)
プロジェクト
6
17%
仲裁
2
0% / 0%
期限切れ
1
17%
取り込み中
21
開発者 21
評価
(4)
プロジェクト
2
0%
仲裁
1
0% / 0%
期限切れ
1
50%
仕事中
22
開発者 22
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
23
開発者 23
評価
(229)
プロジェクト
268
77%
仲裁
10
80% / 0%
期限切れ
4
1%
取り込み中
24
開発者 24
評価
(7)
プロジェクト
8
13%
仲裁
5
40% / 20%
期限切れ
0
25
開発者 25
評価
(495)
プロジェクト
736
56%
仲裁
47
32% / 30%
期限切れ
116
16%
仕事中
パブリッシュした人: 1 code
26
開発者 26
評価
(284)
プロジェクト
290
70%
仲裁
2
100% / 0%
期限切れ
0
仕事中
パブリッシュした人: 1 code
27
開発者 27
評価
(574)
プロジェクト
945
47%
仲裁
303
59% / 25%
期限切れ
125
13%
28
開発者 28
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
29
開発者 29
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
類似した注文
hello I have a strategy based on 4 zigzag indicators and 1 parabolic sar that i want to implement in a robot with adjustable settings please contact me for more info and if you are able to this job
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
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 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
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. 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

プロジェクト情報

予算
50+ USD

依頼者

出された注文1
裁定取引数0