Bollinger band trade manager EA (in mql4)

MQL4 Experten

Auftrag beendet

Ausführungszeit 34 Tage

Spezifikation

Requirements:

- you have experience with coding a bollinger band trade manager

- good English understanding

- you understand below instructions:

____________________________________

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


Rules (strategy, entry, exit)

Main rules:

1. EA opens a trade

a. sell, if price touches upperBB //mean-reversal strategy

b. buy, if price touches lowerBB

2. open at the same time a hedge trade (in opposite direction)

3. if trade goes in loss, TP of hedge trade is triggered

4. if trade goes further in loss, trade hits SL

5. but if trade goes back to entry, then enter a new hedge trade (with same entry, TP, SL).

6. if trade goes further in profit, trade hits TP. 


Misc rules:

⦁ EA is fully automated

⦁ all orders are instant orders

⦁ only 1 order is open at a time

⦁ only open an order, if spread<0.5 pips

⦁ only exit an order, if spread<0.5 pips


___________________________________________




EA parameters

Trade management

⦁ on/off: EAisAlwaysOn =on (default)

⦁ lotsize: 0.02

⦁ TP_SL_method: [fixed, fixed upperband to centerband, fixed upperband to lowerband, dynamic from upperband to centerband, dynamic from upperband to lowerband]

⦁ TP:

⦁ fixed: [20] pips

⦁ fixed: from upperband to centerband/lowerband //use fixed TP at entry. RR: 1:1

⦁ dynamic: from upperband to centerband/lowerband //use dynamic TP as bands widen. RR: 1:1

⦁ last High/Low, that is minimum [20] pips from entry and max [50] pips

⦁ SL: 

⦁ fixed: [20] pips

⦁ fixed: from upperband to centerband/lowerband //use fixed TP at entry. RR: 1:1

⦁ dynamic: from upperband to centerband/lowerband //use dynamic TP as bands widen. RR: 1:1

⦁ last High/Low, that is minimum [20] pips from entry and max [50] pips && SL<=TP


Hedge trade

⦁ useHedge: on/off

⦁ resetHedgeAfterTP: on/off //on means, if hedge_TP is hit, then set a new hedge trade (with exact same entry, SL and TP) //new hedge trade is pending order //delete pending order, if original trade hits SL. 

⦁ lotsize hedge: 0.01

⦁ hedge_TP_method: [fixed, fixed centerband, dynamic centerband] 

⦁ hedge TP_fixed: [10] pips


Trade direction

⦁ on/off: changeBuytoSell. //this means, buy = sell and sell = buy //momentum strategy

⦁ TradeLong=true

⦁ TradeShort=true

⦁ on/off: if sell order hits SL, then only open buy orders

⦁ on/off: if buy order hits SL, then only open sell orders





Martingale

⦁ useMartingale: on/off //on means, every new trade gets more lotsize until TP is hit

⦁ maxOrders: [9] //this means, after 9 losses, the EA starts from 0.01 lotsize for the next trade.

⦁ lotsizeMethod: [fixed, add, multiply] //add= lotsize + lotsize. //multiply= lotsize x lotsize

⦁ lotsizeStep: [0.03] 

⦁ example:

⦁ //add = order 1: 0.03 lot, order 2: 0.06, order 3: 0.09 lot

⦁ //multiply = order 1: 0.03 lot, order 2: 0.09, order 3: 0.27 lot

⦁ resetMethod: [fast, slow] 

⦁ example

⦁ //fast means, if a trade hits TP, then reset lotsize to 0.01 for the next trade.

⦁ //slow means, if a trade hits TP, then decrease lotsize for the next trade. For example, order 1 was 0.03, order 2 was 0.06, order 3 was 0.09. If order 3 hits TP, then the next order decreases lotsize to 0.06 (which is the lotsize of previous trade)


Timezone

⦁ Monday on/off

⦁ Tuesday on/off

⦁ Wednesday on/off

⦁ Thursday on/off

⦁ Friday on/off


⦁ London session

⦁ useLOsession=true

⦁ start [7]AM gmt

⦁ end [13]PM 


⦁ NY session

⦁ useNYsession=true

⦁ start [14]PM

⦁ end [20]PM


⦁ Night session

⦁ useNightsession=true

⦁ start [21]PM

⦁ end [6]AM


Misc

⦁ skip: [2] //skip means, EA skips 2 consecutive losses (virtually) and afterwards the EA opens a real trade. So, the EA waits for 2 virtual consecutive losses.

⦁ checkPriceEveryTick=false //false means, check price every new candle

⦁ Magicnumber: 123456

⦁ TradeComment: bollinger_band_1.00

⦁ Slippage: 5


_____________________________

Filters (indicators, price action)

Indicators: general

⦁ useIndicators: on/off

⦁ Add basic parameters for all indicators (use default parameter settings)

⦁ all parameters have on/off

⦁ Each indicator seperately should have this parameter: lookback: [10] candles


Indicators: indicator settings


