Candle Breakout Strategy Bot to backtest and trade live.

MQL5 Uzmanlar

Şartname

Hello! I am looking for an experienced developer to build a robust, customizable Expert Advisor (MT4/MT5) or a standalone Python bot.

The strategy is based on pure Price Action (Support & Resistance breakouts) on the XAUUSD (Gold) 30-Minute chart. It relies heavily on "human-like" chart analysis, such as looking left for targets, waiting for a price pullback (a "flip") before entering, and managing the trade based on candle anatomy.

Since I want to backtest and optimize this strategy extensively, almost every hardcoded value in this brief needs to be a customizable input variable in the settings UI.

Please read the logic below carefully.


1. Session & Time Filters

The bot must only analyze the chart and execute trades during specific market windows.

  • London Session: 06:00 - 10:00 (Broker time / specify offset).

  • New York Session: 12:00 - 16:00.

  • Max Trades: The bot should stop trading after taking [X] trades per day.

2. Pre-Session Analysis: "Look Left & Shift" Logic (CRUCIAL)

Before considering an entry, the bot must map the Support/Resistance (S&R) and Targets.

  • Defining a Level: * Resistance: A bullish candle immediately followed by a bearish candle. The level is drawn at the highest body (math.max(open, close)).

    • Support: A bearish candle immediately followed by a bullish candle. The level is drawn at the lowest body (math.min(open, close)).

  • The 300 Points Rule & Shifting:

    1. The bot looks left to find the first Resistance (R).

    2. It looks further left to find the next Resistance (Target Resistance = RT).

    3. The Check: Is the distance between R and RT >= 300 points (30 pips)?

    4. The Shift: If the distance is LESS than 300 points, the initial Resistance (R) is ignored. The old RT becomes the new R, and the bot looks further left for a new RT. This continues until a valid >= 300 point gap is found. (Same logic applies to Support).

  • The "Blue Sky" Exception: If the bot looks left for [X] days/candles and cannot find a Target Resistance or Target Support (e.g., at an All-Time High), the target is considered "Infinite" (Free space), and the trade is allowed.

3. Breakout Confirmation

A valid setup occurs when:

  • A 30M candle strictly closes beyond the valid Resistance (for Long) or Support (for Short).

  • The Anatomy Rule: The breakout candle must have a wick on the breakout side. (e.g., A bullish breakout candle must have an upper wick; a bearish breakout candle must have a lower wick).

4. The Ideal "Flip" Entry (Live Tick Execution)

The bot does NOT enter blindly at the close of the breakout candle. It waits for the next candle (Candle 2) to "Flip":

  1. The Pullback: Candle 2 opens and MUST initially move in the opposite direction (e.g., moves down after a bullish breakout, creating a lower wick).

  2. The Entry Trigger: When Candle 2 reverses and crosses back over its own Open price (or [X] points past the open/wick), the bot executes a Market Order.

  3. Time-out: If the "Flip" does not happen within [X] candles after the breakout, the setup is invalidated and canceled.

