Breakout & Hedge with Trailing Pending Stop Order

MQL4 专家

工作已完成

执行时间3 天
客户反馈
This guy is FANTASTIC in terms of understanding requirements, technical coding, meeting deadlines and communication. I would highly recommend him to you.
员工反馈
Nice working with him! Thank you!

指定

This EA strategy is simple and will be pretty easy for an experienced developer to code and uses TRAILING PENDING STOP BUY & SELL ORDERS to lock in profit and protect trades so you must know how to code these.  If you do a good job and there will be other EA strategies to work on for me.  

INPUT BOXS REQUIRED

Standard Inputs

Lot Type

Fix Lot

Equity Risk % for lot

Stop Loss [If 0 disabled)

Take Profit (If 0 disabled)

Magic Number

Strategy Related Inputs (PSO = PENDING STOP ORDER)

[1] # PSO PIPS FROM LIVE TRADE PRICE

[2] # PSO TRAILING PIPS

[3] TRADE COMMENT [ hedging trade number will be added automatically plus some space for me to write brief strategy details for trade analysis)

When the EA is dragged onto whichever chart timeframe is chosen (e.g. 1 Hour, 4 Hour, 1 Day, 1 Week, 1 Month) it will:

1. Open a BUY or SELL trade when the current High of Low of the timeframe is breached. 

2.Open a TRAILING BUY STOP ORDER or TRAILING SELL STOP ORDER  order in the opposite direction.  The EA will use the criteria based on input boxes [1]

3. The TRAILING STOP ORDER OPEN PRICE will will trail the open live trade price by the value entered into input box [2]

4. When the Live trade price starts to move in the opposite direction the TRAILING STOP ORDER will eventually trigger so there will be another live trade open.  At this point the EA will open another TRAILING PENDING STOP ORDER in the opposite direction and will close the original trade (opened in 1 above)

IMPORTANT INFORMATION

1. There will only ever be 1 open trade at any one time

2. Any open trade will be protected by a buy or sell stop order in the opposite direction 

3. I need this EA to test by midday (GMT) on 6 March 2020 

4. I will use this EA on FOREX and Indices (e.g. GBPUSD/EURUSD/JPYGBP S&P500, NASDAQ100, DAX)

5. I require both the source code AND EA files to be provided to me.  I’M LEARNING TO CODE AS A BEGINNER SO PLEASE MAKE NOTES WITHIN THE CODE SO I CAN SEE WHICH BIT OF CODE RELATES TO WHICH FUNCTION.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

WORKING EXAMPLES

EXAMPLE 1  [PSO = PENDING STOP ORDER]

[1] PSO OPENING TRADE PIPS FROM LIVE TRADE PRICE  - 10

[2] PSO TRAILING PIPS - 10

