Robo Simples de Acoes com Excel e Proteção

MQL5 Experts Scripts

Specification

O trabalho é simples. O Robo ira ler uma planilha excel com 9 colunas: ATIVO / OPERACAO / ENTRADA / TAKE PROFIT / STOP LOSS / PORCENTAGEM DESEJADA/ POSICAO ATUAL / PORCENTAGEM ATUAL  e a principio uma media de apenas 5 linhas, podendo variar para 2 ate 10

exemplo de uma linha

VALE3 / COMPRA / 60.00 / 65.00 / 55.00 / 50% / 0 / 0% 

Ver a posição na corretora, vai estar com por exemplo 20mil (conseguir separar o que esta em fundo: 8 mil por exemplo e o que tem em saldo pra fazer trade 12 mil por exemplo)

Vai pegar esse valor disponivel 6 mil,  e calcular a porcentagem em cada linha. no exemplo acima 50% vai ser R$6.000 reais para VALE3

O calculo do tamanho dos lotes e se for inteiro ou fracionado para as compras deve ser feito automaticamente de acordo com o valor disponivel - tanto pra compra quanto pra venda. E em seguida atualizar o excel na coluna 7 E 8 com a posição atual (total de lotes comprados e/ou vendidos) EXEMPLO:

VALE3 / 60.00 / 65.00 / 55.00 / 50% / 100 / 50%

Quando a planilha for alterada o robo deve comparar com a condicao anterior e fazer o rebalanceamento

Por exemplo:

VALE3 / 60.00 / 65.00 / 55.00 / 100% / 100 / 50%  - o robo ira ver que tera que comprar mais 6.000 de VALE3 e apos ficara assim:

VALE3 / 60.00 / 65.00 / 55.00 / 100% / 200 /100% 


PARA ZERAR AS POSICOES: ao alterar a coluna 6 do excel, porcentagem desejada para 0%, o robo devera zerar a posicao dessa linha independentemente dos valores de stop loss e take profit

PARA COMPRAR A MERCADO: o robo devera comprar ou vender mercado quando a a 2a coluna estiver MERCADO. Sempre respeitando se esse valor estiver entre o stop loss e o take profit Exemplo:

VALE3 / MERCADO / 65.00 / 55.00 / 100% / 200 /100%

e em seguida atualizar a segunda coluna com o valor de compra. Exemplo:

VALE3 / 63.00 / 65.00 / 55.00 / 100% / 200 /100%


PROTEÇÕES:

1) Colocar uma opção programavel para caso a carteira como um todo  esteja com uma queda de 20% (configuravel) ele vender os ativos

2) Colocar uma proteçao adicional para evitar que o robo compre ou venda mais que o saldo disponivel


DUVIDAS:

é possivel fazer essa integracao com excel ou apenas com CSV?

é possivel controlar pelo mt5 o que é saldo em investimentos e o que é saldo em dinheiro? Se nao for possivel, colocar um parametro que ele leia do excel o valor a ser operado

como esse robo funcionaria em horario de leiloes?

Qual corretora é mais estavel para esse robo? 


OBSERVACAO:

Apenas desenvolvedores que tenham experiência na bovespa e que possam mostrar algum trabalho ja feito

O codigo devera ser aberto

Eu dei um exemplo de um arquivo com uma linha mas ele tera mais linhas

Favor colocar um painel no MQL5 semelhante ao excel mostrando as informações

Responded

1
Developer 1
Rating
(409)
Projects
537
75%
Arbitration
9
44% / 0%
Overdue
24
4%
Free
2
Developer 2
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
3
Developer 3
Rating
(261)
Projects
424
38%
Arbitration
86
44% / 19%
Overdue
70
17%
Busy
Similar orders
Dulk coin 30+ USD
I want to convert superTrend to ea that only works from 7am to 7pm with an adjustable tp and sl and adjustable settings further explanation will be done thank u
I´m looking for an coder, to crreate an EA for me thats opening trades according to an Indicator. Tp levels with trailing SL Closing trades by an oposite signal. Autolot/%risk/fixed settings
Bot commando 30 USD
Create an Expert Advisor that collaborates between these indicators ETR, MEv2 and STLv3 with these features 1. SL and TP 2. TIME FILTER 3. ETR, MEv2 and STLv3 PARAMETERS BUY ENTRY STEP 1. FIRST candle OPEN above Symphonie Trend Line STEP 2. Check Symphonie Extreme must indicate color BLUE STEP 3. Check Symphonie Emotion must indicate color BLUE STEP 4. Open trade with money management STEP 5. Trade open MUST BE 1
I have a widely-used MT4 indicator that I would like to have converted to the MT5 platform. The goal is to maintain the same functionality and performance while ensuring compatibility with MT5, so I can continue utilizing the indicator's features within the updated framework
Hey this post is only means for a skilled programmer who is able to code or convert strategy on tradingview to metatrader either the MT4/MT5 the most important thing is you having the right skill including track of record from making conversion from pinescript to Mql, I am very curious of being connected to the right coder as I need to convert a pinescript indicator to metatrader 5 in addition to the ideas I wrote
Indicator needed today . Indicator to show where the majority of retail stop are on current chart and time frame simple line or indication please use your expertise to best achieve this simple indicator . i need to visually see where the retail stop losses are on the current chart I'm completely open to your suggestions too maybe we could colour the lines where the most stops are accordingly or something Job must be
BUY AND SELL 30+ USD
Create an Expert Advisor that collaborates between these indicators ETR, MEv2 and STLv3 with these features 1. SL and TP 2. TIME FILTER 3. ETR, MEv2 and STLv3 PARAMETERS BUY ENTRY STEP 1. FIRST candle OPEN above Symphonie Trend Line STEP 2. Check Symphonie Extreme must indicate color BLUE STEP 3. Check Symphonie Emotion must indicate color BLUE STEP 4. Open trade with money management STEP 5. Trade open MUST BE 1
Fully automated EA with following features: Trend and momentum detection, Volume and Volatility, breakout strategy, AI-based decision layer, risk management, adaptive smart entry adjustment, chart panel, email notification, time frame, news filter, etc
Hello, Good day. I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will
Hi I want to create this a EA using standard indicators. More info in chat Indicators used: Moving Average Period: 10, Shift: -1, MA method: Linear Weighted, Apply to: Weighted Close (HLCC/4) MACD Fast EMA: 7, Slow EMA: 200, Apply to Close RSI Period: 14

Project information

Budget
100 - 150 USD
For the developer
90 - 135 USD