• 概述
  • 评论
  • 评论
  • 新特性

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);
}



推荐产品
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.57 (7)
用于将信息面板添加到您的 MetaTrader 5 EA 的库。 我们不能保证程序的信息和界面会让您在交易中获利,但我们可以肯定地说,即使是最简单的程序界面也能增强第一印象。 将我们的面板添加到您的 智能交易系统的 详细说明和说明在我们的博客中:   LIB - EAPADPRO 分步说明 我们面板的详细说明和使用 EAPADPRO 的说明 MetaTrader 4 库版本 添加的过程包括 10 个步骤 ,我们的文章中详细介绍了它们。 安装库 从此站点安装库; 打开您的智能交易系统; 打开我们的示例和安装代码的分步指南,文件 Exp - EAPADPRO LIBRARY TEST(可以在博客中找到)   ; 按照建议中的说明执行每个步骤,或使用我们网站上的分步说明。 EAPADPRO 个性化 本段描述了您可以在我们的面板中更改的所有内容: versionea   - 面板中显示的智能交易系统版本; BMPLOGO   - 显示在面板上的 BMP 60x60 顾问的徽标; icon   - 您的专家的图标,显示在专家的属性中; defEANAME - 面板中显示的您的智能 交易系统的
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 MT5 的结果 WAPV Box Effort x Result Indicator 是 Package Indicators 组(Wyckoff Academy Wave Market)的一部分。 MT5 的 WAPV Box Effort x Result Indicator 可帮助您阅读价格和交易量。它的阅读包括协助识别努力x结果 在图表创建的波浪中。 当方框为绿色时,MT5 的 WAPV Box Effort x Result Indicator 表示交易量有利于需求,而当方框为红色时 量有利于供应。 方框越大,成交量相对于价格的位移越大。如果价格的上升波与 Box 的大小不成比例,则 努力x结果。 以一种非常直观的方式,我们可以识别出数量和价格之间的这种差异。 MT5 的 WAPV Box Effort x Result Indicator 还允许您通过将指标置于零轴下方来改善可视化。 以即时交易量和实际交易量在市场上运作 看图片:
DeltaBook
Thalles Nascimento De Carvalho
Delta Book指标是一种强大的市场分析工具,结合了成交量差异(Volume Delta)和订单簿(order book)信息,以侦测股票、期货和加密货币等金融市场的价格波动。需要注意的是,要充分发挥Delta Book的潜力,需要获得实时成交量数据和订单簿信息。 Delta Book的主要特点是其先进的市场分析策略,使交易员和投资者能够根据有关市场参与者行为的详细信息来识别趋势和交易机会。以下是一些有关描述Delta Book指标的提示和重要方面: 成交量差异:成交量差异是特定时间段内购买(需求)和出售(供应)的成交量之间的差异。这一指标定量衡量了买家和卖家之间的不平衡,有助于识别市场买卖压力的变化。 订单簿:订单簿是市场上所有买卖订单的实时记录。它显示了交易员愿意购买和出售资产的价格,以及他们愿意以这些价格交易的资产数量。Delta Book使用订单簿信息来分析市场参与者的行为。 价格流动:Delta Book有助于识别价格流动,即资产价格如何受成交量差异和订单簿的变化影响。这对于理解买入和卖出订单如何影响价格波动至关重要。 趋势和逆转:基于成交量差异和订单簿信息,Delta
Didi Index Volume
Thalles Nascimento De Carvalho
介绍一下Didi指数成交量(Didi Index Volume),这是由巴西交易员Odir Aguiar开发的一种技术分析指标,以其先进而强大的方法在金融市场中发现机会而脱颖而出。Didi指数成交量在各种平台上提供,已成为追求精确见解和有价值信息的交易员们的重要工具。 该指标将著名的Didi指数与智能使用的交易量结合起来。这种组合可以更深入地分析价格行为和交易量之间的相互作用,提供了独特的资产运动视角。 通过复杂的算法和加权平均计算,Didi指数成交量可以根据交易量提前预测价格变动。这一特点对于识别新兴趋势、市场反转和适时的入场和出场点非常重要。 使用Didi指数成交量,您可以获得客观可靠的信息,帮助避免草率决策,提高准确解读市场的能力。该指标具有直观且可自定义的界面,适应个人偏好,提供高度个性化的交易体验。 立即尝试Didi指数成交量,发现为什么如此多的交易员信任这个工具,在金融市场中获得竞争优势。扩展您的可能性,推动您的交易业绩,这是一款为最苛刻的交易员需求而设计的智能解决方案。 使用提示: - 始终关注MA Slow(红色)的趋势。当MA Sl
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
The Chaikin Money Flow (CMF) is an indicator created by Marc Chaikin in the 1980s to monitor the accumulation and distribution of a  stock   over a specified period. The default CMF period is 21 days. The indicator readings range between +1 and -1. Any crosses above or below 0 can be used to confirm changes in money flow, as well as buying or selling momentum, but many traders look for divergences to predict trend reversal based on volume.  This indicator was developed not only to be used by man
Volume Weighted Average Price or VWAP is an indicator wich shows different average prices on chart. This is very useful to find strong negotiation price areas and as trend following. Configurations: Day, Week and Month - Show different VWAPs according to the period. You can change each line style on "colors" tab. Any doubt or suggestion please contact us. Enjoy! This is a free indicator, but it took hours to develop. If you want to pay me a coffee, I appreciate a lot   <3 PayPal, Skrill, Ne
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
SyntheticIndices
Stanislav Korotky
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)
This is a utility indicator that creates mini charts on left side of the chart you are looking at. It is very useful to watch many timeframes simultaneously, without having to change between multiple charts. Its configuration is very simple. You can have up to 4 mini charts opened. They automatically load the template of the "parent" chart. If you have any doubt please contact me. Enjoy! This is a free indicator, but it took hours to develop. If you want to pay me a coffee, I appreciate a lot
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
The VTC Volatility indicator was written to support a Brazilian stock market strategy in the WDO (USDBRL), but it can be adapted to other strategies and markets. In the new indicator update, it is now allowed to choose up to 4 levels to determine the range, and thus be more versatile. The Brazilian stock exchange (B3) has the VTC which is a "Structured Exchange Rate Volatility Transaction" (more information on the B3 website). At around 10:00 am, the VTC "Call" comes out and Brazilian
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 This Indicator shows a pressure color box based on depth of market of the current symbol. Notice that it only works when book information is received. You decide weather you want or not to display higher (ask) and lower (bid) levels of book. The proportion ratio is calculated using volumes read from the book. You can read the actual pressure in the market any time. Indicator parameters: color_Ask -> ASK box color and ASK value line color color_Bid -> BID box color and BID valu
Bright Night MT5
Marat Baiburin
1 (2)
明亮的夜晚 是在安静时间在外汇市场上工作的全自动顾问。 Another 1 copies will be sold for $599. Next price 699$ 监控顾问的工作:   https://www.mql5.com/en/users/bayburinmarat/seller 正确的 GMT 设置:   https://www.mql5.com/en/blogs/post/743531 正如我们所知,最近晚上外汇市场的点差一直在扩大,有时甚至达到不合理的极限。有时,价差会扼杀潜在盈利的交易并造成损失。但在这种情况下不是。   Bright Night 读取这些点差扩展,确定卖价和买价之间的模式,它告诉我们可能的价格走势在我们需要的方向上。这种方法提供了现代市场分析,而不是过去。 EA 不使用指标、神经网络或价格行为。交易的建立和维持完全基于价差的行为。因此,EA 在预测价格走势方面领先一步,而基于指标的 EA 则滞后。   Bright Night 内置了 EURUSD、USDCAD、USDCHF、GBPUSD、EURAUD 的参数。 不需要设置,您只需要在图表上安装顾
该产品的买家也购买
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
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,
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
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于A
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
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
OrderBook History Library
Stanislav Korotky
3 (2)
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
BitMEX Trading API
Romeu Bertho
5 (1)
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. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
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
This is an EXPERT with a FOCUS on LEARNING and PROFESSIONAL DEVELOPMENT!!! The idea of this product is to commercialize the source code, allowing those who want to develop their own robots, or start a professional activity developing customized experts, to have a reference source code that helps them in the learning and development process. This source code will be increased, that is, new functionalities will be created, thus allowing the project to continue evolving. For every 10 sales a new v
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
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,
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
作者的更多信息
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
Garch indicator
Roberto Spadim
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
The Rool Model
Roberto Spadim
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.
Kyle Lambdas
Roberto Spadim
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
Option as Tax
Roberto Spadim
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.
This Service, export the account Orders/History Orders/Deals/Position on each new change. It save at a common folder with path = <DATE>\\<Server Name>.<Login>.<DATE>.<filetype>.csv Each file type have an header You can use it to receive OMS changes and source SQL Servers outside metatrader with bash scripts or others tools, each time the file change you can read it and get new updates, it works using SharedRead option when opening/flock the file.
筛选:
无评论
回复评论
版本 1.52 2019.02.11
atualização num bug para fechar posições, erro linha 107
版本 1.51 2019.02.06
lucro global = lucro dia + posicao em aberto
版本 1.50 2019.02.02
adicionado 2 teclas, e reduzido o texto na tela
版本 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
版本 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
版本 1.20 2019.01.31
Adicionado Comentario na hora de zerar
Calculado posição corretamente, antes aparecia zerado
版本 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);