EA based on Bollinger Bands en filter

MQL5 Experts

Job finished

Execution time 10 minutes

Specification

I need na EA in Mql5 to operate Brasilian Future Market( Bovespa mini índice) , but can also operate in others markets, based on Bollinger Bands , using a filter in placing orders :

A-  Use a filter to decide whether or not place orders as describe below

Vcruz                                  //----- variable stored in a buffer with the value of the last price of crossing ( Vcruz) with the center line of the Bollinger Bands
Fx=(Vcruz-currente price)     //----- variable that measures the distance from the current price to the value of last crossing of the central band ( absolute value, if negative , turn positive)
x                                        //------Set reference value ( input   x)

Two possible conditions for open News positions :

Condition 1 -  If Fx < x , then :         //----that is, if the price is not more tham a certain distance from the last crossing of the central band of Bollinger

If  cross the upper Bollinger band from top to bottom: 

      • If you are not with pending orders: Launches Sell Order 
 
      • If you are buy order: reverses the position, being sold 
 
      • If you are sell order : does nothing 

 If cross the Bollinger lower band from the bottom to up: 
 
      • If you are not with pending orders: launches buy Order 
 
      • If you are sell order: reverses the position, getting bought 
 
      • If you are buy order: does nothing 

 

Condition 2.  If  Fx> x  then: // ---- that is, if the distance between the price and the last crossing of the center Bollinger band is greater than the reference value imputed 

If you are above the upper Bollinger band: 
 
       • If you are not with pending orders: launches Buy Order 
 
       • If you are sell order : reverses position and getting bought 
 
       • If you are buy order: does nothing 

In this condition the closure of the long position should be ordered when the price crosses with the central of Bollinger band. 

If you are below the lower Bollinger band: 
 
       • If you are not with pending orders: Launches Sell Order 
 
       • If you are buy order: reverses position and being sold 
 
       • If you are sell order : does nothing 


In this condition the closure of the short position should be ordered when the price crosses with the central of Bollinger  band. 
















 



Responded

1
Developer 1
Rating
(2662)
Projects
3384
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
2
Developer 2
Rating
(26)
Projects
44
57%
Arbitration
0
Overdue
16
36%
Free
Published: 3 codes
3
Developer 3
Rating
(13)
Projects
35
71%
Arbitration
2
0% / 0%
Overdue
11
31%
Working
Published: 1 code
4
Developer 4
Rating
(414)
Projects
670
33%
Arbitration
60
17% / 32%
Overdue
113
17%
Working
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Olá, pessoal. Estou procurando um sócio/parceiro para desenvolvimento de estratégias em MQL5. Já possuo um código-fonte pronto, funcional e bem estruturado, com recursos como grid, martingale, trailing stop e diversos filtros operacionais. Ou seja, a base do robô já está desenvolvida. O foco agora seria criar e testar novos sinais de entrada, para acelerar a pesquisa e validação de estratégias. Meu perfil: Sou
Project Description: I am looking for a Senior MQL5 Developer to build a high-precision Expert Advisor (EA) for the US30 (Dow Jones) index, based on Smart Money Concepts (SMC) and ICT methodologies. The EA must handle multi-timeframe analysis and execute trades with mechanical precision. 1. Multi-Timeframe Analysis & Structural Logic • D1 (Confluence): Automatic plotting of Daily Fair Value Gaps (FVG) and Order

Project information

Budget
Deadline
from 2 to 10 day(s)