Expert Advisor based on Bollinger's "squeeze" using Bollinger bands, BBW (bands bandwidth) and %B (percentB)

Tarea técnica


Input parameters


Na = period of the moving average

k = multiplier f Standard deviation in UBB/LBB

Nd = length of BBW valley


Lf = lower filter for %B

Uf = upper filter for %B


MaxL = amount of bearable Loss in value


Fs = freeze start (hh:mm), with minimum interval of 30m

Fe = freeze end (hh:mm), with minimum interval of 30m




Custom indicators


Squeeze is based on BBW (Bollinger BandWidth) and %B (PercentB), which are indicators based on Bollinger Bands. 


Bollinger Bands


UBB (Upper Bollinger Band) = [SMA(Na) + k * DS], 

LBB (Lower Bollinger Band) = [SMA(Na) - k * DS], 


where N is a parameter indicating the period of the SMA (simple moving average), DS is the standard deviation of SMA,m and k is an input parameter


%B (PercentB)


%B = (Close – LB) / (UB – LB)


where (UB-LB) is the width of Bollinger Bands, and %B expresses the distance between closing price and lower band, as a ratio with the bands width. 


Although the formula is similar to oscillators, %B can be lower than 0 and higher that +1


BBW (bands bandwidth)


BBW = (UB – LB) / MA


BBW express that bands bandwidth, in comparison to the price moving average.




Entry Signal



(see picture "example 1": price chart showing closing candle, first indicator chart showing entry signal on BBW indicator, lower indicator chart showing entry signal on %B indicator)


The entry signal occurs when BBW exits a valley of length Nd periods, while at the same time %B is beyond the filter limits.


…BBW exits a valley of length Nd periods…

this means that BBW last value is higher than the previous Nd values of BBW. In other words, the previous Nd value of BBW are lower than the current value, while instead the (Nd+1) value was higher.


…%B is beyond the filter limits…

This means that %B is either below Lf or above Uf, in other words it is not Lfv < %B < Uf



Stop Loss (fixed)


Fixed stop loss is set at the value of SMA at closing candle just before the entry signal.



Lot Sizing


Lot sizing of entry order is based on:

-distance between entry level OL and stop level SL (in pips/ticks)

-amount of bearable Loss in value MaxL

-in case the market price is expressed in a currency XXX different than EUR, the sizing will consider the current rate between EUR and the denomination currency (e.g. EURGBP for markets in GBP)


Size (lots) = MaxL (€) / [ (OL-SL) * 10 * rate EURXXX ]



Target signal


