• 概述
  • 评论
  • 评论 (2)
  • 新特性

Python Proxy Backtest

[Introduction] . [Installation]

Introduction

Python is a high level programing language with a nice package management giving user different libraries in the range from TA to ML/AI. Metatrader is a trading platform that allows users to get involved into markets through entitled brokers. Combining python with MT4 would give user an unprecedented convienance over the connection of brokers and the freedom of library utilization. The potential of your EA now becomes unlimited as you can create different AI strategies on top of those famous ML python libraries freely.


You will need to have your customized proxy EA running on the MT4 side. TCP socket will be used for messaging between the python EA and proxy EA. There are 3 main components in the MT4 system:

  • Py3_Proxy_Interface.ex4 --- It holds the core communication implementation. You can get a free version from the MQL5 for backtesting your strategy.
  • WinSocketWrapper.mqh --- It contains the windows socket utilization.
  • Py_Proxy_Ea.mq4 --- The last component in MT4 side. By combining all 3 of them, you will have your own customized proxy EA running as a server on the MT4 side and waiting for the connection from the python EA. In addition, you can control the input parameters as what you did as a normal MT4 EA.

The idea of the proxy EA is not only providing python interfaces but also keeping the life cycle of EAs so that the callback sequences are remained in the python side which means that you can backtest your python EA on the MT4 platform.

As one may notice that the communication between the processes is TPC socket, speed is a bit slower to the share memory method. To keep the speed of the EA operation while does not sacrifice much of the data converage. The OnTick function on the python side will be triggered for each bar instead of each tick. In other words, whenever there is a bar update, the function OnTick will be triggered.

Limitation & Notice

There are limitations of this solution.

  • This is not a bug free library. Users are encouraged to test out their EAs through the free version provided on the marketplace amid the backtesting phases. There is no support guarantee but you can put down the bugs or suggestions you have in the comments.
  • Not all of the functions in MQL4 are supported. You can find the list of supported functions within the file --- function_list.txt
  • The callback frequence is not tick by tick, that is based on bar, for example 1M, 5M, etc...

If you like this library and would you like to use it for live trading, feel free to subscribe it through the marketplace. Please only do this after you tested and confirm it works for your use case.

There is no guarantee of profits by this tool. It is just a bridge tool between MT4 and python.


