News Trading EA

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 6 días
Comentario del Ejecutor
Good communication, gives ample feedback.
Comentario del Cliente
Top

Tarea técnica

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.












    Archivos adjuntos:

    TXT
    Code.txt
    9.4 Kb

    Han respondido

    1
    Desarrollador 1
    Evaluación
    Proyectos
    1
    0%
    Arbitraje
    0
    Caducado
    0
    Libre
    2
    Desarrollador 2
    Evaluación
    (8)
    Proyectos
    23
    30%
    Arbitraje
    1
    0% / 0%
    Caducado
    1
    4%
    Trabaja
    3
    Desarrollador 3
    Evaluación
    (54)
    Proyectos
    159
    69%
    Arbitraje
    4
    100% / 0%
    Caducado
    1
    1%
    Libre
    4
    Desarrollador 4
    Evaluación
    (58)
    Proyectos
    89
    25%
    Arbitraje
    1
    100% / 0%
    Caducado
    2
    2%
    Trabaja
    5
    Desarrollador 5
    Evaluación
    (7)
    Proyectos
    12
    42%
    Arbitraje
    0
    Caducado
    2
    17%
    Trabaja
    6
    Desarrollador 6
    Evaluación
    (91)
    Proyectos
    129
    35%
    Arbitraje
    13
    38% / 31%
    Caducado
    31
    24%
    Trabaja
    7
    Desarrollador 7
    Evaluación
    (12)
    Proyectos
    15
    40%
    Arbitraje
    0
    Caducado
    2
    13%
    Trabaja
    8
    Desarrollador 8
    Evaluación
    (5)
    Proyectos
    6
    33%
    Arbitraje
    1
    0% / 0%
    Caducado
    2
    33%
    Trabajando
    Solicitudes similares
    I AM DEVELOPER EXPERT MQL4 MQL5 - +12 YEARS EXPERIENCE I work fast, i change your ea functions, add functions, indicadores or ADD panel DESIGN AMAZING Background ! If you need contact me on telegram : https://t.me/stevekronos
    Hello! I am a trader and I have a strategies on Trading View on my Trading View Account. The bot you need to create should be a normal solana trading bot like bonkbot for example but it needs to buy and sell automatically after the strategy on trading view so the bot needs to be connected trough API with Trading View, if you know you are capable of handling this project, please kindly reach out with your
    I have a data and a signal and I want some one to make EA the same exactly like this signal,I will provide you with signal and the concept that EA open buy and sell every time frame with martingale and with stop loss option and all inputs
    Hi, i have a ea i need to convert to mql4 to mql5, and implement indicator so its not external resource, i have the soruce code for it aswell. Please leave a quote
    Erdert mariyoo 30+ USD
    I like to trade for success my strategy is supply and demand like to get profit with us came up here in the market with us and reach out your goals for the next Life
    This EA is for renko charts. When a bullish candle forms after the close of n bearish candles, open a buy stop at x pips from the high of the bullish candle. If x= 0, open a buy trade. When a bearish candle forms after the close of n bullish candles, open a sell stop at x pips from the low of the bearish candle, if x=0, open a sell trade. The stop loss of a buy trade should be placed at y pips from the low of the
    I need an Hft Trading bot for Mt5 hit me up asap with the ea's I want to buy. Please serious people only with goof hft product. Must be a legit trading robots that i can rename
    Hello I need an ea based on indicator from trading view name "Support and resistance leveles with breaks [lux algo]" Ee should draw support and resistance levels the same way as this incidator in trading view and tp,sl, trailing sl, breakeven, partial tp etc
    Hello there, I need a professional mt4 developer who can perfectly help me to backtest my mt4 trading strategy on these trading pairs, XAUUSD H1 PEPPERSTONE 1:200 LEVERAGE. The strategy would be provided once you bid to this task
    I need a ready made profitable and stable EA with good results for forex market. please send me your test reports/live results and also demo version to check. budget is negotiable based on profit and DD

    Información sobre el proyecto

    Presupuesto
    30+ USD
    Para el ejecutor
    27 USD
    Plazo límite de ejecución
    a 30 día(s)