• Aperçu
  • Avis
  • Commentaires

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.


Produits recommandés
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
Cette bibliothèque est utilisée pour trier des tableaux de clés et de valeurs, nous avons souvent besoin de trier des valeurs. comme dans le langage python sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) fonction d'importation Exemple de scénarios d'utilisation 1. Les commandes Grid EA sont triées en fonction du prix d'ouverture void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)
Mine Farm
Maryna Kauzova
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
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
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
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
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
Le niveau Premium est un indicateur unique avec une précision de plus de 80 % des prédictions correctes ! Cet indicateur a été testé par les meilleurs Trading Specialists depuis plus de deux mois ! L'indicateur de l'auteur que vous ne trouverez nulle part ailleurs ! À partir des captures d'écran, vous pouvez constater par vous-même la précision de cet outil ! 1 est idéal pour le trading d'options binaires avec un délai d'expiration de 1 bougie. 2 fonctionne sur toutes les paires de de
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 );    //复杂开单
Tout d'abord, il convient de souligner que cet outil de trading est un indicateur non repeint, non redessiné et non retardé, ce qui le rend idéal pour le trading professionnel. Cours en ligne, manuel utilisateur et démonstration. L'indicateur Smart Price Action Concepts est un outil très puissant à la fois pour les nouveaux et les traders expérimentés. Il regroupe plus de 20 indicateurs utiles en un seul, combinant des idées de trading avancées telles que l'analyse du trader Inner Circle et
L'indicateur Viking Strategy Signal est un indicateur de tendance qui se distingue par ses caractéristiques non repainting, non redrawing et non lagging, ce qui le rend idéal pour le trading manuel et automatisé. Voici les points clés à retenir : Fonctionnalités   : L'indicateur analyse automatiquement le marché et fournit des informations sur la tendance ainsi que des signaux d'entrée pour les transactions, sans redessiner les signaux affichés précédemment. Une fois qu'un signal apparaît, il r
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
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
TPSpro RFI Levels MT5
Roman Podpora
4.75 (12)
INSTRUCTIONS       RUS   -   ANGLAIS       Il   est recommandé de l'utiliser avec un indicateur       -       TPSpro   TENDANCE PRO -   Version MT4         Un élément clé du trading est constitué par les zones ou les niveaux à partir desquels les décisions d'achat ou de vente d'un instrument de trading sont prises. Malgré les tentatives des principaux acteurs de dissimuler leur présence sur le marché, ils laissent inévitablement des traces. Notre tâche était d'apprendre à identifier ces traces
[ 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.
Avant d'installer l'indicateur HeatMap assurez vous d'utiliser un broker qui vous donne accès au Depth of market (DOM) !! Cet indicateur crée sur votre graphiques une heatmap vous permettant de voir les ordres limites d'achat ou de vente facilement et en temps réel. Vous avez la possibilité de changer de réglage et les couleurs de la HeatMap afin de s'adapter à  tous les marchés et à tous les graphiques. Voici un exemple de réglage que vous pouvez utiliser  avec le SPX500 sur le broker AMPGlob
Rainbow EA MT5
Jamal El Alama
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
Owl Smart Levels MT5
Sergey Ermolov
4.07 (28)
Version MT4   |  FAQ L' indicateur Owl Smart Levels est un système de trading complet au sein d'un seul indicateur qui comprend des outils d'analyse de marché populaires tels que les fractales avancées de Bill Williams , Valable ZigZag qui construit la structure d'onde correcte du marché et les niveaux de Fibonacci qui marquent les niveaux exacts d'entrée. sur le marché et les endroits où prendre des bénéfices. Description détaillée de la stratégie Mode d'emploi de l'indicateur Conseiller-Assis
Volume by Price MT5
Brian Collard
3.25 (4)
The Volume by Price Indicator for MetaTrader 5 features Volume Profile and Market Profile TPO (Time Price Opportunity). Volume and TPO histogram bar and line charts. Volume Footprint charts. TPO letter and block marker collapsed and split structure charts. Static, dynamic and flexible range segmentation and compositing methods with relative and absolute visualizations. Session hours filtering and segment concatenation with Market Watch and custom user specifications. Graphical layering, positio
Introducing the  Precision Data Extractor: LWMA , an MQL5 utility crafted for traders, analysts and quants who need accurate historical data to build robust datasets. This tool lets you selectively pull historical price and indicator data—  Linear Weighted Moving Average  ( LWMA )—from  multiple applied prices, timeframes, and periods,  then stores it in a  CSV  format, making it easy to feed into  machine learning models ,  trading algorithms , or  in-depth market analyses . Compatible with  Fo
Atomic Analyst MT5
Issam Kassas
4.32 (19)
Tout d'abord, il convient de souligner que cet indicateur de trading n'est ni repainting, ni redrawing et ne présente aucun délai, ce qui le rend idéal à la fois pour le trading manuel et automatisé. Manuel de l'utilisateur : réglages, entrées et stratégie. L'Analyste Atomique est un indicateur d'action sur les prix PA qui utilise la force et le momentum du prix pour trouver un meilleur avantage sur le marché. Équipé de filtres avancés qui aident à éliminer les bruits et les faux signaux, et à
L'indicateur construit les cotations actuelles, qui peuvent être comparées aux cotations historiques et, sur cette base, faire une prévision de l'évolution des prix. L'indicateur dispose d'un champ de texte pour une navigation rapide jusqu'à la date souhaitée. Option : Symbole - sélection du symbole que l'indicateur affichera ; SymbolPeriod - sélection de la période à partir de laquelle l'indicateur prendra des données ; IndicatorColor - couleur de l'indicateur ; HorisontalShift -
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
Matreshka
Dimitr Trifonov
5 (1)
Matreshka self-testing and self-optimizing indicator: 1. Is an interpretation of the Elliott Wave Analysis Theory. 2. Based on the principle of the indicator type ZigZag, and the waves are based on the principle of interpretation of the theory of DeMark. 3. Filters waves in length and height. 4. Draws up to six levels of ZigZag at the same time, tracking waves of different orders. 5. Marks Pulsed and Recoil Waves. 6. Draws arrows to open positions 7. Draws three channels. 8. Notes support and re
Les acheteurs de ce produit ont également acheté
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
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 (5)
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
Cette bibliothèque vous permettra de gérer les transactions en utilisant n'importe lequel de vos EA et elle est très facile à intégrer sur n'importe quel EA que vous pouvez faire vous-même avec le code de script mentionné dans la description ainsi que des exemples de démonstration en vidéo qui montrent le processus complet. - Placer des ordres Limit, SL Limit et Take Profit Limit - Placer les ordres Market, SL-Market, TP-Market - Modifier l'ordre limite - Annuler la commande - Com
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
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. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . 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
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,
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
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
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 installati
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
Cette bibliothèque est proposée comme un moyen d'utiliser directement les API d'OpenAI sur MetaTrader de la manière la plus simple possible. Pour plus d'informations sur les capacités de la bibliothèque, lisez l'article suivant : https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT : Pour utiliser l'EA, vous devez ajouter l'URL suivante pour permettre l'accès à l'API OpenAI : comme montré sur les images ci-jointes Pour utiliser la bibl
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
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
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 (5)
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
Cette bibliothèque vous permettra de gérer les transactions en utilisant n'importe lequel de vos EA et elle est très facile à intégrer sur n'importe quel EA que vous pouvez faire vous-même avec le code de script mentionné dans la description ainsi que des exemples de démonstration en vidéo qui montrent le processus complet. - Placer des ordres Limit, SL Limit et Take Profit Limit - Placer les ordres Market, SL-Market, TP-Market - Modifier l'ordre limite - Annuler la commande - Com
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
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. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . 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
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
Filtrer:
Aucun avis
Répondre à l'avis