Spezifikation

//+------------------------------------------------------------------+
//| Simple Moving Average Crossover EA |
//+------------------------------------------------------------------+
#property strict

input int ShortMA = 10;
input int LongMA = 50;
input double LotSize = 0.01;

int shortMAHandle;
int longMAHandle;

//+------------------------------------------------------------------+
int OnInit()
{
   shortMAHandle = iMA(_Symbol, _Period, ShortMA, 0, MODE_SMA, PRICE_CLOSE);
   longMAHandle = iMA(_Symbol, _Period, LongMA, 0, MODE_SMA, PRICE_CLOSE);

   if(shortMAHandle == INVALID_HANDLE || longMAHandle == INVALID_HANDLE)
   {
      Print("Error creating MA indicators");
      return(INIT_FAILED);
   }

   return(INIT_SUCCEEDED);
}

//+------------------------------------------------------------------+
void OnTick()
{
   double shortMA[], longMA[];

   CopyBuffer(shortMAHandle, 0, 0, 3, shortMA);
   CopyBuffer(longMAHandle, 0, 0, 3, longMA);

   double prevShort = shortMA[1];
   double prevLong = longMA[1];
   double currShort = shortMA[0];
   double currLong = longMA[0];

   // Check if there are open positions
   bool hasPosition = PositionSelect(_Symbol);

   // BUY condition
   if(prevShort < prevLong && currShort > currLong)
   {
      if(!hasPosition)
      {
         OpenBuy();
      }
   }

   // SELL condition
   if(prevShort > prevLong && currShort < currLong)
   {
      if(hasPosition)
      {
         ClosePosition();
      }
   }
}

//+------------------------------------------------------------------+
void OpenBuy()
{
   MqlTradeRequest request;
   MqlTradeResult result;

   ZeroMemory(request);
   ZeroMemory(result);

   request.action = TRADE_ACTION_DEAL;
   request.symbol = _Symbol;
   request.volume = LotSize;
   request.type = ORDER_TYPE_BUY;
   request.price = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
   request.deviation = 10;
   request.magic = 123456;

   OrderSend(request, result);

   Print("BUY order sent");
}

//+------------------------------------------------------------------+
void ClosePosition()
{
   if(!PositionSelect(_Symbol)) return;

   ulong ticket = PositionGetInteger(POSITION_TICKET);

   MqlTradeRequest request;
   MqlTradeResult result;

   ZeroMemory(request);
   ZeroMemory(result);

   request.action = TRADE_ACTION_DEAL;
   request.symbol = _Symbol;
   request.volume = PositionGetDouble(POSITION_VOLUME);
   request.type = ORDER_TYPE_SELL;
   request.position = ticket;
   request.price = SymbolInfoDouble(_Symbol, SYMBOL_BID);
   request.deviation = 10;
   request.magic = 123456;

   OrderSend(request, result);

   Print("Position closed");
}

Bewerbungen

