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
等级
(75)
项目
110
51%
仲裁
25
28% / 52%
逾期
9
8%
工作中
2
开发者 2
等级
(13)
项目
18
11%
仲裁
5
40% / 60%
逾期
1
6%
空闲
发布者: 1 代码
3
开发者 3
等级
(153)
项目
236
33%
仲裁
20
45% / 30%
逾期
1
0%
空闲
4
开发者 4
等级
(72)
项目
80
10%
仲裁
38
8% / 58%
逾期
6
8%
空闲
5
开发者 5
等级
(429)
项目
628
54%
仲裁
31
52% / 23%
逾期
6
1%
已载入
6
开发者 6
等级
(45)
项目
91
13%
仲裁
34
26% / 59%
逾期
37
41%
空闲
相似订单
I am seeking an experienced MQL5 developer to build a high-precision Gold (XAUUSD) scalping Expert Advisor. The objective is to achieve a Profit Factor (PF) of 2.0 or higher with a focus on institutional logic rather than retail lagging indicators.The EA must be designed to pass a "100% Real Ticks" backtest (Exness/Dukascopy data) over a 30-day period with a $500 initial deposit.Core Requirements & Strategy
Title: Design and Development of an Automated Forex Trading Robot Using MQL5 and Machine Learning Techniques Abstract: This project focuses on the design and development of an automated Forex trading robot that integrates MQL5 programming and machine learning techniques. The system aims to predict market movements and execute trades automatically, minimizing human error and emotional trading. By leveraging historical
Chin 30 - 300 USD
i want to add the 30m time frame in the ema section high ema is 1h low ema is 5m i want u to add a mid ema so i can use 3 time frames
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. ​The core logic is based on institutional Order Flow convergence: ​Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. ​Delta/Price Divergence: Filtering for market exhaustion (New Highs
Hello, Please read the full specification before applying. This project is NOT about building an EA from scratch. I already have a fully working MT5 Expert Advisor. The EA already includes a dashboard, risk management, and some protection systems, but it needs a few more features . So I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy
Copying third party from telegram. I have quite a number of them There is many different of them, I will consolidate all of them and send you Usually is a price range, so when hit the range will trigger Option for both fix or scale with equity I would like to have both, option to choose to follow the SL/TP signal provided or not This copier will trigger my DCA bot function. So don’t need set max position limit and
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
TORUNZ 😎 30+ USD
The robot should use different indicators for a example smart money indicator and market structure structure and break indicators in order for it to enter the market, it should also be able to tell false breakouts is the Bollinger indicator, and if the market is confirmed to be profitable,the robot should rebuy or resell the market according to the predictions made, it should execute the trades if the market reverses
I need an advisor created that opens a position with 0.10 lot size when a bull cross arrow appears on the m5 time frame and closes the trade after exactly one candle stick, the ea does the same thing over and over, a bull cross appear on m5 timeframe, and it opens 1 position with 0.10 lot size, and closes it after one candlestick on m5... If possible, provide a demo version
Description I am looking for an experienced MQL5 developer to investigate and fix a suspected memory or resource usage issue in my MT5 Expert Advisor. The EA itself works correctly from a strategy and trading logic perspective . The trading model must remain exactly as it currently operates. I am not looking for any changes or optimisation to the strategy . The goal of this job is purely to identify and fix a

项目信息

预算
30 - 50 USD
截止日期
 1  5 天