EA based on MFI and future improvements

MQL5 Experts

Termos de Referência

The MFI here is the Market Facilitation Index. Job is very simple. Track the last 4 MFI values and colours. There are 4 MFI colours (check attached image for reference) -  Green, Brown, Blue, Pink. There will be a tracking sequence. The sequence will receive colours as inputs (you can represent this however is easy for you), separated by `0`. Multiple sequences are needed, so it will be seperated by a comma. When a sequence is found, open the specified trade.

Variables:

Period -  an integer specifying how many mfi colours should be tracked. Default is 4, but could be more or less.

Sequence - tracks any sequence. It will receive the full colours needed, separated by `0`.

trade type - buy/sell

lot size - int/float

sl - in pips, if set to 0, do not use

tp - in pips, if set to 0, do not use

clock - integer indicating how long should trade open for in minutes e.g when set to 10, close trade after 10 mins if sl or tp is not hit. If set to 0, do not use.

Examples:

1. Period is set to 4 and we need to track 1st and 4th colours, it will receive input like `Gr00Bl` - the two zeros in the middle represent the 2nd and 3rd colours which we have no need for. So 1st colour is green, 4th colour is blue.

2. Period is set to 4 and we need to track 2nd and 4th colours, it will receive input like `0Gr0Bl` - the two zeros represent the 1st and 3rd colours which we have no need for. So 2nd colour is green, 4th colour is blue.

3. Period is set to 6 and we need to track 3rd, 4th and 5th colours, it will receive input like `00GrBrBl0` - the three zeros  represent the 1st, 2nd and 6th colours which we have no need for. So 3rd colour is green, 4th colour is brown and, 5th colour is blue.


For tracking multiple sequence, the input will be seperated by comma like this - `Gr00Bl,0Gr0Bl` - so there are two sequences being checked for here. There can be 10 or more sequences.

If you have a better idea of how to represent the input, no problem, as long as it does the same thing. NB: since MFI is drawn at the close of a candle, so you're always checking when the present candle closes, so a trade can be opened on the new candle. There might be improvements of this EA with additiion of an extra indicator, but this is the first stage. Thanks.

Arquivos anexados:

PNG
MFI-menu.png
19.0 Kb

Respondido

1
Desenvolvedor 1
Classificação
(380)
Projetos
481
40%
Arbitragem
84
37% / 32%
Expirado
13
3%
Ocupado
2
Desenvolvedor 2
Classificação
(125)
Projetos
159
42%
Arbitragem
20
60% / 20%
Expirado
9
6%
Trabalhando
3
Desenvolvedor 3
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(563)
Projetos
932
47%
Arbitragem
302
59% / 25%
Expirado
124
13%
Ocupado
5
Desenvolvedor 5
Classificação
(8)
Projetos
9
56%
Arbitragem
0
Expirado
0
Trabalhando
6
Desenvolvedor 6
Classificação
(243)
Projetos
431
34%
Arbitragem
55
36% / 38%
Expirado
157
36%
Carregado
7
Desenvolvedor 7
Classificação
(53)
Projetos
76
14%
Arbitragem
3
33% / 33%
Expirado
7
9%
Carregado
Pedidos semelhantes
I need someone who can copy trade from one tradovate account to another one A very bold expert that can render this service with a fast time frame, be plain and direct with your response and also let me know if you'll need anything from my end aside I pay
Hello! I want to create a trading robot fox xauusd; mql5; based on the 30m timeframe. For a BUY position I want: the "3" candle to be bullish; "2" candle to be bearish; "1" candle to be bullish with the close above the open of "2" candle. Candle "1" needs to have a top wick bigger than 3 pips (30 points). When this happens open a BUY position at the open of the next candle (candle "0" as i show in the image) with the
Time Range Breakout 50 - 200 USD
I want a breakout Expert developed, where I can set the Range start time and range end time. At the end of the range the expert places a Buy Stop at the High and a Sell Stop at the Low. The Take profit and stop loss are set in the inputs. The most important aspect is the way it keeps replacing stop orders. So for example if I have the Max Daily Orders set to 3, the expert will keep replacing the buy stop and sell
Life Creator 40 - 1000 USD
the topic of this robot is ,,life creator'' becouse when you have no idea what to do, this robot can help you and teach you how you can do it. The robot gonna creat you your own tactics which can help you in future. When you gonna see that it's really work you start to be happy and you gonna want to have more of this
I need assistance with configuring an MT4 setup so that every alert generated by an indicator is sent to a Discord channel. Requirements: Discord Webhook Integration: Implement functionality to send messages to a specified Discord channel using a Webhook URL. Capture Alerts from Indicator: Ensure that every alert triggered by a specific indicator (or multiple indicators) in MT4 is forwarded to the Discord channel
I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) designed to help me pass the FundedNext Challenge and be suitable for long-term real trading. The EA must meet the following requirements: Requirements: Challenge Passing Capability : The EA must be specifically optimized and tested to pass the FundedNext Challenge. It should adhere to the risk management and trading rules of the
AllForexEA 30+ USD
Algorithm - from which order the drawdown reduction algorithm is activated. - Percent profit for DD Reduction Algoritm - percentage of profit when closing orders in the drawdown reduction mode. - Magic - is a special number that the EA assigns to its orders. - Fix distance - fixed distance between orders (default 250 - in points) - Order dinamic distance - from which order will the
I am seeking help with data mining SPX on Thinkorswim and Thinkorswim's OnDemand. In spreadsheet format (preferably Google Sheets), I need someone to provide: -Every Tuesday's Close Price since the beginning of 2003. -The corresponding "ImpVolatility" reading for every Tuesday since the beginning of 2003. -The least and greatest value/price for the Expected Move of the SPX based on readings taken every two hours from
Function (A) simple to do___________________________________________________ //+------------------------------------------------------------------+ //| Expert Tick Function | //+------------------------------------------------------------------+ void OnTick() { F1(); F2(); F3(); } //+------------------------------------------------------------------+ bool F1(){ extern bool F1(); Set to external (false) or (true)
### Overview of the Integration The goal of this integration is to create an Expert Advisor (EA) for MetaTrader 5 (MT5) that leverages AI-driven insights and real-time market data to make informed trading decisions. The system integrates multiple data sources, including OpenAI, MyFXBook, and various financial news websites, to build a comprehensive understanding of the market. This integration aims to provide

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD
Prazo
para 1 dias