Bollinger band trade manager EA (in mql4)

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 34 gün

İş Gereklilikleri

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

Dosyalar:

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(620)
Projeler
680
57%
Arabuluculuk
25
16% / 60%
Süresi dolmuş
228
34%
Serbest
2
Geliştirici 2
Derecelendirme
(516)
Projeler
784
63%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
23
3%
Serbest
Yayınlandı: 1 kod
3
Geliştirici 3
Derecelendirme
(130)
Projeler
184
32%
Arabuluculuk
18
28% / 67%
Süresi dolmuş
27
15%
Serbest
Yayınlandı: 1 kod
Benzer siparişler
looking for EA using zone recovery strategy. would like to make small per cent daily with small drawdown. it is a martingale hedge system. Please make the entry based on your own judgement
I need a custom MT4 Expert Advisor with the following high-level requirements: User-defined initial trade direction (Buy or Sell) Percentage-based Take Profit and Stop Loss Risk-based position sizing , where lot size is calculated automatically based on: Risk % per trade Stop Loss distance Automated opposite order logic based on trade outcome: Opposite market execution in one scenario Opposite pending execution in
Hi, is this signal enough for a bot to trade on attached images. its literally just a telegram channel I have access to, the trader avg's 10% weekly for the last 2 years, but I do not have the time to copy trade so wanted to find a solution, all he does is send TV screenshots of his entry/sl/tp and then sends updates as he manages the trade. I thought about hiring someone in a similar timezone to the trader (hes in
Modifiedea 30+ USD
Please my robot doesn’t open trades and I also believe it the ma crossover and others please I want the ma crossover to be fixed.also add trade directions to parameter for both, only sell, or only buys. Please also correct the balance drawdown and equity drawdown if it’s not working.the ea would be carefully tested for assessment l. Also source code will be handed before Payment. Only 30bucks for budget
I need an MT4/MT5 EA modification. Requirements: 1. Equity protection based on DAILY and TOTAL drawdown 2. Automatically close all trades when limit is hit 3. Disable trading after drawdown hit 4. Email notification when: - Daily loss limit reached - Total loss limit reached 5. EA must work on multiple accounts simultaneously 6. Clean and error-free code 7. Compatible with MT5 (or MT4 mention yours)
If you have profitable strategy or profitable EA on the gold pair without martingale / Hedge, then share me the EA with expiry time to back test and to test on the live market. Platform: MT5 pair: Gold Non-Martingale, No Hedging. Need Source Code
I have a working Python backtester for my “DC-WAD Donchian” strategy. I need a MetaTrader 5 Expert Advisor (MQL5) for live trading that matches the Python logic as closely as possible ( no lookahead ). ✅ Critical requirement (must accept) EA must be tick-driven for entries/exits (touch logic). Bar-close approximation is not acceptable . Timeframes Strategy runs on a single Setup Timeframe (HTF) (user input, e.g
This indicator will code into MT5 EA. Trade on live, demo and strategy tester. No repaint, no redraw and stable on chart. 1. Include all inputs variable and value, Lots size in points adjustable, TP in points true or false adjustable, SL in points true or false adjustable, close position on opposite signal true or false, Use pending order true or false, use BE points true or false, use slippage point true or false
Good day, I am searching the very high level expert, which could create the auto-trade robot and I would like to order the trading robot for GOLD XAU/USD auto-trade on MetaTrader. I could pay a lot for the institutional grade auto-trade robot, just contact me and let me know what level of the robot you could offer and we will negotiate the price
Looking to purchase a EA for Gold and US30 with source Requirements: must have proper built in Risk Management Must yield good profit factor and recovery Factor Must work on any Broker Must have less than 15% drawdown Year over Year Z-Score should be high Consecutive Profits Must Outweigh Consecutive losses atleast 3/1 Must be able to work on accounts from 100USD and up Testing must be based off of real Tick Values

Proje bilgisi

Bütçe
30 - 50 USD
Son teslim tarihi
to 14 gün