The target signal (take profit) happens when the width of Bollinger bands stops to increase, in other words when BBW (-1) < (BBW (-2).


This condition is checked on every closed candle.



Freeze period (optional)


A freeze period can be set, as an interval of inactivity of the EA. If both values Fs and Fe are set, then freeze period is between Fs and Fe. If one of both values are empty, freeze period is not active.

 

During the freeze period, no new orders can be opened, even though an entry signal is triggered.

Yet, during the inactivity period the position management is still valid, i.e. any open order can be closed in stop or in target if the stop or target signal is triggered.



(see picture "example 2": freeze period between 22:00 and 06:00)


Additional commands and options


The present document only includes the description of the strategy. Final version of the expert advisor will include additional commands for screenview customization, like the colour of the bands, width of the bands, and so on.



Table of controlo


EA will show in the top left corner of the screen a recap of main input data and running values:


-EA “Squeeze”

-freeze: from --- to --- 

-period of MA:   Na

-factor of SD: k

-BBW valley: Nd

-%B filter low: Lf

-%B filter up: Lu

-max loss: MaxL €


 

(see picture "example 3": indication of active parameters (picture is just for demonstration purpose, it is related to a different expert advisor and it is not showing the correct parameters)



Delivery of the project: open code in .mq4 (not compiled)

Deadline: 7 days from agreement

 


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
2
Desarrollador 2
Evaluación
(15)
Proyectos
19
16%
Arbitraje
5
40% / 40%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(249)
Proyectos
311
28%
Arbitraje
33
27% / 64%
Caducado
10
3%
Trabaja
4
Desarrollador 4
Evaluación
(429)
Proyectos
627
54%
Arbitraje
30
53% / 23%
Caducado
6
1%
Ocupado
5
Desarrollador 5
Evaluación
(77)
Proyectos
243
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
6
Desarrollador 6
Evaluación
(72)
Proyectos
80
10%
Arbitraje
38
8% / 58%
Caducado
6
8%
Libre
7
Desarrollador 7
Evaluación
(21)
Proyectos
28
36%
Arbitraje
7
14% / 71%
Caducado
2
7%
Libre
8
Desarrollador 8
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
9
Desarrollador 9
Evaluación
(27)
Proyectos
27
26%
Arbitraje
2
0% / 50%
Caducado
1
4%
Libre
10
Desarrollador 10
Evaluación
(449)
Proyectos
476
69%
Arbitraje
6
67% / 0%
Caducado
2
0%
Trabaja
11
Desarrollador 11
Evaluación
(144)
Proyectos
186
41%
Arbitraje
24
58% / 21%
Caducado
13
7%
Libre
12
Desarrollador 12
Evaluación
(10)
Proyectos
4
0%
Arbitraje
11
0% / 82%
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
14
Desarrollador 14
Evaluación
(37)
Proyectos
59
27%
Arbitraje
26
19% / 54%
Caducado
10
17%
Trabaja
Ha publicado: 1 ejemplo
15
Desarrollador 15
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
16
Desarrollador 16
Evaluación
(1)
Proyectos
2
0%
Arbitraje
2
50% / 50%
Caducado
0
Libre
Solicitudes similares
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Project Scope Development of a fully automated, conservative, institutional-style Expert Advisor for MT5 trading XAUUSD, designed with strict capital preservation and mathematically structured risk management. • Symbol input will be fully configurable to support broker-specific suffixes/prefixes (example: XAUUSD.a, XAUUSDm) and automatically adapt to different digit formats. Core Strategy Logic • Higher-timeframe
I can Program or do any Developing for you for MQL5 or 4 I can work 1 - 5 days deposit is required before im doing anything for both our safety as these work takes a lot of time and energy inbox me and we can discuss the job im reliable and trustworthy looking forward to working with you
I want you to help me convert my pine script strategy to mql5 with 100% matching and i need the work in 3 days, i could not upload the file so i copy and pate the code below, also like i said earlier pinescript to mql5 must be 100% matching, my fixed budget is $30 // @version= 5 // calc_on_every_tick=false és process_orders_on_close=false: // A script csak zárt gyertyákon fut le, és a megbízást a következő gyertya
Ai robot 30 - 50 USD
1️⃣ System Architecture An AI robot typically consists of the following subsystems: 🔹 1. Perception Layer Collects environmental data using: RGB / Depth cameras LiDAR Ultrasonic sensors IMUs (Inertial Measurement Units) Microphones Data is processed using: Computer Vision (e.g., object detection, SLAM) Signal processing Sensor fusion algorithms 🔹 2. Cognition / Intelligence Layer Implements AI models such as
I'm looking for a good MT5 EA that is not martingale , Must work on real account, Looking mainly for Gold or Major Forex pairs or BTC. Willing to purchase the full source code if you have a woking EA that fits the criteria Must work on small standard accounts below 1000$ capital or cent accounts Looking to test it before purchase, or if you can show me a read only access account that would be great
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
MT5 backtestest helper 30 - 200 USD
Sure 😊 — here’s a simple file-style write-up about your robot that you ordered on MetaTrader 4. You can copy it into Word or save it as a document. Title: My Trading Robot on MetaTrader 4 Introduction I recently ordered a trading robot on MetaTrader 4 to help me trade in the financial markets. A trading robot, also known as an Expert Advisor (EA), is a program that automatically analyzes the market and places trades
I am looking for a professional MQL5 developer to build a structured MT5 Expert Advisor. This is NOT a martingale or high-risk grid bot. Platform: • MT5 only (MQL5 source code required) Symbols: • XAUUSD • GBPUSD • GBPJPY Timeframe: • M5 Risk Management: • Adjustable risk per trade (default 0.5% equity) • Daily drawdown protection (max 3%, auto-lock trading for the day) • Maximum 2 open trades • Minimum 120 seconds
What informtion would you need for Ninjatrader futures automated trading and how long would it take ? if anyone can give me answer i will be happy to discuss more about the project thanks fill free to bid to the project thanks

Información sobre el proyecto

Presupuesto
150 - 200 USD
Plazo límite de ejecución
de 15 a 25 día(s)