Channel breakout

Specification

1. Project Overview

Name: BB Channel Trading EA
Objective: Execute reversal trades based on price action (engulfing patterns and liquidity sweeps) at the extremes defined by Bollinger Bands. Trades will be taken when price breaks volatility bounds, indicating potential exhaustion and reversal.


2. Functional Components

2.1 Bollinger Bands Channel

  • Purpose: Identify overbought and oversold zones.

  • Indicator: Custom Bollinger Bands (BB.ex5).

  • Parameters:

    • BBPeriod (int; default: 20)

    • BBShift (int; default: 0)

    • BBDeviation (double; default: 2.0)

  • Buffers:

    • Upper Band — buffer index 1

    • Lower Band — buffer index 2

2.2 Liquidity Sweep Detection

  • Purpose: Confirm break of local high/low, indicating possible stop run.

  • Parameter: LookbackBars (int; default: 5)

  • Logic:

    • Long: current candle’s low < lowest low of prior LookbackBars .

    • Short: current candle’s high > highest high of prior LookbackBars .

2.3 Engulfing Pattern Detection

  • Purpose: Confirm strong reversal candle.

  • Rules:

    • Bullish Engulfing:

      • Current candle is bullish ( Close > Open )

      • Its body wicks fully exceed the previous candle’s body & wicks:

        • Open[current] < Close[previous]

        • Close[current] > Open[previous]

        • High[current] > High[previous]

        • Low[current] < Low[previous]

    • Bearish Engulfing: Reverse logic for a bearish bar.


3. Trade Logic

3.1 Entry Conditions

  • Long Trade:

    1. Close[lastBar] < LowerBand

    2. Liquidity sweep (new local low)

    3. Bullish engulfing pattern

  • Short Trade:

    1. Close[lastBar] > UpperBand

    2. Liquidity sweep (new local high)

    3. Bearish engulfing pattern

3.2 Trade Execution

  • Lot Size: LotSizeMultiplier (double; default: 0.1)

  • Stop Loss (SL):

    • Long: Low of current bar

    • Short: High of current bar

  • Take Profit (TP):

    • Long: Close + (Close - SL) * RiskRewardRatio

    • Short: Close - (SL - Close) * RiskRewardRatio


4. Input Parameters

Parameter Type Default Value Description
LookbackBars int 5 Bars to consider for liquidity sweep
RiskRewardRatio double 2.0 SL–TP distance ratio
LotSizeMultiplier double 0.1 Trade volume multiplier
BBPeriod int 20 Bollinger Bands period
BBShift int 0 Bollinger Bands shift
BBDeviation double 2.0 Bollinger deviation multiplier

5. Platform & Trade Environment

  • Platform: MetaTrader 5 (MT5)

  • Dependencies:

    • Bollinger Bands indicator ( BB.ex5 ) in MQL5/Indicators

  • Trading Conditions:

    • Auto trading enabled

    • EA Properties → “Allow live trading” enabled

    • Broker’s min lot size must be ≤ LotSizeMultiplier

  • Chart Timeframes: M5–H1 recommended


6. Error Handling & Safeguards

  • Price Arrays: Use CopyOpen() , CopyClose() , CopyHigh() , CopyLow() to fill buffers; abort if any fail.

  • Indicator Buffers: Use CopyBuffer() for upper/lower bands; abort if empty or EMPTY_VALUE .

  • Array Bounds: Check bar + 1 < ArraySize(...) before intact comparisons.

  • Valid SL / TP: Ensure TP/SL calculations produce valid, non-zero values.


7. Debugging & Logging

  • Print key values:

    • Close[lastBar] , Upper , Lower

    • Results of liquiditySweep() and isBullishEngulfing()

  • Log trade attempts and any rejection (via Expert and Journal tabs).


8. Future Enhancements (Optional)

  • Trailing Stop: Adjustable trailing stop logic based on channel midline.

  • Trade Flip Logic: Exit long and immediately open short (and vice versa) on opposite signal.

  • Multi-Position Mode: Allow multiple simultaneous trades (e.g., hedging).

  • Optimizations: Use Strategy Tester to optimize BBPeriod , BBDeviation , RiskRewardRatio .


Responded

