• Visão global
  • Comentários
  • Discussão
  • O que há de novo

Painel De Expert Com Teclado

Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são:

V = venda

C = compra

Z = zerar posições a mercado

S = zerar posições opostas e depois a mercado

X = zerar posições opostas


Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de:
lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEvent)


A biblioteca deixa o usuario customizar os botões (v,c,z) na chamada das funções, os parametros padrões ja estão configurados para facilitar o programador. Funciona com conta HEDGE ou NETTING


É possivel usar objetos Label ou Comment(), caso queira customizar o texto é possivel obter a lista de objetos com uma função da biblioteca e depois alterar os objetos, assim é possível embutir em seus Experts já existentes


Exemplo de codigo da imagem criada, funcionando com Comment e Labels, em vermelho os Labels:

#property copyright "Roberto Spadim"
#import "SpadimTeclado.ex5"
void SpadimTeclado_painel_event(const int id,const long& lparam,const double& dparam,const string& sparam,string sym="",ulong magic_id=0, double volume=0, bool   compra_liberada=true,bool   compra_partial_close=false,double compra_preco=0, double compra_stop_loss=0, double compra_stop_gain=0,bool   venda_liberada=true,bool   venda_partial_close=false,double venda_preco=0, double venda_stop_loss=0, double venda_stop_gain=0,bool   zerar_liberado=true,string comentario="", string comentario_prefix_compra="Teclado ",string comentario_prefix_venda="Teclado ",string comentario_prefix_zerar="Teclado ",string comentario_sufix_compra="",string comentario_sufix_venda="",string comentario_sufix_zerar="",long botao_compra=67,long botao_venda=86,long botao_zerar=90);
void SpadimTeclado_apagar_painel(string prefixLabel="LabelPosicaoMAGICID");
void SpadimTeclado_criar_painel(ulong magic_id=0, bool usar_comment=true, string prefixLabel="LabelPosicaoMAGICID", long labelX=0, long labelY=0, long label_stepY=12,int casas_volume=0, int casas_preco=2);
void SpadimTeclado_criar_painel(ulong magic_id=0, bool usar_comment=true, bool nao_voltar_mes_na_semana=true, string prefixLabel="LabelPosicaoMAGICID", long labelX=0, long labelY=0, long label_stepY=12, int casas_volume=0, int casas_preco=2);
bool SpadimTeclado_lista_objetos(string &lista[], string prefixLabel="LabelPosicaoMAGICID");
#import
input ulong magic_id=0;
input double volume=100;
int OnInit(){
   SpadimTeclado_criar_painel(magic_id, true, "SpadimPainel", 200);
   return(INIT_SUCCEEDED);
}
void OnDeinit(const int reason){
   SpadimTeclado_apagar_painel("SpadimPainel");
}
void OnTick(){
   SpadimTeclado_criar_painel(magic_id, true, "SpadimPainel", 200);
}
//+------------------------------------------------------------------+
void OnChartEvent(const int id,const long& lparam,const double& dparam,const string& sparam){
   SpadimTeclado_painel_event(id,lparam,dparam,sparam, _Symbol, magic_id, volume);
}



