Channel breakout

Spécifications

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 .


Répondu

1
Développeur 1
Évaluation
(94)
Projets
137
17%
Arbitrage
4
50% / 25%
En retard
12
9%
Travail
2
Développeur 2
Évaluation
(13)
Projets
17
18%
Arbitrage
3
67% / 0%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(75)
Projets
123
43%
Arbitrage
12
33% / 50%
En retard
17
14%
Gratuit
4
Développeur 4
Évaluation
(109)
Projets
137
43%
Arbitrage
8
38% / 38%
En retard
6
4%
Gratuit
5
Développeur 5
Évaluation
(8)
Projets
10
20%
Arbitrage
0
En retard
0
Occupé
6
Développeur 6
Évaluation
(20)
Projets
26
38%
Arbitrage
2
50% / 50%
En retard
2
8%
Gratuit
7
Développeur 7
Évaluation
(2248)
Projets
2835
62%
Arbitrage
118
46% / 25%
En retard
428
15%
Gratuit
8
Développeur 8
Évaluation
(36)
Projets
38
11%
Arbitrage
2
50% / 50%
En retard
2
5%
Travail
9
Développeur 9
Évaluation
(254)
Projets
341
71%
Arbitrage
12
42% / 25%
En retard
12
4%
Gratuit
Publié : 17 codes
10
Développeur 10
Évaluation
(415)
Projets
656
33%
Arbitrage
31
74% / 6%
En retard
20
3%
Gratuit
11
Développeur 11
Évaluation
(462)
Projets
907
76%
Arbitrage
25
16% / 68%
En retard
99
11%
Gratuit
Publié : 1 article, 6 codes
12
Développeur 12
Évaluation
(325)
Projets
535
67%
Arbitrage
52
21% / 38%
En retard
169
32%
Travail
Publié : 1 code
13
Développeur 13
Évaluation
Projets
1
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(279)
Projets
330
51%
Arbitrage
12
42% / 0%
En retard
18
5%
Chargé
15
Développeur 15
Évaluation
(51)
Projets
69
35%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
16
Développeur 16
Évaluation
(322)
Projets
497
67%
Arbitrage
5
40% / 0%
En retard
4
1%
Gratuit
Publié : 8 codes
17
Développeur 17
Évaluation
(6)
Projets
6
17%
Arbitrage
2
0% / 0%
En retard
1
17%
Chargé
18
Développeur 18
Évaluation
(11)
Projets
16
31%
Arbitrage
3
67% / 0%
En retard
0
Gratuit
19
Développeur 19
Évaluation
(10)
Projets
13
0%
Arbitrage
1
0% / 100%
En retard
2
15%
Travail
20
Développeur 20
Évaluation
Projets
1
0%
Arbitrage
3
33% / 33%
En retard
0
Travail
21
Développeur 21
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
22
Développeur 22
Évaluation
(7)
Projets
14
29%
Arbitrage
1
100% / 0%
En retard
4
29%
Gratuit
23
Développeur 23
Évaluation
(359)
Projets
637
26%
Arbitrage
91
71% / 13%
En retard
12
2%
Chargé
Publié : 1 code
24
Développeur 24
Évaluation
(8)
Projets
12
0%
Arbitrage
22
0% / 77%
En retard
4
33%
Gratuit
25
Développeur 25
Évaluation
(11)
Projets
11
18%
Arbitrage
1
0% / 0%
En retard
1
9%
Gratuit
26
Développeur 26
Évaluation
(368)
Projets
472
24%
Arbitrage
51
61% / 20%
En retard
53
11%
Chargé
27
Développeur 27
Évaluation
(17)
Projets
19
26%
Arbitrage
2
50% / 0%
En retard
1
5%
Gratuit
Publié : 2 codes
28
Développeur 28
Évaluation
(4)
Projets
2
0%
Arbitrage
1
0% / 0%
En retard
1
50%
Travail
29
Développeur 29
Évaluation
(14)
Projets
15
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
30
Développeur 30
Évaluation
(3)
Projets
3
0%
Arbitrage
0
En retard
0
Occupé
31
Développeur 31
Évaluation
(84)
Projets
115
70%
Arbitrage
5
80% / 0%
En retard
11
10%
Gratuit
32
Développeur 32
Évaluation
(2596)
Projets
3275
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
33
Développeur 33
Évaluation
(291)
Projets
521
36%
Arbitrage
62
34% / 35%
En retard
187
36%
Chargé
34
Développeur 34
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
35
Développeur 35
Évaluation
(287)
Projets
293
70%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
Publié : 1 code
36
Développeur 36
Évaluation
(450)
Projets
560
26%
Arbitrage
22
41% / 36%
En retard
85
15%
Gratuit
Publié : 6 codes
37
Développeur 37
Évaluation
(156)
Projets
280
35%
Arbitrage
14
29% / 50%
En retard
42
15%
Gratuit
38
Développeur 38
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
39
Développeur 39
Évaluation
(77)
Projets
232
73%
Arbitrage
6
100% / 0%
En retard
1
0%
Gratuit
Commandes similaires
⸻ I have an Expert Advisor called NeuroTrendX_Pro v7.9 ULTRA (NTX Pro). I need a reliable and experienced MQL5 developer to finalize and correct it without removing or disabling any existing logic. Scope of work (included in the fixed budget): • Fix all existing compile/runtime errors (not just one). • Keep the entire current logic intact (do not remove or change modules). • Implement and confirm the following
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

Informations sur le projet

Budget
75+ USD

Client

Commandes passées1
Nombre d'arbitrages0