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
    Projeler
    1
    0%
    Arabuluculuk
    0
    Süresi dolmuş
    0
    Ücretsiz
    2
    Geliştirici 2
    Derecelendirme
    (8)
    Projeler
    23
    30%
    Arabuluculuk
    1
    0% / 0%
    Süresi dolmuş
    1
    4%
    Çalışıyor
    3
    Geliştirici 3
    Derecelendirme
    (54)
    Projeler
    159
    69%
    Arabuluculuk
    4
    100% / 0%
    Süresi dolmuş
    1
    1%
    Ücretsiz
    4
    Geliştirici 4
    Derecelendirme
    (58)
    Projeler
    89
    25%
    Arabuluculuk
    1
    100% / 0%
    Süresi dolmuş
    2
    2%
    Çalışıyor
    5
    Geliştirici 5
    Derecelendirme
    (7)
    Projeler
    12
    42%
    Arabuluculuk
    0
    Süresi dolmuş
    2
    17%
    Çalışıyor
    6
    Geliştirici 6
    Derecelendirme
    (91)
    Projeler
    129
    35%
    Arabuluculuk
    13
    38% / 31%
    Süresi dolmuş
    31
    24%
    Çalışıyor
    7
    Geliştirici 7
    Derecelendirme
    (12)
    Projeler
    15
    40%
    Arabuluculuk
    0
    Süresi dolmuş
    2
    13%
    Çalışıyor
    8
    Geliştirici 8
    Derecelendirme
    (5)
    Projeler
    6
    33%
    Arabuluculuk
    1
    0% / 0%
    Süresi dolmuş
    2
    33%
    Yüklendi
    Benzer siparişler
    Dredae 30+ USD
    Forex trading nothing more or to protect assets from losses the trading bot is only to be banned for 3 hrs of the day for crypto trading stovks and nfts
    Custom Robot Needed 50 - 60 USD
    Hi, I have a wonderful half trend indicator that I've been using for testing purposes. I'd like to convert it into an automatic EA. I'll probably be editing the EA as I go along but first I would like to see how it does with a few custom EA settings. Once the bot is placed on a new chart it will wait for a fresh buy/sell signal to enter a trade following the trend rules in the direction of the arrow. 1 full candle
    Shaunpilp 30+ USD
    Manage my business handle my trade in a way you treat yourself trade marks must be perfect at all time help and get helped.dont be harsh at the business stay calm
    I want an application/robot that I can configure to put consecutive pending buy or sell orders. They would be set incremental orders up to a limit. That could then generate 10 or more orders depending on the limit I set So the orders would generally abbey a rule of 2 pips between each other and they would have a tp of 3 pips Example. The market for usdcad is now at 1.2598 I want consecutive orders sell orders up to
    Hello, I am looking to have two custom indicators developed for integration into an Expert Advisor (EA): 1. Malaysian SNR (Support and Resistance) Indicator : This indicator should accurately identify and plot support and resistance levels based on Malaysian trading principles and methodologies. 2. Break of Structure Indicator : This indicator should detect and signal breaks in market structure, indicating potential
    MY EXPERT STOP WORKING SINCE I CHANGE NAME OF MY INDICATOR, THINGS TO DO AS FOLLOW 1= RENAME INDICAOR AND EXPERT 2= MAKE SURE INDICAOR AND EXPERT WORKS TOGEATHER AND NO SIGNAL OR TRADE IS MISSED 3= (IMPORTANT) EXPERT WILL BE WORKING ALONGSIDE OTHER TRADE MANAMGEMNT EXPERT, I WANT A FUNCTION WHERE EXPERT DO NOT OPEN OTHER TRADE UNTILL ALL TRADE ARE CLOSED FOR PARTICALR CURRECY PAIR . EXAMPLE EXPERT 1 =OPEN INITAL
    Hello Champion! I'm Sudath, a professional Forex Trader, expert Forex Bot Programmer, and a passionate candlesticks enthusiast. My dedication to automation and clean code ensures that I deliver high-quality, efficient solutions quickly. How Can I Help You? Develop Your Next MT4 or MT5 Forex Expert Advisor: Tailored to your unique trading strategy and style. Modify Your Existing MT4 or MT5 Forex Expert Advisor
    I am looking for an experienced developer to create an MT5 EA for any FX pair, that if is applied to a chat, will show the following buttons which perform the following actions: Buy now button: places a buy order[ or orders [more than one] explained later] with the lot, SL and TP defined in the EA configuration prompt Sell now button: places a sell o rder[ or orders [more than one] explained later] with the lot, SL
    I am looking for an experienced developer to create an MT5 EA for any FX pair, that if is applied to a chat, will show the following buttons which perform the following actions: Buy now button: places a buy order[ or orders [more than one] explained later] with the lot, SL and TP defined in the EA configuration prompt Sell now button: places a sell o rder[ or orders [more than one] explained later] with the lot, SL
    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

    Proje bilgisi

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