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
    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
    評価
    (58)
    プロジェクト
    89
    25%
    仲裁
    1
    100% / 0%
    期限切れ
    2
    2%
    仕事中
    5
    開発者 5
    評価
    (7)
    プロジェクト
    12
    42%
    仲裁
    0
    期限切れ
    2
    17%
    仕事中
    6
    開発者 6
    評価
    (91)
    プロジェクト
    129
    35%
    仲裁
    13
    38% / 31%
    期限切れ
    31
    24%
    仕事中
    7
    開発者 7
    評価
    (12)
    プロジェクト
    15
    40%
    仲裁
    0
    期限切れ
    2
    13%
    仕事中
    8
    開発者 8
    評価
    (5)
    プロジェクト
    6
    33%
    仲裁
    1
    0% / 0%
    期限切れ
    2
    33%
    取り込み中
    類似した注文
    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
    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

    プロジェクト情報

    予算
    30+ USD
    開発者用
    27 USD
    締め切り
    最高 30 日