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

FUNCTION 1

When I set max open orders to one it won't close the order.

Changed should work as following

When max open order is True and set to one it should still be able to close the open order.

Finish today within next hour


//+------------------------------------------------------------------+

//| Function to count orders                                         |

//+------------------------------------------------------------------+

void Count()

{

    int Bop = 0;

    int Sop = 0;

    for (int cnt = OrdersTotal() - 1; cnt >= 0; cnt--)

    {

        if (OrderSelect(cnt, SELECT_BY_POS) && OrderSymbol() == Symbol() && OrderMagicNumber() == Ii_002AC)

        {

            if (OrderType() == OP_BUY)

                Bop++;

            if (OrderType() == OP_SELL)

                Sop++;

        }

    }

}


input   int    maxtrades         = 8; // Max numbers open until close no new orders


//+------------------------------------------------------------------+

//|                                                                  |

//+------------------------------------------------------------------+

void OnTick()

  {

      if(CountOpenTrades() >= maxtrades)  return;  


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

1
Разработчик 1
Оценка
(263)
Проекты
329
29%
Арбитраж
36
25% / 64%
Просрочено
10
3%
Работает
2
Разработчик 2
Оценка
(16)
Проекты
35
23%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
3
Разработчик 3
Оценка
(102)
Проекты
105
60%
Арбитраж
0
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(2)
Проекты
5
0%
Арбитраж
3
0% / 100%
Просрочено
1
20%
Работает
5
Разработчик 5
Оценка
(274)
Проекты
403
28%
Арбитраж
40
40% / 50%
Просрочено
1
0%
Свободен
Похожие заказы
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
أحتاج إلى مستشار خبير لمنصة MetaTrader 5 (MT5) مصمم كآلة حالة محدودة (FSM). يجب أن ينفذ أوامر السوق فقط بناءً على مستويات أسعار يحددها المستخدم. يجب ألا يستخدم أي مؤشرات أو تحليل فني أو أوامر معلقة أو ذكاء اصطناعي أو قرارات تداول تلقائية. يجب أن ينفذ المستشار الخبير ببساطة تسلسلًا محددًا مسبقًا لمستويات الأسعار كما يحددها المستخدم تمامًا، مع إدارة دقيقة للحالة، ودورة نشطة واحدة في كل مرة، ومعالجة الفجوات السعرية،
Part 1: Project setup Input settings (risk, stop loss, take profit, EMA periods) Indicator initialization Trade management framework Part 2: Trading logic EMA crossover detection Buy/Sell entry rules One-trade-per-symbol check Part 3: Risk management Automatic lot size calculation Stop-loss and take-profit placement Trade execution and error handling Part 4: Final touches On-screen information Optimization
I have an expert advisor's investor login. I want you to study it and make me the exact same EA. There should be absolutely no differences or mistakes. You should have great observation skills for this aswell
I am looking for an experienced MQL5 developer to code a custom Expert Advisor for MetaTrader 5 based on my own private trading strategy.I have all the specific entry rules, exit conditions, and risk management parameters fully prepared. I will share these exact details with the selected developer via direct message once the job is initiated.The final delivery must include the clean, fully commented source code (.mq5
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'

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

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