News Trading EA

MQL5 专家

工作已完成

执行时间6 天
员工反馈
Good communication, gives ample feedback.
客户反馈
Top

指定

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.












    附加的文件:

    TXT
    Code.txt
    9.4 Kb

    反馈

    1
    开发者 1
    等级
    (1)
    项目
    2
    0%
    仲裁
    0
    逾期
    0
    空闲
    2
    开发者 2
    等级
    (8)
    项目
    23
    30%
    仲裁
    1
    0% / 0%
    逾期
    1
    4%
    已载入
    3
    开发者 3
    等级
    (54)
    项目
    159
    69%
    仲裁
    4
    100% / 0%
    逾期
    1
    1%
    工作中
    4
    开发者 4
    等级
    (60)
    项目
    91
    26%
    仲裁
    1
    100% / 0%
    逾期
    2
    2%
    工作中
    5
    开发者 5
    等级
    (7)
    项目
    12
    42%
    仲裁
    1
    0% / 0%
    逾期
    2
    17%
    工作中
    6
    开发者 6
    等级
    (91)
    项目
    130
    35%
    仲裁
    13
    38% / 31%
    逾期
    31
    24%
    工作中
    7
    开发者 7
    等级
    (12)
    项目
    15
    40%
    仲裁
    0
    逾期
    2
    13%
    工作中
    8
    开发者 8
    等级
    (6)
    项目
    7
    43%
    仲裁
    1
    0% / 0%
    逾期
    2
    29%
    繁忙
    相似订单
    I NEED SOMEONE TO OPTIMISE AND CREATE GOLD.GBPJPY.GBPUSD.EURUSD. NZDUSD SET FILES FOR A MT4 EA ... NO GRIS. OR MARINTINGLE OR TRADE STCCKING. ONLY ONE TRADE OPEN AT ATIME CAN MAKE 8% IN LESS THAN 4 DAY.. VERY VERY VEY LOW RISK
    I have an EA called MACross which I can backtest on the custom symbol chart (renko) that is generated by an EA. But I cannot run the EA on live mode on the custom symbol charts. When I put the EA on the custom symbol chart, it does not generated any trades. These are the EA's that are generating the custom symbol charts: https://www.mql5.com/en/code/20254 https://www.mql5.com/en/code/20368 I am looking for a
    I was using an EA and after the last update of MT4 it doesn't work anymore, I also have the source code and I need to make it work again, can anybody help me
    I want to create a simle EA that will take one trade per week. The work wil be done on the 1 hour and 4hr chart. Very simple. When the Mondays price closes. The Ea will set a limit order on a pivot level (S1/R1). THE STOp LOSS WILL BE x1 atr from the 4 hour chart. The take profit level will be mondays opening price. If monday closes bullish it will set a limit order at R1 on tuesday 1 HOUR after the monday candle
    Currently I have my EA & cutom Indicator whch are working together. Now want the indicator to include inside the EA , so i have to load only EA. Files are in MQ4 and will be provided. Want a good programmer to complete the Job
    lebih sulit. Kami merekomendasikan membaca artikel Cara cepat mengembangkan dan men-debug strategi perdagangan di MetaTrader 5 , yang berisi deskripsi semua langkah yang diperlukan untuk membuat, men-debug, dan mengoptimalkan kode strategi berdasarkan analisis aliran tick yang berkelanjutan. Saat mengembangkan robot scalping, perhatikan bahwa strategi tersebut sangat sensitif terhadap spread, komisi, penundaan
    Is it possible to feed data from the "data window" in MT4 straight into excel? I currently check whether trades are viable by manually copying data using ctrl+c into excel from the 1 hour/4 hour bar of interest and the one before that. It contains info like 200/100/50/20/8 EMAs, bollinger bands etc. Obviously it would speed up my trading if I could program excel to tell me whether a trade, for example EURGBP at 2pm
    Session start time and end time + once the session finishes we place 3 limit orders at specific levels with the same TP. Any limit order that isn't filled we close at the start of the next day. Once we hit TP we close all unopened orders. We take trades based on lot size, not % account risk
    I have an EA that makes profit long term, I just need to optimise it across 15+ years and make the profit even better, cut drawdown and overall performance. Only interested to optimise it on ONE PAIR = EURUSD Forex(can add futures too), if you do more pairs, we can negotiate better prices for your order. One condition that must stay: minimum stop loss for Trades must be 3 pips, it can be more but it cant be lower
    Hello. I need to make a EA for mql5 based on pinescript indicator. Working on emas and rsi. With 3 TPs and SL. Please apply only if You are experienced developer

    项目信息

    预算
    30+ USD
    开发人员
    27 USD
    截止日期
     30 天