Two currency pair scalping

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

Время выполнения 4 часа
Отзыв от заказчика
Good support and job delivery as I expected thanks

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

I want an EA Expert advisor that place trade at the same time for two pair of currency The EA place trade automatically when is loaded on the chart, The user should be able to choose which currency pair to trade the two pair The EA should have a option to sellect slipage between the two pair The EA should have take profit based on diffrence of winning and loosing trade pair if the difference between both trade is positive in certain percentage this should be the user to define take profit is execute The EA should open second trade if the difference between the two pair in percentage is negative and this should be the user to define The EA should trade in anytime frame user define The EA should start trade from 0:00 AM to 23:00 PM Monday to Friday The EA should have options to close all the order manually

The EA should have option to select how many trade should be open 

The EA should have option to select the buy for one currency and sell for other currency

Below is an example of the EA


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

//|                                                     TwoPairEA.mq4|

//|                        Copyright 2024, Your Company              |

//|                                       https://www.yourcompany.com|

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

#property strict


input string FirstCurrencyPair = "EURUSD";

input string SecondCurrencyPair = "GBPUSD";

input double Slippage = 3.0;

input double TakeProfitPercentage = 0.5; // Percentage difference for take profit

input double NegativeDifferencePercentage = -0.5; // Percentage difference for opening second trade

input int TradingTimeStart = 0; // Trading start time (in hours)

input int TradingTimeEnd = 23; // Trading end time (in hours)

input ENUM_TIMEFRAMES TimeFrame = PERIOD_H1; // Timeframe for trading


bool IsTradeAllowed() {

    // Check if current time is within trading hours

    datetime now = TimeCurrent();

    int dayOfWeek = TimeDayOfWeek(now);

    int hourOfDay = TimeHour(now);

    

    if (dayOfWeek >= 1 && dayOfWeek <= 5) { // Monday to Friday

        if (hourOfDay >= TradingTimeStart && hourOfDay <= TradingTimeEnd) {

            return true;

        }

    }

    return false;

}


double GetPrice(string symbol) {

    return SymbolInfoDouble(symbol, SYMBOL_BID);

}


double CalculatePercentageDifference(double value1, double value2) {

    return ((value1 - value2) / value2) * 100.0;

}


void OnTick() {

    if (!IsTradeAllowed()) {

        return;

    }

    

    double firstPairPrice = GetPrice(FirstCurrencyPair);

    double secondPairPrice = GetPrice(SecondCurrencyPair);

    

    double percentageDifference = CalculatePercentageDifference(firstPairPrice, secondPairPrice);

    

    if (percentageDifference >= TakeProfitPercentage) {

        // Place take profit order

        // Implement your take profit logic here

    } else if (percentageDifference <= NegativeDifferencePercentage) {

        // Place second trade

        // Implement logic to open second trade here

    }

}


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


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

1
Разработчик 1
Оценка
(62)
Проекты
88
51%
Арбитраж
9
33% / 33%
Просрочено
8
9%
Работает
2
Разработчик 2
Оценка
(11)
Проекты
13
0%
Арбитраж
1
0% / 100%
Просрочено
1
8%
Загружен
3
Разработчик 3
Оценка
(108)
Проекты
168
33%
Арбитраж
12
25% / 33%
Просрочено
0
Работает
4
Разработчик 4
Оценка
(71)
Проекты
80
10%
Арбитраж
36
8% / 53%
Просрочено
6
8%
Работает
5
Разработчик 5
Оценка
(349)
Проекты
473
51%
Арбитраж
24
46% / 25%
Просрочено
5
1%
Работает
6
Разработчик 6
Оценка
(42)
Проекты
88
14%
Арбитраж
30
30% / 57%
Просрочено
36
41%
Работает
Похожие заказы
our exciting software developer isnt responding to the bugs he made in the mt5 ea now we need somebody for the long run that can fix the bugs and also add additional fuction in the future feel free to contact me
Hello, same as title. I do not care about the drawdown I just need a trading strategy that can do 100% return per month return, simple as that. It would be nice if it can be automated into a bot/EA. Most important is the return of at least 100% per month!!! The strategy you provide need to be tested and work fine and have been doing well in the live market by you or someone for a long time. To be clear again - I need
I basically have an EA that is with me and i have been using for the past seven months and have been giving me lot of profits, but recently the market condition changed and now the EA kept loosing to the extent of my account been at the brink of blowing. so now what i want to do is revesrse engineering to get the strategy in order to be able to create a new one
I have an indicator which is based on the main chart candlesticks.... The EA must follow the color of candlesticks for buy or sell even take profit. Open a buy if the color of candlestick is Aqua and open a sell if the color of the candlesticks is red
👋 Hey, I'm looking for someone who can consult for our company. Can you please answer the questions below. - How would you structure a leveraged crypto derivative product, considering leverage ratios, margin requirements, and funding rate calculations, while managing associated risks and ensuring profitability? and which tools are needed in your opinion
Converting MT4 indicator to work as an MT5 indicator. I need you to translate the MQL4 to MQL5. I want to use this indicator in the Metatrading 5 platform on all currencies futures and indices. I need the work done in the next 5days
Good day, I hope this message finds you well. I would like to request the development of an Expert Advisor (EA) for MetaTrader, based on two specific indicators: the Trend Path indicator and the Diamond Reversal indicator. Below are the details for the EA's logic and trade execution criteria: Sell Trade Criteria: Indicators and Signals: Trend Path Indicator : Shows a red trend. Diamond Reversal Indicator : Provides a
Hello great developer Attached is the code I would like to have converted from pine script to mt4. It's a simple indicator. i will be looking for great developer that will bid for this project peace be unto you thanks
Looking for an mql5 EA developer to build a custom EA for MT5 based on several simple variables. It will be initially used on 5m EUR/USD, but needs to work with any currency/commodity/stock/crypto. Custom risk management will also need to be built into the EA. Exact variables will be discussed in detail once a developer is selected, but a basic overview of the EA variables is below. Positions will be opened based on
Hello, Can you build and help me optimize the following very simple strategy using tradingview: 1.) On QQQ, Wait for market opening range 10 minute bar to close. 2.) Go long beyond the high of 10 min range OR short below on low of 10 min range. (intrabar entry not on close of next bar) 3.) Stop loss is the opposite end of the 10 minute range. All stops and exits are intrabar. Far backtesting can we use 10 minute

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

Бюджет
30 - 50 USD
Исполнителю
27 - 45 USD
Сроки выполнения
от 1 до 5 дн.