Channel breakout

İş Gereklilikleri

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 .


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(94)
Projeler
137
17%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
12
9%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(13)
Projeler
17
18%
Arabuluculuk
3
67% / 0%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(75)
Projeler
123
43%
Arabuluculuk
12
33% / 50%
Süresi dolmuş
17
14%
Serbest
4
Geliştirici 4
Derecelendirme
(109)
Projeler
137
43%
Arabuluculuk
8
38% / 38%
Süresi dolmuş
6
4%
Serbest
5
Geliştirici 5
Derecelendirme
(8)
Projeler
10
20%
Arabuluculuk
0
Süresi dolmuş
0
Meşgul
6
Geliştirici 6
Derecelendirme
(20)
Projeler
26
38%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
2
8%
Serbest
7
Geliştirici 7
Derecelendirme
(2248)
Projeler
2835
62%
Arabuluculuk
118
46% / 25%
Süresi dolmuş
428
15%
Serbest
8
Geliştirici 8
Derecelendirme
(36)
Projeler
38
11%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
2
5%
Çalışıyor
9
Geliştirici 9
Derecelendirme
(254)
Projeler
341
71%
Arabuluculuk
12
42% / 25%
Süresi dolmuş
12
4%
Serbest
Yayınlandı: 17 kod
10
Geliştirici 10
Derecelendirme
(415)
Projeler
656
33%
Arabuluculuk
31
74% / 6%
Süresi dolmuş
20
3%
Serbest
11
Geliştirici 11
Derecelendirme
(462)
Projeler
907
76%
Arabuluculuk
25
16% / 68%
Süresi dolmuş
99
11%
Serbest
Yayınlandı: 1 makale, 6 kod
12
Geliştirici 12
Derecelendirme
(325)
Projeler
535
67%
Arabuluculuk
52
21% / 38%
Süresi dolmuş
169
32%
Çalışıyor
Yayınlandı: 1 kod
13
Geliştirici 13
Derecelendirme
Projeler
1
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
14
Geliştirici 14
Derecelendirme
(279)
Projeler
330
51%
Arabuluculuk
12
42% / 0%
Süresi dolmuş
18
5%
Yüklendi
15
Geliştirici 15
Derecelendirme
(51)
Projeler
69
35%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
(322)
Projeler
497
67%
Arabuluculuk
5
40% / 0%
Süresi dolmuş
4
1%
Serbest
Yayınlandı: 8 kod
17
Geliştirici 17
Derecelendirme
(6)
Projeler
6
17%
Arabuluculuk
2
0% / 0%
Süresi dolmuş
1
17%
Yüklendi
18
Geliştirici 18
Derecelendirme
(11)
Projeler
16
31%
Arabuluculuk
3
67% / 0%
Süresi dolmuş
0
Serbest
19
Geliştirici 19
Derecelendirme
(10)
Projeler
13
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
2
15%
Çalışıyor
20
Geliştirici 20
Derecelendirme
Projeler
1
0%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
0
Çalışıyor
21
Geliştirici 21
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
22
Geliştirici 22
Derecelendirme
(7)
Projeler
14
29%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
4
29%
Serbest
23
Geliştirici 23
Derecelendirme
(359)
Projeler
637
26%
Arabuluculuk
91
71% / 13%
Süresi dolmuş
12
2%
Yüklendi
Yayınlandı: 1 kod
24
Geliştirici 24
Derecelendirme
(8)
Projeler
12
0%
Arabuluculuk
22
0% / 77%
Süresi dolmuş
4
33%
Serbest
25
Geliştirici 25
Derecelendirme
(11)
Projeler
11
18%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
1
9%
Serbest
26
Geliştirici 26
Derecelendirme
(368)
Projeler
472
24%
Arabuluculuk
51
61% / 20%
Süresi dolmuş
53
11%
Yüklendi
27
Geliştirici 27
Derecelendirme
(17)
Projeler
19
26%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
5%
Serbest
Yayınlandı: 2 kod
28
Geliştirici 28
Derecelendirme
(4)
Projeler
2
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
1
50%
Çalışıyor
29
Geliştirici 29
Derecelendirme
(14)
Projeler
15
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Çalışıyor
30
Geliştirici 30
Derecelendirme
(3)
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
0
Meşgul
31
Geliştirici 31
Derecelendirme
(84)
Projeler
115
70%
Arabuluculuk
5
80% / 0%
Süresi dolmuş
11
10%
Serbest
32
Geliştirici 32
Derecelendirme
(2596)
Projeler
3275
67%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
33
Geliştirici 33
Derecelendirme
(291)
Projeler
521
36%
Arabuluculuk
62
34% / 35%
Süresi dolmuş
187
36%
Yüklendi
34
Geliştirici 34
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
35
Geliştirici 35
Derecelendirme
(287)
Projeler
293
70%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
36
Geliştirici 36
Derecelendirme
(450)
Projeler
560
26%
Arabuluculuk
22
41% / 36%
Süresi dolmuş
85
15%
Serbest
Yayınlandı: 6 kod
37
Geliştirici 37
Derecelendirme
(156)
Projeler
280
35%
Arabuluculuk
14
29% / 50%
Süresi dolmuş
42
15%
Serbest
38
Geliştirici 38
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
39
Geliştirici 39
Derecelendirme
(77)
Projeler
232
73%
Arabuluculuk
6
100% / 0%
Süresi dolmuş
1
0%
Serbest
Benzer siparişler
⸻ 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

Proje bilgisi

Bütçe
75+ USD

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0