• Información general
  • Comentarios
  • Discusión

Relative Average Calculator

Relative Average Cost of Open Positions Indicator

Description: The “Relative Average Cost of Open Positions” indicator is a powerful tool designed for traders who engage in mean reversion strategies. It calculates the average entry price for both buy and sell positions, considering the total volume of open trades. Here are the key features and advantages of this indicator:

  1. Mean Reversion Trading:

    • Mean reversion strategies aim to capitalize on price movements that revert to their historical average. By calculating the relative average cost, traders can identify potential reversal points and make informed decisions.
  2. Breakeven Point:

    • The relative average cost price serves as a breakeven point. When the current market price crosses this level, traders can assess whether their positions are profitable or not.
    • If the market price exceeds the relative average cost, it suggests potential profits.
    • Conversely, if the market price falls below the relative average cost, it indicates potential losses.
  3. Hedge Account Support:

    • The indicator considers both buy and sell positions, making it suitable for hedge accounts.
    • It calculates the weighted average entry price, taking into account the lot sizes of each position.
  4. Easy Integration:

    • The MQL5 app seamlessly integrates with MetaTrader 5 (MT5) platforms.
    • Traders can add the indicator to their charts and customize its parameters.
  5. Visual Representation:

    • The indicator displays the relative average cost as a horizontal line on the chart.
    • Traders can visually compare the current price with this reference level.
  6. Risk Management:

    • Knowing the relative average cost helps traders manage risk effectively.
    • It provides insights into whether existing positions are favorable or need adjustments.

Usage:

  1. Install the indicator in your MT5 platform.
  2. Observe the relative average cost line on your chart.
  3. Consider potential reversals when the market price approaches this level.