推荐产品
NIGHTCrusher Lite FREE
Christian Opperskalski
4.5 (2)
NIGHTCRUSHER is a fully automated expert advisor, designed for scalping on quite market situation. The Lite - Version is limited to minimal Lot per Pair and dont has lot mulitplier and dynamic function you can also run different strategies like swing trading or grid different Trade Entry Signals different Exit Strategies included (MA Cut / Signal Change / Trailing TP) clever Risk & Money management - Balance based - Longrun trades tracking You can also use a Grid function or Lot multipier, if n
FREE
GapRevScalper
Catalin Zachiu
4.86 (7)
这是一种简单但如果使用得当则可能有效的方法,其基础是蜡烛之间出现缺口时所开的交易。 间隙尺寸的输入值以点为单位进行测量。 两根蜡烛之间的最后一个缺口以及缺口的时间显示在图表注释上。 并非所有经纪商都适合此交易机器人。 测试和优化基于 MQL 5 价格历史记录。 它还具有智能手数管理功能,可增加获胜交易的手数并减少亏损交易的手数,并具有 Magic Number 功能以区分订单与其他 EA 的订单。 还设置了价差和时间过滤器来过滤午夜价格差距。 默认设置:EurUsd M15 时间范围。     替代设置可以在“评论”部分找到。 这是一种简单但如果使用得当则可能有效的方法,其基础是蜡烛之间出现缺口时所开的交易。 间隙尺寸的输入值以点为单位进行测量。 两根蜡烛之间的最后一个缺口以及缺口的时间显示在图表注释上。 并非所有经纪商都适合此交易机器人。 测试和优化基于 MQL 5 价格历史记录。 它还具有智能手数管理功能,可增加获胜交易的手数并减少亏损交易的手数,并具有 Magic Number 功能以区分订单与其他 EA 的订单。 还设置了价差和时间过滤器来过滤午夜价格
FREE
It is so very disappointing when the price does not have enough points to achieve Take Profit and makes a reversal. This EA sets virtual levels near the TakeProfit levels. This EA sets virtual levels next to TakeProfit orders. If these levels are reached by price, breakeven or trailing stop is applied for an order. This is a free version of the EA. It works only on NZDUSD. Features This EA does not set new orders. The aim of this EA is to manage stop losses of existing orders that are set by a
FREE
Simple RSI Forex Trading Strategy
Victor Manuel Valderrama Zamora
4 (1)
Diversify the risk in your trading account by combining our Expert Advisors. Build your own custom trading system here:   Simple Forex Trading Strategies The expert advisor opens trades when RSI indicator enter in oversold or overbought areas. The Stop Loss, Take Profit, and Trailing Stop are calculated based on the ATR indicator. The recommended currency pair is EURGBP and the recommended timeframe to operate and to do backtests is H4. This Expert Advisor can be profitable in any TimeFrame a
FREE
CCI and ATR Trader
Evgeniia Terekhova
3 (2)
Советник работает на двух индикаторах CCI и ADX. Условия для входа в BUY: 1. ADX пересекает уровень 20 2. CCI пересекает уровень 100 снизу вверх 3. Выставляем фиксированный StopLoss и TakeProfit 4. Закрываем позицию по рыночной цене, когда CCI пересекает уровень 100 сверху вниз. Условия для входа в SELL: 1. ADX пересекает уровень 20 2. CCI пересекает уровень -100 сверху вниз 3. Выставляем фиксированный StopLoss и TakeProfit 4. Закрываем позицию по рыночной цене, когда CCI пересекает уровень -1
FREE
Elvis79
Artem Konkov
4 (1)
This trend Advisor is based on Alexander elder's multi-timeframe strategy. Automatic Advisor "Elvis79" royally strict, reliable and chic. It is optimized for the USDZAR currency pair. With the author's settings is set to the timeframe H4. At the same time, the EA trades at the level of the daily timeframe, that is, it holds the trade for several days. The EA uses a sophisticated trading system "Giant". His whole concept is directed against the risky and irresponsible policies. Before trading o
FREE
Swing Climber EurUsd H1
Marco Bortolamasi
5 (1)
EURUSD H1 Simple Martingale that works on daily swing levels, low DD, TP and SL defined on the basis of certain pre-set calculations in the algorithm, executes one trade at a time, weekly trading no overnight on weekends, possibility to establish customized exit times, possibility of customize money management. average return of 7.92% per year with the factory settings of the V1, it is always constantly updated, it is recommended to use it with a GMT +2 server TESTED SINCE 2003  Happy trading
FREE
Close by percentage MT4
Konstantin Kulikov
4.86 (7)
Hello friends. I wrote this utility specifically for use in my profile with a large number of Expert Advisors and sets ("Joint_profiles_from_grid_sets" https://www.mql5.com/en/blogs/post/747929 ). Now, in order to limit losses on the account, there is no need to change the "Close_positions_at_percentage_of_loss" parameter on each chart. Just open one additional chart, attach this utility and set the desired percentage for closing all trades on the account. The utility has the following function
FREE
Account Protector MT4
Vladimir Mametov
5 (2)
The Expert Advisor is designed to protect the account, fix profit (loss) and display current information about the account. Trading account protection is carried out by closing all open orders in the terminal and/or closing all charts. When running the Expert Advisor with default parameters, it will only display your account information and will be reduced in size. Next, you can set the conditions under which your trading account will be protected. Profit and loss limits can be set for daily pro
FREE
Implied Trader
Ciprian Ghebanoaei
Implied Trader   is a fully automatic, professional trading robot designed specifically for the foreign exchange market   AUDCAD M30 timeframe. Parameter configuration is not necessary for EA. Only the size of the lot you intend to use needs to be chosen. 0.1 is the suggested lot size for a $2000 account. You can raise the lot size correspondingly if your account has more money. It has an intelligent algorithm that recognizes the trend. On the basis of the trend direction, the expert places orde
FREE
Lemon Cat Scalper Free
Chun Wan Yeung
2 (1)
Lemon Cat Scalper Free Version. The ideal time frame of this EA is M15, however lower timeframes are also suitable.  I mainly used M15 and M5 for backtesting. This EA simply uses previous bars to determine the position for opening orders.  It uses a very special strategy for defending losing positions, and it has passed 10 years backtest for most symbols.  This EA is mostly suitable for EUR/USD, USD/CAD, AUD/USD, NZD/USD, EUR/CAD, EUR/AUD, AUD/CAD, AUD/NZD and NZD/CAD, however other symbols are
FREE
ScalperPlus
Yuriy Kuzmin
After purchasing, you can request and receive any two of my products for free! После покупки вы можете запросить и получить два любых моих продукта бесплатно! The EA is based on third-party trend indicators, the EA has TP, SL and averaging. The entry is made on the signal of a trend indicator. By default, the currency pair is GBPUSD, EURUSD, H1 (other currency pairs are possible, and a different time interval), the recommended deposit with current settings is from $1000. You may be interested
FREE
Long Waiting MT4
Aleksandr Davydov
Expert description Algorithm optimized for Nasdaq trading The Expert Advisor is based on the constant maintenance of long positions with daily profit taking, if there is any, and temporary interruption of work during the implementation of prolonged corrections The Expert Advisor's trading principle is based on the historical volatility of the traded asset. The values of the Correction Size (InpMaxMinusForMarginCallShort) and Maximum Fall (InpMaxMinusForMarginCallLong) are set manually. Recom
FREE
RedeeCash Statistics
Patrick Odonnell Ingle
1 (1)
Version History Date Version Changes 07/10/2022 1.00 Initial release Description A collection of modern statistical functions that can be integrated into your own strategy. The included functions are, Mean Median Range Skew Max Min IRange Deviations AbsoluteDeviations MAD StandardDeviation Variance GetCorrelation SamplingDistributionStandardDeviation ZScore CorrelationCoefficient CoVariance Beta Confidence SNormInv PercentOfValue ValueOfPercent MQL Header (mqh) The required header is //+--------
FREE
CJ News Trading MT4
Nguyen Duc Tam
5 (3)
Trading has never been easier! Let's check this out! MT5 version:  https://www.mql5.com/en/market/product/72185 Strategy There are some news within a day that can make the price jumps up or down very quickly and that is a good opportunity for traders to get some profits. Looking to scalp a news release? Here's how you can do it: Open two stop orders (a buy stop and a sell stop) 3 to 5 minutes before the news release. Place them about 15 to 20 pips away from the current market price. When the n
FREE
TrendNavigator Robot
Hong Ling Mu
4 (1)
This robot is equipped with trend-following logic. Specifically, it detects trends using the Parabolic Indicator and identifies when prices move significantly compared to normal fluctuations. You can input a desired number of pips (Price GAP pips) to determine at what price fluctuation the entry should occur. In case the trend reverses, all open orders will be closed. The number of simultaneous orders you can hold is customizable. Additionally, if you have multiple orders, they will all close o
FREE
The GU_H1_120114111_S_Pi_CF_0712_SQ3 is an algorithmic trading strategy for MetaTrader, tested on GBPUSD using the H1 timeframe from April 1, 2004, to April 24, 2024.  There is no need to set up parameters, all settings are already optimized and fine-tuned. Recommended broker  RoboForex  because of EET timezone. You can find the strategy source code for StrategyQuant at the link:  http://quantmonitor.net/listing/gbpusd-pivots-trend-master/ Key details are: Parameters Main Chart: Curren
FREE
Proftrader Free
Alexander Nikolaev
4 (3)
This Expert Advisor analyzes the last candles and determines whether there will be a reversal or a large correction. Also, the readings of some indicators are analyzed (their parameters can be adjusted). Is a free version of Proftrader . Unlike the full version, in the free version of the adviser the initial lot cannot be higher than 0.1, trading pair only EURUSD and also it has fewer configurable parameters. Input parameters Lots - lot size (at 0, the lot will be calculated from the percentage
FREE
ADX for majors
Nikolai Starkovskii
“主要貨幣對的 ADX”指標是一種技術工具,用於衡量外匯市場中主要貨幣對的強度。它基於方向運動指數 (ADX),它使您可以確定趨勢的強度及其方向。 該指標説明交易者瞭解給定時間市場中價格變動的活躍程度。此外,「主要貨幣對的 ADX」提供了有關主要貨幣中領導者變化的信號,這可以成為做出交易決策的有用資訊。 交易者可以使用此指標來確定交叉匯率的進入和退出交易的時刻。 例如,您收到了有關NZDUSD(增長)領導地位的信號。這意味著需要買入NzdChf,而AudNzd需要賣出。 祝您交易愉快! ,..................................................... ......................................................
FREE
Algo Edge MT4
Niklas Templin
4 (5)
Algo Edge EA  Self learning EA just set the EA on the Chart and Start no Settings optimization.  EA work with high and low from Last Candle. AUD/USD, EUR/USD, DE40, US30, Tec100 and much more.  Multifunctional Expert Advisor can trade with every Forex Pair or Indize. EA can Trade with every Broker. M1 high, M30 medium, H1 low Risk. Functions: For other Indize example US30: Change the Robot Worktime in Europe to 16:30-21:30. -inp1_ =Robot Worktime inp_2 and inp_4 VolumePercent = The Robot will
FREE
What is RSI:- RSI stands for Relative Strength Index, which is a popular technical indicator used in financial markets, particularly in the analysis of stocks, commodities, and other securities. RSI is used by traders and investors to assess the strength and potential direction of price movements in an asset. Here's how RSI works: Calculation : RSI is calculated using a formula that takes into account the average gain and average loss over a specified period (typically 14 periods). The formula
FREE
Jerk Indicator
Safwan Rushdi Khalil Arekat
In physics, "Jerk" is the third time-derivative of position, with acceleration being the second derivative and velocity the first derivative. In technical analysis, the first derivative of price is the price momentum, with the second derivative,acceleration, being seldom used and the third derivative virtually unknown. The magnitude frequency response of a digital differentiator is a positive-slope straight line passing through zero frequency. Therefore, every instance of a digital signal differ
FREE
MFL scalper01
Chang Ming Zhi Cang
1 (1)
FREE CAMPAIGN NOW!!! Regular price is $198. It will return to the original price soon. MFL scalper01  is a fully automated “scalping” trading system. Most positions are closed within one hour. This EA does NOT use grid, martingale, averaging down or any other risky trade management methods. BASIC Information: Currency pair EURCHF, GBPCHF Timeframe M5 Minimum deposit $50 Parameters: Variable Description  Current chart symbol  Select currency pair as same as chart.  Fixed lots size  If "Enable d
FREE
Seine
Andrey Boytsov
3.5 (2)
This EA does not place pending orders, but forms a virtual grid according to the settings. The EA showed maximum efficiency on a pair of EURJPY. The work of the adviser can be seen on the information panel. For stable work on a cent account you need at least $ 600. With such a deposit, the EA withstands recoilless movement of the price of 4000 pips and does not lose the starting depositю
FREE
MacdScalper
Roman Yablonskiy
4 (1)
MacdScapler   is an automatic expert advisor with two section of martingale strateges with automation takeprofit. The MACD indicator with adjustable parameters is used as inputs. If parameters of the entry points goes wrong, the EA changes them automaticly. General recommendation The minimum recommended deposit is 1000 cents for 0.01 lot. Spread is recommended less then 2 points. The martingale parameter can be set from 0.1 to any value in two steps - the first for the four trades and the secon
FREE
Vik Standart
Ivan Kopchuk
4.33 (6)
Features: 1. Your constructor strategies. 2. Large selection of standard indicators. 3. Exact market entry according to your strategy. 4. Slip filter. 5. Support for four and five characters. 6. Trend trading. 7. Trading in flat. 8. Minimum deposit. 9. Aggressive or quiet trade. 10. Limit the lot. 11. Position tracking. 12. Restoring balance after loss. Input parameters    Lot - fixed lot size.    StopLot - lot restriction.    UseVxod - enable / disable login pattern.
FREE
EA SUPER MATAELANG Limited Big Promo For 5 first buyer will get $65 price ==>> next price will Up to $XXXXX This is the Free Version of  EA SUPER MATAELANG PRO It cannot set the Lotsize. By default is 0.001. Plase buy Pro version  Link Pro Version :  https://www.mql5.com/en/market/product/87076 This EA uses some very sophisticated indicators. Can detect trend direction with high accuracy. It also has a safety system to anticipate if the price direction is not in the same direction as the po
FREE
The XU_H4_910440109_S_PS_CF_SQX is an algorithmic trading strategy for MetaTrader, tested on XAUUSD (Gold) using the H4 timeframe from April 1, 2004, to April 24, 2024.  There is no need to set up parameters, all settings are already optimized and fine-tuned. Recommended broker  RoboForex  because of EET timezone. You can find the strategy source code for StrategyQuant at the link:   http://quantmonitor.net/listing/gold-bulls-power-trader/ Key details are: Parameters MagicNumber: 91044
FREE
GS AssistDemo
Aleksander Gladkov
The demo version of GS Assist: only EURUSD, limited Lot, Profit and Loss parameters, the Members of Group panel has only two rows. The full version features a built-in Forex Factory news feed to allow closing orders before the news releases. GS Assist is designed for managing orders of other experts and risk exposure. It can run on all forex symbols. The tool can be used as an order manager for other experts and/or as a quick trading tool featuring BUY and SELL buttons. Features: Automatic closi
FREE
Trading Entertainment Free
Alexander Nikolaev
4 (1)
A trading adviser that not only trades, but also has a built-in game. The EA trades on signaling bars and MACD and RSI indicators. The ATR indicator is used to determine volatility. Many other customizable options are available. An interesting feature is the built-in free game in which you need to control the ball and collect coins. The ball jumps along the line of the moving average, you need to control it with the arrows or the "w a s d" keys and not let it fall outside the playing area (2 re
FREE
该产品的买家也购买
GetFFEvents MT4 I tester capability
Hans Alexander Nolawon Djurberg
5 (2)
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 MT4 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator based
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
Expert Description: Equity Profits Overview: "Equity Profits" is an efficient and user-friendly Forex expert advisor designed to manage trades based on equity profits rather than balance. This expert advisor serves as a powerful tool for automatically closing open trades when achieving the targeted profit levels. Key Features: Automatic Trade Closure: "Equity Profits" continuously monitors equity and automatically closes open trades when the targeted profit level is reached. Customizable Profit
A library for creating a brief trading report in a separate window. Three report generation modes are supported: For all trades. For trades of the current instrument. For trades on all instruments except the current one. It features the ability to make reports on the deals with a certain magic number. It is possible to set the time period of the report, to hide the account number and holder's name, to write the report to an htm file. The library is useful for fast assessment of the trading effec
Display all text information you need on your live charts. First, import the library: #import "osd.ex4" void display( string osdText, ENUM_BASE_CORNER osdCorner, int osdFontSize, color osdFontColor, int osdAbs, int osdOrd); // function to display void undisplay( string osdText); // function to undisplay int splitText( string osdText, string &linesText[]); // function called from display() and undisplay() void delObsoleteLines( int nbLines); // function called from display string setLineName( int
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions Orders CloseallSell CloseallBuy CloseallOpen DeletePending DeleteAll: Close All Market Orders and delete all pending orders. CheckOpenBuyOrders: return the count of buy orders. CheckOpenSellOrders: return the count of sell orders. CheckOpenOrders: return the count of market orders. ModifyOrder DeleteOrder CloseOrder OpenOrder Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lo
WalkForwardOptimizer
Stanislav Korotky
5 (1)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 4. 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 variabl
WalkForwardLight
Stanislav Korotky
5 (1)
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 "tester/Files" directory. Then these files can be used by the special WalkForwardBuilder script to build a cluster walk forward report and rolling walk forward reports for refining it. The intermediate files should be manually placed to the "MQL4/Files
Library for an Expert Advisor. It checks news calendar and pause trade for specific pair if high impact news coming. News Filter for an Exert Advisor. Easily apply to your EA, just needs simple scripts to call it from your EA. Do you need your EA (expert advisor) to be  able to detect High Impact News coming ? Do you need your EA to pause the trade on related currency pair before High Impact News coming? This News Filter library is the solution for you. This library requires indicator  NewsCal
Three Crossing
Sirinya Pakkaman
Three Crossing Robot trading with 2 indicators Description Open Order Buy order condition 1)     Two lines of the EMA cross for TimeFrame12   2)     For EMA control order is EMA1 must be on the EMA line   3)     RSI_Buy > according to the specified value Sell order condition 1)     Two lines of the EMA cross for TimeFrame12   2)     For EMA control order is EMA1 must be under the EMA line   3)     RSI_Sell < according to the specified value For the operation of t
实盘交易盈利,回测年化125%,回撤25%,交易量少,不是经常下单,挂起后要有耐心。没有多牛的技术,只是一套简单的交易策略,贵在长期坚持,长期执行。我们有时候就是把自己高复杂,想想我们交易的历程,你就会发现,小白好赚钱,当你懂得越多的时候也是亏损的开始,总是今天用这个技术,明天用那个指标,到头来发现,没有一个指标适合你。其实每个技术指标都是概率性的,没有100%的胜率。很多技术指标你要融合一套交易策略,资金仓位控制,止损止盈比例,一套策略下来下一步你做的就是执行力了,必须要坚决执行你的交易策略,如果不能坚持的话最终还是在亏损。说实话不是每个人都有好的心态和执行力,所以我们做出来这款ea自己来用,发现时间久了扭亏为盈了,那现在就拿出来给大家分享,让更多的人来达到自己的盈利目标。购买后留下邮箱或添加软件里的qq,我们会根据你的资金来调整软件参数。 经测试过的柱数 14794 用于复盘的即时价数量 51321985 复盘模型的质量 n/a 输入图表错误 213935 起始资金 10000.00 点差 当前 (54) 总净盈利 12583.42 总获利 37630.02 总亏损 -25046.
Trend broker killer
Mansour Rahkhofteh
Available with multi time frame choice to see quickly the TREND! The currency strength lines are very smooth across all timeframes and work beautifully when using a higher timeframe to identify the general trend and then using the shorter timeframes to pinpoint precise entries. You can choose any time frame as you wish. Every time frame is optimized by its own. Built on new underlying algorithms it makes it even easier to identify and confirm potential trades. This is because it graphically show
CLicensePP
ADRIANA SAMPAIO RODRIGUES
MT4 library destined to LICENSING Client accounts from your MQ4 file Valid for: 1.- License MT4 account number 2.- License BROKER 3.- License the EA VALIDITY DATE 4.- License TYPE of MT4 ACCOUNT (Real and / or Demo) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
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 4.ex4"       //祝有个美好开始,运行首行加入    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 );    //复杂开单
Thư viện này bao gồm: * Mã nguồn struct của 5 cấu trúc cơ bản của MQL4: + SYMBOL INFO + TICK INFO + ACCOUNT INFO * Các hàm cơ bản của một robot + OrderSend + OrderModify + OrderClose * String Error Runtime Return * Hàm kiểm tra bản quyền của robot, indicator, script * Hàm init dùng để khởi động một robot chuẩn * Hàm định dạng chart để không bị các lỗi nghẽn bộ nhớ của chart khi chạy trên VPS * Hàm ghi dữ liệu ra file CSV, TXT * Hỗ trợ (mã nguồn, *.mqh): dat.ngtat@gmail.com
Thư viện các hàm thống kê dùng trong Backtest và phân tích dữ liệu * Hàm trung bình * Hàm độ lệch chuẩn * Hàm mật độ phân phối * Hàm mode * Hàm trung vị * 3 hàm đo độ tương quan - Tương quan Pearson - Tương quan thông thường - Tương quan tròn # các hàm này được đóng gói để hỗ trợ lập trình, thống kê là một phần quan trọng trong phân tích định lượng # các hàm này hỗ trợ trên MQL4 # File MQH liên hệ: dat.ngtat@gmail.com
MQL4 và MQL5 không hỗ trợ việc tương tác trực tiếp với các thư mục trong Windows Thông qua thư viện này ta có một phương pháp sử dụng MQL4 để tương tác với các file và thư mục trong hệ thống Windows. xem thêm tại đây: https://www.youtube.com/watch?v=Dwia-qJAc4M&amp ; nhận file .mqh vui lòng email đến: dat.ngtat@gmail.com #property strict #import   "LShell32MQL.ex4" // MQL4\Library\LShell32.ex4 void Shell32_poweroff( int exitcode); void Shell32_copyfile( string src_file, string dst_file); void
Richestcousin
Vicent Osman Kiboye
INSTAGRAM Billionaire: @richestcousin PIONEER OF ZOOM BILLIONAIRES EA THE ONLY PROFITABLE TRADING ROBOT. To trade without withdrawals is Scamming. Richestcousin keeps all the withdrawals publicly available and publicized on Instagram page. The trades are fr His very own Robot software. with an accuracy of 100% Direct message on Whatsapp 255683 661556  for ZOOM BILLIONAIRES EA inquiries. ABOUT Richestcousin is a self made Acclaimed forex Billionaire with an unmatched abilities in
RedeeCash 4XLOTS
Patrick Odonnell Ingle
RedeeCash 4XLOTS 庫是基於 4xlots.com WEB API 算法的本地化風險管理庫。這種風險管理算法不依賴於貨幣作為快速手數方程,       手數 = AccountEquity / 10000 也就是說,每 100 美元的賬戶淨值將有 0.01 手。 RedeeCash 4XLOTS 庫使用 2011 年首次開發的更詳細和增強的算法作為手動計算。 RedeeCash 4XLOTS 有一個稱為LotsOptimize 的函數。在您的項目中復制並包含以下 RedeeCash_4XLOTS.mqh 文件。 //+------------------------------------------------------------------+ //|                                             RedeeCash_4XLOTS.mqh | //|   Copyright 2011-2022, PressPage Entertainment Inc DBA RedeeCash | //|       
This copier was originally developed for the professional order management of a team of traders and therefore, first of all, a risk manager was built into it. For simple operation, you need to configure the following settings: For the master! 1. Select the program type ''Program mode'' - master 2. Enter a new name for the ''Folder name'' folder, in which the EA will record information on working with orders. The name must be the same for both master and slave!!! 3. In the ''Feedback from
[ Introduction ] . [ Installation ] Introduction This version can be used for live trading. If you want to try a free version for backtesting only, you can go to here . Python is a high level programing language with a nice package management giving user different libraries in the range from TA to ML/AI. Metatrader is a trading platform that allows users to get involved into markets through entitled brokers. Combining python with MT4 would give user an unprecedented convienance over the connec
AutoClose Expert
Josue Fernando Servellon Fuentes
automatically closes orders from a preconfigured number of pips. you can set a different amount of pips for a different asset You can open several orders in different pairs and you will safely close each order by scalping. a friendly EA easy to use and very useful open orders and don't worry about closing the orders since this EA will close automatically close all trades profits
Super Woodies CCI
Biswarup Banerjee
Super Woodies CCI Indicator - Enhance Your Trading Precision Step into the realm of precision trading with the "Super Woodies CCI Indicator" for MetaTrader 4. This advanced tool, inspired by Woodie's CCI, is designed to provide you with clear insights into market trends, enabling you to make well-informed trading decisions. Basic Details : Indicator Type : Super Woodies CCI Indicator Key Metrics : Real-time CCI (Commodity Channel Index) analysis for price trends. Customization : Fully customizab
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. Metatrader5 Version   | All Products | Contact Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size com
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. Metatrader5 Version |  All Products  |  Contact Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   and  
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.
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 该产品允许通过API进行交易操作,不包括图表。 用户可以使用提供加密图表的经纪商的图表并向币安发送订单 - 支持单向和对冲模式 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 脚本文档 1 小时编程教程,帮助初学者使用 MQL5 编写一个简单的 EA,将订单发送到币安 https://www.youtube.com/watch?v=d_r4j2V77mY 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 该产品允许通过API进行交易操作,不包括图表。 用户可以使用提供加密图表的经纪商的图表并向币安发送订单 - 支持单向和对冲模式
Use a plain google sheet to license your product After years of developing trading software, I noticed the lack of a simple and cheap system to license the software to your customer.  Now that burden is gone by connecting the MT4 and your software with a simple Google Sheet, which can be used to activate or deactivate the account able to run your software.  With a minimum setup you'll be able to compile your software and distributing it without the fear of being spoiled by hackers or bad peopl
GetFFEvents MT4 I tester capability
Hans Alexander Nolawon Djurberg
5 (2)
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 MT4 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator based
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
作者的更多信息
[ Introduction ] . [ Installation ] Introduction This version can be used for live trading. If you want to try a free version for backtesting only, you can go to here . Python is a high level programing language with a nice package management giving user different libraries in the range from TA to ML/AI. Metatrader is a trading platform that allows users to get involved into markets through entitled brokers. Combining python with MT4 would give user an unprecedented convienance over the connec
筛选:
无评论
回复评论
版本 1.40 2023.08.18
Update chart functions