Техническое задание
//+------------------------------------------------------------------+
//| 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");
}
Откликнулись
1
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
1
100%
Работает
2
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
3
Оценка
Проекты
491
23%
Арбитраж
59
54%
/
25%
Просрочено
56
11%
Загружен
4
Оценка
Проекты
125
24%
Арбитраж
23
26%
/
52%
Просрочено
8
6%
Работает
5
Оценка
Проекты
9
56%
Арбитраж
1
0%
/
100%
Просрочено
1
11%
Работает
6
Оценка
Проекты
7
0%
Арбитраж
2
50%
/
0%
Просрочено
1
14%
Работает
7
Оценка
Проекты
74
50%
Арбитраж
5
0%
/
60%
Просрочено
19
26%
Свободен
8
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
9
Оценка
Проекты
4
100%
Арбитраж
0
Просрочено
0
Свободен
10
Оценка
Проекты
0
0%
Арбитраж
2
0%
/
100%
Просрочено
0
Свободен
11
Оценка
Проекты
26
27%
Арбитраж
0
Просрочено
2
8%
Работает
12
Оценка
Проекты
264
30%
Арбитраж
0
Просрочено
3
1%
Свободен
Опубликовал: 2 примера
13
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Работает
14
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
15
Оценка
Проекты
435
54%
Арбитраж
20
55%
/
15%
Просрочено
30
7%
Работает
16
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
17
Оценка
Проекты
50
8%
Арбитраж
0
Просрочено
0
Свободен
18
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
19
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Работает
Похожие заказы
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
Panda402
30 - 100000 USD
The file must be fast to move with the market. It must be transparent it must move accordingly with the market and increase the money and also with less risk
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 developer in MQL5 to build a fully AI and automated trading bot (Expert Advisor) for MetaTrader 5. The EA will trade XAUUSD only and will be based purely on price action and Smart Money Concepts (SMC), specifically focusing on liquidity sweeps, market structure shifts (MSS/CHoCH), and wick rejection entries at key points of interest (POIs). The system must follow a strict rule: no
I need an MT5 Expert Advisor for US100 and XAUUSD. The EA must use risk management and must not use martingale or grid. Main requirements: Platform: MetaTrader 5 / MQL5 Symbols: US100 and XAUUSD Timeframes: M15 and M30, with higher timeframe trend filter Trend filter: EMA 50 and EMA 200 Momentum filter: RSI 14 Stop loss: ATR-based or recent swing high/low Take profit: minimum 1.5R risk/reward Risk per trade
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
FINAL EA STRATEGY DOCUMENT (Chandelier Exit + EMA Breakout System) ------------------------------------ CORE INDICATOR - Chandelier Exit (MAIN LOGIC) - ATR Period: Editable (Default 22) - ATR Multiplier: Editable (Default 3) IMPORTANT: - ATR must NOT be shown as a separate indicator - ATR must be used ONLY internally inside Chandelier Exit - All SL & trailing must strictly follow Chandelier Exit line
Advanced Hedge + Grid + Scalping system
300 - 500 USD
🚀 ADAPTIVE GRID HEDGE EA (FULL VERSION) 🧠 📌 GENERAL CONCEPT This Expert Advisor (EA) uses a strategy combining: Grid trading (order grid) Hedge (protection with opposite positions) Lot scaling (progressive) Loss compensation with profits Continuous operation (non-stop) Focus on: Small recurring profits High trade volume (rebate/IB) The system does not depend on direction, but rather on market oscillation . Main
Custom MT5 EA - Perpetual NDA Required
1000 - 2000 USD
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this
Информация о проекте
Бюджет
500+ USD
Сроки выполнения
от 1 до 7 дн.
Заказчик
Размещено заказов2
Количество арбитражей0