Bollinger Band trading EA required in MT4

MQL4 Experts

Job finished

Execution time 11 days
Feedback from customer
Good programmer, just a few difficulties and miscommunications on both our ends.

Specification

I require a Bollinger Band trading EA that places trades based off of the Open and Close of the bars. This is very important, it should not be based off of the high or low. I am using a custom chart that's why some of the requirements may not make much sense. It should take trades based off a Bollinger Band squeeze, which I will define. The squeeze will also require parameters that should have an option to turn or off that will 'validate' the squeeze. In certain parts I have put an asterisk where I want an option to turn or off. This will be about having values being greater than, or having them be greater than or equal to. I will require the EA's parameter settings to be able to modify whether it should be strict in the sense where the values must be greater than. Or they can be more flexible and include values that are equal to them. The EA should then enter trades based off hidden stops, based on the candles open or close that is equal to or greater/lower than this hidden stop. Again, it should not be when price hits it, it needs to be a candle that opens/closes above/below this hidden stop. 

Squeeze Definition:
1) The open of the candle must be above the upper band and the close of the candle must be below the lower band.
2) The current upper bands value must be lower than *or equal to* its previous value and the current lower bands value must be greater than *or equal to* its previous value.



Validate a squeeze:
1) Look back at the earliest time of contraction where the upper band was getting lower and the lower band was getting higher for an 'x' number of bars (default set to 10 bars). It doesn't have to be the earliest when the bands contracted, it has to be earliest where it contracted for 10 consecutive bars.
1a. In this search of contraction, the open of any candle must be below the upper band OR the close of any candle must be above the lower band in these 10 consecutive bars. 
2) The highest point of the upper band before the contraction (that occurred before the squeeze with the 10 consecutive bars) must be equal to or greater than the current upper bands value during the squeeze. Subsequently, The lowest point of the lower band before the contraction (that occurred before the squeeze with the 10 consecutive bars) must be equal to or lower than the current lower bands value during the squeeze.
2a. It should not be the previous 10 bars, I'm only using 10 bars as a reference. The highest point the upper band reached and the lowest point the lower band reached is what's important. So the point at which the upper bands value was greater than its previous value, the next bar is considered a peak. If the upper bands value is lower than or equal to its previous value, this is not a peak. And vice versa when looking at the lower band. 
3) If the upper bands current value is lower than *or equal to* its previous value AND the lower bands current value is higher than *or equal* to its previous value AND the open of the candle is not greater than the upper band AND the close of the candle is not lower than the lower band, this should turn off any hidden stops. The EA should reset its search for a trade by searching for another valid squeeze. 
3a. If the bands are moving away from each other or in the same direction, this should not turn off the hidden stops. Its only when the bands contract and the candles open/close are not in the correct position.
4) The EA should measure the distance of the upper band to the middle band and the lower band to middle band. Then when the EA looks at the peak of the contraction that a minimum of 10 consecutive bars without bars having their close/open outside the bands, the peak of the upper band and peak of the lower band must be an 'x' amount times larger than the ones from the squeeze. For example, if the distance from middle band to upper band is 5 points. If that 'x' amount is set to 2.0, then the peak of the contraction should be at least 10 points (2.0 x 5) from the height of the upper band to middle band. 



Entering a trade:
1) As the bands squeeze, the highest open of the candles in that squeeze will be the price at which we enter a buy trade (hidden stop).
2) The EA should only enter a buy trade when price closes at or above our buy stop (hidden stop)
3) As the bands squeeze, the lowest close of the candles in that squeeze will be the price at which we enter a sell trade (hidden stop).
4) The EA should only enter a sell trade when price opens at or below our sell stop (hidden stop)
5) When a trade has been entered, the other hidden stop must be removed. For example, a buy trade has been entered, therefore the sell stop which was at the lowest close of the candles in the squeeze should be removed. 

Exiting the trade:
1) When the opposite trade is entered, we exit the current trade(s). For example, the EA has 3 buy positions open. After some time it enters a sell trade. At the point of entry for the sell trade, it should simultaneously close all 3 buy trades. Option to turn this off if using TP/SL.

