News Trading EA

MQL5 Experts

Trabalho concluído

Tempo de execução 6 dias
Comentário do desenvolvedor
Good communication, gives ample feedback.

Termos de Referência

News Trading Strategy Requirements

General Overview

The news trading strategy is designed to capitalize on price volatility that typically occurs around significant news events. The EA places pending buy and sell orders at a certain distance from the current price a specified amount of time before a news event is scheduled to occur. The EA also includes risk management features such as stop loss, take profit, trailing stops, and an ADR filter to ensure trades are only placed when the market conditions are favorable.

Key Components

  1. News Filter

    • The EA includes a hard-coded list of news events.
    • Ability to have option to input time and date use them
    • News events have attributes like Id , Start , Name , Impact , Currency , and Alerted .
  2. Entry Signal

    • The signal candle is defined as the candle formed a set number of minutes before the news event.
    • Pending buy and sell orders are placed a specified number of pips away from the signal candle's price.
  3. Pending Orders

    • The EA places invisible (hidden from the broker) buy and sell pending orders.
    • Orders are placed PendingDistancePips away from the signal candle's price.
    • Orders expire after PendingExpiryMinutes .
  4. Risk Management

    • Fixed take profit (TP) and stop loss (SL) levels.
    • Trailing stop loss for open positions.
    • Order Splitting: Divide large orders into smaller chunks to reduce slippage and improve execution quality.
    • ADR (Average Daily Range) filter ensures trades are placed only if the pair's movement is less than a specified percentage of the ADR.
  5. Order Types

    • The EA can place market orders, stop orders, or limit orders based on the EntryType input.

Inputs and Parameters

  • NewsCurrency : Select the relevant currency for the news events.
  • EntryType : Define the type of order to place (Market Order, Stop Order, Limit Order).
  • TrailStopOrder : Enable or disable trailing stop orders.
  • MinutesBeforeNews : Number of minutes before the news event to identify the signal candle.
  • PendingDistancePips : Number of pips away from the signal candle to place pending orders.
  • LimitStopTrailDistancePips : Distance in pips for trailing stop on limit and stop orders.
  • PendingOco : Enable or disable One-Cancels-the-Other (OCO) pending orders.
  • PendingExpiryMinutes : Time in minutes for pending orders to expire.
  • MaxSpreadMarketOrders : Maximum allowable spread for market orders.
  • LotSizeMethod : Method for calculating lot size.
  • LotSizeFixed : Fixed lot size.
  • RiskPercent : Percentage of account balance to risk per trade.
  • SplitOrder: OFF - use Fixed lot or percentage lot to get the lot size to split.
  • SplitOpositionNunber: Number of position to split an order.
  • SplitLotDistance: Distance in pips between trades
  • StopLossPips : Stop loss distance in pips.
  • TakeProfitPips : Take profit distance in pips.
  • RiskReward : Risk-to-reward ratio.
  • WhenXPercentInProfit : Percentage of profit at which to trigger an action.
  • ThenLockInXPercent : Percentage of profit to lock in once the specified profit level is reached.
  • ADRPeriod : Period for calculating the Average Daily Range (ADR).
  • ADRThreashold: In order to enter the daily ADR must be bellow the ADRPeroid
  • NewsOption: Array or Custom Time
  • CustomTime: 15/05/2024 11:57 - Can use calander to select


The EA must must use the formulas bellow in the .txt for custom max.


