• Overview
  • Reviews
  • Comments

K Trade Lib Pro 5

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);
   //复杂开单
   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);
   
   //平仓函数
   bool K_OrderClose(int type,KOD_MAGIC magic,string symbol="",int is_profit=0,double profit_value=0,bool ispoint=false );
   
   //订单详细获取.
   int  OrderTotal(int type=0,KOD_MAGIC magic=-1,string symbol="");
   ODLIST* OrderLowPrice(int type=0,KOD_MAGIC magic=-1,string symbol="");
   ODLIST* OrderHighPrice(int type=0,KOD_MAGIC magic=-1,string symbol="");
   ODLIST* OrderLowTime(int type=0,KOD_MAGIC magic=-1,string symbol="") ;
   ODLIST* OrderHighTime(int type=0,KOD_MAGIC magic=-1,string symbol="") ;
#import


class ODLIST{
       //order information 
   private:
       //datetime ctrl_time;
       ODLIST  m_list[];
       ODLIST* m_parent; 
   public:
       
       
       int     m_total; 
       int     m_total_vir;
       ODLIST* m_sort_price[];
       ODLIST* m_sort_time[];
        
       KOD_TICKET      ticket;
       int      type;
       long     op_time;
       long     close_time;
       double   lots;
       double   op_price;
       double   close_price;  
       double   sl;
       double   tp;
       string   symbol;
       double   profit;
       double   commission; //获取总手续费 MT5无效
       double   swap;
       long     expiration;
       KOD_MAGIC magic;
       string   comment; 
       
       long     flag1;
       long     flag2;
       string   m_memo;
};

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