1
Entwickler 1
Bewertung
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
1
100%
Arbeitet
2
Entwickler 2
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(382)
Projekte
491
23%
Schlichtung
59
54% / 25%
Frist nicht eingehalten
56
11%
Beschäftigt
4
Entwickler 4
Bewertung
(104)
Projekte
125
24%
Schlichtung
23
26% / 52%
Frist nicht eingehalten
8
6%
Arbeitet
5
Entwickler 5
Bewertung
(4)
Projekte
9
56%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
1
11%
Arbeitet
6
Entwickler 6
Bewertung
(7)
Projekte
7
0%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
1
14%
Arbeitet
7
Entwickler 7
Bewertung
(43)
Projekte
74
50%
Schlichtung
5
0% / 60%
Frist nicht eingehalten
19
26%
Frei
8
Entwickler 8
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
9
Entwickler 9
Bewertung
(4)
Projekte
4
100%
Schlichtung
0
Frist nicht eingehalten
0
Frei
10
Entwickler 10
Bewertung
(1)
Projekte
0
0%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
0
Frei
11
Entwickler 11
Bewertung
(21)
Projekte
26
27%
Schlichtung
0
Frist nicht eingehalten
2
8%
Arbeitet
12
Entwickler 12
Bewertung
(258)
Projekte
264
30%
Schlichtung
0
Frist nicht eingehalten
3
1%
Frei
Veröffentlicht: 2 Beispiele
13
Entwickler 13
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
14
Entwickler 14
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
15
Entwickler 15
Bewertung
(362)
Projekte
435
54%
Schlichtung
20
55% / 15%
Frist nicht eingehalten
30
7%
Arbeitet
16
Entwickler 16
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
17
Entwickler 17
Bewertung
(49)
Projekte
50
8%
Schlichtung
0
Frist nicht eingehalten
0
Frei
18
Entwickler 18
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
19
Entwickler 19
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
20
Entwickler 20
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
21
Entwickler 21
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
Hello, i would like to have a ninjatrader indicator. I wanna to have a footprint indicator with delta, imbalances and big trades identifiable. Also I wanna sell it on whop. And it should be fully customisable in NT8
Intraday Trade Ninja EA Indicators used: Price Border(TMA) MA-X Arrows xSuperTrend Candles EMA 49 & 89- Per Candle Color Switching Lemansignal 200 SMA Major Criteria to consider before a trade setup or condition is taken · The price must have touched/tested the upper or
Job Description I'm seeking an expert Python developer to build a fully automated, institution‑grade options trading bot for my Charles Schwab brokerage account. The core strategy is a Monday‑morning 5‑DTE Iron Condor on SPX weekly options with ultra‑narrow 1‑point wings, a fixed 17‑strike OTM entry, and a layered defense system that actively re‑centers the position when the market moves—then escalates to hard stops
Description: I am looking for an experienced MT4/MT5 (MQL4/MQL5) developer for consultation and possible future development of an advanced Expert Advisor architecture. This is NOT a simple RSI, MACD, martingale, or indicator-only EA project. I already have an existing EA framework using: RSI timing logic EMA direction filters trend and volatility filters DCA / basket management protection and recovery logic Now I
I need an experienced MQL5 developer to build a custom MT5 Expert Advisor for XAUUSD. Strategy Overview: Trend-following using EMA 50/200 on H4 and H1 Pullback entries on M5 using RSI + candle confirmation No martingale, no averaging down Controlled scaling only when trades are already in profit Maximum 2–3 positions per direction Risk Management: Daily loss limit (%) Equity hard stop (%) Consecutive loss pause
I am looking for an experienced MT4 developer or strategy tester to run a comprehensive optimization of my existing Expert Advisor (EA). The EA is already developed and working as intended — your task will be to configure and execute the optimization process using the "Every tick based on real ticks" model. Scope of Work: Run EA optimization in MT4 Strategy Tester. Use "Every tick based on real ticks" as the
Gold Edge Pro 30 - 150 USD
Create a fully working Expert Advisor (EA) for MetaTrader 5, designed exclusively for GOLD (XAUUSD only). This is a high‑probability trend‑following breakout strategy built specifically for passing 2‑step prop firm challenges — it delivers a ~60–65% win rate, uses a strict 1:3 risk/reward ratio, and is optimised to pass both phases in roughly 1–2 weeks total. --- ⚙️ USER INPUTS — FULLY FLEXIBLE RISK --- All main
This EA is for trading XAUUSD. There are 2 trade logics. One based on trend reversal (with 5 trade opening conditions). The second is based on trend continuation (with 1-2 conditions)
I want the bot to be fully automated trading key levels of (support and resistance ) from the higher-timeframe with atleast a 70% win rate. Experienced developer with atleast 3-4 years THANK YOU
Patricia Ukawilu 6:43 PM I need help creating an EA to optimize my trade. I already have a preliminary pine script which I will want optimized and create an EA from it to optimize my trade on MT4. I also subscribed to a signal app. I’m looking to automate the execution of the signal from the app so as not to miss out on good trades

Projektdetails

Budget
500+ USD
Ausführungsfristen
von 1 bis 7 Tag(e)

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0