Produtos recomendados
Trending Purpose Pro
G C Hency Shameela
he "Trending Purpose Pro" is easy to use, even for traders with limited programming knowledge.  It provides a straightforward representation of the high prices on the chart, allowing traders to quickly identify the highs of each candlestick.Customizable Appearance:  The appearance can be easily customized to suit individual preferences. Traders can adjust the color, line style, and width of the high price line according to their charting preferences.Real-Time Data: The "Trending Purpose Pro" ca
A Simple Moving Average (SMA) is a statistical indicator used in time series analysis. This indicator represents the arithmetic mean of a sequence of values over a specific period of time. SMA is used to smooth short-term fluctuations in data, helping to highlight the overall trend or direction of changes. This aids analysts and traders in better understanding the general dynamics of the time series and identifying potential trends or changes in direction.  More information you can find in Wiki 
One Direction Pro is a combination of hedging, Grid averaging, pyramiding, lot martingale - anti martingale strategies, which aims to enter and exit the market as quickly as possible so as not to be trapped by unexpected market changes. Bot Explanation  |  MT4 version  |  Setfile:    pls  leave a message on the comment tab, I will send you the latest setfile Expert parameters: 1. Manage Open Positions + Trade Buy: allow buy + Trade Sell: allow sell + Select Entry Method + Period in bars
Polca Magic Key
Bryam Yhair Perez Diaz
Line function : Displays the opening line, Stop Loss, Take Profit( 3:1 RR ) on the chart. Risk management : The risk calculation function calculates the volume of a new order taking into account the established risk and the size you want to risk. It allows you to set any Stop Loss size between 3 and 10 pips. Breakeven Button : Brings all open orders to Breakeven. Clear button : Clears the graph and the selected parameters. Trade Button : Execute the idea. Partials Button : Taking partials of al
Ajuste BRA50
Claudio Rodrigues Alexandre
4.63 (8)
Este script marca no gráfico do ativo BRA50 da active trades o ponto de ajuste do contrato futuro do Mini Índice Brasileiro (WIN), ***ATENÇÃO***  para este script funcionar é necessário autorizar a URL da BMF Bovespa no Meta Trader. passo a passo: MetaTrader 5 -> Ferramentas -> Opções -> Expert Adivisors * Marque a opção "Relacione no quadro abaixo as URL que deseja permitir a função WebRequest" e no quadro abaixo adicione a URL: https://www2.bmf.com.br/ este indicador usa a seguinte página pa
FREE
Lib5 EAPadPRO for MT5
Vladislav Andruschenko
4.5 (6)
Biblioteca para adicionar o Painel de Informações ao seu Consultor Especialista para MetaTrader 5. Não podemos garantir que as informações e a interface do programa lhe darão lucro nas negociações, mas certamente diremos que mesmo a interface mais simples do programa pode fortalecer a primeira impressão. A descrição detalhada e as instruções para adicionar nosso painel ao seu   Expert Advisor   estão em nosso blog:   LIB - EAPADPRO Instruções passo a passo Descrição detalhada de nosso painel e
FREE
Ajuste MINDOL
Claudio Rodrigues Alexandre
5 (1)
Este script marca no gráfico do ativo MINDOL da activ trades o ponto de ajuste do contrato futuro do Mini Dolar (WDO), ***ATENÇÃO***  para este script funcionar é necessário autorizar a URL da BMF Bovespa no Meta Trader. passo a passo: MetaTrader 5 -> Ferramentas -> Opções -> Expert Adivisors * Marque a opção "Relacione no quadro abaixo as URL que deseja permitir a função WebRequest" e no quadro abaixo adicione a URL: https://www2.bmf.com.br/ este indicador usa a seguinte página para buscar o
FREE
Skyline B3 Trader
Renato Takahashi
Skyline B3 Trader é o robô de trades automático que usa médias móveis como análise de tendência e trigger para ordens de compra e venda. Podem ser configuradas até 7 médias móveis para compor o sistema de tendência. Originalmente, as médias seguem a sequência de Fibonacci. Os stops podem ser fixos ou variáveis, podendo ser configurado também um sistema de trailling stop e também um sistema de saída automática de trades: Ativos recomendados: Milho CCM, Boi Gordo BGI, ações, miniíndice WIN e minid
WAPV Box Effort x Result
Eduardo Da Costa Custodio Santos
WA_PV_BOX_EFFORT X RESULT para MT5 O Indicador WAPV Box Effort x Result faz parte do grupo de Indicadores do Pacote (Wyckoff Academy Wave Market). O Indicador WAPV Box Effort x Result para MT5 te ajuda na leitura de preço e volume. Sua leitura consiste em auxiliar na identificação de effort x result em ondas criadas pelo gráfico. O Indicador WAPV Box Effort x Result para MT5 quando está com o Box verde significa que o volume está a favor da demanda e quando o box está vermelho  o volume e
DeltaBook
Thalles Nascimento De Carvalho
O indicador Delta Book é uma poderosa ferramenta de análise de mercado que combina o uso do delta de volume com informações provenientes do livro de ofertas (ou "order book") para detectar o fluxo de preço em mercados financeiros, como ações, futuros e criptomoedas. É importante observar que o Delta Book requer acesso a dados de volume em tempo real e informações sobre o livro de ofertas para explorar seu potencial máximo. A principal característica do Delta Book é sua estratégia avançada de aná
Didi Index Volume
Thalles Nascimento De Carvalho
Apresentamos o Didi Index Volume, um indicador de análise técnica desenvolvido pelo trader brasileiro Odir Aguiar, que se destaca pela sua abordagem avançada e poderosa na identificação de oportunidades no mercado financeiro. Disponível em diversas plataformas, o Didi Index Volume se tornou uma ferramenta essencial para traders em busca de insights precisos e informações valiosas para suas estratégias de negociação. O indicador combina o conceituado Didi Index, criado por Odir Aguiar, com
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit, Stop-Market , StopLoss and TakeProfit. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceFuturesLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries -  Download Header file and EA sample https://www.mql5.com/en/code/download/34976_252386.zip Copy BinanceFutures.mqh header file to folder \MQL5\Include C
YKL Multiple Regression
Ygor Keller Luccas
5 (1)
Indicador Multiple Regression Indicador faz o plot da  Curva de Retorno  e dos canais superior e inferior de uma  regressão para os preços de fechamento do ativo do gráfico. A  Curva de Retorno  é a linha central do indicador e representa a região de equilíbrio do preço entre vendedores e compradores. Nesse indicador o usuário escolhe o tipo da regressão podendo ser de 3 tipos: primeiro grau, segundo grau ou terceiro grau. Os plots do indicador são: Linha central – cor padrão preta; Linha superi
FREE
Colored Chaikin Money Flow
Sidnei Da Silva Santos Junior
O Chaikin Money Flow é um indicador criado nos anos de 1980 por Marc Chaikin para monitorar zonas de acumulação e distribuição de uma ação por um determinado período. O período padrão sugerido é de 21 dias. Esse indicador flutua em uma escala que parte de -1 até +1. Qualquer cruzamento da linha zero pode ser usado para confirmar mudanças no fluxo de dinheiro, que resulta em mudanças na direção do preço. Muitos traders usam esse indicador para medir a pressão de compra ou venda em um período, tam
Volume Weighted Average Price (VWAP) ou Preço Médio Ponderado por Volume é um indicador que exibe diferentes preços médios no gráfico. Isso é muito útil para encontrar fortes pontos de negociação e como um seguidor de tendência. Configurações: Day, Week and Month - Exibe diferentes VWAPs de acordo com o período. Você pode mudar a aparência de cada linha na aba "cores". Qualquer dúvida ou sugestão por favor nos contate. Faça bom uso! Este é um indicador gratuito, porém levou horas para desen
FREE
Assistente para gerenciamento de ordens. Recursos: -> Definição de TP e SL -> Trailing Stop -> Breakeven -> Realização Parcial, manual ou automática -> Operação através de atalhos do teclado -> 3 setups possíveis, com acionamento através de atalho do teclado, permitindo níveis diferentes de TP, SL e Trailing Stop -> Definição automática ou manual do Lote -> Gerenciamento de Risco personalizável -> Contador regressivo para final do candle -> Informações sobre Resultado (em pontos), tanto no candl
The indicator compares quotes of a given symbol and a synthetic quote calculated from two specified referential symbols. The indicator is useful for checking Forex symbol behavior via corresponding stock indices and detecting their convergence/divergence which can forecast future price movements. The main idea is that all stock indices are quoted in particular currencies and therefore demonstrate correlation with Forex pairs where these currencies are used. When market makers decide to "buy" one
Grafico da Media
Marcio Sales Santana
grafico de media os dados são exibidos pela media aritimetica dos negocios realizados, evitando as distorções dos outros graficos. A forma de operação e pela busca de padrões. o parametro e para reduzir as distorções, diminuindo as interferências, quanto menor for o valor mais alinhado o grafico fica. ativos mais lentos são o ideal, atualmente estou usando no dollar canadense.
FREE
Informações Importantes sobre o Brazil Index Bot (BACKTEST VISUAL desativado para proteger parte da Estratégia.) Se você está procurando um robô que cumpre aquilo que promete, você acabou de encontrar! O Brazil Index Bot irá superar todas as suas expectativas com certeza! E o melhor de tudo, é só colocar na sua conta, ligar e já começar a lucrar! Deseja conhecer mais sobre o Brazil Index Bot e seus resultados? Baixe agora os relatórios detalhados em: https://bit.ly/INFOSBRAZILINDEXBOT (Utilize
OrderHelper script is super easy and trader friendly to use. It would boost your trading experience. Because it is designed to open one to multiple orders quickly with just one click. Besides using the OrderHelper script, traders can define various parameters for open orders such as the symbol, order type, lot size, stoploss, takeprofit and more. Basically, with this script traders can manage their open orders more efficiently and save their trading time. OrderHelper manages: Open the number o
LT Mini Charts
Thiago Duarte
4.86 (7)
Este é um indicador utilitário que cria gráficos em miniatura no lado esquerdo do gráfico que você está observando. Ele é muito útil para observar diversos tempos gráficos simultaneamente, sem ter que transitar entre múltiplos gráficos. Sua configuração é simples. Você pode ter até 4 mini gráficos abertos. Eles automaticamente carregam o template do gráfico "pai". Faça bom uso! Este é um indicador gratuito, porém levou horas para desenvolvê-lo. Se desejar me pagar um café, eu agradeceria muit
FREE
This product is designed for the MT5 platform and offers two key features: VWAP (Volume Weighted Average Price) calculation and Volume Profile analysis. Advantages: VWAP Calculation: The product calculates the VWAP, which is a popular indicator used by traders to determine the average price of a security based on its trading volume. It helps identify potential buying or selling opportunities by comparing the current price to the average price weighted by volume. Volume Profile Analysis: The prod
Quant Trade Freedom All Market
Renan De Souza Quinelato
O que é “QUANT TRADE FREEDOM ALL MARKET” ? QUANT TRADE FREEDOM ALL MARKET é um software de negociação totalmente automatizado, especialmente projetado para negociação lucrativa com a plataforma de negociação METATRADE 5 (MT5). Pode negociar Forex e derivativos ( Mini Índice e Mini Dólar ) na bolsa brasileira. Como funciona o robô QUANT TRADE FREEDOM NEWS? QUANT TRADE FREEDOM ALL MARKET é um software 100% automatizado que define a melhor tendência para entrar em ordens de negociação no lugar de u
Trade Manager MT5 Mr Sam Gold
Leonardo Antonio Camacaro Armas
️ Discover the powerful Trade Manager for MetaTrader, a tool that will revolutionize your trading experience in the financial market. This innovative software provides you with efficiency and speed, allowing you to execute all your trades quickly and visually. ️ With just a click of a button, the Trade Manager creates three strategic lines: a blue line for order placement, a green line for take profit, and a red line for stop loss. These lines offer you a clear focus and enable you to manag
VTC Volatility
Ricardo Almeida Branco
O indicador VTC Vo latility foi escrito para auxiliar em uma estratégia da bolsa brasileira no WDO (USDBRL), mas pode ser adaptado para outras estratégias e mercados. Na nova atualização do indicador, agora é permitido escolher  até 4 níveis para determinar o range, e assim ser mais versátil. A bolsa brasileira (B3) possui o VTC que é uma "Operação Estruturada de Volatilidade de Taxa de Câmbio" (mais informações no site da B3). Próximo das 10:00 horas sai o "Call" do VTC e as corretoras brasi
K Trade Lib5
Kaijun Wang
3.5 (2)
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib5.ex5"    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单    void SetMagic( int magic, int magic_plus= 0 ); void SetLotsAddMode(int mode=0,double lotsadd=0);    long OrderOpenAdvance( int mode, int type, double volume, int step, int magic, string symbol= "" , string comm
FREE
!! FLASH SALE !!   Over 80% off !!     For ONE week only. Now only $47 - normally $297! >>>      Ends on 30 June 2023 - Don't miss it! Buy and Sell Arrows On The Chart According To Price Action Sends Alerts On MT5 To Your Phone To You Email Does NOT repaint. Works on any pair, any timeframe.     10 Activations allowed so you are free from limitations. MT4 Version here . For spreads from a tiny 0.1 pips RAW/ECN Accounts,  click here . Check out my Waka Esque EA signal here: >>   High Ri
Vanguard's Volatility indicator is based on the analysis of long and short price volatility. It helps to determine market entry points by displaying favorable entry points with arrows. This indicator can be used as a filter in trading or as a tool to show the exact direction of the trend. It is suitable for both scalping on small time intervals and long-term trading. It is important to remember that successful trading requires a comprehensive approach, and additional information is needed to en
Clear DOM
Oclair Gallacini Prado
Clear Dom Este indicador mostra na lateral da tela a proporção da pressão do mercado no Book do símbolo atual. Note que este indicador funciona apenas se as informações do Book são fornecidas por sua corretora. Você decide se quer mostrar ou não as linhas de maior valor de compra (Ask) e de menor valor de venda (Bid) encontrados no Book. A relação de proporção é calculada usando os volumes lidos do livro. Você pode ler a pressão real do mercado a qualquer momento. Parâmetros do indicador: c
Bright Night MT5
Marat Baiburin
1 (2)
noite brilhante   é um consultor totalmente automático para trabalhar no mercado Forex durante as horas de silêncio. Another 1 copies will be sold for $599. Next price 699$ Acompanhamento do trabalho do consultor:   https://www.mql5.com/en/users/bayburinmarat/seller Configuração GMT correta:   https://www.mql5.com/ru/blogs/post/743531 Como sabemos, ultimamente à noite o spread no mercado Forex tem aumentado, às vezes até limites irracionais. Às vezes, um spread pode matar uma negociação potenc
Os compradores deste produto também adquirem
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
Native Websocket
Racheal Samson
5 (2)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 WebSocket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native to
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
AO Core
Andrey Dik
3 (2)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of population algorithms.  High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
Esta biblioteca permitirá que você gerencie negociações usando qualquer um de seus EA e é muito fácil de integrar em qualquer EA que você mesmo pode fazer com o código de script mencionado na descrição e também exemplos de demonstração em vídeo que mostram o processo completo. - Pedidos Place Limit, SL Limit e Take Profit Limit - Ordens Place Market, SL-Market, TP-Market - Modificar ordem de limite - Cancelar pedido - Consulta de pedidos - Mudança de alavancagem, margem - Ob
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the c
Goliath Mt5
Nicolokondwani Biscaldi
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account,
Binance Library
Hadil Mutaqin SE
5 (1)
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header   file and EA sample https://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy  BinanceEA-
Gold plucking machine   Gold plucking machine is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number      -  is a special number that the EA assigns to its orders. Lot Multiplier        -
Gold plucking machine S   Gold plucking machine  S Gold plucking machine S   is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number        -  is a special number that the EA assigns to its
MT4/5通用交易库(  一份代码通用4和5 ) #ifdef __MQL5__      #define KOD_TICKET ulong      #define KOD_MAGIC   long #else        #define KOD_TICKET long      #define KOD_MAGIC   int #endif class ODLIST; #import "K Trade Lib Pro 5.ex5"       //祝有个美好开始,运行首行加入    void StartGood() ;    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
This library implements a few functions to simplify the programming of Expert Advisors. * Build your own EA for MT5 / Binance, with a easy support for multisymbol / multytimeframe * Different SFE EAs based on the library provided. * Base signals of SFE EAs are inlcuded in base version. All the Pro filters and management are included in the base version all the 2022. * Customize the provided SFE Lib EA by changing or implementing its rules.. * Review the existing or ask for video tutorials to
The Matrix
Omega J Msigwa
Matrix is the foundation of complex trading algorithms as it helps you perform complex calculations effortlessly and without the need for too much computation power, It's no doubt that matrix has made possible many of the calculations in modern computers as we all know that bits of information are stored in array forms in our computer memory RAM, Using some of the functions in this library I was able to create machine learning robots that could take on a large number of inputs To use this libra
EA Toolkit
Esteban Thevenon
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installa
This is standard library built for flexible neural Networks with performance in mind. Calling this Library is so simple and takes few lines of code:    matrix Matrix = matrix_utils.ReadCsv( "Nasdaq analysis.csv" );       matrix x_train, x_test;    vector y_train, y_test;         matrix_utils.TrainTestSplitMatrices(Matrix,x_train,y_train,x_test,y_test, 0.7 , 42 );    reg_nets = new CRegressorNets(x_train,y_train,AF_RELU_,HL, NORM_MIN_MAX_SCALER); //INitializing network       reg_nets.RegressorN
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few...  this EA is the only one so far I think its good enough to be published here.  As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the cl
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader4 Version |  All Products  |  Contact   Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader4 Version   |   All Products   |   Contact   Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   a
Este é um EXPERT com FOCO em APRENDIZAGEM  e DESENVOLVIMENTO PROFISSIONAL !!! A ideia deste produto é comercialiar o código-fonte, permitindo que aqueles que querem desenvolver seus próprios robôs, ou iniciar uma atividade profissional de desenvolvimento de experts customizados tenham um código-fonte de referência que os ajude no processo de aprendizagem e desenvolvimento. Este código-fonte será incrementado, ou seja, novas funcionalidades serão criadas, permitindo assim que o projeto continue
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
Native Websocket
Racheal Samson
5 (2)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 WebSocket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native to
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
AO Core
Andrey Dik
3 (2)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of population algorithms.  High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
Mais do autor
News Vertical Bar
Roberto Spadim
4 (1)
This indicator get all events/countries/values from metatrader terminal calendar and print veritical lines at chart, you can configure anything with inputs (string to filter names/url/code/countries/currencies), select period to filter, nws interval before and after current time (every information about time is seconds based), you can filter importance, type, sector, unit, multiplier, impact, timemode, frequency, forecast/previous % increase/decrease interval, actual/previous % increase/decrease
FREE
Export Deals to CSV - Excell File location: HistoryDeals/<SERVER>/<LOGIN>.<DATETIME>.csv Works as an Script, reading all DEALS in history and exporting it as a plain text CSV file There's no option to change. There's no WebRequest. There's no DLL use. I need to write 300 characters to allow this product being exposed at MQL5 market place. It's simple to use, plug it in graph and wait completion.
FREE
BookMap HeatMap
Roberto Spadim
1 (3)
This Indicator creates a heatmap based on depth of market of the current symbol or another symbol. Other symbol is useful when you trade futures market and a contract has 'mini' and 'full' split. For example, in Brazil (B3 - BMF&Bovespa), WDO and DOL are future Forex contract of BRL/USD (where 1 DOL = 5 WDO) and big banks work mostly with DOL (where liquidity is important). Please use with M1 timeframe , objects are too small to be displayed at higher timeframes (MT5 limit). The number of level
This indicator sends a message (notification), an email, and plays a custom sound when a Limit (Buy/Sell) or Limit Stop (Buy/Sell) or Take Profit, Stop Loss, Stop Out is executed. A user can change the sound file name, and select if they receive notifications/emails. It runs as an indicator, and only one indicator is locked (used) by a user account/login. Parameters soundFile - sound file Save your file at the terminal folder, for example: " C:\Program Files\MetaTrader 5\Sounds\Order Execute
From https://en.wikipedia.org/wiki/Fractional_calculus: Fractional calculus  is a branch of  mathematical analysis  that studies the several different possibilities of defining  real number  powers or  complex number  powers of the  differentiation operator   D This indicator execute fracional differentiation on data, you can select the differentiation D value and execute some tweaks like execute Log(value)  before difefrentiation or execute a window normalization on last [diffNormalizeWindo
It's a simple indicator that execute GARCH(1,1) function, it can be used with basis stocks and options, when garch is bellow implied volatility probably implied volatility tend to goes down, and when garch is higher than implied volatility probably implied volatility goes up. Can be used with options trading when buying / selling volatility, for example, buy ATM put and call when garch is higher than implied volatility and sell when it's lower.
This indicator works in Brazil market, it should be used on options symbols. the indicator create 8 buffers, Delta, Gamma, Vega, Rho, Theta, Time(working days), Implied Volatility, R (interest rate), and can be used to view greeks over time. It shouldn't be used to trade, since it's cpu intensive, it's just a historic viewer, you can see what happened with greeks and teach friends :)
This indicator implements the High Low Volatility Estimator based on Advances in Financial Machine Learning 2018 - Marcos Lopez de Prado, page 284. It's a robust estimator using High/Low values from past bars (configurable). It's robusto to Gaps (open/close of days to stock markets) since it's using high/low ration and not the close price. It's interesting when you need to avoid trading at a specific level of volatility
This indicator implements the Rool Model Estimator based on Advances in Financial Machine Learning 2018 - Marcos Lopez de Prado, page 283. It's a spread estimator using trade by trade (copytick) values from last trades (configurable). It works with low liquidity markets as a robust estimator considering the covariance between price diferences. It's interesting when you need to track spread changes
This indicator implements the Corwin and Schultz Estimator based on Advances in Financial Machine Learning 2018 - Marcos Lopez de Prado, page 284. It's a spread estimator using high/low and a rolling window (configurable). It works with low liquidity markets as a robust estimator. It's interesting when you need to track spread changes, more information can be found at Marcos book.
In Kyle’s model, the variable captures price impact. Illiquidity increases with uncertainty about v and decreases with the amount of noise Kyle argues that the market maker must find an equilibrium between profit maximization and market efficiency. This indicator is based on Advances in Financial Machine Learning 2018 - Marcos Lopez de Prado book, Page 288.
Amihud studies the positive relationship between absolute returns and illiquidity. In particular, he computes the daily price response associated with one dollar of trading volume, and argues its value is a proxy of price impact. Despite its apparent simplicity, Hasbrouck [2009] found that daily Amihud’s lambda estimates exhibit a high rank correlation to intraday estimates of effective spread.  This indicator is based on Advances in Financial Machine Learning 2018 - Marcos Lopez de Prado book,
Hasbrouck follows up on Kyle’s and Amihud’s ideas, and applies them to estimating the price impact coefficient based on trade-and-quote (TAQ) data. Consistent with most of the literature, Hasbrouck recommends 5-minute time-bars for sampling ticks.  This indicator is based on Advances in Financial Machine Learning 2018 - Marcos Lopez de Prado book, Page 289. --- This code can run slow when using big timeframes, it use copytick to get dollar volume, in a next version I will implement a temporary i
Easley et al. [2011] proposed a high-frequency estimate of PIN, which they named volume-synchronized probability of informed trading (VPIN). This procedure adopts a volume clock, which synchronizes the data sampling with market activity. For additional details and case studies of VPIN, see Easley et al. [2013]. A number of studies have found that VPIN indeed has predictive power: Abad and Yague [2012], Bethel et al. [2012], Cheung et al. [2015], Kim et al. [2014], Song et al. [2014], Van Ness et
Easley et al. study the frequency of trades per trade size, and find that trades with round sizes are abnormally frequent. For example, the frequency rates quickly decay as a function of trade size, with the exception of round trade sizes {5, 10, 20, 25, 50, 100, 200,…}. These authors attribute this phenomenon to socalled “mouse” or “GUI” traders, that is, human traders who send orders by clicking buttons on a GUI (Graphical User Interface). In the case of the E-mini S&P 500, for example, si
A useful feature may be to determine the normal frequency of round-sized trades, and monitor deviations from that expected value. The ML algorithm could, for example, determine if a larger-than-usual proportion of round-sized trades is associated with trends, as human traders tend to bet with a fundamental view, belief, or conviction. Conversely, a lower-than-usual proportion of round-sized trades may increase the likelihood that prices will move sideways, as silicon traders do not typically hol
This script use DIDI+BB indicators and display alerts, send mail, send notifications, and play sounds. Scanner can monitor market watch using  ***MARKET***  as symbol name, with  all timeframes Inputs: media_lenta=3 media_base=8 media_longa=20 bb_periodo=20 bb_shift=0 bb_deviation=1.96 symbols - Symbol list, separated by ;   when using ***MARKET*** symbols from marketwatch will be included wait_interval_between_signals - Seconds between signals, default =60, but high frequency signals should red
This indicator represent option and basis values as a tax, using this formula: Tax = ( ( strike / ( basis - option ) ) - 1 ) * 100 It's not time based (don't use time to expire information)  You can set a fixed strike value, and a fixed basis symbol if needed. Some exchanges/brokers don't provide this information at marketdata and that's the only method to use this information when not provided.
Este serviço, exporta as ordens da conta, ordens históricas, negocios realizados (deals), e posições a cada mudança. Ele salva na pasta COMMON com um formato = <DATA>\\<Nome servidor>.<Login>.<DATA>.<tipo arquivo>.csv Cada arquivo tem seu header. Você pode usar este arquivo para obter atualizações do OMS, enviar para servidores SQL fora do metatrader com scripts bash e outros utilitarios. A cada mudança do arquivo você pode ler e obter as atualizações, ele funciona usando uma opção de leitura co
Filtro:
Sem comentários
Responder ao comentário
Versão 1.52 2019.02.11
atualização num bug para fechar posições, erro linha 107
Versão 1.51 2019.02.06
lucro global = lucro dia + posicao em aberto
Versão 1.50 2019.02.02
adicionado 2 teclas, e reduzido o texto na tela
Versão 1.40 2019.02.02
mudança no zerar: primeiro faz o fechamento de compra com venda (pra quem usa multiplas posições opostas como o gradiente linear), e depois zera a posição residual
Versão 1.30 2019.01.31
Adicionado Lucro da posição (em aberto) no inicio do texto, e o lucro da posição inclui oque ja foi fechado+oque esta em aberto
Versão 1.20 2019.01.31
Adicionado Comentario na hora de zerar
Calculado posição corretamente, antes aparecia zerado
Versão 1.10 2019.01.31
Adicionado uma função para tratar o inicio da semana caso ela comece no meio de outro mes
a versão anterior foi mantida e funciona como "nao_voltar_mes_na_semana=true"

void SpadimTeclado_criar_painel(ulong magic_id=0, bool usar_comment=true, string prefixLabel="LabelPosicaoMAGICID", long labelX=0, long labelY=0, long label_stepY=12,int casas_volume=0, int casas_preco=2);

void SpadimTeclado_criar_painel(ulong magic_id=0, bool usar_comment=true, bool nao_voltar_mes_na_semana=true, string prefixLabel="LabelPosicaoMAGICID", long labelX=0, long labelY=0, long label_stepY=12, int casas_volume=0, int casas_preco=2);