Productos recomendados
Introduction to Chart Pattern MT Chart Pattern MT is a chart pattern scanner to detect the triangle pattern, falling wedge pattern, rising wedge pattern, channel pattern and so on. Chart Pattern MT uses highly sophisticated chart pattern detection algorithm. However, we have designed it in the easy to use with intuitive user interface. Chart Pattern MT will show all the patterns in your chart in the most efficient format for your trading. You do not have to do tedious manual pattern detection an
Elliott Wave Trend was designed for the scientific wave counting. This tool focuses to get rid of the vagueness of the classic Elliott Wave Counting using the guideline from the template and pattern approach. In doing so, firstly Elliott Wave Trend offers the template for your wave counting. Secondly, it offers Wave Structural Score to assist to identify accurate wave formation. It offers both impulse wave Structural Score and corrective wave Structure Score. Structural Score is the rating to sh
Esta biblioteca se utiliza para ordenar matrices de claves y valores, a menudo necesitamos ordenar valores. como en el lenguaje python sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) función de importación Ejemplo de escenarios de uso 1. Las órdenes de Grid EA se clasifican según el precio de apertura void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)      {        if (m_position
Mine Farm
Maryna Kauzova
5 (1)
Mine Farm is one of the most classic and time-tested scalping strategies based on the breakdown of strong price levels. Mine Farm is the author's modification of the system for determining entry and exit points into the market... Mine Farm - is the combination of great potential with reliability and safety. Why Mine Farm?! - each order has a short dynamic Stop Loss - the advisor does not use any risky methods (averaging, martingale, grid, locking, etc.) - the advisor tries to get
Difícil de encontrar y escasa en frecuencia, las divergencias son uno de los escenarios comerciales más confiables. Este indicador busca y escanea las divergencias regulares y ocultas automáticamente usando su oscilador favorito. [ Guía de instalación | Guía de actualización | Solución de problemas | FAQ | Todos los productos ] Fácil de comerciar Encuentra divergencias regulares y ocultas Admite muchos osciladores bien conocidos Implementa señales comerciales basadas en rupturas Muestra n
Introducing the Power Trade Plus indicator designed by a small group of traders with a few years of experience trading the market profitably.  The Power Trade Plus is derived from the Power Trade indicator,  the indicator strive in powerful sniper entries and take profit levels,  with an algorithm that's can determine the markets volatility and Provides entries based on the current market volatility. This indicator is much more effective in stock ,currencies and indices.
The Penta-O is a 6-point retracement harmonacci pattern which usually precedes big market movements. Penta-O patterns can expand and repaint quite a bit. To make things easier this indicator implements a twist: it waits for a donchian breakout in the right direction before signaling the trade. The end result is an otherwise repainting indicator with a very reliable trading signal. The donchian breakout period is entered as an input. [ Installation Guide | Update Guide | Troubleshooting | FAQ | A
The Matrix
Omega J Msigwa
Matrix es la base de algoritmos comerciales complejos, ya que lo ayuda a realizar cálculos complejos sin esfuerzo y sin la necesidad de demasiada potencia de cálculo. No hay duda de que Matrix ha hecho posible muchos de los cálculos en las computadoras modernas, ya que todos sabemos que los bits de información son almacenados en forma de matriz en la memoria RAM de nuestra computadora, Al usar algunas de las funciones de esta biblioteca, pude crear robots de aprendizaje automático que podían ace
Este innovador indicador de medición de la fuerza de la moneda de INFINITY es un ayudante indispensable para los revendedores y comerciantes que negocian en el largo plazo. El sistema de Análisis de fortaleza / debilidad de las monedas ha sido conocido y utilizado en el mercado por los principales operadores del mundo. Cualquier comercio de arbitraje no está completo sin este análisis. Nuestro indicador determina fácilmente la fuerza de las monedas subyacentes entre sí. Muestra gráficos de líne
The   Visual Volatility Clustering   indicator clusters the market based on volatility. The indicator does not redraw and gives accurate data, does not use closing prices. Uses the opening prices or the highs or lows of the previous completed bar. Therefore, all information will be clear and unambiguous. The essence of the indicator is to divide the price market into certain areas according to a similar type of volatility. This can be done in any way. In this example, the indicator is configure
The   Visual Volatility Clustering   indicator clusters the market based on volatility. The indicator does not redraw and gives accurate data, does not use closing prices. Uses the opening prices or the highs or lows of the previous completed bar. Therefore, all information will be clear and unambiguous. The essence of the indicator is to divide the price market into certain areas according to a similar type of volatility. This can be done in any way. In this example, the indicator is configure
¡El nivel Premium es un indicador único con más del 80% de precisión de predicciones correctas! ¡Este indicador ha sido probado por los mejores especialistas en comercio durante más de dos meses! ¡El indicador del autor no lo encontrarás en ningún otro lugar! ¡A partir de las capturas de pantalla, puede ver por sí mismo la precisión de esta herramienta! 1 es ideal para operar con opciones binarias con un tiempo de vencimiento de 1 vela. 2 funciona en todos los pares de divisas, accion
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 );    //复杂开单
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
Key level wedge MT5
Presley Annais Tatenda Meck
The   Key level wedge MT5   indicator automatically draws rising wedge pattern and falling wedge pattern for you on the chart. This pattern is really good when used as a confirmation entry at key support & resistance, supply & demand and reversal zones. Advantages  The   Key level wedge MT5   block DOES NOT RE-PAINT, giving you confidence when a signal appears and also helps when looking back.  The   Key level wedge MT5   includes an on/off button on the chart to easily keep the charts cle
Trend Volley
Philip Effiong Philip
Unlike any indicator you’ve seen, Trend Volley is an advanced purpose-built trend trading charting system that has been successfully used in nearly every tradable market. It is unique in many ways. Trend Volley’s internal trend detector algorithm studies the market and dynamically chooses the right values for the internal parameters, to adapt to the price and to decrease consecutive trend failures. It can be applied to any financial assets:  forex, cryptocurrencies, metals, stocks, indices.  ITS
Gold instrument scanner is the chart pattern scanner to detect the triangle pattern, falling wedge pattern, rising wedge pattern, channel pattern and so on. Gold instrument scanner uses highly sophisticated pattern detection algorithm. However, we have designed it in the easy to use and intuitive manner. Advanced Price Pattern Scanner will show all the patterns in your chart in the most efficient format for your trading. You do not have to do tedious manual pattern detection any more. Plus you
[ MT4 Version ] Supply and Demand Multitimeframe Supply and Demand Multitimeframe is the first indicator in the market that combines multiple aspects like trading volume, price structure and momentum to identify Supply and Demand zones for every asset. The Supply and Demand indicator analyzes simultaneously up to 4 different TFs and represents their information in the current graph. Its interactive UI highlights everytime the price enters a Supply or Demand zone even if the zones are not visible
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
Mean Volume indicator for MT5
Renaud Herve Francois Candel
Mean Volume Most indicators are based on price analysis. This indicator is based on volume. Volume is overlooked piece of information in most trading systems. And this is a big mistake since volume gives important information about market participants. Mean Volume is an indicator that can be used to spot when volume is above average. It usually means that institutional traders are active. Peak in volume can be used to confirm an entry since increased volume can sustain the move in one or
Noize Absorption Index - is the manual trading system that measures the difference of pressure between bears forces and bulls forces. Green line - is a noize free index that showing curent situation. Zero value of index shows totally choppy/flat market.Values above zero level shows how powerfull bullish wave is and values below zero measures bearish forces.Up arrow appears on bearish market when it's ready to reverse, dn arrow appears on weak bullish market, as a result of reverse expectation.
Before installing the HeatMap indicator make sure you are using a broker that gives you access to the Depth of market (DOM) !! This indicator creates a heatmap on your chart allowing you to see the buy or sell limit orders easily and in real time. You have the possibility to change the setting and the colors of the HeatMap in order to adapt to all markets and all charts. Here is an example of a setting you can use with the NASDAQ100 on the AMPGlobal broker :  https://www.youtube.com/watch?v=x0
Atomic Analyst MT5
Issam Kassas
4.78 (18)
En primer lugar, vale la pena enfatizar que este Indicador de Trading no repinta, no redibuja y no se retrasa, lo que lo hace ideal tanto para el trading manual como para el automatizado. Manual del usuario: configuraciones, entradas y estrategia. El Analista Atómico es un Indicador de Acción del Precio PA que utiliza la fuerza y el impulso del precio para encontrar una mejor ventaja en el mercado. Equipado con filtros avanzados que ayudan a eliminar ruidos y señales falsas, y aumentan el poten
Versión MT4: https://www.mql5.com/en/market/product/90395 Versión MT5: https://www.mql5.com/en/market/product/99545 Presentamos el Asesor Experto (EA) "No Marti No Party": el epítome de las estrategias comerciales agresivas. Este EA no es para los pusilánimes, ya que opera según un principio de alto riesgo y alta recompensa que puede generar ganancias sustanciales o pérdidas significativas. El nombre lo dice todo: la estrategia Martingala es el núcleo de este EA. Está diseñado para duplic
Description : Rainbow EA MT5 is a simple Expert advisor based on   Rainbow MT5 indicator witch is based on Moving average with period 34. The indicator is incorporated in the EA, therefore, it is not required for the EA to operate, but if you wish, you can download it from   my product page . The Expert Advisor settings are as follows : Suitable for Timeframes up to H1 The parameters below can be set according to your trading rules. StopLoss ( Stop Loss in pips) TakeProfit ( Take Profit in pi
Apex Trader MT5
Profalgo Limited
5 (2)
PROMOCIÓN DE LANZAMIENTO: Solo 2 copias disponibles a 199 $ Precio final: 999$ NUEVO: ¡Compre ahora y obtenga 1 EA gratis!   (para 2 cuentas comerciales) Resultados en vivo:   https://www.mql5.com/es/señales/1836525 high risk account Presentamos la última incorporación a nuestra línea de robots de compraventa de divisas:     el Apex Trader   . Desarrollado con años de experiencia en la creación de asesores expertos, Apex Trader es una poderosa herramienta comercial para el mercado de divisas.
Owl Smart Levels MT5
Sergey Ermolov
4.31 (39)
Versión MT4  |  FAQ El Indicador Owl Smart Levels es un sistema comercial completo dentro de un indicador que incluye herramientas de análisis de mercado tan populares como los fractales avanzados de Bill Williams , Valable ZigZag que construye la estructura de onda correcta del mercado y los niveles de Fibonacci que marcan los niveles exactos de entrada. en el mercado y lugares para tomar ganancias. Descripción detallada de la estrategia Instrucciones para trabajar con el indicador Asesor de c
Join Deriv | Sign Up on link Bellow | 230+ Assets, 3 trade types and 8 Platforms. https://track.deriv.be/_Ofx9KZ6UMJLrhBvO3lYd_WNd7ZgqdRLk/1/ The best time to trade Using this Indicator is when the time reach exactly hour,half,45 minutes,15 minutes and sometimes 5 minutes.. This indicators is helpful to those who trade boom and crash indecies.How to read this indicator first you'll see Blue allow and Red allow all these allows used to indicate or to detect the spike which will happen so t
Prop Firm Edge mt5
Vasiliy Strukov
4.95 (21)
El asesor Prop Firm Edge mt5 está diseñado específicamente para superar los desafíos de Prop Firm y seguir operando. Podrá cumplir con todas las reglas manteniendo la reducción especificada dentro de los límites prescritos y también podrá usarse en cualquier cuenta para el comercio diario. El asesor utiliza una alta volatilidad después de los comunicados de prensa para abrir una posición. El asesor utiliza noticias para operar y, por lo tanto, no se puede probar en el probador de estrategias. R
El indicador construye cotizaciones actuales, que se pueden comparar con las históricas y, sobre esta base, hacer un pronóstico de movimiento de precios. El indicador tiene un campo de texto para una navegación rápida a la fecha deseada. Opciones: Símbolo - selección del símbolo que mostrará el indicador; SymbolPeriod - selección del período del cual el indicador tomará datos; IndicatorColor - color del indicador; HorisontalShift: cambio de cotizaciones dibujadas por el indicador
Los compradores de este producto también adquieren
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.
Native Websocket
Racheal Samson
5 (3)
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
Esta biblioteca le permitirá gestionar operaciones utilizando cualquiera de sus EA y es muy fácil de integrar en cualquier EA, lo que puede hacer usted mismo con el código de secuencia de comandos que se menciona en la descripción y también ejemplos de demostración en video que muestran el proceso completo. - Órdenes de límite de colocación, límite de SL y límite de obtención de ganancias - Realizar órdenes de Mercado, SL-Market, TP-Market - Modificar orden límite - Cancelar orden
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,
La siguiente biblioteca se ofrece como un medio para utilizar las API de OpenAI directamente en MetaTrader de la manera más sencilla posible. Para obtener más detalles sobre las capacidades de la biblioteca, lea el siguiente artículo: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANTE: Para usar el EA, es necesario añadir la siguiente URL para permitir el acceso a la API de OpenAI  como se muestra en las imágenes adjuntas Para utili
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
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-
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
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,
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
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
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
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
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
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
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.
Native Websocket
Racheal Samson
5 (3)
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
Esta biblioteca le permitirá gestionar operaciones utilizando cualquiera de sus EA y es muy fácil de integrar en cualquier EA, lo que puede hacer usted mismo con el código de secuencia de comandos que se menciona en la descripción y también ejemplos de demostración en video que muestran el proceso completo. - Órdenes de límite de colocación, límite de SL y límite de obtención de ganancias - Realizar órdenes de Mercado, SL-Market, TP-Market - Modificar orden límite - Cancelar orden
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,
La siguiente biblioteca se ofrece como un medio para utilizar las API de OpenAI directamente en MetaTrader de la manera más sencilla posible. Para obtener más detalles sobre las capacidades de la biblioteca, lea el siguiente artículo: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANTE: Para usar el EA, es necesario añadir la siguiente URL para permitir el acceso a la API de OpenAI  como se muestra en las imágenes adjuntas Para utili
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
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-
Filtro:
No hay comentarios
Respuesta al comentario