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
Commandes similaires
Looking to Purchase a High-Risk, High-Return Gold Trading EA 9 minutes ago MQL5 Experts Specification EN I’m looking to purchase an existing MT5 Gold / XAUUSD trading EA. I’m open to any trading strategy as long as the system is designed for higher returns. It can be scalping, grid, martingale, recovery, breakout, trend-following, hedging, or any other approach. I fully understand that high-risk, high-return
I’m looking to purchase an existing MT5 Gold / XAUUSD trading EA . I’m open to any trading strategy as long as the system is designed for higher returns. It can be scalping, grid, martingale, recovery, breakout, trend-following, hedging, or any other approach. I fully understand that high-risk, high-return strategies can experience very large drawdowns and may potentially blow the account . I’m aware of the risks
MT5 EA DEVELOPMENT SPECIFICATION CHANNEL + RSI REVERSAL STRATEGY I need a professional MetaTrader 5 Expert Advisor based on the following exact strategy. 1. Core Strategy The EA must automatically identify a valid price channel using confirmed swing highs and swing lows. The strategy trades reversals from the channel extremes: SELL: Upper channel + RSI above 70 + bearish rejection. BUY: Lower channel + RSI below 40 +
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project
============================================================== MT5 XAUUSD GRID / AVERAGING EA FINAL DEVELOPMENT SPECIFICATION ============================================================== IMPORTANT: Please read the complete specification before development. The EA must follow the exact logic below. If any requirement is technically unclear or conflicts with another requirement, please clarify it BEFORE coding. Do
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not
Looking for an MQL5 programmer to develop an Expert Advisor for MetaTrader 5 targeting Forex currency pairs. Core Logic: Multi-timeframe trend following using Heikin Ashi candles (4H trend filter + 1H execution trigger on new bars, strict anti-repainting logic). Risk & Trade Management: ATR-based initial stop loss with pip normalization, dynamic trailing stop, and partial close functionality. Protections: Includes
I want trading robot bults on top down analysi where the robot can analyse and trading only in the direction of the higher time frame chosen eg 1Month,1Daily,4Hr and 1hr. I want a situation when i plug the robot on the chat the bot must be plug and play where it analyse quickly and fast and with highest precision since its combined win an AI to obtain an acurate signals and quick it starts to open trades use top down
Senior MQL5 Developer Required — XAUUSD & BTCUSD Algorithmic EA I am looking for an experienced MQL5 developer to design and build a robust MT5 Expert Advisor for XAUUSD (Gold) and BTCUSD . This is not a request for a basic RSI/EMA EA, martingale, grid, or recovery system . I want a properly engineered algorithmic trading system with a demonstrable trading rationale, robust risk management, reliable execution and
العنوان: برمجة اكسبيرت MT4 (روبوت تداول) مخصص للذهب يعتمد على RSI والزيجزاج بدون مضاعفات الوصف: السلام عليكم ورحمة الله وبركاته، مطلوب مبرمج محترف بلغة MQL4 لتطوير اكسبيرت (روبوت تداول آلي) مخصص لمنصة ميتاتريدر 4 بناءً على الشروط والمواصفات الفنية الصارمة التالية، لتداول معدن الذهب (XAUUSD) على إطار الخمس دقائق (M5): 1. المتغيرات الخارجية (External Inputs - قابلة للتعديل يدوياً من الإعدادات): إدارة المخاطر (إدارة