Marker Zeaper🦾

MQL5 エキスパート

指定

Here is a script for forex trading AI tool requirements 

_MT4 Version_
```
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
int start()
{
   // Define the number of positions
   int numPositions = 50; // adjust this value from 5 to 100

   // Define the symbol and stop levels
   string symbol = _Symbol; // current symbol
   double stopLevel = 0.01; // adjust this value

   // Define bulk operations buttons
   int bulkCloseAll = 0;
   int bulkCloseProfitable = 0;
   int bulkCloseSell = 0;
   int bulkCloseBuy = 0;

   // Define stop loss and take profit buttons
   double stopLoss = 0.0;
   double takeProfit = 0.0;

   // Define adjustable lot size
   double lotSize = 0.1;

   // Loop through each position
   for (int i = 0; i < numPositions; i++)
   {
      // Calculate the stop price for buy and sell
      double buyStopPrice = Ask + (i * stopLevel);
      double sellStopPrice = Bid - (i * stopLevel);

      // Place buy stop order
      int ticket = OrderSend(symbol, OP_BUYSTOP, lotSize, buyStopPrice, 3, stopLoss, takeProfit, "Buy Stop", 0, 0, Green);

      // Place sell stop order
      ticket = OrderSend(symbol, OP_SELLSTOP, lotSize, sellStopPrice, 3, stopLoss, takeProfit, "Sell Stop", 0, 0, Red);
   }

   // Bulk operations buttons
   if (bulkCloseAll == 1) {
      CloseAllOrders();
   }
   if (bulkCloseProfitable == 1) {
      CloseProfitableOrders();
   }
   if (bulkCloseSell == 1) {
      CloseSellOrders();
   }
   if (bulkCloseBuy == 1) {
      CloseBuyOrders();
   }

   return(0);
}

//+------------------------------------------------------------------+
//| Close all orders function                                         |
//+------------------------------------------------------------------+
void CloseAllOrders()
{
   for (int i = 0; i < OrdersTotal(); i++) {
      OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3, Green);
   }
}

//+------------------------------------------------------------------+
//| Close profitable orders function                                  |
//+------------------------------------------------------------------+
void CloseProfitableOrders()
{
   for (int i = 0; i < OrdersTotal(); i++) {
      if (OrderProfit() > 0) {
         OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3, Green);
      }
   }
}

//+------------------------------------------------------------------+
//| Close sell orders function                                        |
//+------------------------------------------------------------------+
void CloseSellOrders()
{
   for (int i = 0; i < OrdersTotal(); i++) {
      if (OrderType() == OP_SELL) {
         OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3, Green);
      }
   }
}

//+------------------------------------------------------------------+
//| Close buy orders function                                         |
//+------------------------------------------------------------------+
void CloseBuyOrders()
{
   for (int i = 0; i < OrdersTotal(); i++) {
      if (OrderType() == OP_BUY) {
         OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3, Green);
      }
   }
}
```

_MT5 Version_
```
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
{
   // Define the number of positions
   int numPositions = 50; // adjust this value from 5 to 100

   // Define the symbol and stop levels
   string symbol = Symbol(); // current symbol
   double stopLevel = 0.01; // adjust this value

   // Define bulk operations buttons
   int bulkCloseAll = 0;
   int bulkCloseProfitable = 0;
   int bulkCloseSell = 0;
   int bulkCloseBuy = 0;

   // Define stop loss and take profit buttons
   double stopLoss = 0.0;
   double takeProfit = 0.0;

   // Define adjustable lot size
   double lotSize = 0.1;

   // Loop through each position
   for (int i = 0; i < numPositions; i++)
   {
      // Calculate the stop price for buy and sell
      double buyStopPrice = SymbolInfoDouble(symbol, SYMBOL_ASK) + (i * stopLevel);
      double sellStopPrice = SymbolInfoDouble(symbol, SYMBOL_BID) - (i * stopLevel);

      // Place buy stop order
      int ticket = OrderSend(symbol, OP_BUYSTOP, lotSize, buyStopPrice,
```

応答済み

1
開発者 1
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
2
開発者 2
評価
(144)
プロジェクト
186
41%
仲裁
24
58% / 21%
期限切れ
13
7%
類似した注文
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
Hi to all, I need a modification of an existing grid EA with the following instructions: Add the following optional external inputs to the attached Expert Advisor: input bool TradeModeAgainstTrend ( TMAT ) = true ; input int CounterTrendLotsToStartTMAT = 0.15 ; input double CoefficientForTrendLots = 0.30 ; input double MaxTrendLot = 0.08 ; input bool OneSideTMATOnly = true ; input double CombinedClosureAmount = 10.0
Simple EA 100+ USD
I need write EA which load csv file which content prices where is expected support/resistance level. When market price overstep price from csv file, EA open trade some pips above/under csv file price. Example: at symbol EURUSD market price overstep 1.16500 where is expected resistance. EA open trade pending order sellstop 1.1647 (3 pips will be external input). Trade will be closed based on smart trailling stoploss
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Hi, GOLD EA is an automated trading robot designed for MetaTrader 5, focused mainly on GOLD/XAUUSD trading. The EA uses a combination of multi-timeframe trend confirmation, EMA pullback logic, ADX strength filtering, support/resistance rejection, momentum breakout, and reversal capture modules to identify potential Buy and Sell opportunities. Strategy and Trading Logic: The EA is designed to detect market direction
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
I am looking for an MQL5 or MQL4 developer to build an Expert Advisor What I need: The Expert Advisor should be able to open up to 10 trades per day (24-hour market) Trades should not open all at once — only based on proper signals/conditions Each trade must include: Stop Loss Take Profit The Expert Advisor must use 1:2 risk to reward The strategy should aim for around 50% win rate (about 5 wins out of 10 trades)
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
I need a ready made profitable system with live account trade or demo that can be back-tested for 2 years with good profits. Pls consider drawdown to be low , source code will be provided at the end. Very important sending 10 days demo before negociation , thank you
Gold robot 3000+ USD

プロジェクト情報

予算
30+ USD