Bollinger bands squeeze based EA - MQL5

Experts

Specification

I’m building an EA based on the Bollinger bands squeeze strategy: The distance between the upper and lower Bollinger bands is called the bandwidth. A very short bandwidth indicates an imminent price breakout  in either direction. To find if the current bandwidth is “very short”, we compare it to the lowest bandwidth of the last n periods.

For example, let’s say n=10, if the bandwidth of the last completed bar (bandwidth[1])  is shorter than the smallest bandwidth of the last 10 periods (bandwidth[2-11]) then a Squeeze has formed and we enter in “trading mode”, that is, we will look for a close above or below the bands to enter a position.

I’m having issues with finding the smallest bandwidth of the last n periods. I have tried differente ways of doing so and the EA either stops abruptly or does nothing. I would like someone to look at my code and point the right way to calculate the lowest bandwidth of the last n periods.

Background information on the Bollinger bands squeeze strategy can be found from Mr. Bollinger himself on his website: http://www.bbforex.com/methods/?m=1

EDITED: To include the current code file.

 

 

Responded

1
Developer 1
Rating
(473)
Projects
1138
44%
Arbitration
51
31% / 33%
Overdue
500
44%
Free
2
Developer 2
Rating
(272)
Projects
394
63%
Arbitration
70
53% / 26%
Overdue
198
50%
Free
3
Developer 3
Rating
(27)
Projects
47
38%
Arbitration
6
17% / 50%
Overdue
30
64%
Free
4
Developer 4
Rating
Projects
1
100%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
Need an expert to create an EA based on my strategy for any broker,fast execution of opening and closing trade,also with a condition for take profit,lot size isn't fixed,it should be easy to change without editing the code for a no programmer
Hello there, I have a functional EA that I need a modification done to. Previous developer is overloaded with work and has been dragging his feet. Basically what I need is a modification to the Auto Lot option. Currently you can set a lot size per x amount of account balance and it will auto trade readjusting the lots based on account balance. What I am looking for is a modification that allows me to specify the
I need a robot/Ea that can open pending orders based on th market price for SELL/BUY fora given pair. It needs a few configurable parameters like: MARKET_PRICE --> As described, it is the entry point from where to create an initial marker for the orders. (The real market price for a PAIR) INITIAL_GAP - this is a number in pips that, in addition to the MARKET price, becomes the first real entry point for the first
I already have a Trading View EA for Renko Candles with most of what is required. However i am looking for it to be modified with a few extra options. This is what I am looking for as a whole. Rules Trades executed on Renko Candles on Trading View Only allow one trade at a time. Buy/Long trade closes when Sell/Short trade opens, and visa versa. Ability to exclude certain days from opening trades. E.g. no trades to
Please note that my budget is for both mt4 and mt5 platforms The EA should have 1. An option that I can change it parameters, that's the period, method and application 2. The EA should sell when on every bullish candle that closes under the MA 3. The EA should buy on every bearish candle that forms Above the EA. It's should close trades on reverse cross. I mean when it's in a buy trade and crosses the MA for a sell
I have working MT4 and MT5 example program code using pipes via importing kernell32.dll in MT5 to receive transactional messages sent from another MT4 instance running. Most of the time it works fine. But intermittently I get an ‘Access violation’ error generated showing in the Experts tab of MT5. It fails to read the message sent from MT4 and does not trap the error. Also, when I try it on a different VPS computer -
A Hedge EA 50+ USD
Hi I need someone to develop a Hedge EA with specific actions once the maximum number of trades is reached before TP The input would determine the maximum number of hedge before the specific actions take place As an example if the maximum number of of trades is 3 and the hedge mutiplier is 3 Initial trade(Buy): 1 lots Hedge (Sell): 3 lots (1x3) Hedge (Buy): 9 lots (3x3) Then the maximum trades number is reached - no
Helo Geeks i need an experienced developer of forex Eas who can make my purchased EA that has the activation llicense to run to my mt5. I have purchased this EA to someone on telegram but he just not responding to me to give me activation license ,but i believe there are geeks here who can make it run to my mt5. i will share more details on that
Am nevoie de o conversie a unui EA din mql4 in mql5. La final sa fie testata, compilata si rezultatul sa nu aiba erori. Modificarea parametrilor sa se faca dint-un fisier cu extensia txt. Am eu modelul Hi. I need a conversion of an EA from mql4 to mql5. At the end, it should be tested, compiled and the result should have no errors. Modifying the parameters should be done from a file with the extension txt. I have the
Building an expert who copies trades between two platforms on two different devices...controlling the slave’s account number...adding the necessary settings...copying direct trades and copying pending trades...the best developer who has knowledge of this type of expert is fluent in the English language and fast in Reply

Project information

Budget
20 - 100 USD
For the developer
18 - 90 USD
Deadline
from 1 to 5 day(s)