• Overview
  • Reviews (2)
  • Comments (3)
  • What's new

K Trade Lib5

3.5

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 comment="",double sl=0,double tp=0,bool slsetmode=false,bool tpsetmode=false);
#import

1.简单的系统OrderSend二次封装:

OrderOpen函数

long OrderOpen(
      int type,         //交易类型
      double volume,    //交易手数
      int magic,        //魔术号
      string symbol="", //交易品种
      string comment="",//注释
      double opprice=0, //挂单价格,非挂单可以留空
      double sl=0,      //止损点数,区别于系统的SL
      double tp=0,      //止盈点数,区别于系统的TP
      int expiration=0, //挂单中设置,同系统
      bool slsetmode=false,//设置为true,设置sl为价格否则为点数
      bool tpsetmode=false //设置为true,设置tp为价格否则为点数 
);

2.复杂订单系统开单(包含逆势加仓,顺势加仓,随机间距加仓; 手数增加模式有倍数模式,增量模式,以及固定手数模式)

void SetMagic(
   int magic,        //设置MAGIC,本设置是针对需要统计订单所对应的魔术号
   int magic_plus=0  //可以设置范围  当 (魔术号>=magic ,魔术号<=magic+magic_plus) 的范围内的魔术号订单都会作为统计 
);
void SetLotsAddMode(
   int mode=0,          //1->倍数开仓  2->增量开仓 ,0或者其他->固定手数下面参数设置无效
   double lotsadd=0     //根据mode设置而定,倍率手数本参数为倍率,增量模式为增量,否则无效
);
long OrderOpenAdvance(
   int mode,         //0x1 逆势加仓,0x2顺势加仓,0x4间距随机加仓 
   int type,         //交易类型 0->BUY 1->SELL
   double volume,    //固定手数 
   int step,         //加仓间距
   int magic,        //魔术号
   string symbol="", //品种
   string comment="",//注释 
   double sl=0,      //止损设置(默认设置点数)
   double tp=0,      //止盈设置(默认设置点数)
   bool slsetmode=false,//false为sl点数设置,true为sl价格模式
   bool tpsetmode=false //false为tp点数设置,true为tp价格模式
);

交易范例:(马丁逆势加仓)  非常简单实现马丁加仓,同样可以简单的实现顺势加仓等

void OnTick()
  {
//--- 

      SetLotsAddMode(1,2.0);
      int mode=1;//逆势加仓模式
      int type=0;//0为多单,1为空单  同系统方式
      double lots=0.01; //手数设置
      int step=200; //加仓间距
      int magic =556024;//设置魔术号
      
      OrderOpenAdvance(mode,type,lots,step,magic);
  }



Reviews 2
Peng Jin
320
Peng Jin 2021.10.08 09:58 
 

刚把爹