Bollinger band
⦁ only open a new trade, if price closed above outerband directly from ‘centerband'
⦁ entryMethod: [if price touched outerband, if price closed outside outerband, if price crossed outerband and the first opposite candle is closed, if price crossed ‘above’ outerband and returns ‘below’ outerband]
⦁ //entryMethod #1: if price touched outerband
⦁ //entryMethod #2: if price closed outside outerband
⦁ entryPipsFromOuterband: [5] //entry is 5 pips above upperband or below lowerband
⦁ entryAfterSomeCandles: [1] //if candle closed above upperBB, then wait for [1] other bullish candle to close and then open a trade. 
⦁ //entryMethod #3: if price crossed outerband and the first opposite candle is closed
⦁ //this entryMethod means, for example: price crossed upperband and is followed by 6 bullish candles. Then, sell, if a bearish candle closed.
⦁ //entryMethod #4: if price crossed ‘above’ outerband and returns ‘below’ outerband
⦁ maxPips: [5] pips //if candle closes (from outside outerband to inside outerband), then only open a trade if entry is maximum [5] pips from outerband.
⦁ only open a trade, if (HIGHBB-LOWBB)<= [20] pips //momentum strategy

⦁ only open a trade, if (HIGHBB-LOWBB)>= [50] pips //mean-reversal strategy


⦁ only open a buy trade, if centerband slopes [upwards, downwards]
⦁ slope degree <=[40] degrees //mean-reversal strategy
⦁ slope degree >=[20] degrees //momentum strategy
⦁ for at least [6] candles
⦁ for at least [3] swings
⦁ only open a sell trade, if centerband slopes [upwards, downwards]
⦁ slope degree <=[40] degrees //mean-reversal strategy
⦁ slope degree >=[20] degrees //momentum strategy
⦁ for at least [6] candles

⦁ for at least [3] swings


⦁ only open a trade, if price came from centerband. 
⦁ only sell, if price came from [upperband, lowerband]
⦁ only buy, if price came from [upperband, lowerband]
⦁ don’t open a trade, if [3] and more candles ago price was [5] pips below the upperband (or [5] pips above the lowerband)

⦁ don’t open a trade, if between [4] and [10] candles ago price touched the outerband


squeeze indicators
⦁ only open a trade, if squeeze<[10]

⦁ only open a trade, if squeeze>[50]


arrow indicators
⦁ only buy, if arrow is up
⦁ only sell, if arrow is down

atr/adr
⦁ open a trade in the direction of candle_open, if ATR>ADR
⦁ open a trade in the opposite direction of candle_open, if ATR<ADR


ATR

⦁ [buy], if previous down swing has a bearish ATR swing
⦁ [sell], if previous up swing has a bearish ATR swing
⦁ only open trade, if ATR breaks above 20EMA //for momentum strategy
⦁ parameter: on/off. If ATR increases, then increase TP/SL (use same ratio as ATR)
⦁ ATRmacd_OsWAD(trueforex.pp.ua).mq4: 
⦁ only open a trade, if color changes from light green to dark green  //momentum strategy
⦁ only open a trade, if color changes from dark red to light red


candle length indicator

⦁ only open a trade, if candle length>[10] pips
⦁ wick indicator
⦁ only open a trade, if candle wick>[5] pips
⦁ sell for [bullish] wick
⦁ buy for [bearish] wick

gap finder
⦁ only open a trade in direction of previous gap
⦁ gap is at least [10] pip. Lookback is [50] pips. 


single moving average

⦁ only open a trade, in direction of MA
⦁ buy, if price is above MA
⦁ sell, if price is below MA


crossover moving average

⦁ only open a trade, in direction of crossover. Lookback is [10] candles


oscillator

⦁ sell if overbought
⦁ buy if oversold
⦁ only sell, if price[1]>overbought, price[0]<overbought //this means, sell, if previous candle was inside overbought zone and now closed below this zone.
⦁ skip [1] //skip the first time that price crosses below overbought, and open a trade if price goes above and then goes below overbought again (for the second time)


pivot point

⦁ only sell, if price goes upwards and touches pivot point
⦁ only buy, if price goes downwards and touches pivot point


volume indicator 

⦁ only open a trade, if volume is above [50] //momentum strategy
⦁ only open a trade, if volume is below [50] //mean-reversal strategy


zigzag indicator

⦁ only sell, if down swing is bigger than previous up swing
⦁ only buy, if up swing is bigger than previous down swing


candlestick indicator

⦁ only open a trade, if doji
⦁ only open a trade, if bullish/bearish engulfing pattern 



___________________________

Price action:

⦁ usePriceAction: on/off

⦁ wick

⦁ don't open a trade, if candle wick (of previous candle) outside of outerband, is longer than [10] pips

⦁ trading conditions: only open trade, if candle wick (of previous candle) outside of outerband, is less than [5] pips

⦁ re-test

⦁ only buy if sell failed the re-test

⦁ big swing

⦁ skip [200] pips //this means, wait for a 200 pip swing, and then start trading

⦁ only open a trade, if previous [200] pips did not have a 50% retracement

