K Trade Lib5

2

MT4/5通用交易库(  一份代码通用4和5 )

#import "K Trade Lib5.ex5"
   //简单开单
   long OrderOpen(int type,double volume,int magic,string symbol="",string comment="",double opprice=0,double sl=0,double tp=0,int expiration=0,bool slsetmode=false,bool tpsetmode=false);
   //复杂开单
   void SetMagic(int magic,int magic_plus=0);
   void SetLotsAddMode(int mode=0,double lotsadd=0);
   long OrderOpenAdvance(int mode,int type,double volume,int step,int magic,string symbol="",string 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);
  }



Recommended products
Overview AlgoNLP.mqh   is a standalone MQL5 library that converts   human-written trading instructions   into   structured trade intents   that your Expert Advisor (EA) or indicator can understand. Example input: Buy gold at 2370 with TP 0.3% and SL 1% Output intent: Side: BUY | Type: LIMIT | Symbol: XAUUSD | Entry: 2370 | TP: 0.3% | SL: 1% | Lot: 0.00 This enables you to build   chat-controlled   or   Telegram-integrated EAs   that can interpret plain English commands and execute structured
FREE
INTRODUCING MML Data Bridge The demand for bridging external data and machine learning with trading platforms is higher than ever. MetaTrader 5 is a powerful environment for trading and back testing, but without a data bridge, MT5 is largely isolated from using any external data. MML Bridge is a developer tool that allows users to bridge external data into MT5 for back testing, live trading, and optimization. It's built for ease of use, providing users with a simple function API that drip-feeds
FREE
CloseAllOrders at once
Lamont Simone Reynecke
Simple program i created, to help close all your orders instantly when you are busy scalping the market or if you want to avoid news days but still have a lot of orders and pending orders open and can't close them in time.. with this script all you're problems will be solved. Simple drag and drop and the script automatically does it's thing, quick and easy  also a very good tool to use when scalping
FREE
This library allows you to automatically filter events by symbol. Additionally, it requires the use of "flags" to classify events based on their importance (high, low, etc.). Properties: Our library is simple and only requires the export of four functions to work properly. Requirements: The library uses OnTimer , so it is not compatible with programs that also use this event. If your bot utilizes OnTimer , this may interfere with the library’s functionality and prevent event filtering. We recomm
FREE
Want to AUTOMATE this strategy? We have released the fully automated Expert Advisor based on this logic. Check out Range Vector Fibo Logic EA here:  https://www.mql5.com/en/market/product/158065 UPGRADE AVAILABLE: Tired of manual trading? I just released the Automated MTF Version with Mobile Alerts and Auto-Targets. Get the Pro Version here: https://www.mql5.com/en/market/product/159350 Range Vector Fibo Logic (Indicator) One Candle Strategy Stop waking up at 3 AM to draw lines manually. Range
FREE
The UZFX - Close All Open Buy & Sell Orders Instantly script for MetaTrader 5 (MT5) is a powerful tool that enables traders to immediately close all active market positions with a single execution. This script is ideal for emergency trade management, helping traders quickly exit the market during high volatility, news events, or strategy adjustments. Features: Closes all open Buy and Sell positions across all symbols. Uses the latest Bid/Ask price for accurate execution. Helps traders instantly
FREE
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
Relative Average Cost of Open Positions Indicator Description:   The “Relative Average Cost of Open Positions” indicator is a powerful tool designed for traders who engage in mean reversion strategies. It calculates the average entry price for both buy and sell positions, considering the total volume of open trades. Here are the key features and advantages of this indicator: Mean Reversion Trading: Mean reversion strategies aim to capitalize on price movements that revert to their historical ave
FREE
Delete Only Pending Orders
Muhammad Usman Siddique
The UZFX - Delete Only Pending Orders script for MetaTrader 5 (MT5) is a simple yet effective tool that automatically removes all pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop) from the trading account. This script is ideal for traders who want to clear their pending orders instantly without affecting active market positions. Features: Deletes all pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop). Does not affect open market positions. Provides real-time execution feedbac
FREE
Uriel Gold Oracle
Jose Aurelio Fiorio Weberhofer
URIEL GOLD ORACLE — XAUUSD M30 EXPERT ADVISOR A sealed gold EA built to survive — not to impress on a single curve-fit window. No martingale. No grid. No lot doubling. Single position. Every losing trade taken at its full disclosed cost. Every winning trade earned by genuine entry edge. If that sounds boring after the 85%-win-rate equity curves you've seen on this marketplace — read the next section before you scroll past. THE FOUR NUMBERS THAT EXPOSE A MARTINGALE A meaningful share of gold EAs
LinearRegressionChannel
Ahmad Bin Fawzi Bin Al-akhdar Al-fazai
Linear Regression Channel – Indicator The Linear Regression Channel is a custom MT5 indicator that plots a regression line through price over a specified number of bars, with dynamic support and resistance boundaries. Central Line (BlueViolet): Represents the linear regression line (best-fit line) based on the selected price type (Close or High/Low). Upper Line ( Li me): Represents the regression-based resistance level, adjusted dynamically according to the highest deviation from the regressi
FREE
SignalXpert
Steve Rosenstock
5 (1)
CLICK HERE TO SEE ALL MY FREE PRODUCTS The SignalXpert was developed by me to provide traders who use the indicator RangeXpert with a powerful analysis tool. RangeXpert serves as the foundation of the system – it detects precise market areas and provides the data that SignalXpert evaluates in real time to generate clear, actionable signals. This enables the simultaneous monitoring of up to 25 different assets in various timeframes and detects the most important market movements in real time. T
FREE
The UZFX - Margin Required and Max Lot Size script for MetaTrader 5 (MT5) is designed to help traders quickly determine the margin required to open a 1-lot position and calculate the maximum lot size they can trade based on their current account equity. This tool is essential for risk management and position sizing, allowing traders to plan their trades efficiently. Features: Calculates the margin required for opening a 1-lot trade on the selected symbol. Determines the maximum lot size a trade
FREE
High Low Open Close
Alexandre Borela
4.98 (44)
If you like this project, leave a 5 star review. 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. Current Week. Current Month. Current
FREE
Swing Point BoS CHoCH Con Exp Alerts
Usiola Oluwadamilol Olagundoye
Next Arrival : Flip or Die Trading Arena. Flip a trading account:  https://flipordie.com/chapter-1-thirteen-doublings-double-a-trading-account/ NOTE: Turn Pattern Scan ON This indicator identifies Swing Points, Break of Structure (BoS), Change of Character (CHoCH), Contraction and Expansion patterns which are plotted on the charts It also comes with Alerts & Mobile notifications so that you do not miss any trades. It can be used on all trading instruments and on all timeframes. The non-repaint
FREE
PZ Goldfinch Scalper EA MT5
PZ TRADING SLU
3.3 (54)
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
What is SMC Market Structure Pro? SMC Market Structure Pro is an automated trading Expert Advisor for MetaTrader 5 , developed based on Smart Money Concept (SMC) and market structure analysis . The EA is designed to help traders follow the natural flow of the market , focusing on price structure instead of indicators or lagging signals. How Does the EA Work? The EA analyzes market structure changes using pure price action: Detects higher highs & higher lows for bullish structure Detects l
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 etc
FREE
Key Features: 200+ Fully Implemented Patterns   across all categories Advanced Market Structure Analysis Smart Money Integration   (Wyckoff, Order Blocks, Liquidity) Professional Risk Management Multi-Timeframe Analysis AI-Powered Confidence Scoring Advanced Visualization Real-time Alerts Pattern Categories: Single Candle Patterns (Hammer, Doji, Marubozu, etc.) Multi-Candle Patterns (Engulfing, Stars, Harami, etc.) Chart Patterns (Head & Shoulders, Cup & Handle, Triangles, etc.) Harmonic Pattern
FREE
Sharpe Domination EA Description Sharpe Domination is a high-frequency trading Expert Advisor engineered for peak performance on JPY currency pairs using the 1-minute timeframe . Leveraging proprietary momentum-based algorithms and meticulously optimized risk management , this EA is designed to deliver consistent, market-leading returns, resulting in extremely high Sharpe Ratios .
MaxDD Monitor Pro
Cristhian Alexander Gaibor Cuasquer
5 (1)
MaxDD Monitor Pro is a professional real-time drawdown monitor for MetaTrader 5, built specifically for prop firm traders, funded account challenges, and anyone who needs precise risk tracking on live accounts. Built for Prop Firms Prop firm challenges have strict rules: daily drawdown limits, maximum drawdown limits, and a fixed starting capital. MaxDD Monitor Pro is designed around exactly that. Set your challenge start date and fixed capital — the indicator locks that base and never updates
FREE
MultiTimeframe Info Feed (MIF) Indicator Description: MultiTimeframe Info Feed (MIF) is a smart MQL5 indicator that displays a dynamic, real-time info panel directly on your chart, offering powerful insight into current market conditions. Key features include: Real-time display of Open, High, Low, Close, and live Tick price Tick Rate (ticks per second) for assessing market activity Auto-calculated Entry Price on new candle formation Signal direction detection (BUY / SELL) Price action pattern re
FREE
Smart FVG Stats
- Md Rashidul Hasan
5 (1)
The  Smart FVG Statistics Indicator  is a powerful MetaTrader 5 tool designed to automatically identify, track, and analyze Fair Value Gaps (FVGs) on your charts. Love it? Hate it? Let me know in a review! Feature requests and ideas for new tools are highly appreciated. :) Try "The AUDCAD Trader": https://www.mql5.com/en/market/product/151841 Key Features Advanced  Fair Value Gap  Detection Automatic Identification : Automatically scans for both bullish and bearish FVGs across specified histo
FREE
The   UZFX - Set Stop Loss to Breakeven Instantly   script for MetaTrader 5 (MT5) is a powerful tool that allows traders to quickly move the stop loss of all open positions to their entry price, securing risk-free trades. This script is particularly useful for managing active trades efficiently, ensuring that once a position moves favorably, the trader is protected from potential losses. Features: Automatically sets the Stop Loss of all open positions to breakeven (entry price). Enhances risk
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
Crimson FX
Michael Prescott Burney
Crimson EA emerges as a force to be reckoned with on the USDJPY M15 chart, embodying the perfect fusion of 50 meticulously crafted strategies that span across trend analysis, hedging, and scalping disciplines. This powerhouse operates beyond the confines of conventional stop-loss and take-profit mechanisms, relying instead on precise entry and exit signals generated from its strategic arsenal. Coupled with an advanced reversal function, Crimson EA offers a protective shield to safeguard invest
FREE
Go Long Advanced
Phantom Trading Inc.
4.78 (9)
The Go Long EA implements an advanced intraday trading strategy based on the principle of systematic daily trading with multiple technical confirmations. While many traders seek complex algorithms, this EA combines simple yet effective concepts with sophisticated risk management and multiple technical filters. The EA opens positions at a specific time each day, but only when market conditions align with multiple technical indicators. This systematic approach helps capture intraday moves while a
FREE
Buyers of this product also purchase
WalkForwardOptimizer MT5
Stanislav Korotky
3.78 (9)
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.
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. Important: you need to have source code to properly implement the library. With Binance Library MetaTrader 5, you can easily add instruments from Bi
Native Websocket
Racheal Samson
5 (6)
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
After downloading this service program, it will be used as a service support program for Dom BookHeatMAP Lightning Trading Panel. Dom BookHeatMAP Lightning Trading Panel   download link: https://www.mql5.com/zh/market/product/159414?source=Site+Market+MT5+Search+Rating006%3aDom+BookHeatMAP+Lightning+Trading+Panel Please first drag and drop the downloaded file to the corresponding service folder (` MQL5 \ Services `) in the MT5 data directory, and confirm that the file has been successfully pla
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
TupoT3
Li Guo Yin
突破交易策略:智能风控系统升级版‌ 当价格突破关键阻力位时,往往意味着趋势的质变时刻。我们的突破交易策略通过三重智能系统——‌动态阈值识别‌、‌量能验证机制‌和‌自适应止损算法‌,帮助交易者精准捕捉这些跃迁机会。 ‌核心优势‌: ‌智能预警‌:实时监测200+技术指标,自动标记潜在突破位 ‌风险对冲‌:突破失败时自动触发0.5秒内止损,保护本金安全 ‌多周期验证‌:结合日线/4小时/1小时数据过滤假信号 ‌实战案例‌: 2025年第二季度,该策略在现货黄金市场实现连续23次有效突破,平均持仓周期缩短至4.7小时,收益率达传统趋势策略的3.2倍。 ‌智能风控系统‌: ‌动态止盈‌:根据ATR指标自动调整止盈位,锁定利润的同时保留上行空间 ‌分级止损‌:首次突破失败后自动切换至1:1盈亏比保护模式,二次突破确认后恢复原策略 本EA依下图设置做黄金1小时图线,经长时期实盘验证年利润达到30多倍,修改参数可以用作比特币和纳斯达克指数都有很好的收益。
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
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  
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
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
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 co
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 / OnBookEven
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
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        - 
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
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 );    //复杂开单
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
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. 
AO Core
Andrey Dik
3.67 (3)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of p
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
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 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
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader4 Version |  All Products  |  Contact   Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size c
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
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
This trailing stop application will helping trader to set the trailing stop value for many open positions, that apply a grid or martingale strategy as a solution. So if you apply a grid or martingale strategy (either using an EA or trading manually), and you don't have an application to set a trailing stop, then this application is the solution. For EAs with a single shot strategy, just use the FREE trailing stop application which I have also shared on this forum.
More from author
K Trade Assistant MT5
Kaijun Wang
4.44 (16)
Assistant: Purchase Trade Assistant-MT4 (click to download) Purchase 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 an
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 r
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
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
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
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: Purchase Trade Assistant-MT4 (click to download) Purchase 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 an
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
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
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
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
KDJ Index For MT5
Kaijun Wang
3.86 (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 砖图Renko PRO->>> The display of the brick map on the main map. The Renko chart ideally remove
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
Pivot Trading 4
Kaijun Wang
4.8 (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
KTrade Fibo For MT5
Kaijun Wang
4.5 (2)
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 Advanced Bollinger Bands: 1. The Bollinger rail will change color with the direction" 2. The
FREE
KDJ Index 4
Kaijun Wang
5 (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 "Cooperative QQ:556024"  "Cooperation wechat:556024"  "Cooperative email:556024@qq.com" Strong
FREE
This indicator has a unique support and resistance calculation program, which is a unique trading system. Index characteristics Imagine if you can accurately determine the important trading support and resistance areas and points in advance, how will your trading improve? Based on a unique calculation method, the indicator analyzes the trend, analyzes the current support and resistance, and obtains the current important support resistance and single direction, the calculated stop profit and sto
任何交易者的最佳伙伴! 该EA加载后: 1.可以对无止损止盈的订单自动设置止盈和止损. 2.可以对盈利订单在盈利一定设置幅度后保护盈利 3.可以移动止盈止损 特性 1.可以对无止损止盈的订单自动设置止盈和止损. 2.可以对盈利订单在盈利一定设置幅度后保护盈利 3.可以移动止盈止损 自动止盈止损设置 自动设置止损止盈的开关 固定止损的点数设置 固定止盈的点数设置 自动使用波幅自动计算的TP设置 波幅自动计算的TP的风险系数设置 超过一定开仓时间的订单不再设置止盈止损. 止损保护设置 止损保护开关 止损保护启动点数设置 盈利保护点数设置 止损移动设置 移动止损开关 移动止损启动点数设置 移动止损回撤点数设置 有任何问题,欢迎交流...
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
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
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
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 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
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
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 Can set the cycle for other varieties of K line graph covered this window, fluctuations obser
FREE
Filter:
Shigeo Sorihashi
99
Shigeo Sorihashi 2024.03.24 11:12 
 

よくわからないです?

Peng Jin
220
Peng Jin 2021.10.08 09:58 
 

User didn't leave any comment to the rating

Reply to review