Ea converter

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(104)
Projets
167
25%
Arbitrage
23
9% / 78%
En retard
16
10%
Travail
2
Développeur 2
Évaluation
(250)
Projets
313
28%
Arbitrage
34
26% / 65%
En retard
10
3%
Travail
3
Développeur 3
Évaluation
(5)
Projets
8
13%
Arbitrage
3
0% / 33%
En retard
2
25%
Gratuit
Publié : 1 code
4
Développeur 4
Évaluation
(31)
Projets
35
46%
Arbitrage
0
En retard
0
Gratuit
Publié : 3 codes
5
Développeur 5
Évaluation
(163)
Projets
258
61%
Arbitrage
4
50% / 25%
En retard
10
4%
Gratuit
6
Développeur 6
Évaluation
(171)
Projets
195
42%
Arbitrage
13
8% / 54%
En retard
9
5%
Gratuit
Publié : 3 codes
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(24)
Projets
31
19%
Arbitrage
4
50% / 25%
En retard
4
13%
Gratuit
10
Développeur 10
Évaluation
(16)
Projets
19
11%
Arbitrage
8
38% / 38%
En retard
2
11%
Chargé
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(253)
Projets
259
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
(1929)
Projets
3550
88%
Arbitrage
73
40% / 15%
En retard
268
8%
Gratuit
15
Développeur 15
Évaluation
(549)
Projets
635
33%
Arbitrage
42
38% / 45%
En retard
11
2%
Occupé
16
Développeur 16
Évaluation
(173)
Projets
231
61%
Arbitrage
3
33% / 33%
En retard
6
3%
Gratuit
Publié : 1 code
17
Développeur 17
Évaluation
(8)
Projets
9
56%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
(75)
Projets
80
6%
Arbitrage
46
11% / 54%
En retard
7
9%
Travail
19
Développeur 19
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
20
Développeur 20
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
Commandes similaires
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy
Title: Design and Development of an Automated Forex Trading Robot Using MQL5 and Machine Learning Techniques Abstract: This project focuses on the design and development of an automated Forex trading robot that integrates MQL5 programming and machine learning techniques. The system aims to predict market movements and execute trades automatically, minimizing human error and emotional trading. By leveraging historical
Chin 30 - 300 USD
i want to add the 30m time frame in the ema section high ema is 1h low ema is 5m i want u to add a mid ema so i can use 3 time frames
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. ​The core logic is based on institutional Order Flow convergence: ​Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. ​Delta/Price Divergence: Filtering for market exhaustion (New Highs
Hello, Please read the full specification before applying. This project is NOT about building an EA from scratch. I already have a fully working MT5 Expert Advisor. The EA already includes a dashboard, risk management, and some protection systems, but it needs a few more features . So I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy
Copying third party from telegram. I have quite a number of them There is many different of them, I will consolidate all of them and send you Usually is a price range, so when hit the range will trigger Option for both fix or scale with equity I would like to have both, option to choose to follow the SL/TP signal provided or not This copier will trigger my DCA bot function. So don’t need set max position limit and

Informations sur le projet

Budget
30 - 200 USD
Délais
de 1 à 50 jour(s)