Robo Simples de Acoes com Excel e Proteção

MQL5 Experts Scripts

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(400)
Projetos
528
74%
Arbitragem
9
44% / 0%
Expirado
24
5%
Livre
2
Desenvolvedor 2
Classificação
(277)
Projetos
334
55%
Arbitragem
14
36% / 29%
Expirado
1
0%
Livre
3
Desenvolvedor 3
Classificação
(249)
Projetos
398
38%
Arbitragem
82
41% / 20%
Expirado
69
17%
Carregado
Pedidos semelhantes
Hello Im looking for someone to build a Strategy for me in Pine Script and also be able to help Webhook it with alerts to Tradestation and Coinbase For Crypto it will be sent to coinable entering Buy and To alert for Close postion For Stocks similar as crypto Also would like like to be able to have the option to enter Shorts in script for use in futures I would like to also have setting in the Script for Settings
I am in search of a professional and experienced developer to convert my existing TradingView indicator into a fully functional trading robot for the MetaTrader 5 (MT5) platform. The chosen developer will be responsible for implementing the indicator's features and algorithms into a user-friendly, efficient, and reliable trading robot. apply if you are professional in the field
My strategy is very simple. I need someone who c an write this code for robot trading. this strategy is not very complex it is very simple. hope anyone will accept it
Looking to create a way to detect break of structure and market structure shift using the zigzag indicator. The script will look back a number of bars and plot all BOS and MSS
"I am seeking a skilled developer proficient in both TradingView and NinjaTrader 8 platforms to convert my trading strategies from TradingView Pine Script to NinjaScript. The ideal candidate should have experience in algorithmic trading and be able to accurately translate the logic and indicators used in TradingView to NinjaTrader 8. This conversion will enable me to execute my strategies seamlessly on the
Id Like to have a web based trading journal where i can import MT4/5, excel sheet or manual input. This page will require uses to register There has to be a performance dashboard of the journal
Please I have been going through some ideas and have come up with something I want to build something similar to this https://www.youtube.com/watch?v=ts4ux3Sr55Y . Please I need someone who can handle this for me .. share your idea and let’s get started
I need someone who can help me with a simple strategy for live execution on Ninja Trader: Basically if 2 candle ago is red and the previous candle close is higher than the high of 2 candles ago, go long at the open of 2 candles ago. Stop loss is at the low of 2 candles ago or last candle whatever is lower Target is 1RR : distance between entry and stop loss + entry so for example if entry is at 4010 and stop loss is
Hello, I'm currently seeking a skilled developer to assist me in the creation of a trading Bot, my first futures trading bot tailored specifically for the Binance platform. This is envisioned to automate trading activities, providing efficient execution of trading strategies while aiming to optimize profit potential and manage risk effectively
Hello! Following the interval bar specified in the Ninjatrader chart, I need to extract the following data from any of my Ninjatrader charts: date, time, instrument, OHCL, volume, and ALL INDICATOR PLOTS in REAL TIME. The indicator ought to function in a minimum of thirty future instruments. The anticipated outcome is a programming application to transfer those data from Ninhatrader to Python. Professionals alone are

Informações sobre o projeto

Orçamento
100 - 150 USD
Desenvolvedor
90 - 135 USD