The code is attached to the body. Keep in mind the EA needs to be updating it self on every tick as well as managing traling.












    Arquivos anexados:

    TXT
    Code.txt
    9.4 Kb

    Respondido

    1
    Desenvolvedor 1
    Classificação
    Projetos
    1
    0%
    Arbitragem
    0
    Expirado
    0
    Livre
    2
    Desenvolvedor 2
    Classificação
    (8)
    Projetos
    23
    30%
    Arbitragem
    1
    0% / 0%
    Expirado
    1
    4%
    Trabalhando
    3
    Desenvolvedor 3
    Classificação
    (53)
    Projetos
    158
    68%
    Arbitragem
    4
    100% / 0%
    Expirado
    1
    1%
    Trabalhando
    4
    Desenvolvedor 4
    Classificação
    (57)
    Projetos
    87
    24%
    Arbitragem
    1
    100% / 0%
    Expirado
    1
    1%
    Carregado
    5
    Desenvolvedor 5
    Classificação
    (7)
    Projetos
    12
    42%
    Arbitragem
    0
    Expirado
    2
    17%
    Trabalhando
    6
    Desenvolvedor 6
    Classificação
    (90)
    Projetos
    128
    34%
    Arbitragem
    13
    38% / 31%
    Expirado
    31
    24%
    Trabalhando
    7
    Desenvolvedor 7
    Classificação
    (12)
    Projetos
    14
    43%
    Arbitragem
    0
    Expirado
    2
    14%
    Trabalhando
    8
    Desenvolvedor 8
    Classificação
    (5)
    Projetos
    6
    33%
    Arbitragem
    1
    0% / 0%
    Expirado
    2
    33%
    Carregado
    Pedidos semelhantes
    I need a developer that can turn my strategy to an EA, We will be using Fib, some indicators and a risk management settings, please message me on time so we start work on it, waiting for you
    Hello Everyone, I'm looking a profitable Expert Adviser, with a very Good Past Performance. The EA must be Run on live Account for more than 5 to 6 months. The EA having a Profit ratio with a Minimum drawdown. If having Ready made or, anyone can develop new one
    Necesito hacer que ese codigo trabaje en el par EURUSD y no sé en que estoy fallando. He visto foros pero no me resulta lo que hago bla bla bla bla
    Job Title: Expert MQL5 Developer for MT5 EA Integration with TrendSpider and Risk Management Job Description: We are seeking an experienced MQL5 developer to complete an Expert Advisor (EA) project for MetaTrader 5 (MT5). The primary goal of this project is to integrate trading signals generated by TrendSpider into an MT5 EA, enabling automated trading based on these signals while ensuring compliance with prop firm
    Hi, I have existing EAs with source code and i am looking to add some trend confirmation filter, Loss Recovery option, Trailing SL, Trading Session filters & News filter as follows : 1. 3 Filter of Moving Average multi time frame. 2. 3 Super Trend Filter multi time frame. 3. 3 Parabolic Sar filter multi time frame. 4. Trading Session Filter (Asian, London, New York) 5. High Impact New Filter 6. Trailing based on
    I want a simple mt4 EA that monitors existing positions for TP and SL changes. If a new position is placed, it should automatically set the SL and TP based on the already open orders. Additionally, if I change the SL or TP of one order, it should also change the SL or TP of all the other orders accordingly. I will only be using this EA on one pair, of course
    Hello I want to change my TREND indicator. The conditions for the alerts do not need to be changed, the indicator works very very well. I would like to add visible Stop and Tp level lines. Attached is the source code and text file. If you think you could do this job, let me know. Thanks in advance
    hello DEVELOPERS bid this project, i need to create a MT5 expert advisor with some indicators (mt4 indicators), so we should convert mt4 indicators to mt5 and then create a new ea with my requirements, it's not urgent
    Hi all, looking for somebody to build me a trading bot. Something that is good. Fairly new to trading but I know the basics and how everything runs. Due to working a 9-5 looking for a bot to help out with trades and etc
    i have an existing EA that takes trades when you reach a preset value of Demarker ( or RSI , or MACD, or combination of those 3) it buys at oversold zones it sells at overbought zones. I currently have an option to take more than one trade but it is not a typical martingale style. it just takes the same trade every certain distance that you set. i need someone to modify that and let EA make martingale trades with a

    Informações sobre o projeto

    Orçamento
    30+ USD
    Desenvolvedor
    27 USD
    Prazo
    para 30 dias