Ea converter

Specification

//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
  {
   // Initialization logic
   Print("Trading bot initialized.");
   return(INIT_SUCCEEDED);
  }

//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
   // Cleanup code
   Print("Bot deinitialized.");
  }

//+------------------------------------------------------------------+
//| Expert tick function (main trading logic) |
//+------------------------------------------------------------------+
void OnTick()
  {
   // Basic Order Book Analysis (mockup example)
   double bidPrice = MarketInfo(Symbol(), MODE_BID);
   double askPrice = MarketInfo(Symbol(), MODE_ASK);
   double spread = askPrice - bidPrice;
   
   // Define trading conditions based on spread (market-making)
   if(spread < 0.001) // Example condition
     {
      // Place a buy order if spread is small
      double lotSize = 0.1;
      double slippage = 3;
      double stopLoss = bidPrice - 50 * Point;
      double takeProfit = bidPrice + 50 * Point;
      
      int ticket = OrderSend(Symbol(), OP_BUY, lotSize, askPrice, slippage, stopLoss, takeProfit, "Buy Order", 0, 0, Blue);
      if(ticket < 0)
        {
         Print("Error opening buy order: ", GetLastError());
        }
     }
   
   // Basic risk management (adjust according to strategy)
   // Example: Close positions after a set condition (for demo)
   if(AccountFreeMarginCheck(Symbol(), OP_BUY, 0.1) < 100)
     {
      // Close any open buy orders if margin is low
      for(int i = OrdersTotal() - 1; i >= 0; i--)
        {
         if(OrderSelect(i, SELECT_BY_POS, MODE_TRADES))
           {
            if(OrderType() == OP_BUY)
              {
               OrderClose(OrderTicket(), OrderLots(), Bid, 3, Red);
              }
           }
        }
     }
  }

Responded

1
Developer 1
Rating
(106)
Projects
173
25%
Arbitration
23
9% / 78%
Overdue
16
9%
Working
2
Developer 2
Rating
(256)
Projects
319
29%
Arbitration
34
26% / 65%
Overdue
10
3%
Free
3
Developer 3
Rating
(5)
Projects
8
13%
Arbitration
3
0% / 33%
Overdue
2
25%
Free
Published: 1 code
4
Developer 4
Rating
(31)
Projects
35
46%
Arbitration
0
Overdue
0
Free
Published: 3 codes
5
Developer 5
Rating
(163)
Projects
258
61%
Arbitration
4
50% / 25%
Overdue
10
4%
Free
6
Developer 6
Rating
(171)
Projects
195
42%
Arbitration
13
8% / 54%
Overdue
9
5%
Free
Published: 3 codes
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(24)
Projects
31
19%
Arbitration
4
50% / 25%
Overdue
4
13%
Free
10
Developer 10
Rating
(16)
Projects
20
10%
Arbitration
8
38% / 38%
Overdue
3
15%
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(258)
Projects
264
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
15
Developer 15
Rating
(569)
Projects
660
32%
Arbitration
43
44% / 44%
Overdue
11
2%
Loaded
16
Developer 16
Rating
(174)
Projects
232
61%
Arbitration
3
33% / 33%
Overdue
6
3%
Free
Published: 1 code
17
Developer 17
Rating
(8)
Projects
9
56%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(75)
Projects
80
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
BSS Trading Robot 30 - 200 USD
*Subject: EA Requirements for Prop Firm Trading - Live MT5 + Investor Access Required* To apply, you must already have the EA running live on an MT5 account connected to the market. You will need to provide the investor password and login for me to trace and monitor the account. *EA Requirements:* 1. *One trade at a time only* - EA must not open a new position if one is already running. Use `OrdersTotal() == 0` check
SMC DEVIL EYE 1500+ USD
DEVIL EYE SMC – Gold Trading Expert Advisor DEVIL EYE SMC is a precision-based Smart Money Concepts trading robot designed specifically for XAUUSD (Gold), built around institutional market structure and liquidity principles. This EA analyzes price action using advanced SMC logic including: • Break of Structure (BOS) • Liquidity Sweeps • Fair Value Gaps (FVG) • Supply / Demand Zones • Order Blocks Confirmation •
This robot is going to help me to assist my parents about their needs, it also going help me build a house and purchase my own car. Additionally, it is going to play an essential role upon my life as I will not struggle with the foods and transport for taking the trips
I am looking for a serious marketer with experience in promoting trading tools or Expert Advisors for MetaTrader 5. The product is an automated MT5 trading EA focused on Gold trading, with risk-management tools and trading filters designed to improve trade quality. For credibility, I will provide: An Investor Account for a live/demo account where the EA has been running for a while Backtest reports for the EA Clear
i want to study how to trading i want to be a rich man in the world i want to help people in my town i want to give some money for the charity
Gold Precision Pro 30 - 100 USD
I want the indicator to be built professionally and carefully because the strategy is strong, but it requires advanced and clean programming. The indicator should work mainly on XAUUSD M15 and should generate more than 2 high-quality signals per day, ideally around 2 to 4 signals maximum, without flooding the chart. The logic must not be random. Each signal must be based on: HTF Bias from H1/H4, Liquidity Sweep
Darwish 30 - 100 USD
Hey, I want you to build an AI bot for buying and selling. I really like the structure and design of the information I sent you, so please use that as the base. I need the same logic and flow, but make sure it’s unique to me. The bot should handle buying and selling, and I want to control access most users get limited access, like one day, but I need a way to grant full, unlimited access if I choose. Don’t worry just
Super scalper 30 - 200 USD
Articles 1 How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 289 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
Articles 1 How to create Requirements Specification for ordering a trading robot 28 MetaQuotes 225 289 Table of Contents Prerequisites for ordering a trading robot Why is it important to have a well-prepared Requirements Specification? Requirements Specification examples What is contained in the Requirements Specification? Where do I get Requirements Specification if I can't create it? Terms to use How to write an
Situation: Please contact me privately so I can provide the source code for review. Thank you. Project Overview: I have developed a high-frequency trading (HFT) EA that performs consistently in demo environments and passes most prop-firm requirements. While short live phases showed profitability, the results were not reproducible over time. My primary goal is stable live performance on retail accounts , not just

Project information

Budget
30 - 200 USD
Deadline
from 1 to 50 day(s)