[3] TRADE COMMENT [ADDED AUTOMATICALLY BASED ON TIMEFRAME, AND VALUES ABOVE

I drag this EA onto the GBPUSD H4 chart.    The LOW of the timeframe is 1.38583  and the HIGH of the H4 timeframe is 1.39748

The price rises to 1.39749 so the EA opens a BUY trade at 1.39749 and a PENDING SELL STOP ORDER at 1.39649  (THIS IS BECAUSE THE VALUE OF INPUT BOX 1 IS 10 MEANING THAT THE PENDING SELL STOP ORDER IS PLACED 10 PIPS BELOW THE OPEN BUY TRADE PRICE)

The open BUY TRADE price moves up 10 pips so the PENDING  SELL STOP ORDER open price moves to 1.39749 (THIS IS BECAUSE THE VALUE OF INPUT BOX [2] is 10 MEANING THAT THE  PENDING SELL STOP ORDER OPEN PRICE TRAILS THE OPEN BUY TRADE BY 10 PIPS) The price moves up another 10 pips so the PENDING STOP ORDER open price moves  to 1.39849 

The open BUY TRADE price starts to fall and hits 1.39849 so the PENDING SELL STOP ORDER is triggered and the EA opens a SELL TRADE at 1.39849.  It also opens a PENDING BUY STOP ORDER at 1.39859 and closes the open BUY trade.

This process just repeats and repeats until I remove the EA from the chart


EXAMPLE 2  [PSO = PENDING STOP ORDER]

[1] PSO OPENING TRADE PIPS FROM LIVE TRADE PRICE  - 10

[2] PSO TRAILING PIPS - 10

[3] TRADE COMMENT [ADDED AUTOMATICALLY BASED ON TIMEFRAME, AND VALUES ABOVE

I drag this EA onto the GBPUSD H4 chart.    The LOW of the timeframe is 1.38583  and the HIGH of the H4 timeframe is 1.39748

The price rises to 1.39749 so the EA opens a BUY trade at 1.39749 and a PENDING SELL STOP ORDER at 1.39649  (THIS IS BECAUSE THE VALUE OF INPUT BOX 1 IS 10 MEANING THAT THE PENDING SELL STOP ORDER IS PLACED 10 PIPS BELOW THE OPEN BUY TRADE PRICE)

The open BUY TRADE price immediately starts to fall and hits 1.39649 so the PENDING SELL STOP ORDER is triggered and the EA opens a SELL TRADE at 1.39649.  It also opens a PENDING BUY STOP ORDER at 1.39749 and closes the open BUY trade.

This process just repeats and repeats until I remove the EA from the chart


     


    反馈

    1
    开发者 1
    等级
    (174)
    项目
    200
    12%
    仲裁
    39
    38% / 33%
    逾期
    5
    3%
    空闲
    发布者: 2 代码
    2
    开发者 2
    等级
    (401)
    项目
    519
    24%
    仲裁
    61
    57% / 25%
    逾期
    60
    12%
    已载入
    3
    开发者 3
    等级
    (298)
    项目
    478
    40%
    仲裁
    105
    40% / 24%
    逾期
    82
    17%
    已载入
    发布者: 2 代码
    4
    开发者 4
    等级
    (87)
    项目
    114
    26%
    仲裁
    7
    29% / 57%
    逾期
    5
    4%
    空闲
    相似订单
    Mt5 to mt5 copier 30 - 50 USD
    Hi Team i am looking for the copier, to copy trades to and mt5 broker where the EA Trading is Disabled. when we setup a market trade copiers, it alerts EA Trading is Disabled by the broker. can we develop the copy trading EA which and operate in this environment
    Nayan4602 30+ USD
    """ Market entry on EUR/USD with 0.01 lot, using the account that is ALREADY logged in inside the running MetaTrader 5 terminal. """ import MetaTrader5 as mt5 # ---------------- Config ---------------- SYMBOL = "EURUSD" LOT = 0.01 SIDE = "BUY" # "BUY" or "SELL" DEVIATION = 20 # max slippage in points MAGIC = 234000 SL_POINTS = 0 # 0 = no stop loss, 200 = 20 pips on a 5-digit feed TP_POINTS = 0 # 0 =
    Hello, I’d like to develop an AI-powered analysis dashboard for , with a clear, easy-to-use design that works on mobile and web, or on the platform we agree on. I’d like it to include: Main dashboard: Show the market status, the latest data update, and the current signal, if available, including direction, entry price, stop loss, targets, and risk-to-reward ratio. AI signal explanations: Explain in clear language why
    Scalping bort 30+ USD
    GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
    I am looking for an experienced MT5 Expert Advisor developer to build an automated Gold (XAUUSD) trading bot. My requirements are: Automatically identify and draw supply and demand zones on the chart. Identify Order Blocks, Fair Value Gaps (FVG), liquidity sweeps and Market Structure Shifts (MSS/CHoCH). Analyse multiple timeframes and use a higher-timeframe directional bias without unnecessarily blocking valid trades
    MT5 EA 30 - 100 USD
    I’m looking for a **ready-made MT5 scalping EA specifically for Gold (XAUUSD)**. My main requirement is an **HTF scalping strategy**, so I’m looking for an existing robot that is already developed and can be tested before I make the purchase. I would like to test on demo account first, Any available backtest or trading results * Whether I can test it on a demo account * Your price and licensing details I’m
    Hello, I am looking for an experienced MQL5 developer to create a professional, reliable, fully customizable Expert Advisor (EA) and trading signal system for MetaTrader 5. 1. Supported Markets The EA must support: Gold (XAUUSD) Silver (XAGUSD) Nasdaq 100 (NAS100/US100) Forex currency pairs Bitcoin (BTCUSD) It must work with MT5 brokers, including Tickmill, where these instruments are available. 2. Two Trading Modes
    Hi all I'm looking for a good coder Existing Automated Trading System (Expert Advisor) This EA’s building block is the Bheurekso Pattern (which uses price action) indicators. 1. **Indicator Integration**: The EA should be developed utilizing the Bheurekso pattern indicator. 2. **Sell Signals**: The EA must execute a sell order upon the appearance of any of the following bearish signals or a down arrow that appears
    Entry Strategy: Explain exact conditions for opening a trade specific indicators like Moving Averages or RSI, time of day, or price action rules. Exit Strategy: Define when a trade should closeTake Profit, Stop Loss, Trailing Stop, or indicator signals. Daily Trading Rules: Specify daily limits if applicable maximum trades per day, specific trading hours, or maximum daily loss limit. Risk & Position Sizing: Indicate
    I want to create my own trading robot that will automatically open and close trades,it's must be operating 24/7 on both the brokers app and the mt5 as well.it must be able to grow small accounts from 10 usd with proper risk management and smart executions.it must operates on the following brokers EXNESS, XM GLOBAL,WELTRADE and DERIV

    项目信息

    预算
    30 - 55 USD
    截止日期
    到 2 天