Recommended products
KopierMaschine - локальный копировщик сделок между различными счетами MetaTrader 4 и MetaTrader 5 в любом направлении расположенных на одном компьютере с интуитивно понятным интерфейсом. Направления копирования: MT4 --> MT5 MT4 --> MT4 MT5 --> MT5 MT5 --> MT4 для копирования между терминалами MetaTrader 4 и   MetaTrader   5 необходимо приобрести версию продукта   KopierMaschine  для    MetaTrader  4 Особенности Программа работает в двух режимах Master и Slave На один подчиненный счет можно копир
Premium level is a unique indicator with more than 80% accuracy of correct predictions! This indicator has been tested for more than two months by the best Trading Specialists! The author's indicator you will not find anywhere else! From the screenshots you can see for yourself the accuracy of this tool! 1 is great for trading binary options with an expiration time of 1 candle. 2 works on all currency pairs, stocks, commodities, cryptocurrencies Instructions: As soon as the red arrow app
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.
Utility for automatic order and risk management. Allows you to take the maximum from profits and limit your losses. Created by a practicing trader for traders. The utility is easy to use, works with any market orders opened manually by a trader or with the help of advisors. Can filter trades by magic number. The utility can work with any number of orders at the same time. Has the following functions: 1. Setting stop loss and take profit levels; 2. Closing trades by trailing stop levels; 3
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   an
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
Volume Profile V6
Andrey Kolesnik
4.5 (2)
The volume profile indicator of the market + a S mart oscillator . It works on almost all instruments - currency pairs , stocks , futures , cryptocurrency , on real volumes and on tick ones . You can set both the automatic definition of the profile range , for example , for a week or a month , etc . , and set the range manually by moving the boundaries ( two vertical lines red and blue ) . It is shown as a histogram . The width of the histogram at this level means , conditionally , the number of
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
Cloner for MT5
Volodymyr Hrybachov
The utility is designed to clone trades on your trading account - the program opens an additional deal with your parameters. Has the ability to increase or decrease the lot, add a lot, change the parameters of stoploss and takeprofit, The program is designed to work on "Windows PC" and "Windows VPS".  Buy a cloner and get the second version for free Parameters: CLONE_POSITIONS - what orders to clone; MAGIC_NUMBER - magic number; DONT_REPEAT_TRADE - if true, the trades will not be repeated aft
BRIEF INTRODUCTION   : This Panel is made for Volatility 75 (1s) Index  and  Volatility 75 Index  Synthetic indices instruments. It offers an ultimate and complete  auto trading with an optional money management Controls. This application is an automated panel who works on strategy tester. It is equiped with an automatic indicator attached in the bottom of the Panel.  There are another functionalities like  Martingale strategy  and a  range sequence  detection , it is triggered automatically w
Best Tested Pairs :-  Step Index (Also can use on other pairs which spread is lowest) How does the Magic Storm work The Magic Storm will commence only if the Initial Trade becomes a losing trade. In case the initial trade is a profitable one, or has been closed by the trader there is no need for the Magic Stormto be initiated. Let’s assume that the initial trade was a 1 lot buy trade with Recovery Zone Range Pips is 50 and Recovery Zone Exit Pips is 150 pips. The take profit for this tr
Supply and Demand Pro
Godbless C Nygu
4 (1)
Join Deriv link on profile>>> GET THIS FULL COPY AND GET ANOTHER FREE INDICATOR ONE OF THE BEST AND USEFULL INDICATORS IN THE WORLD ..This is the one of the best usefull indicators which has chosen to be used by top traders in the world. AUTOMATIC SUPPORT AND RESISTANCE This way of trading is also called Supply and demand, On this way of trading you can see auto colours appear where the market changes direction buying or selling Direction. ALL KIND OF PAIRS METALS AND INDICIES ARE INCLUDED A
Trading Utility for Forex Currency Pairs Only not for Gold  Functions Auto Lot Calculation based on Risk Auto stoploss  Auto TakeProfit Breakeven Auto Close Half % Close in percentage with respect to the PIPs Pending Orders BuyLimit Sell Limit with distances BuyStop Sell Stop    with distances Trading Informations Risk in percentage For Multiple trades Combine Takeprofit and Combine Stoplosses
FTMO Protector 8
Vyacheslav Izvarin
PROTECT YOUR FTMO Account in a simplest way Must-Have Account Protector for any Prop-trading Account and Challenge MT4 / MT5 Expert Advisor that protects your Forex Prop Trading account from an unexpected drawdown! FTMO Protector  is a Tool that lets you manage trades and control your profit and loss across multiple Robots and currency pairs using a simple parameters and settings. Use as many EAs and Instruments you need, the Protector will: 1.   Calculate your midnight (01:00 System time) Balan
The indicator builds current quotes, which can be compared with historical ones and on this basis make a price movement forecast. The indicator has a text field for quick navigation to the desired date. Options: Symbol - selection of the symbol that the indicator will display; SymbolPeriod - selection of the period from which the indicator will take data; IndicatorColor - indicator color; Inverse - true reverses quotes, false - original view; Next are the settings of the text field, in w
Gioteen Volatility Index (GVI) - your ultimate solution to overcoming market unpredictability and maximizing trading opportunities. This revolutionary indicator helps you in lowering your losing trades due to choppy market movements. The GVI is designed to measure market volatility, providing you with valuable insights to identify the most favorable trading prospects. Its intuitive interface consists of a dynamic red line representing the volatility index, accompanied by blue line that indicate
The SMC Venom Model BPR indicator is a professional tool for traders working within the Smart Money (SMC) concept. It automatically identifies two key patterns on the price chart: FVG   (Fair Value Gap) is a combination of three candles, in which there is a gap between the first and third candles. It forms a zone between levels where there is no volume support, which often leads to a price correction. BPR   (Balanced Price Range) is a combination of two FVG patterns that form a “bridge” - a zon
Owl Smart Levels MT5
Sergey Ermolov
4 (29)
MT4 version  |   FAQ The Owl Smart Levels Indicator is a complete trading system within the one indicator that includes such popular market analysis tools as Bill Williams' advanced fractals , Valable ZigZag which builds the correct wave structure of the market, and Fibonacci levels which mark the exact levels of entry into the market and places to take profits. Detailed description of the strategy Instructions for working with the indicator Advisor-assistant in trading Owl Helper Private User
Trade Assistant 38 in 1
Makarii Gubaydullin
4.9 (21)
Multifunctional tool: Lot Calculator, Grid Orders, R/R ratio, Trade Manager, Supply and Demand zones, Price Action and much more Demo version   |   User manual Trade Assistant   doesn't work in the strategy tester : you can download the   Demo Version HERE  to test the utility . Contact me   for any questions  / ideas for improvement / in case of a bug found If you need a MT4 version, it is available here Simplify, speed up and automate your trading   process . Expand the standard terminal capa
This is a multi-symbol and multi-timeframe table-based indicator designed for a candlestick patterns detection with 46 patterns for META TRADER 5. Each formation has own image for easier recognition. Here you find most popular formations such as "Engulfing", "Hammer", "Three Line Strike", "Piercing" or Doji - like candles. Check my full list of patterns on my screenshots below. Also you can not only switch all bearish or bullish patterns from input, but also select formation for a specified symb
Was: $249  Now: $149   Market Profile defines a number of day types that can help the trader to determine market behaviour. A key feature is the Value Area, representing the range of price action where 70% of trading took place. Understanding the Value Area can give traders valuable insight into market direction and establish the higher odds trade. It is an excellent addition to any system you may be using. Inspired by Jim Dalton’s book “Mind Over Markets”, this indicator is designed to suit the
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 Web Socket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native t
SL TP Manager Utility MT5
AL MOOSAWI ABDULLAH JAFFER BAQER
SL-TP Manager Utility for MT5 - Professional Risk Management Tool Advanced Position Protection & Profit Management SL-TP Manager Utility is a powerful, intuitive tool designed for traders who want precise control over their risk management. This utility provides a sleek interface for setting, modifying, and managing your Stop Loss, Take Profit, and Trailing Stop levels with just a few clicks. Key Features: Dual Mode Operation: Set values in pips or absolute price with a simple toggle Independent
Golden Spike Premium
Kwaku Bondzie Ghartey
Golden Spikes Detector Acknowledgement and Dedications:  The name of this indicator was Inspired by an Original; Mr Grant Koopman; a Knowledgeable and experienced Synthetics trader. I dedicate this indicator to Mr Grant.  Overview:   The Golden Spikes Premium is a groundbreaking trading indicator meticulously crafted for the Boom and Crash indices on the Deriv market. Tailored to meet the needs of discerning traders, this powerful tool operates exclusively on the one-minute timeframe, providing
Exp COPYLOT CLIENT for MT5
Vladislav Andruschenko
3.9 (31)
Trade copier for MT5 is a trade copier for the МetaТrader 5 platform. It copies forex trades  between any accounts   MT5 - MT5, MT4 - MT5 for the COPYLOT MT5 version (or MT4 - MT4 MT5 - MT4 for the COPYLOT MT4 version)    Reliable copier!         MT4 version Full Description +DEMO +PDF   How To Buy    How To Install     How to get Log Files    How To Test and Optimize    All products from Expforex You can also copy trades in the МТ4 terminal (МТ4 - МТ4, МТ5 - МТ4):     COPYLOT CLIENT for MT4
To download MT4 version please click here . - This is the exact conversion from TradingView: "Trend Direction Force Index - TDFI [wm]" By "causecelebre". - The screenshot shows similar results from tradingview and Metatrader when tested on ICMarkets on both platforms. - This indicator uses multiple levels of averaging to detect trend strength. - You can optimize filter low and filter high levels to achieve best results. - You have access to buffers to use in EAs. - This is a light-load processin
PipFinite Exit EDGE MT5
Karlo Wilson Vendiola
4.86 (29)
Did You Have A Profitable Trade But Suddenly Reversed? In a solid strategy, exiting a trade is equally important as entering. Exit EDGE helps maximize your current trade profit and avoid turning winning trades to losers. Never Miss An Exit Signal Again Monitor all pairs and timeframes in just 1 chart www.mql5.com/en/blogs/post/726558 How To Trade You can close your open trades as soon as you receive a signal Close your Buy orders if you receive an Exit Buy Signal. Close your Sell orders if
Bober Real MT5
Arnold Bobrinskii
4.76 (17)
Bober Real MT5 is a fully automatic Forex trading Expert Advisor. This robot was made in 2014 year and did a lot of profitbale trades during this period. So far over 7000% growth on my personal account. There was many updates but 2019 update is the best one. The robot can run on any instrument, but the results are better with EURGBP, GBPUSD, on the M5 timeframe. Robot doesn't show good results in tester or live account if you run incorrect sets. Set files for Live accounts availible only for cu
| Fully-automated Smart Money Concept (ICT) inspired trading solution with multi-strategy capabilities | Built by a grid trader >> for grid traders.  This is MT5 version, click  here  for  Blue CARA MT4  (settings and logics are same in both versions)     Real monitoring signal  -->  Cara Gold Intro Blue CARA EA   ('CARA') - short for  C omprehensive  A lgorithmic   R esponsive   A dvisor is a next-gen  multi-currency    multi-timeframe  EA base on the widely known (and perhaps the most popul
TradePad
Ruslan Khasanov
5 (1)
TradePad is a tool for both manual and algorithmic trading. We present you a simple solution for fast trading operations and control of positions on several trading instruments. The application interface is adapted for high-resolution monitors, simple and intuitive. For comfortable work, the trader is offered the following set of tools: A hot key manager for managing trading operations, switching between periods of the main chart, switching between TradePad instruments; A tool for marking tradi
Buyers of this product also purchase
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
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.
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
*****The main trading is XAUUSD. If testing, it is recommended to adjust to XAUUSD. Other trading targets cannot guarantee profitability********* If you need to test, please leave a message (I will reply as soon as I see it). In order to protect the work results, specific parameters need to be entered. The default parameters of the system cannot achieve the effect shown in the screenshot pullback! If you need to test, please leave a message (I will reply as soon as I see it). In order to prot
Here   is   the   English translation   of   your   description   for   the EA   (Expert   Advisor): --- This   is a   time -based   automatic trading   EA . It allows   you   to   set the   exact   time   for trading , down   to   the   second , and   specify the   maximum number   of   orders . You   can choose   to   place   either   buy   or   sell   orders . It   is possible to   set take   profit and   stop   loss   points . Additionally , you can   specify   how   long after   placing  
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
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 s
MetaCOT 2 CFTC ToolBox MT5
Vasiliy Sokolov
3.67 (3)
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
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 co
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, t
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, StopLimit and StopMarket Support Testnet mode Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh to folder \MQL5\Include Copy  BinanceEA-Sample.mq5 to folder \MQL5\Experts 3. Allow WebRequest from MT5
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support Binance Futures USD-M and COIN-M Support Testnet mode Support all order types: Limit, Market, StopLimit, StopMarket, StopLoss and TakeProfit Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header file and EA sample https://drive.google.com/uc?export=download&id=17fWrZFeMZoSvH9-2iv4WDJhcyxG2eW17 Copy BinanceFutures.mqh to folder \MQL5\Include Copy  Bina
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 installation
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 clo
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
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
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Molo kumalo
James Ngunyi Githemo
Trading Forex with our platform offers several key advantages and features: Real-time Data : Stay updated with live market data to make informed decisions. User-Friendly Interface : Easy-to-navigate design for both beginners and experienced traders. Advanced Charting Tools : Visualize trends with interactive charts and technical indicators. Risk Management : Set stop-loss and take-profit levels to manage your risk. Multiple Currency Pairs : Access a wide range of forex pairs to diversify your tr
Kaseki
Ben Mati Mulatya
The Hybrid Metaheuristic Algorithm (HMA) is a cutting-edge optimization approach that combines the strengths of genetic algorithms with the best features of population-based algorithms. Its high-speed computation ensures unparalleled accuracy and efficient search capabilities, significantly reducing the total time required for optimization while identifying optimal solutions in fewer iterations. HMA outperforms all known population optimization algorithms in both speed and accuracy. Use Cases AO
This product has been on development for the past 3 years, It is the most advanced codebase for working with all kinds of Artificial intelligence and machine learning code in MQL5 programming language. It has been used to create many AI powered trading robots and indicators in MetaTrader 5. This is a premium version of the free and open source project on machine learning for MQL5, linked here:  https://github.com/MegaJoctan/MALE5 . The free version has fewer features, less documented, and poorly
Shawrie
Kevin Kipkoech
This Pine Script implements a Gaussian Channel + Stochastic RSI Strategy for TradingView . It calculates a Gaussian Weighted Moving Average (GWMA) and its standard deviation to form an upper and lower channel. A Stochastic RSI is also computed to determine momentum. A long position is entered when the price closes above the upper Gaussian band and the Stoch RSI K-line crosses above D-line . The position is exited when the price falls back below the upper band. The script includes commission, cap
Pionex API EA Connector for MT5 – Seamless MT5 Integration Overview The Pionex API EA Connector for MT5 allows seamless integration between MetaTrader 5 (MT5) using the Pionex API. This powerful tool enables traders to execute and manage trades, retrieve balance information, and track order history—all directly from MT5. Key Features & Functions Account & Balance Management Get_Balance(); – Retrieves the current account balance from Pionex Order Execution & Management orderLimit(string sy
Bookeepr
Marvellous Peace Kiragu
Bookeepr is an advanced MQL5 trading bookkeeping software that automates trade logging, tracks real-time P&L, and integrates a ledger-style financial system for deposits, withdrawals, and expenses. It supports multi-currency assets , generates detailed performance reports , and provides risk management tools to help traders optimize their strategies. With secure cloud storage, exportable reports, and seamless MetaTrader 5 integration , Bookeepr ensures accurate, transparent, and hassle-free fina
Ai Prediction MT5
Mochamad Alwy Fauzi
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
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.
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
*****The main trading is XAUUSD. If testing, it is recommended to adjust to XAUUSD. Other trading targets cannot guarantee profitability********* If you need to test, please leave a message (I will reply as soon as I see it). In order to protect the work results, specific parameters need to be entered. The default parameters of the system cannot achieve the effect shown in the screenshot pullback! If you need to test, please leave a message (I will reply as soon as I see it). In order to prot
Here   is   the   English translation   of   your   description   for   the EA   (Expert   Advisor): --- This   is a   time -based   automatic trading   EA . It allows   you   to   set the   exact   time   for trading , down   to   the   second , and   specify the   maximum number   of   orders . You   can choose   to   place   either   buy   or   sell   orders . It   is possible to   set take   profit and   stop   loss   points . Additionally , you can   specify   how   long after   placing  
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
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 s
More from author
Copier->Convenient and fast interface interaction, users can use it right away   ->>>> Recommended to use on Windows computers or VPS Windows Features: Diversified and personalized copy trading settings: 1. Different lot modes can be set for different signal sources 2. Different signal sources can be set for forward and reverse copy trading 3. Signals can be set with comments 4. Whether to calibrate the lot according to the contract lot Diversified and personalized copy order settings 2: 1. Dif
Copier->Convenient and fast interface interaction, users can use it right away   ->>>> Recommended to use on Windows computers or VPS Windows Features: Diversified and personalized copy trading settings: 1. Different lot modes can be set for different signal sources 2. Different signal sources can be set for forward and reverse copy trading 3. Signals can be set with comments 4. Whether to calibrate the lot according to the contract lot Diversified and personalized copy order settings 2: 1. Dif
K Trade Assistant MT5
Kaijun Wang
4.36 (11)
Assistant: Trade Assistant-MT4 (click to download) Trade Assistant-MT5 (click to download) Please read the operating instructions carefully. Basics: Support language selection and switching (currently supports Chinese and English)       Automatic language recognition Support   hotkey opening and closing   binding, use shortcut keys to quickly open and close positions...   shortcut key closing. Support up to 30 hotkeys Unlock supports most function   replay   operations and can   be used in
FREE
Assistant: Trade Assistant-MT4 (click to download) Trade Assistant-MT5 (click to download) Please read the operating instructions carefully. Basics: Quick opening and closing of positions, one-click opening and closing of positions, one-click placing of orders Draw-Line Trade Auto sl/tp Close By Symbols Profit Protected Move SL Protect Trailing SL Account RiskControl Order's Shadow Auto-Add Orders Auto-Close Orders Close ReOpen Symbols Infomation Chats Open Data Statistics Support language
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 r
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 wechat
FREE
反转K线指标! 指标将主图的K线在副图中进行反转显示. 交易实用必备工具指标 波浪自动计算指标,通道趋势交易 完美的趋势-波浪自动计算通道计算 , MT4版本 完美的趋势-波浪自动计算通道计算 , MT5版本 本地跟单复制交易 Easy And Fast Copy , MT4版本 Easy And Fast Copy , MT5版本 本地跟单复制交易 模拟试用 Easy And Fast Copy , MT4 模拟账号运行 Easy And Fast Copy , MT5 模拟账号运行 The indicator of the attached figure shows that it is a mirror image of the candlestick chart of the main chart. The ordinate of the figure indicator is mirrored with the main image, and the coordinate value is a negative number. For graphic reference on
This indicator is an indicator for automatic wave analysis that is perfect for practical trading! Case... Note:   I am not used to the Western name for wave classification. Influenced by the naming habit of Chaos Theory (Chanzhongshuochan), I named the basic wave as   pen   , the secondary wave band as   segment   , and the segment with trend direction   as main trend segment   (this naming method will be used in future notes, let me tell you in advance), but the algorithm is not closely relat
K Trade Assistant
Kaijun Wang
4.64 (11)
Assistant: Trade Assistant-MT4 (click to download) Trade Assistant-MT5 (click to download) Please read the operating instructions carefully. Basics: Support language selection and switching (currently supports Chinese and English)       Automatic language recognition Support   hotkey opening and closing   binding, use shortcut keys to quickly open and close positions...   shortcut key closing. Support up to 30 hotkeys Unlock supports most function   replay   operations and can   be used in
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. The
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
Pivot Trading 4
Kaijun Wang
5 (5)
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,   auto
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 remove
FREE
KDJ Index For MT5
Kaijun Wang
4.29 (7)
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
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. The
FREE
KDJ Index 4
Kaijun Wang
5 (4)
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
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
KTrade Fibo For MT5
Kaijun Wang
4.67 (3)
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 proposed
FREE
Fit Channel
Kaijun Wang
5 (2)
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 he
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 channel
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 obser
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 Strongly recommend trend indicators,   automatic calculation of wave standard   and   MT5 ver
FREE
KTrade Fibo
Kaijun Wang
4 (1)
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
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
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
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 proposed
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 Strongly recommend trend indicators,   automatic calculation of wave standard   and   MT5 ver
FREE
Copier->Convenient and fast interface interaction, users can use it right away   ->>>> Recommended to use on Windows computers or VPS Windows Features: Diversified and personalized copy trading settings: 1. Different lot modes can be set for different signal sources 2. Different signal sources can be set for forward and reverse copy trading 3. Signals can be set with comments 4. Whether to calibrate the lot according to the contract lot Diversified and personalized copy order settings 2: 1. Dif
FREE
Filter:
No reviews
Reply to review