⦁ lookback: [20] candles

⦁ method: [only for candle close, only from high of swing until low of swing] //the last option means: all candles between ‘swing high and swing low’.

⦁ swings

⦁ only open a trade, if previous two swings were [HH][LL][HL][LH]

⦁ only open a buy trade, if price previously touched [lowerband, upperband]

⦁ only open a sell trade, if price previously touched [lowerband, upperband]

⦁ candles

⦁ only open a trade, if [6] consecutive bullish/bearish candles

⦁ exit trade in profit, if trade goes immediately [5] pips in profit without going [2] pips in loss

⦁ breakeven, if trade goes immediately [5] pips in profit without going [2] pips in loss

Dateien:

Bewerbungen

1
Entwickler 1
Bewertung
(620)
Projekte
680
57%
Schlichtung
25
16% / 60%
Frist nicht eingehalten
228
34%
Frei
2
Entwickler 2
Bewertung
(516)
Projekte
784
63%
Schlichtung
33
27% / 45%
Frist nicht eingehalten
23
3%
Frei
Veröffentlicht: 1 Beispiel
3
Entwickler 3
Bewertung
(130)
Projekte
184
32%
Schlichtung
18
28% / 67%
Frist nicht eingehalten
27
15%
Frei
Veröffentlicht: 1 Beispiel
Ähnliche Aufträge
Need to build an EA which Automatically set precise TP and SL price levels on any trade ⚙️ Works with all pairs and EAs, filter by symbol or magic number. Key Features: 🧮 Instantly modify TP and SL by exact price 📍 Apply to all orders, current symbol, or specific magic numbers ♻️ Use zero to remove TP or SL from trades ⚡ Fully automated once attached to any chart 🧩 Compatible with all trading instruments Open 1,2
Gold Grid Hedge EA 30 - 50 USD
Step-by-Step Explanation of the Complete Trading EA PHASE 1: INITIALIZATION Step 1 - EA Startup text When EA is attached to chart: 1. Check if it's a new trading day (after 00:00 server time) 2. Reset daily profit counter to $0 3. Record initial account balance for drawdown calculation 4. Initialize Fibonacci sequence: [0.01, 0.02, 0.03, 0.05, 0.08, 0.13, 0.21...] 5. Set current state to "STEP_A_START" Step 2 - Place
*Title:* Ready‑to‑Deploy MT5 Expert Advisor – Full Source & Proven Track Record *Project Brief* I’m seeking a pre‑built MT5 Expert Advisor that comes with the complete, well‑commented .mq5 file. Only serious offers will be considered. The EA must satisfy the following conditions: - *Source Code:* Provide the entire .mq5 file, clearly annotated for ease of maintenance. - *Historical Testing:* 4‑year back‑test
Hi guys, — I’m looking to purchase an existing Expert Advisor with source code . Serious enquiries only, please. Below are my requirements: Mandatory requirements Source code required (full .mq5 , readable & well-commented preferred) Backtest period: 4 years — Jan 1, 2022 → Dec 31, 2025 (tick/data quality must be stated) Demo test: 1 month on a live/demo broker after backtest passes Target performance: ~15% monthly
I’m looking for an experienced MT5 EA developer to build a stable, adaptive trading bot with built-in safety and realistic trading logic. This EA must be suitable for real-market usage , not backtest-only logic, and built to adapt to changing market conditions . 🧠 Strategy Requirements : EA must adapt to market conditions (e.g., trend detection, volatility filters, session changes, etc.) Use SL and TP per trade
I am interested to creating a EA based on strategy that i have. In my trading strategy I used RSI and 15 min day time crusher indicator which are available on trading view. For more details find attachments
I am interested to creating a EA based on strategy that i have. In my trading strategy I used RSI and 15 min day trader crusher indicator which are available on trading view. BUY ENTRY LOGIC : TIMEFRAME 1 MIN - RSI cross middle line (50) in Down to Up direction. (in between 50-52) - Candle cross 15 DTC line. Both RSI & Candle are need to cross at same time. - At the time of next candle opening take BUY entry with
I'm seeking a NinjaTrader indicator and scanner to identify stock patterns for swing trading. I need this tool to help pinpoint swing highs and lows and key levels, covering various timeframes. Scope of work - Develop NinjaTrader indicator for last swing high and low - Implement key level marking for supply and demand zones - Create a market analyser scanner for reversal, structure shifts, and breakout patterns -
Hi Developers, I would like to create an EA that trades XAUUSD (TF 1M) for generating lots of trading rebate. You should know what I want, kindly propose your solution. Thank you
I'm seeking a NinjaTrader indicator and scanner to identify stock patterns for swing trading. I need this tool to help pinpoint swing highs and lows and key levels, covering various timeframes. Scope of work - Develop NinjaTrader indicator for last swing high and low - Implement key level marking for supply and demand zones - Create a market analyser scanner for reversal, structure shifts, and breakout patterns -

Projektdetails

Budget
30 - 50 USD
Ausführungsfristen
bis 14 Tag(e)