Two currency pair scalping

Tâche terminée

Temps d'exécution 4 heures
Commentaires du client
Good support and job delivery as I expected thanks

Spécifications

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

    }

}


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


Répondu

1
Développeur 1
Évaluation
(63)
Projets
90
52%
Arbitrage
10
40% / 30%
En retard
7
8%
Gratuit
2
Développeur 2
Évaluation
(12)
Projets
14
0%
Arbitrage
1
0% / 100%
En retard
1
7%
Chargé
3
Développeur 3
Évaluation
(110)
Projets
171
33%
Arbitrage
12
25% / 33%
En retard
0
Travail
4
Développeur 4
Évaluation
(72)
Projets
80
10%
Arbitrage
36
8% / 53%
En retard
6
8%
Travail
5
Développeur 5
Évaluation
(356)
Projets
489
52%
Arbitrage
24
54% / 25%
En retard
5
1%
Travail
6
Développeur 6
Évaluation
(42)
Projets
88
14%
Arbitrage
31
29% / 55%
En retard
36
41%
Travail
Commandes similaires
1. Grid Trading. 2 Pending orders. 4. Breakeven. 4. pending order Trailing. 5. Stop loss trailing. EA has 4 sections. Section 1: Basic Settings and Grid Settings. Section 2: Pending Order Trail Settings. Section 3: Trailing Stop Loss Settings. Section 4: Breakeven Settings. Section 1: Basic Settings and Grid Settings Logic: 1. Automatic Buy Stop/Sell Stop Creation: o When a Buy Stop turns into a Buy order, the EA
Hello, I need a very safe EA that will open new orders with very small profit (low number of pips) could be pending orders. I'm going to use another expert advisor to close the profit only orders when pips are in profit, So I can catch 1-2 pips profit every order. Maybe the EA can enter when the market when the price is going up or down very fast in a short timeframe. Please bid your price
Hello i'm look for someone to create an MT4 Expert Advisor Universal EA very simple 1 MQL4 that will have the following features:- Magic Number: to identify the chart Custom Indicator: ( here will be the name of the custom indicator we will use that will generate buy or Sell signal ) Buy Buffer: ( this is the buffer that the custom indicator use for Buy signals )
Dear All, I need an RISK to REWARD Ratio expert advisor for top to bottom, support and resistance and order block strategy. If the developer has any good risk to reward strategy, I will apprecaite. Kindly provide me the EA, I will test it on my demo account fm- And the payment gets released upon the results The EA should also be able to give TRUE and honest back test results. The ea should work on all Major and Minor
Hello, I'm looking for who can help me in converting my tradingview indicator to mt5 car trading strategy The Indicator name is Breaker Blocks with Signals(LuxAlgo) Let me know if you can get this done for me please
Hello i'm look for someone to create an MT4 Expert Advisor Universal EA very simple 1 MQL4 that will have the following features:- Magic Number: to identify the chart Custom Indicator: ( here will be the name of the custom indicator we will use that will generate buy or Sell signal ) Buy Buffer: ( this is the buffer that the custom indicator use for Buy signals ) Sell Buffer: ( This is the buffer that the custom
Hello there am looking for who can help me converting tradingview indicator to mt5 auto trading strategy, the indicator name : Breaker Blocks with Signals [LuxAlgo] ### 1. **Entry Condition**: - **For Long**: The trade is entered **after BB+** is confirmed. - **For Short**: The trade is entered **after BB-** is confirmed. ### 2. **Stop Loss**: - **For Long Entries**: Stop loss is triggered on a **candle close above
Hello , I've developed a new trading view platform recently, and I'd like an expert to give me some feedbacks. I will try to modify it based on your feedback. Looking forward to the proficient proposal in the comment section
Hello, I’m seeking a professional and experienced TradingView platform developer who can review and optimize a newly developed TradingView platform. The platform has not been deployed yet, and the goal is to refine it to perfection before launch. Requirements: Expertise in TradingView platform development and source code analysis. Proven experience in optimizing trading platforms for performance, functionality, and
Dear All, I need an RISK to REWARD Ratio expert advisor for top to bottom, support and resistance and order block strategy. If the developer has any good risk to reward strategy, I will apprecaite. Kindly provide me the EA, I will test it on my demo account fm- And the payment gets released upon the results The EA should also be able to give TRUE and honest back test results. The ea should work on all Major and Minor

Informations sur le projet

Budget
30 - 50 USD
Pour le développeur
27 - 45 USD
Délais
de 1 à 5 jour(s)