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

Spezifikation


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

 


Bewerbungen

1
Entwickler 1
Bewertung
(16)
Projekte
35
23%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
2
Entwickler 2
Bewertung
(15)
Projekte
19
16%
Schlichtung
5
40% / 40%
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(249)
Projekte
311
28%
Schlichtung
33
27% / 64%
Frist nicht eingehalten
10
3%
Arbeitet
4
Entwickler 4
Bewertung
(429)
Projekte
627
54%
Schlichtung
30
53% / 23%
Frist nicht eingehalten
6
1%
Überlastet
5
Entwickler 5
Bewertung
(77)
Projekte
243
74%
Schlichtung
7
100% / 0%
Frist nicht eingehalten
1
0%
Frei
Veröffentlicht: 1 Artikel
6
Entwickler 6
Bewertung
(72)
Projekte
80
10%
Schlichtung
38
8% / 58%
Frist nicht eingehalten
6
8%
Frei
7
Entwickler 7
Bewertung
(21)
Projekte
28
36%
Schlichtung
7
14% / 71%
Frist nicht eingehalten
2
7%
Frei
8
Entwickler 8
Bewertung
(390)
Projekte
416
30%
Schlichtung
74
19% / 72%
Frist nicht eingehalten
52
13%
Arbeitet
9
Entwickler 9
Bewertung
(27)
Projekte
27
26%
Schlichtung
2
0% / 50%
Frist nicht eingehalten
1
4%
Frei
10
Entwickler 10
Bewertung
(449)
Projekte
476
69%
Schlichtung
6
67% / 0%
Frist nicht eingehalten
2
0%
Arbeitet
11
Entwickler 11
Bewertung
(144)
Projekte
186
41%
Schlichtung
24
58% / 21%
Frist nicht eingehalten
13
7%
Frei
12
Entwickler 12
Bewertung
(10)
Projekte
4
0%
Schlichtung
11
0% / 82%
Frist nicht eingehalten
0
Frei
13
Entwickler 13
Bewertung
(45)
Projekte
91
13%
Schlichtung
34
26% / 59%
Frist nicht eingehalten
37
41%
Frei
14
Entwickler 14
Bewertung
(37)
Projekte
59
27%
Schlichtung
26
19% / 54%
Frist nicht eingehalten
10
17%
Arbeitet
Veröffentlicht: 1 Beispiel
15
Entwickler 15
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
16
Entwickler 16
Bewertung
(1)
Projekte
2
0%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
I need a professional MT5 Expert Advisor (fully automated trading robot) for scalping on M1 timeframe. 1. General Requirements Platform: MetaTrader 5 Type: Fully automated EA (no manual confirmation) Timeframe: M1 only Symbols: XAUUSD, BTCUSD, USDCAD Must support running on multiple charts simultaneously Clean, optimized, and low-latency execution logic 2. Strategy Logic (Scalping Model) The EA should use: Trend +
The indicator a bit inverted. But it doesn’t matter to me as long as the winrate make sense for investment. For brief details regarding the indicator. What should have been a sell, i inverted it into buy with sl and tp swapped(only change the name of sl and tp for visualisation , but the code still on right tp and sl) . And in script ive inverted the signal command code. But the trouble is the tp and sl cant be
All other Necessary filters already coded , Mostly it is referring to another expert copy pasting . Live Chart Optimization . Optimization from Signal Trigger Point . Apply to stay ahead . While applying please explain the correct trailing stop loss for value gap entries
Patrick 30 - 200 USD
//+------------------------------------------------------------------+ //| EURUSD Daily Strategy EA | //+------------------------------------------------------------------+ extern int MA_Fast = 50; extern int MA_Slow = 200; extern int RSI_Period = 14; extern double RiskReward = 2.0; extern double StopLossMultiplier = 1.5; void OnTick() { if (TimeCurrent() != iTime(NULL, PERIOD_D1, 0)) return;
I would like to create a robot with the smart money concepts, that integrates order block,FVG,supply & demand ,read the market structure,liquidity and also trade with the session and also after a liquidity sweep a market structure is needed to verify the reversal and a retracement to the order block and sometimes fair value Gap
Joker poverty scalper 40 - 100 USD
the joker poverty scalper is the power full robort it can analyse in just 1 minutes it is good for beginner traders you can even make 5000$ in just an week or two.. the best thing to do is to buy joker and make life easy with your own copy of joker .in order to be rich you need the joker to help you with your success in life even in future THE JOKER POVERT SCALPER
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
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

Projektdetails

Budget
150 - 200 USD
Ausführungsfristen
von 15 bis 25 Tag(e)