Extra:

1) Limit the number of trades allowed at one time (option to turn off this feature)
2) Use a fixed TP (option to turn off this feature)
3) Use a fixed SL (option to turn off this feature)
4) Points 1-2 from 'Validate a Squeeze' criteria must be an option to turn on or off in parameter settings.
5) Point 4 from 'Validate a Squeeze' must also be an option to turn on or off in parameter settings.
6) Add a spread filter in points. For example, if the spread is greater than 20 points, then the EA should not allow entries. But it should allow exits of any open trades. Also option to turn off this feature.


Responded

1
Developer 1
Rating
(39)
Projects
50
18%
Arbitration
6
33% / 50%
Overdue
0
Free
2
Developer 2
Rating
(54)
Projects
102
23%
Arbitration
12
25% / 17%
Overdue
13
13%
Free
3
Developer 3
Rating
(465)
Projects
815
49%
Arbitration
75
21% / 51%
Overdue
142
17%
Free
4
Developer 4
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
Similar orders
I am looking for an experienced MQL5 developer to build a professional MT5 Expert Advisor specifically for XAUUSD (Gold) and other indices. I saw that XAUUSD is one of your primary areas of specialization, so I would like to discuss a custom EA with you. My priority is NOT extremely high returns. I want a robust EA designed for controlled risk and long-term survival. Requirements: • MT5 / MQL5 • XAUUSD, usoil,btc and
VENOM EA 35 - 50 USD
So, im a beginner and I'm pleading you to built me a bot that runs 24hrs and that can buy and sell at the same time, choose a better and profitable strategy. I will do anything thing it takes to get the bot. I hope you take my request into consideration
Je cherche un développeur MQL4 / MQL5 expérimenté pour créer un robot de trading automatique (Expert Advisor) performant et sécurisé. Validation de comptes Prop Firm capable de trader sur le forex et les matière première
XAUUSD Digger 50 - 300 USD
I want you to create a strategy that fits for my funded account conditions like winrate of 60%+ with good risk reward ratio min 1:2 and max drawdown per day is 2% or 3% and overall should be less then 10% with less consecutive losses should be able to finish the funded stage in of phase 1 8% target and phase 2 of 10% target in a month with good number of trades in a month need journal of all the back tested data and
I need a simple Expert Advisor for MT5 that trades based on RSI overbought/oversold levels. - Entry: Buy when RSI(14) < 30, Sell when RSI(14) > 70 - Exit: Take Profit and Stop Loss as adjustable input parameters (default 50/25 pips) - Position sizing: Risk 1% of account balance per trade, auto-calculated from stop-loss distance - Timeframe and currency pair: adjustable inputs, not hardcoded - Should include basic
1. Trading Instruments: - The robot should trade exclusively on the following currency pairs: - NZD/CHF - NZD/USD - GBP/USD 2. Trading Style: - The robot should implement a day trading strategy, focusing on short-term trades. 3. Risk Management: - Maximum drawdown percentage: 10%. - Stop loss settings: Adjustable based on volatility (suggested default: 30 pips). - Take profit settings: Adjustable
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
Gold robot 30 - 1000 USD
Hello everyone, I’m looking for a developer who has an algorithm in their arsenal that generates quick profits over the long term. I’m interested in a scalping expert advisor—it can be a one-shot, averaging, or grid strategy, with or without TP/SL. Please share your ideas and results; I’ll consider all options. The most important thing is the result. Good luck
Zwivhuya 100+ USD
I would like to be part of this trade because i want to help my family out of the hopeless life we are living now . i thoughts going to school will help me get better job but no i am still sitting for us to eat at home i have to sell my body to someone and get pay with that small money i can buy bread and cooldrink for my family that we can not sleep with emyter stomach
I need an Expert Advisor that trades by signal of ADX and Moving Average indicators. It must check and correctly process possible errors in trading operations. The main criteria of opening and closing positions , direction of Moving Average, Price of last bar . Set the number of lots to trade as an input parameter

Project information

Budget
80+ USD