News Trading EA

MQL5 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 6 gün
Geliştirici tarafından geri bildirim
Good communication, gives ample feedback.
Müşteri tarafından geri bildirim
Top

İş Gereklilikleri

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.












    Dosyalar:

    TXT
    Code.txt
    9.4 Kb

    Yanıtlandı

    1
    Geliştirici 1
    Derecelendirme
    (1)
    Projeler
    3
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Çalışıyor
    2
    Geliştirici 2
    Derecelendirme
    (10)
    Projeler
    25
    28%
    Arabuluculuk
    1
    0% / 0%
    Süresi dolmuş
    1
    4%
    Yüklendi
    3
    Geliştirici 3
    Derecelendirme
    (56)
    Projeler
    175
    71%
    Arabuluculuk
    4
    100% / 0%
    Süresi dolmuş
    1
    1%
    Serbest
    4
    Geliştirici 4
    Derecelendirme
    (63)
    Projeler
    99
    29%
    Arabuluculuk
    1
    100% / 0%
    Süresi dolmuş
    2
    2%
    Serbest
    5
    Geliştirici 5
    Derecelendirme
    (7)
    Projeler
    12
    42%
    Arabuluculuk
    1
    0% / 100%
    Süresi dolmuş
    2
    17%
    Serbest
    6
    Geliştirici 6
    Derecelendirme
    (92)
    Projeler
    132
    35%
    Arabuluculuk
    13
    38% / 31%
    Süresi dolmuş
    32
    24%
    Serbest
    7
    Geliştirici 7
    Derecelendirme
    (12)
    Projeler
    18
    39%
    Arabuluculuk
    0
    Süresi dolmuş
    2
    11%
    Serbest
    8
    Geliştirici 8
    Derecelendirme
    (9)
    Projeler
    8
    38%
    Arabuluculuk
    2
    0% / 100%
    Süresi dolmuş
    2
    25%
    Çalışıyor
    Benzer siparişler
    Looking for an EA which can produce less than 5% drawdown. Also profit factor above 1.5 (preferably 2.0) Please give me proper explanation how your EA works too Has anyone programmed it before? is it limited to forex only
    1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
    I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
    Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
    Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
    I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
    I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
    Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
    I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated

    Proje bilgisi

    Bütçe
    30+ USD
    Geliştirici için
    27 USD
    Son teslim tarihi
    to 30 gün