Работа завершена

Время выполнения 4 дня
Отзыв от заказчика
Good work
Отзыв от исполнителя
Thanks

Техническое задание

#include <Trade/Trade.mqh>
CTrade trade;

input double LotSize = 0.1;
input int FastMA = 10;
input int SlowMA = 20;

int fastHandle, slowHandle;

// Initialize indicators
int OnInit()
{
   fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE);
   slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE);
   return(INIT_SUCCEEDED);
}

void OnTick()
{
   double fastMA[2];
   double slowMA[2];

   CopyBuffer(fastHandle, 0, 0, 2, fastMA);
   CopyBuffer(slowHandle, 0, 0, 2, slowMA);

   // Previous and current values
   double fastPrev = fastMA[1];
   double fastCurr = fastMA[0];
   double slowPrev = slowMA[1];
   double slowCurr = slowMA[0];

   // Check if no open position
   if(PositionSelect(_Symbol) == false)
   {
      // BUY signal
      if(fastPrev < slowPrev && fastCurr > slowCurr)
      {
         trade.Buy(LotSize, _Symbol);
      }

      // SELL signal
      if(fastPrev > slowPrev && fastCurr < slowCurr)
      {
         trade.Sell(LotSize, _Symbol);
      }
   }
}

Откликнулись

1
Разработчик 1
Оценка
(211)
Проекты
284
46%
Арбитраж
27
59% / 37%
Просрочено
36
13%
Работает
2
Разработчик 2
Оценка
(22)
Проекты
21
10%
Арбитраж
4
25% / 75%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(15)
Проекты
19
16%
Арбитраж
5
40% / 40%
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(1)
Проекты
2
0%
Арбитраж
0
Просрочено
1
50%
Работает
5
Разработчик 5
Оценка
(19)
Проекты
24
8%
Арбитраж
9
33% / 33%
Просрочено
1
4%
Загружен
6
Разработчик 6
Оценка
(6)
Проекты
5
0%
Арбитраж
4
25% / 75%
Просрочено
2
40%
Свободен
7
Разработчик 7
Оценка
(382)
Проекты
493
23%
Арбитраж
59
56% / 25%
Просрочено
57
12%
Загружен
8
Разработчик 8
Оценка
(25)
Проекты
34
26%
Арбитраж
4
50% / 25%
Просрочено
4
12%
Свободен
9
Разработчик 9
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
10
Разработчик 10
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
11
Разработчик 11
Оценка
(1)
Проекты
1
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(73)
Проекты
257
53%
Арбитраж
16
50% / 38%
Просрочено
83
32%
Свободен
13
Разработчик 13
Оценка
(10)
Проекты
19
42%
Арбитраж
7
0% / 57%
Просрочено
3
16%
Работает
14
Разработчик 14
Оценка
(28)
Проекты
39
23%
Арбитраж
14
0% / 93%
Просрочено
4
10%
Свободен
15
Разработчик 15
Оценка
(50)
Проекты
64
20%
Арбитраж
11
27% / 55%
Просрочено
5
8%
Свободен
16
Разработчик 16
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
17
Разработчик 17
Оценка
(2)
Проекты
2
100%
Арбитраж
0
Просрочено
0
Работает
18
Разработчик 18
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
19
Разработчик 19
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
20
Разработчик 20
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
Похожие заказы
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit

Информация о проекте

Бюджет
30+ USD
Сроки выполнения
до 365 дн.