Little breakout

MQL4 Experts

Job finished

Execution time 15 days
Feedback from employee
Good employer. Can not wait for working with him again.
Feedback from customer
very patient - thank you

Specification

Ok here's  what I need.

I open the bot with "attach to a chart"

1. A start time (hh:mm:ss) and date(preset=current date) can be entered


2. A number of variables can be set:

    a) "amount"  =amount of money to be used for the PO, in percent of balance //  e.g. balance=200$; amount=8 means 16$ are used for each PO

    b) "distance" (=distance of the POs to current price in pips) 

    c) "stoploss" (=distance to open order price in pips)

    e) "stroke" (=seconds)

    f) "gain"  (=amount of gain in percent of used margin(not free margin!)) e.g. margin=20$  gain=0.5  gain would equal 1($)

    g) "fallback"

    h) "trailstop" (in pips)

    

What should happen?

1. At start time (working with PC clock) the bot will open two POs(one sell/one buy) in "distance" to the current price. Lotsize will be using amount considering the leverage of the present chart (this is very important!) . Also "stoploss" will be applied.

2. a) If one of the pending orders is opened then the other one will be closed and the process continues with 3.

2. b) As long as no orders are opened the POs will be closed and immediately reopened after "stroke" seconds - same process as 1.

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

3. a)  If (the now) open order gains "gain" percent(of margin)  then cancel "stoploss"

    b)  If  current gain is falling back to  "gain x "fallback" then close order

          e.g. the order has a margin of 100$; "gain"=0.5; "fallback"=0.9 

               when 50 cent profit are realized the sl is cancelled; if the profit decreases to (50cent x 0.9=45cent) then the order will be closed

    c)  Start a tsl with trailstop (which will close the order in case it's still open)

That's all folks

I don't have a clue how difficult it is to create a mql5 version parallel to the mql4 one, but I wouldn't mind having both

No beginners please - I prefer pros

Kind regards


 

Responded

1
Developer 1
Rating
(182)
Projects
342
42%
Arbitration
118
12% / 73%
Overdue
104
30%
Free
Published: 4 codes
2
Developer 2
Rating
(13)
Projects
20
30%
Arbitration
5
20% / 80%
Overdue
5
25%
Free
3
Developer 3
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
Published: 1 code
4
Developer 4
Rating
(82)
Projects
150
29%
Arbitration
9
44% / 11%
Overdue
46
31%
Free
5
Developer 5
Rating
(493)
Projects
1022
58%
Arbitration
30
27% / 23%
Overdue
133
13%
Working
6
Developer 6
Rating
(18)
Projects
37
43%
Arbitration
6
17% / 50%
Overdue
17
46%
Free
7
Developer 7
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
8
Developer 8
Rating
(8)
Projects
24
38%
Arbitration
4
50% / 0%
Overdue
9
38%
Free
Similar orders
Mt5 35+ USD
//+------------------------------------------------------------------+ //| HedgingBasket_EA.mq5 | //| Copyright 2026, Trading Bot | //+------------------------------------------------------------------+ #property copyright "Trading Assistant" #property version "1.00" #include <Trade\Trade.mqh> CTrade trade; //--- Input parameters input group "=== Hedging Settings ===" input double InpLotSize = 0.01; // Lot Size for
Hi All, I am looking for a EA which makes good profit, If any having please share it for TEST, After proper TESTING only I will make the payment, no cheating no fraud, Please do not waste the time also
Custom MT5 Expert Advisor (EA) Development | MQL5 Automation Turn Your Trading Strategy into a Powerful Automated Trading System! Are you looking for a professional MT5 Expert Advisor developer to automate your trading strategy? I specialize in developing custom MetaTrader 5 (MT5) Expert Advisors and indicators using MQL5 , tailored to your trading rules, risk management preferences, and trading goals. Whether you
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

Project information

Budget
50 - 70 USD
Deadline
from 1 to 2 day(s)