5. Stoploss, Take Profit & Range Check

  • Stoploss (Aggressive): Placed at the opposite body of the Breakout Candle. (e.g., For a Long, SL is at the bottom of the bullish breakout candle's body).

  • Take Profit: A strict 1:1 Risk/Reward ratio based on the physical Stoploss distance.

  • Final Range Check: Before executing the entry, calculate the 1:1 TP distance. If this TP level physically sits beyond the Target line (RT or ST), the trade is cancelled.

6. Trade Management: Two Red Flags (Break-Even)

While in an active trade, monitor the close of every new 30M candle. Move the Stoploss to Break-Even IF a single 30M candle meets both criteria:

  1. It closes against the trade direction (e.g., a bearish close in a Long trade).

  2. It takes out the high/low of the previous candle.


7. Required Customizable Inputs (User UI)

I need to be able to tweak these settings easily:

  • Risk Management: Risk per trade (% of Equity), Max Spread allowed (Points), Max Slippage.

  • Time Management: Session 1 Start/End, Session 2 Start/End, Max Trades Per Day.

  • Level Logic: Minimum distance between S/R and Target (Default: 300 points), Max Lookback Period for Targets (Days or Candles), Trade if no target found? (True/False).

  • Entry Logic: Flip Time-out (How many candles can pass before the flip is invalid? Default: 1). Entry offset (Enter exactly at open, or X% into the wick?).

  • Trade Management: Enable/Disable the Two Red Flags Break-Even logic.


Questions for the Developer:

  1. Have you built "Look Left" array-based Support/Resistance logic before?

  2. Do you understand the "Flip" live-tick execution on the candle following the breakout?

  3. Which platform do you recommend for this specific logic to ensure the highest quality backtesting (MT4, MT5, or Python), and why?

  4. What is your estimated timeline and price for this project?

Thank you for your time. I am looking for a high-quality, long-term developer to work with!


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(13)
Projeler
20
40%
Arabuluculuk
3
0% / 67%
Süresi dolmuş
3
15%
Serbest
2
Geliştirici 2
Derecelendirme
(15)
Projeler
19
16%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(257)
Projeler
320
29%
Arabuluculuk
34
26% / 65%
Süresi dolmuş
10
3%
Serbest
4
Geliştirici 4
Derecelendirme
(168)
Projeler
201
48%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
2
1%
Serbest
5
Geliştirici 5
Derecelendirme
(509)
Projeler
977
74%
Arabuluculuk
27
19% / 67%
Süresi dolmuş
101
10%
Serbest
Yayınlandı: 1 makale, 6 kod
6
Geliştirici 6
Derecelendirme
(61)
Projeler
89
28%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(23)
Projeler
34
53%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
3%
Serbest
8
Geliştirici 8
Derecelendirme
(64)
Projeler
83
28%
Arabuluculuk
9
33% / 56%
Süresi dolmuş
9
11%
Serbest
Yayınlandı: 1 kod
9
Geliştirici 9
Derecelendirme
(2)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
(119)
Projeler
169
38%
Arabuluculuk
9
78% / 22%
Süresi dolmuş
15
9%
Serbest
11
Geliştirici 11
Derecelendirme
(571)
Projeler
663
32%
Arabuluculuk
42
45% / 45%
Süresi dolmuş
12
2%
Yüklendi
12
Geliştirici 12
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Çalışıyor
14
Geliştirici 14
Derecelendirme
(15)
Projeler
22
18%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
4
18%
Çalışıyor
15
Geliştirici 15
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
(32)
Projeler
35
34%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
17
Geliştirici 17
Derecelendirme
(3)
Projeler
1
100%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
0
Serbest
18
Geliştirici 18
Derecelendirme
(12)
Projeler
13
8%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
19
Geliştirici 19
Derecelendirme
(40)
Projeler
43
58%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
2%
Serbest
Yayınlandı: 5 kod
20
Geliştirici 20
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Fix ea not start new one mt5. Fix entry tp sl use whole numbers. Fix entry apply ohlc mtf touch retouch 60m 240m 1440m 10080m Fix entry apply hh ll lh hl Touch retouch Check condition from ohlc mtf. Check condition close [1] ohlc mtf. Display Whole number chart 000, 0000, 00000 Fix entry tp sl use 00, 000, 0000 round whole numbers. Add expiration minutes. Add entry look back hh ll lh hl Add entry look back hh Add
Close Vol (%N): Closes half (or any percentage you want) of the lot size of your open positions. For example, if you have five open orders of 0.06 lots and want to close half of each, you simply click it, and it will close the specified volume from each individual order. Close Order (%N): Closes half (or any amount you want) of the total number of your open orders. For example, if you have ten open orders and want to
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with $100. I am willing to pay up to $1500 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm
Need an trailing SL manager which can work with my all open trades (trades may be multiple), Put a fix SL based on entry price and then trail my strictly in my favoured direction, Initial SL shud be confiurable via a small dashboard
Pip killer ntt 100+ USD
Create a forex robot especially for sculping using the 3 ema strategy which consists of the following moving average levels of the 15 ma ,30 ema , 60 ema and 90 which enter potentially on a retest into the ema and targets opposite direction after the retest .Potentially bringing into account that the number of retested emas controlls the number of entreis which for eg. retest of the 15 ema single 0.01 trade is
Need to improve logic in existing coding for Range breakout/breakin EA 1) for timing range like 1am-10am Asian Range with max entry per session like London 1-2 times max entry 10-4pm & US session timings 1-2 entry 4pm - 8pm or 2) candle high low range eg 4pm to 4:30pm - entry logic eg mark 30min candle high low range as given in attached picture with buffer if required to show entry , SL & TP in trade/backtest mode
Make a Robot for mt5 using supertrend indicator for entry in trade with period 2 and multiplier 1.1 using Heiken Ashi candle also with martingle of 2 with maximum step for martingle is 15 step until profit reaches double of total loss. Select time frame 1 minute.Always close the previous trade if in loss then take next trade with martingle of 2 of previous lot in loss. All parameter have the option to change it
Robot que combine 2 indicadores en la ejecución automatica: 1 el Gann High Low y el Donchian Channel (DC) ACTIVO: XAU/USD EN UNA HORA PARA EL DC: período DC = 55 velas displacement/shift = 1 Mas Detalles en este video : https://youtu.be/3jI3cZY89T4?si=YEZAkMvWiq9O8-u9
Hello, I need an Expert Advisor for both MT4 and MT5 based on a recovery/grid trading strategy. Strategy Logic: User manually opens either a Buy or Sell market order. Once the first trade is opened, the EA automatically places an opposite pending order at a user-defined distance. If the pending order gets triggered, the EA places another opposite pending order at the original order price. This cycle continues
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity

Proje bilgisi

Bütçe
30 - 400 USD