1
Developer 1
Rating
(94)
Projects
137
17%
Arbitration
4
50% / 25%
Overdue
12
9%
Working
2
Developer 2
Rating
(13)
Projects
17
18%
Arbitration
3
67% / 0%
Overdue
0
Free
3
Developer 3
Rating
(75)
Projects
123
43%
Arbitration
12
33% / 50%
Overdue
17
14%
Working
4
Developer 4
Rating
(109)
Projects
137
43%
Arbitration
8
38% / 38%
Overdue
6
4%
Free
5
Developer 5
Rating
(8)
Projects
10
20%
Arbitration
0
Overdue
0
Busy
6
Developer 6
Rating
(20)
Projects
26
38%
Arbitration
2
50% / 50%
Overdue
2
8%
Free
7
Developer 7
Rating
(2248)
Projects
2835
62%
Arbitration
118
46% / 25%
Overdue
428
15%
Free
8
Developer 8
Rating
(36)
Projects
38
11%
Arbitration
2
50% / 50%
Overdue
2
5%
Working
9
Developer 9
Rating
(254)
Projects
341
71%
Arbitration
12
42% / 25%
Overdue
12
4%
Free
Published: 17 codes
10
Developer 10
Rating
(415)
Projects
656
33%
Arbitration
31
74% / 6%
Overdue
20
3%
Free
11
Developer 11
Rating
(462)
Projects
907
76%
Arbitration
25
16% / 68%
Overdue
99
11%
Free
Published: 1 article, 6 codes
12
Developer 12
Rating
(325)
Projects
535
67%
Arbitration
52
21% / 38%
Overdue
169
32%
Working
Published: 1 code
13
Developer 13
Rating
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
14
Developer 14
Rating
(279)
Projects
330
51%
Arbitration
12
42% / 0%
Overdue
18
5%
Loaded
15
Developer 15
Rating
(51)
Projects
69
35%
Arbitration
1
100% / 0%
Overdue
0
Free
16
Developer 16
Rating
(322)
Projects
497
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
17
Developer 17
Rating
(6)
Projects
6
17%
Arbitration
2
0% / 0%
Overdue
1
17%
Loaded
18
Developer 18
Rating
(11)
Projects
16
31%
Arbitration
3
67% / 0%
Overdue
0
Free
19
Developer 19
Rating
(10)
Projects
13
0%
Arbitration
1
0% / 100%
Overdue
2
15%
Working
20
Developer 20
Rating
Projects
1
0%
Arbitration
3
33% / 33%
Overdue
0
Working
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(7)
Projects
14
29%
Arbitration
1
100% / 0%
Overdue
4
29%
Free
23
Developer 23
Rating
(359)
Projects
637
26%
Arbitration
91
71% / 13%
Overdue
12
2%
Loaded
Published: 1 code
24
Developer 24
Rating
(8)
Projects
12
0%
Arbitration
22
0% / 77%
Overdue
4
33%
Free
25
Developer 25
Rating
(11)
Projects
11
18%
Arbitration
1
0% / 0%
Overdue
1
9%
Free
26
Developer 26
Rating
(368)
Projects
472
24%
Arbitration
51
61% / 20%
Overdue
53
11%
Loaded
27
Developer 27
Rating
(17)
Projects
19
26%
Arbitration
2
50% / 0%
Overdue
1
5%
Free
Published: 2 codes
28
Developer 28
Rating
(4)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
1
50%
Working
29
Developer 29
Rating
(14)
Projects
15
0%
Arbitration
1
0% / 0%
Overdue
0
Working
30
Developer 30
Rating
(3)
Projects
3
0%
Arbitration
0
Overdue
0
Busy
31
Developer 31
Rating
(84)
Projects
115
70%
Arbitration
5
80% / 0%
Overdue
11
10%
Free
32
Developer 32
Rating
(2596)
Projects
3275
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
33
Developer 33
Rating
(291)
Projects
521
36%
Arbitration
62
34% / 35%
Overdue
187
36%
Loaded
34
Developer 34
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
35
Developer 35
Rating
(287)
Projects
293
70%
Arbitration
2
100% / 0%
Overdue
0
Free
Published: 1 code
36
Developer 36
Rating
(450)
Projects
560
26%
Arbitration
22
41% / 36%
Overdue
85
15%
Free
Published: 6 codes
37
Developer 37
Rating
(156)
Projects
280
35%
Arbitration
14
29% / 50%
Overdue
42
15%
Free
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
(77)
Projects
232
73%
Arbitration
6
100% / 0%
Overdue
1
0%
Free
Similar orders
My Strategy is very simple yet complex. I require a strong coder to be available to be able to code this and have a vast and deep understanding of the market. I require this to be automated and will give more details once I have matched with someone. Furthermore, I would prefer if we could exchange numbers just so it is easier to converse with the person. Thank you
Hello, I’m looking for an MQL5 or MQL4 EA that trades EURUSD (optionally other majors or XAUUSD). The broker applies a 4-pip spread on EURUSD and higher on other symbols. The sole objective is to generate at least 45–60 lots of volume within 2 weeks or max one month (more is better; a bonus is paid for every additional 10 lots traded). The account has 1000 USD starting balance. Capital preservation is not required
# Multi-Layer Probabilistic EA — Design Plan (MQL5) Author: Custom-Expert-Advisors Status: Draft v3 Scope: MQL5-only (no Python) ## 1. Purpose & Scope Design a robust, real-time, probabilistic Expert Advisor for MT5 that adapts to market regimes, filters noise using information theory, and sizes risk via Bayesian beliefs and fractional Kelly. The design prioritizes stability, latency control, and survivability in
I need MQL4 EA for a forex expert advisor to trade on MT4 that uses a reversal strategy with the following conditions: only pairs that will enter are USDJPY, EURJPY, CADJPY, NZDJPY, AUDJPY, GBPJPY, CHFJPY. Each pair can only be traded once a month. Will only enter the market on 1 hour timeframe. Lot size = 1.0. Risk:reward ratio is 1:2. Enter if there are at least 7 confirmations from the following signals: for the
Bainanans 500+ USD
Bainanan good f المؤشر. ينبغي إضافة نقطة صفراء عند أعلى نقطة في الشموع في منطقة ذروة الشراء - وهي نقطة H. ينبغي إضافة نقطة خضراء عند النقطة المنخفضة للشموع في منطقة ذروة البيع - وهي نقطة L. إذا وُجدت نقطة L واحدة على الأقل بين نقطتي H، فابحث عن نقطة LL في الفترة الفاصلة بينهما. ستكون الشمعة ذات أدنى سعر قاع هي نقطة LL. بشكل عام، لا تُعتبر نقطة LL بالضرورة نقطة L. ابحث عن الشموع ذات أدنى سعر قاع. إذا كانت هناك نقطة H
Kamohelo Phehlane 50 - 150 USD
The robot must make me a large profits and it must be strategic.It must look for strategies and tell me whether to buy or sell the trade.And it must take a half of the profit and must give me the other half of the profit
Døsh forex 30 - 200 USD
I want a robot that will help me and trade the the robot will be very good I don’t want to loose money I repeat I don’t want to loose money
Precision Shift EA 100 - 500 USD
Use the Daily (D1) chart as the higher timeframe reference. On the H1 timeframe, monitor for a sweep of the previous day’s high or low. A sweep means that price takes liquidity above or below the previous day’s level and then shifts back inside. After a sweep on H1, drop to the M5 timeframe. On M5, wait for a Change of State in Delivery / Market Structure Shift (CHOCH/BOS) to confirm entry. If the sweep occurs above
📌 Forex EA Bot Requirement Document 1. General Information Trading Platform: MetaTrader 5 (MT5) / MetaTrader 4 (MT4) Trading Instruments: (e.g., GBP/JPY, XAU/USD, BTC/USD) Timeframes to Trade: (e.g., 15M, 1H, 4H, Daily) Trading Style: (Scalping, Swing trading, Intraday, Position trading) 2. Entry Rules Define the indicators/strategies for entry (e.g., Moving Averages, MACD, RSI, Order Blocks, Supply & Demand)
Develop a fully automated Expert Advisor (EA) compatible with MetaTrader 5 (MT5) platform. The EA should assist traders in successfully navigating and passing proprietary trading firm challenges (e.g., FTMO) by employing advanced risk management and hedging strategy. Core Functionalities 1. Dual-Account Hedging Mechanism Functionality: Implement a system where the EA places buy orders on the prop (challenge) account

Project information

Budget
75+ USD

Customer

Placed orders1
Arbitrage count0