Recommended products
Lib5 EAPadPRO for MT5
Vladislav Andruschenko
4.5 (6)
Library to add the Information Panel to your Expert Advisor for MetaTrader 5. We can not guarantee that the information and interface of the program will give you a profit on deals, but we will definitely say that even the simplest interface of the program can strengthen the first impression. Detailed description and instructions for adding our panel to your Expert Advisor are in our blog: LIB - EAPADPRO Step-by-step instruction Detailed description of our panel and instructions for using EAPADP
FREE
MarketPro toolkit
Johannes Hermanus Cilliers
Start earning profits by copying All trades are sent by our successful Forex trader & are extremely profitable. You can earn profits by copying trades daily Trial Period included You'll also get access to extremely powerful trading education which is designed in a simple way for you to become a profitable trader, even if you have no trading experience. https://ec137gsj1wp5tp7dbjkdkxfr4x.hop.clickbank.net/?cbpage=vip
FREE
Market book tester
Aliaksandr Hryshyn
1 (1)
Using data from the order book in the strategy tester Key features: Simultaneous use of several symbols, up to 7 pieces DOM visualization With the visualization of order books, real-time simulation is available, as well as acceleration or deceleration Working with the library: This product also requires a utility to save data:  https://www.mql5.com/en/market/product/71642 Speed control utility:  https://www.mql5.com/en/market/product/81409 Include file:   https://c.mql5.com/31/735/Market_book_s
FREE
PZ Goldfinch Scalper EA MT5
PZ TRADING SLU
3.64 (42)
This is the latest iteration of my famous scalper, Goldfinch EA, published for the first time almost a decade ago. It scalps the market on sudden volatility expansions that take place in short periods of time: it assumes and tries to capitalize of inertia in price movement after a sudden price acceleration. This new version has been simplified to allow the trader use the optimization feature of the tester easily to find the best trading parameters. [ Installation Guide | Update Guide | Troublesh
FREE
The Scaled Awesome Oscillator (SAO) represents a refined adaptation of the Awesome Oscillator, aimed at establishing consistent benchmarks for identifying market edges. Unlike the standard Awesome Oscillator, which records the variation in pips across different commodities, the only unchanging reference point is the zero line. This limitation hampers investors and traders from pinpointing specific levels for trend reversals or continuations using the traditional Awesome Indicator, a creation of
FREE
Indicator measures strength of each currency in your list. Main idea: It simply iterates through all combinations of pairs and adds difference between open and close in percent. Parameters: List of currencies - what currencies will be calculated (maximum is 8) Calculation type - from which data will be strength calculated Calculation data input - used as input related to calculation type Symbol suffix - used in case of suffix on symbols, e.g: when your symbols look like EURUSDm, EURUSDmicro et
FREE
The Candle Countdown Timer for MetaTrader 4 (also available for MT5) is a vital indicator designed to help you manage your trading time effectively. It keeps you updated about market open and close times by displaying the remaining time before the current candle closes and a new one forms. This powerful tool enables you to make well-informed trading decisions. Key Features: Asia Range: Comes with an option to extend the range. Broker Time, New York, London Time: Displays the current broker time
FREE
MACD Colored ZeroLag
Farzin Sadeghi Bonjar
4.14 (7)
It is the MQL5 version of zero lag MACD that was available for MT4 here: https://www.mql5.com/en/code/9993 Also there was a colored version of it here but it had some problems: https://www.mql5.com/en/code/8703 I fixed the MT4 version which has 95 lines of code. It took me 5 days to write the MT5 version.(reading the logs and testing multiple times and finding out the difference of MT5 and MT4!) My first MQL5 version of this indicator had 400 lines of code but I optimized my own code again and n
FREE
Free automatic Fibonacci is an indicator that automatically plots a Fibonacci retracement based on the number of bars you select on the BarsToScan setting in the indicator. The Fibonacci is automatically updated in real time as new highest and lowest values appears amongst the selected bars. You can select which level values to be displayed in the indicator settings. You can also select the color of the levels thus enabling the trader to be able to attach the indicator several times with differe
FREE
Institutional Momentum Stochastic Index
Agustinus Biotamalo Lumbantoruan
The Stochastic Momentum Index (SMI), developed by William Blau and featured in the January 1993 edition of Technical Analysis of Stocks & Commodities magazine, introduces a unique perspective to trading analysis. Distinguished from the conventional Stochastic Oscillator, which evaluates the current close in relation to the recent x-period high/low range, the SMI assesses the close's position relative to the midpoint of this range. This innovation yields an oscillator with a range of +/- 100, re
FREE
如果产品有任何问题或者您需要在此产品上添加功能,请联系我 Contact/message me if you encounter any issue using the product or need extra feature to add on the base version. PA Touching Alert is a tool to free you from watching price to touch certain critical price levels all day alone. With this tool, you can set two price levels: upper price and lower price, which should be greater than/less than the current price respectively. Then once price touches the upper price or lower price, alert and/or notification would be sent
FREE
PZ MA Crossover EA MT5
PZ TRADING SLU
3.92 (37)
This EA trades using Moving Averages Crossovers. It offers fully customizable settings, flexible position management settings, plus many useful features like customizable trading sessions and a martingale and inverse martingale mode.  [ Installation Guide | Update Guide | Troubleshooting | FAQ | All Products ] Easy to use and supervise Fully customizable moving average settings It implements two different trading behaviors Customizable break-even, SL, TP and trailing-stop Works for ECN/Non-ECN b
FREE
High Low Open Close
Alexandre Borela
4.97 (35)
If you like this project, leave a 5 star review. Follow on instagram: borelatech This indicator draws the open, high, low and closing prices for the specified period and it can be adjusted for a specific timezone. These are important levels looked by many institutional and professional traders and can be useful for you to know the places where they might be more active. The available periods are: Previous Day. Previous Week. Previous Month. Previous Quarter. Previous year. Or: Current Day. Cu
FREE
DemsFx BC Entry EA
Desmond Ebimobowei Dogubo
1. The Expert Adviser is built with a basic, simple and stable trading strategy with i touch or Price Action Principle that is highly effective and accurate with a sniper entry system for a good money management.. 2. The expert advisor works best as from 15 minutes time frame and above.... 3. The expert advisor work with all broker all currency pair and synthetic indices... 4. Use a reasonable lot size and correct settings if you want to get the best of the Expert Advisor.. 5. With Default setti
FREE
MACD Trader FREE MT5
Konstantin Nikitin
4.5 (2)
This is an automated Expert Advisor that trades using the MACD and Envelopes indicators. The paid version is available here . The free version has the following limitations. No panel for opening orders. The trading is limited to the EURUSD currency pair and similar. Orders can only be opened with the minimum lot, no more than 5 orders can be opened in the same direction, to a total of 10 orders. Pause after closing of all orders is 6000 minutes. During the analysis, no more than 50 orders are ad
FREE
Market Profile 3 ForexArby com
Hussien Abdeltwab Hussien Ryad
4.17 (12)
Market Profile 3 MetaTrader 5 indicator  version 4.70— is a classic Market Profile implementation that can show the price density over time, outlining the most important price levels, value area, and control value of a given trading session. This indicator can be attached to timeframes between M1 and D1 and will show the Market Profile for daily, weekly, monthly, or even intraday sessions. Lower timeframes offer higher precision. Higher timeframes are recommended for better visibility. It is als
FREE
Donchian Pro
Paulo Henrique Faquineli Garcia
5 (2)
The Donchian Channel Channels are among the most popular tools of technical analysis, as they visually convey to the analyst the limits within which most price movement tends to occur. Channel users know that valuable information can be obtained at any time, whether prices are in the central region of a band or close to one of the border lines. One of the best known techniques to explore these concepts is Bollinger Bands. However, John Bollinger was not the only one to research the applicatio
FREE
QuantumAlert RSI Navigator is a free indicator available for MT4/MT5 platforms, its work is to provide "alerts" when the market is inside "overbought and oversold" regions in the form of "buy or sell" signals. This indicator comes with many customization options mentioned in the parameter section below, user can customise these parameters as needful. Join our MQL5 group , where we share important news and updates. You are also welcome to join our private channel as well, contact me for the priva
FREE
Follow The Line MT5
Oliver Gideon Amofa Appiah
4.4 (30)
This indicator obeys the popular maxim that: "THE TREND IS YOUR FRIEND" It paints a GREEN line for BUY and also paints a RED line for SELL. (you can change the colors). It gives alarms and alerts of all kinds. IT DOES NOT REPAINT and can be used for all currency pairs and timeframes. Yes, as easy and simple as that. Even a newbie can use it to make great and reliable trades. NB: For best results, get my other premium indicators for more powerful and reliable signals. Get them here: https://www.m
FREE
What is this indicator? This indicator is the MACD (Moving Average Convergence/Divergence) supporting Virtual Trading mode of  Knots Compositor . When the mode is turned on, the indicator will be recalculated based on the displayed candlesticks. When the mode is turned off, the indicator will be recalculated based on the original chart candlesticks. Types of the applied price - Close - Open - High - Low - Median Price (HL/2) - Typical Price (HLC/3) - Weighted Price (HLCC/4) KC-Indicators
FREE
Three Moving Averages
MetaQuotes Ltd.
3.37 (35)
The trade strategy is based on three moving averages. To determine the trend, it uses three exponentially smoothed moving averages: FastEMA, MediumEMA and SlowEMA. Trade signals: Buy signal: FastEMA>MediumEMA>SlowEMA (upward trend). Sell signal: FastEMA<MediumEMA<SlowEMA (downward trend). Input parameters: Inp_Signal_ThreeEMA_FastPeriod = 8; Inp_Signal_ThreeEMA_MediumPeriod = 38; Inp_Signal_ThreeEMA_SlowPeriod = 48; Inp_Signal_ThreeEMA_StopLoss = 400; Inp_Signal_ThreeEMA_TakeProfit = 900; I
FREE
Are you tired of drawing trendlines every time you're analyzing charts? Or perhaps you would like more consistency in your technical analysis. Then this is for you. This indicator will draw trend lines automatically when dropped on a chart. How it works Works similar to standard deviation channel found on mt4 and mt5. It has 2 parameters: 1. Starting Bar 2. Number of bars for calculation The   starting bar   is the bar which drawing of the trend lines will begin, while the   number of bars for c
FREE
Predator tail
Aleksandr Davydov
Thank you for your interest in The Tail. I have been trading since 2018. Or rather, it’s not me who trades, but the army of my robots, which I constantly develop. Tail is one such candidate. This robot works on moving averages, filters trades by RSI. The robot provides the functionality of volume and position control. Combine different approaches. I recommend using it in a group of 3-5 of the same robots on different instruments for the best result. I recommend keeping a high value of
FREE
Reversal Composite Candles
MetaQuotes Ltd.
3.43 (23)
The idea of the system is to indentify the reversal patterns using the calculation of the composite candle. The reversal patterns is similar to the "Hammer" and "Hanging Man" patterns in Japanese candlestick analysis. But it uses the composite candle instead the single candle and doesn't need the small body of the composite candle to confirm the reversal. Input parameters: Range - maximal number of bars, used in the calculation of the composite candle. Minimum - minimal size of the composite can
FREE
Stop Out Line MT5
Sergey Batudayev
4.5 (2)
Work logic Stop Out utility is a simple but very convenient indicator showing how many points are left to the Stop Out level / Its benefit lies in the fact that many traders deliberately overestimate the risk in trading in pursuit of profit, use the available margin at the maximum, and for this case it is very important to know where the broker can forcibly close your positions. Just place the indicator on the chart and depending on the open position in Buy or Sell, you will see the borde
FREE
Important Lines
Terence Gronowski
4.88 (26)
This indicator displays Pivot-Lines, preday high and low, preday close and the minimum and maximum of the previous hour. You just have to put this single indicator to the chart to have all these important lines, no need to setup many single indicators. Why certain lines are important Preday high and low : These are watched by traders who trade in a daily chart. Very often, if price climbs over or falls under a preday low/high there is an acceleration in buying/selling. It is a breakout out of
FREE
This indicator is based on the original “ Time Segmented Volume (TSV) ” developed by Worden Brothers, Inc . However, I added an extra few features to this one. One can choose the price to be applied, instead of only having the default close price used by the original. One can also choose which volume weighting to use, including a pseudo-volume based on true range, or no volume weighting at all.
FREE
PZ Penta O MT5
PZ TRADING SLU
4 (6)
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
FREE
Classic v1
Sergio Tiscar Ortega
Introducing our advanced Expert Advisor (EA) meticulously crafted to navigate the forex market using two prominent technical indicators: Moving Average Convergence Divergence (MACD) and Relative Strength Index (RSI). MACD is a versatile trend-following momentum indicator that highlights changes in strength, direction, momentum, and duration of a trend. Meanwhile, RSI is a popular oscillator that gauges the speed and change of price movements, identifying potential overbought or oversold conditio
FREE
Stochastic and 3 iMA
Alexey Viktorov
3.43 (7)
This is a simple trend strategy for Forex. Recommended timeframe is H1, the default settings are for the GBPUSD currency pairs (for other timeframes and currency pairs, it is necessary to select other indicator settings). The following indicators are used in the strategy: Exponential Moving Average: EMA (4) — blue Exponential Moving Average: EMA (13) — green Exponential Moving Average: EMA (50) — orange. Stochastic Oscillator (12,9,5), levels — 20, 40, 60, 80. A buy trade is opened at the openin
FREE
Buyers of this product also purchase
Native Websocket
Racheal Samson
5 (2)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 WebSocket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native to
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
AO Core
Andrey Dik
3 (2)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of population algorithms.  High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
This library will allow you to manage trades using any of your EA and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in description and also demo examples on video which shows the complete process. This product allows trading operations via API For chart : Renting Crypto Charting for OHLC data or Crypto Ticks with Order Book Depth is optional If your EA is HFT and operations on seconds chart, You may be interested in converting charts to se
OpenAI Library MT5
VitalDefender Inc.
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
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
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 / OnBookEv
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
The Trade Tracker Library is used to automatically detect and display trade levels on custom charts. It is an especially useful add-on for EAs that trade on custom charts in MT5. With the use of this library, the EA users can see trades as they are placed via the EA (Entry, SL & TP levels) in real-time. The header file and two examples of EA skeleton files are attached in the comments section (first comment). The library will automatically detect the tradable symbol for the following custom
MT4/5通用交易库(  一份代码通用4和5 ) #ifdef __MQL5__      #define KOD_TICKET ulong      #define KOD_MAGIC   long #else        #define KOD_TICKET long      #define KOD_MAGIC   int #endif class ODLIST; #import "K Trade Lib Pro 5.ex5"       //祝有个美好开始,运行首行加入    void StartGood() ;    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
This library implements a few functions to simplify the programming of Expert Advisors. * Build your own EA for MT5 / Binance, with a easy support for multisymbol / multytimeframe * Different SFE EAs based on the library provided. * Base signals of SFE EAs are inlcuded in base version. All the Pro filters and management are included in the base version all the 2022. * Customize the provided SFE Lib EA by changing or implementing its rules.. * Review the existing or ask for video tutorials to
The Matrix
Omega J Msigwa
Matrix is the foundation of complex trading algorithms as it helps you perform complex calculations effortlessly and without the need for too much computation power, It's no doubt that matrix has made possible many of the calculations in modern computers as we all know that bits of information are stored in array forms in our computer memory RAM, Using some of the functions in this library I was able to create machine learning robots that could take on a large number of inputs To use this libra
EA Toolkit
Esteban Thevenon
EA Toolkit is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installatio
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
This library is used for sorting key and value arrays, we often need to sort values. like in the python language sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) import function Example of usage scenarios 1. Grid EA orders are sorted according to the opening price void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)      {        if (m_position.SelectByIndex(i))         {          O
Intro to Range Breakout Strategy (pre-close clearance) Range = yesterday high - Yesterday low On track = opening price + range *k; Lower rail = Open price - range *K Stop-loss closing position: When the price breaks up the upper track or breaks down the lower track, it breaks the opening price of the day again Parameters: Pairs List (comma separated)       = "GBPUSD,GBPJPY,USDJPY,XAUUSD,XTIUSD,USTEC"; - TimeFrame = PERIOD_D1; - MagicNumber      = 60037;          - OrderComment     = "RangeBre
GetFFEvents MT5 I tester capability
Hans Alexander Nolawon Djurberg
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news   Even In Strategy Tester   . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
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 
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
More from author
[跟单系统] T he most friendly Copier interactive interface, the most abundant easy-to-use functions, and the best Copy solution.    EASY   : Easy to use, load and select the Master or SLAVE to use easily  FAST:   Quickly copy orders, algorithmic optimal follow-up mechanism, priority calculation of new signals, priority queue processing received special signals Multiple:   1. Support multiple signals to be sent at the same time, multiple accounts can select multiple accounts to copy at the same time
[跟单系统] T he most friendly Copier interactive interface, the most abundant easy-to-use functions, and the best Copy solution.    EASY   : Easy to use, load and select the Master or SLAVE to use easily FAST:   Quickly copy orders, algorithmic optimal follow-up mechanism, priority calculation of new signals, priority queue processing received special signals Multiple:   1. Support multiple signals to be sent at the same time, multiple accounts can select multiple accounts to copy at the same time 2
XM Channel MT5
Kaijun Wang
5 (1)
The market price usually falls between the borders of the channel  . If the price is out of range, it is a trading signal or trading opportunity. Basically, Fit Channel can be used to help determine overbought and oversold conditions in the market. When the market price is close to the upper limit, the market is considered overbought (sell zone). Conversely, when the market price is close to the bottom range, the market is considered oversold (buy zone). However, the research can be used
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO 砖图 Renko PRO->>>   The display of the brick map on the main map. The Renko chart ideal
FREE
Pivot trading: 1.pp pivot 2. r1 r2 r3, s1 s2 s3 Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO Cooperation QQ:556024" Cooperation w
FREE
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO MACD is called Convergence and Divergence Moving Average, which is developed from the double e
FREE
K Trade Assistant MT5
Kaijun Wang
4.65 (20)
The   best partner for traders!   Trading Assistant: This is a very feature-rich trading aid. Development is not easy, please support Pro Click to jump K Trade Assistant Pro MT5 Trading Assistant Operation Instructions Basic usage settings Basic: Support language selection switch (currently supports Chinese and English)       automatic language recognition Support the binding of   hot key to open and close positions   , use shortcut keys to open and close positions quickly...  
FREE
Pivot Trading 4
Kaijun Wang
5 (17)
Pivot trading: 1.pp pivot 2. r1 r2 r3, s1 s2 s3 Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO Strongly recommend trend indicators,   a
FREE
This indicator is a perfect wave automatic analysis indicator for practical trading! 黄金实战 案例... The standardized definition of the band is no longer a wave of different people, and the art of man-made interference is eliminated, which plays a key role in strict analysis of the approach. Increase the choice of international style mode, (red fall green rise style) The  purchase discount is currently in progress! Using this indicator is equivalent to enhancing the aesthetics of the trading in
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO Advanced Bollinger Bands: 1. The Bollinger rail will change color with the direction" 2. T
FREE
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO 砖图Renko PRO->>> The display of the brick map on the main map. The Renko chart ideally remo
FREE
This indicator is a perfect wave automatic analysis indicator for practical trading! 黄金实战 案例... The standardized definition of the band is no longer a wave of different people, and the art of man-made interference is eliminated, which plays a key role in strict analysis of the approach.=》Increase the choice of international style mode, (red fall green rise style) The  purchase discount is currently in progress! Index content: 1.Basic wave: First, we found the inflection point of the ba
KDJ Index For MT5
Kaijun Wang
4.29 (14)
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO "Cooperative QQ:556024"  "Cooperation wechat:556024"  "Cooperative email:556024@qq.com" Strong
FREE
KDJ Index 4
Kaijun Wang
5 (11)
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO "Cooperative QQ:556024"  "Cooperation wechat:556024"  "Cooperative email:556024@qq.com" Strong
FREE
K Trade Assistant
Kaijun Wang
4.76 (25)
The best partner for traders!  Trading Assistant: This is a very feature-rich trading aid. Development is not easy, please support Pro Click to jump K Trade Assistant Pro     Trading Assistant Operation Instructions Basic usage settings Basic: Support language selection switch (currently supports Chinese and English)   to automatically identify the language Support the binding of   hot key to open and close positions   , use shortcut keys to open and close positions quic
FREE
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO Advanced Bollinger Bands: 1. The Bollinger rail will change color with the direction" 2. T
FREE
Indicators are for trend followers! A trading system constructed by three moving averages. Trade with the trend and let profits run. Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy
FREE
Fit Channel
Kaijun Wang
5 (5)
The market price usually falls between the borders of the channel. If the price is out of range, it is a trading signal or trading opportunity. Basically, Fit Channel can be used to help determine overbought and oversold conditions in the market. When the market price is close to the upper limit, the market is considered overbought (sell zone). Conversely, when the market price is close to the bottom range, the market is considered oversold (buy zone). However, the research can be used to
Indicators are for trend followers! A trading system constructed by three moving averages. Trade with the trend and let profits run. Strongly recommend trend indicators,   automatic calculation of wave standard   and   MT5 version of automatic calculation of wave standard Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channe
FREE
KTrade Fibo For MT5
Kaijun Wang
4.9 (10)
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO Fibo: from KTrade 1. Automatically calculate and analyze the band. -> Get the desired band 2.
FREE
XM Channel
Kaijun Wang
4.67 (3)
The market price usually falls between the borders of the channel . If the price is out of range, it is a trading signal or trading opportunity . Basically, Fit Channel can be used to help determine overbought and oversold conditions in the market. When the market price is close to the upper limit, the market is considered overbought (sell zone). Conversely, when the market price is close to the bottom range, the market is considered oversold (buy zone). However, the research can be used
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO The homeopathic indicator is also called the CCI indicator. The CCI indicator was propos
FREE
Fit Channel MT5
Kaijun Wang
3.67 (3)
The market price usually falls between the borders of the channel    .   If the price is out of range , it is a trading signal or trading opportunity . Basically , Fit Channel can be used to help determine overbought and oversold conditions in the market. When the market price is close to the upper limit, the market is considered overbought (sell zone). Conversely, when the market price is close to the bottom range, the market is considered oversold (buy zone). However, the research can b
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO Strongly recommend trend indicators,   automatic calculation of wave standard   and   MT5 ve
FREE
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO MACD is called Convergence and Divergence Moving Average, which is developed from the double e
FREE
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO Can set the cycle for other varieties of K line graph covered this window, fluctuations obse
FREE
KTrade Fibo
Kaijun Wang
4.89 (9)
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO Fibo: from KTrade 1. Automatically calculate and analyze the band. -> Get the desired band 2.
FREE
Necessary for traders: tools and indicators Waves automatically calculate indicators, channel trend trading Perfect trend-wave automatic calculation channel calculation , MT4 Perfect trend-wave automatic calculation channel calculation , MT5 Local Trading copying Easy And Fast Copy , MT4 Easy And Fast Copy , MT5 Local Trading copying For DEMO Easy And Fast Copy , MT4 DEMO Easy And Fast Copy , MT5 DEMO The homeopathic indicator is also called the CCI indicator. The CCI indicator was propos
FREE
Donchian通道(唐奇安通道指标)是用于交易突破的最古老、最简单的技术指标之一。   一般来说,唐奇安通道的宽度越宽,市场波动就越大,而唐奇安通道越窄,市场波动性也就越小 。此外,价格走势可以穿过布林带,但你看不到唐奇安通道的这种特征,因为其波段正在测量特定时期的最高价和最低价。 交易实用必备工具指标 波浪自动计算指标,通道趋势交易 完美的趋势-波浪自动计算通道计算 , MT4版本 完美的趋势-波浪自动计算通道计算 , MT5版本 本地跟单复制交易 Easy And Fast Copy , MT4版本 Easy And Fast Copy , MT5版本 本地跟单复制交易 模拟试用 Easy And Fast Copy , MT4 模拟账号运行 Easy And Fast Copy , MT5 模拟账号运行 唐奇安通道指标计算: 唐奇安上阻力线 - 由过去N天的当日最高价的最大值形成。 唐奇安下支撑线 - 由过去N天的当日最低价的最小值形成。 中心线 - (上线 + 下线)/ 2   唐奇安通道信号   唐奇安通道常用作突破指标。它提供了两种主要类型的突破信号,一个是上阻力线或下支
FREE
Provide ideas for trend trading. Automatic calculation and generation of trend channels. The channel line, also known as the pipeline line, is to draw a straight line parallel to the trend line in the opposite direction of the trend line, and the straight line crosses the highest or lowest price of the recent period. These two lines run the price in the middle and have obvious pipe or channel shapes. Necessary for traders: tools and indicators Waves automatically calculate indicators, chann
Filter:
Shigeo Sorihashi
99
Shigeo Sorihashi 2024.03.24 11:12 
 

よくわからないです?

Peng Jin
320
Peng Jin 2021.10.08 09:58 
 

刚把爹

Reply to review
Version 2.10 2021.10.22
>>>>>>>>>>>>>
Version 2.0 2021.10.21
>>>>>>>>>>>>
Version 1.1 2021.10.15
>>>>>>>>>>>>>