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
👋 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
I am looking for high accuracy mt4 indicators (non repainting) or high profit bots. Do you have any such products? I am not looking to have anything built for me. I am only interested in products already built that have excellent track record (with proof)
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
Média móvel M édia móvel sugeridas 8 21 50 e 200 quero que qualquer média móvel que eu possa adicionar tenha essa função As médias apareça em uma só tela como exemplo igual o tradingview as médias sejam todas em uma tela e que apareça de qual tempo gráfico é Linhas mais finas em tempos gráficos menores e linhas mais grossas em tempos maiores Quando tocados em qualquer média móvel o px diminui, de 2px para 1 px e
Hello developers, no negotian please this is the fucken last badget for this EA I need to code EA which can sell and buy within my help(semi-auto) and by gathering data from an indicator. I have the indicator needed for the strategy. It is very semple job. Here is the rules : 1 - I can set which direction for the ea to work buy or sell . 2- the ea collect the

项目信息

预算
30 - 50 USD
开发人员
27 - 45 USD
截止日期
 1  5 天