I Need This Killer Strategy To Be Turned Into An EA

Spezifikation

//+------------------------------------------------------------------+
//| Moving Average Crossover EA for MT5 |
//+------------------------------------------------------------------+
#include <Trade\Trade.mqh>
CTrade trade;

input int FastMAPeriod = 50;
input int SlowMAPeriod = 200;
input int StopLossPips = 50;
input int TakeProfitPips = 100;
input double RiskPercent = 2.0;

double lotSize;

//+------------------------------------------------------------------+
//| Calculate lot size based on 2% risk |
//+------------------------------------------------------------------+
double CalculateLotSize(double stopLossPoints)
{
   double riskAmount = AccountBalance() * RiskPercent / 100.0;
   double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE);
   double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE);
   double point = SymbolInfoDouble(_Symbol, SYMBOL_POINT);
   double contractSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_CONTRACT_SIZE);

   double lossPerLot = stopLossPoints * point * contractSize / tickSize * tickValue;
   return NormalizeDouble(riskAmount / lossPerLot, 2);
}

//+------------------------------------------------------------------+
//| Expert Tick Function |
//+------------------------------------------------------------------+
void OnTick()
{
   // Get the current and previous MAs
   double maFastCurrent = iMA(_Symbol, _Period, FastMAPeriod, 0, MODE_EMA, PRICE_CLOSE, 0);
   double maFastPrevious = iMA(_Symbol, _Period, FastMAPeriod, 0, MODE_EMA, PRICE_CLOSE, 1);

   double maSlowCurrent = iMA(_Symbol, _Period, SlowMAPeriod, 0, MODE_EMA, PRICE_CLOSE, 0);
   double maSlowPrevious = iMA(_Symbol, _Period, SlowMAPeriod, 0, MODE_EMA, PRICE_CLOSE, 1);

   // Check for crossover
   if (maFastPrevious < maSlowPrevious && maFastCurrent > maSlowCurrent) // BUY Signal
   {
      if (PositionSelect(_Symbol) && PositionGetInteger(POSITION_TYPE) == POSITION_TYPE_SELL)
         trade.Close(_Symbol); // Close opposite position

      if (!PositionSelect(_Symbol)) // Only if no open position
      {
         double stopLoss = StopLossPips * _Point;
         double takeProfit = TakeProfitPips * _Point;
         lotSize = CalculateLotSize(StopLossPips * 10); // pip to point conversion

         trade.Buy(lotSize, _Symbol, SymbolInfoDouble(_Symbol, SYMBOL_ASK), stopLoss, takeProfit, "Buy on crossover");
      }
   }
   else if (maFastPrevious > maSlowPrevious && maFastCurrent < maSlowCurrent) // SELL Signal
   {
      if (PositionSelect(_Symbol) && PositionGetInteger(POSITION_TYPE) == POSITION_TYPE_BUY)
         trade.Close(_Symbol); // Close opposite position

      if (!PositionSelect(_Symbol)) // Only if no open position
      {
         double stopLoss = StopLossPips * _Point;
         double takeProfit = TakeProfitPips * _Point;
         lotSize = CalculateLotSize(StopLossPips * 10); // pip to point conversion

         trade.Sell(lotSize, _Symbol, SymbolInfoDouble(_Symbol, SYMBOL_BID), stopLoss, takeProfit, "Sell on crossover");
      }
   }
}

Bewerbungen

