Two currency pair scalping

Trabalho concluído

Tempo de execução 4 horas
Comentário do cliente
Good support and job delivery as I expected thanks

Termos de Referência

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

    }

}


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


Respondido

1
Desenvolvedor 1
Classificação
(63)
Projetos
90
52%
Arbitragem
10
40% / 30%
Expirado
7
8%
Livre
2
Desenvolvedor 2
Classificação
(12)
Projetos
14
0%
Arbitragem
1
0% / 100%
Expirado
1
7%
Carregado
3
Desenvolvedor 3
Classificação
(110)
Projetos
171
33%
Arbitragem
12
25% / 33%
Expirado
0
Trabalhando
4
Desenvolvedor 4
Classificação
(72)
Projetos
80
10%
Arbitragem
36
8% / 53%
Expirado
6
8%
Trabalhando
5
Desenvolvedor 5
Classificação
(356)
Projetos
489
52%
Arbitragem
24
54% / 25%
Expirado
5
1%
Trabalhando
6
Desenvolvedor 6
Classificação
(42)
Projetos
88
14%
Arbitragem
31
29% / 55%
Expirado
36
41%
Trabalhando
Pedidos semelhantes
Hello, I hope you're doing well. I recently developed a platform on TradingView, and I’m seeking assistance from a developer to guide me through the process. Based on the feedback provided, I will like you to help me make necessary modifications with it. Your expertise would be greatly appreciated! All Requirements will be sent via inbox. Thanks
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
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
Rien de mieux qu'une petite pensée positive ⁠ (s’ouvre dans un nouvel onglet ou une nouvelle fenêtre) pour se lever du bon pied et bien commencer sa journée, surtout si c'est tous les jours blue monday ! Et si quelques mots bien sentis suffisaient pour nous aider à changer un moral dans les chaussettes contre un moral d'acier
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

Informações sobre o projeto

Orçamento
30 - 50 USD
Desenvolvedor
27 - 45 USD
Prazo
de 1 para 5 dias