1
Entwickler 1
Bewertung
(144)
Projekte
186
41%
Schlichtung
24
58% / 21%
Frist nicht eingehalten
13
7%
Frei
2
Entwickler 2
Bewertung
(19)
Projekte
23
9%
Schlichtung
6
33% / 50%
Frist nicht eingehalten
1
4%
Beschäftigt
3
Entwickler 3
Bewertung
(379)
Projekte
488
24%
Schlichtung
59
54% / 25%
Frist nicht eingehalten
55
11%
Beschäftigt
4
Entwickler 4
Bewertung
(31)
Projekte
35
46%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Veröffentlicht: 3 Beispiele
5
Entwickler 5
Bewertung
(4)
Projekte
3
33%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
(273)
Projekte
401
27%
Schlichtung
40
40% / 50%
Frist nicht eingehalten
1
0%
Arbeitet
7
Entwickler 7
Bewertung
(296)
Projekte
475
40%
Schlichtung
105
40% / 24%
Frist nicht eingehalten
80
17%
Überlastet
Veröffentlicht: 2 Beispiele
8
Entwickler 8
Bewertung
(206)
Projekte
333
35%
Schlichtung
66
12% / 58%
Frist nicht eingehalten
87
26%
Frei
9
Entwickler 9
Bewertung
(7)
Projekte
8
13%
Schlichtung
6
33% / 33%
Frist nicht eingehalten
0
Frei
10
Entwickler 10
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
11
Entwickler 11
Bewertung
(10)
Projekte
19
42%
Schlichtung
7
0% / 57%
Frist nicht eingehalten
3
16%
Arbeitet
12
Entwickler 12
Bewertung
(7)
Projekte
11
0%
Schlichtung
4
0% / 100%
Frist nicht eingehalten
2
18%
Arbeitet
13
Entwickler 13
Bewertung
(1)
Projekte
0
0%
Schlichtung
4
0% / 75%
Frist nicht eingehalten
0
Frei
14
Entwickler 14
Bewertung
(16)
Projekte
35
23%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
15
Entwickler 15
Bewertung
(4)
Projekte
3
0%
Schlichtung
3
33% / 67%
Frist nicht eingehalten
1
33%
Frei
16
Entwickler 16
Bewertung
(47)
Projekte
67
37%
Schlichtung
5
40% / 40%
Frist nicht eingehalten
1
1%
Frei
17
Entwickler 17
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
18
Entwickler 18
Bewertung
(6)
Projekte
5
0%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
2
40%
Arbeitet
19
Entwickler 19
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
Ähnliche Aufträge
i need a developer who can link my EA to AI and in the same time i want to make a crm and a bot for onboarding clients automatically to the telegram channel
I am looking for an experienced MQL5 developer to complete the optimization and structural refinement of an existing MT5 Expert Advisor (source code ~2.5MB). Phase 1 (audit and baseline testing) has already been completed. The remaining work focuses on correcting core system behavior without changing the strategy. Key issues identified: • Scenario gate logic is not correctly structured at the entry decision level •
IF ANYONE IS INTERESTED IN GETTING ANY KIND OF CUSTOM BOT FOR TRADING I WILL ADD THE STRATEGIES ACCORDING TO YOUR CHOICE MINE BEST BOT IS SCALPING AND HEDGING BOT YOU CAN CONTACT ME FOR SERVICES
I trade ES futures on the Ninja trader platform. I recently came across an indicator and wanted to check with you if you can build a similar indicator that works on Orenko or Ninja renko charts, and also combines support and resistance untouched. Below is the indicator, which will tell you market chop and to avoid. I want to include a support and resistance bar on the chart when there is no chop please let me know
Project Description: I have a fully working Pine Script for TradingView called MFHA 3-Step Market Structure Strategy V2 . I need it converted into MT5 , with the logic kept as close to the Pine version as possible. What I need: MT5 Indicator Exact oscillator logic Multi-timeframe logic using 4H, 15M, and 1M EMA filter MTF EMA dashboard RSI display Buy and sell visual signals Background state/flash behavior where
I am looking for an experienced MQL5 developer to continue optimization work on an existing Expert Advisor (MQ5 source file available, 2.5MB). Important: This is NOT a project to build a new EA. The task is strictly to refine and improve the current system while keeping the core strategy intact. The EA is already functional and stable. A full code audit and baseline backtesting have already been done, and key
Hello, and please read everything !!! I am looking for a developer who can recreate a strategy similar to an EA I already have. The EA works well on demo, especially during specific volatility windows (for example DE40 between 09:00 and 10:00 Frankfurt time), but on real accounts it produces constant losses even with IC Markets Raw and VPS close to the broker. 🎯 Objective The goal is to recreate and adapt this
Darwish 50 - 100 USD
I want a bot that runs on any timeframe, but for now, I’ll set it on 1 minute. It should watch for buy and sell signals. Each time it opens a trade, as soon as it makes a small profit like 1, 2, or 3 dollars it closes, then checks for the next signal. If it sees a buy, it buys; if it sees a sell, it sells—just repeating the cycle, over and over, until I stop it
📢 Project Title:MT5 Expert Advisor (EA) – Advanced Renko Strategy (Full Automation) 📄 Project Description:I want to develop a fully automated MT5 Expert Advisor (EA) based on my existing TradingView Renko strategy.I already have a working Pine Script that generates Buy/Sell alerts with ATR and other logic. Now I need the same strategy to be fully converted into MT5 EA with built-in Renko logic (no external
Need trading robot 30 - 100 USD
I need a trading robot specifically for gold (XAUUSD) that follows a high-probability scalping and intraday strategy based on 15-minute candle confirmations. The bot should identify key support and resistance zones, detect breakouts, fake breakouts, and pullbacks before entering trades. It must include entry conditions based on candle patterns such as engulfing and rejection wicks, and optionally fair value gaps

Projektdetails

Budget
30+ USD