At my request, the MetaQutoes has completely localized the latest update of the library into English. The latest build of the library is now available on the English page with comments in the source code translated into English.
Difference from the previous version that was available on the English-language page.
// List of changes:// 02.11.2018// Fix: Now the MT4 position Open price cannot be zero before its triggering.// Fix: Some rare execution aspects of certain trading servers have been taken into account.// 26.11.2018// Fix: Magic and comment of a closed MT4 position: Priority of the relevant fields of opening transactions is higher than that of closing ones.// Fix: Rare changes in MT5-OrdersTotal and MT5-PositionsTotal are taken into account while calculating MT4-OrdersTotal and MT4-OrderSelect.// Fix: Library does not take into account the orders which have opened a position, but have not been yet deleted from MT5.// 17.01.2019// Fix: Fixed an unfortunate error in selecting pending orders.// 08.02.2019// Add: Comment of a position is saved at partial closing via OrderClose.// If you need to modify the comment on an open position at partial closing, you can specify it in OrderClose.// 20.02.2019// Fix: In case of no MT5 order, the library will expect the history synchronization from the existing MT5 transaction. In case of failure, it will inform about it.// 13.03.2019// Add: Added OrderTicketID() - PositionID of an MT5 transaction or MT5 position, and the ticket of a pending MT4 order.// Add: SELECT_BY_TICKET works for all MT5 tickets (and MT5-PositionID).// 02.11.2019// Fix: Corrected lot, commission, and Close price for CloseBy positions.// 12.01.2020// Fix: OrderTicketID() for balance deals returns now a correct value.// Fix: Fixed SELECT_BY_TICKET - selection by OrderTicketID() (MT5-PositionID).// Fix: Changed name of the internal library method for greater compatibility with macros.// 10.04.2020// Fix: Partially executed live pending order did not get into OrdersTotal().// 09.06.2020// Add: StopLoss/TakeProfit/ClosePriceRequest for closed positions are now better defined.// 10.06.2020// Add: Added milliseconds, removed price and order rounding in OrderPrint().// 13.08.2020// Add: Added ability to check the performance of library parts via the MT4ORDERS_BENCHMARK_MINTIME macro.// 20.08.2020// Fix: Taking into account the revealed features of partial order execution.// 29.08.2020// Fix: Implemented faster working with the history of trades.// 24.09.2020// Add: If you need to increase the priority of an MT5 order over an MT5 position when selecting a live MT4 order by SELECT_BY_TICKET (the same tickets),// this can be done by changing the ticket size to negative: OrderSelect(-Ticket, SELECT_BY_TICKET).// Add: If you need to specify the selection of only MT5 order when modifying a live MT4 order (the same tickets),// this can be done by changing the ticket size to negative: OrderModify(-Ticket, ...).// Add: OrderSelect(INT_MAX, SELECT_BY_POS) - switch to an MT5 position without checking the existence and updating.// OrderSelect(INT_MIN, SELECT_BY_POS) - switch to a live MT5 order without checking the existence and updating.// Fix: Implemented faster working with the history of trades.// 30.09.2020// Fix: Implemented faster working with the history of trades.// 08.10.2020// Fix: OrderSend of a market order could be executed longer due to a flaw in a fresh MT5 deal search.// 21.10.2020// Add: To provide compatibility for MT4, added OrderTicketID() - returns OrderTicket().// 11.11.2020// Fix: OrderTicketID() and OrderTicketOpen() return the value type specified in TICKET_TYPE.// 06.12.2020// Fix: The cases of incorrect SL/TP execution records in the MT5 trading history are now taken into account.// Add: The MT4ORDERS_TESTER_SELECT_BY_TICKET market forces SELECT_BY_TICKET to work in the Tester only via OrderTicketID().// 04.05.2021// Fix: The MT5 orders that open positions and fail to disappear are no longer added to the list of MT4 orders.// Fix: CloseBy MT5 orders no longer appear in the list of MT4 orders.// 12.05.2021// Add: The MT4ORDERS_BYPASS_MAXTIME macro changes the constantly emerging cases of trading environment desynchronization in MT5.// 13.05.2021// Fix: Fixed bug in OrderOpenReason().// 14.05.2021// Fix: The BYPASS mechanism no longer affects OrderSelect(INT_MAX, SELECT_BY_POS) and OrderSelect(INT_MIN, SELECT_BY_POS).// 01.06.2021// Fix: Compatibility with the compiler build 2449 and higher.// Fix: Improved synchronization. ByPass.mqh must be of the latest version.// Add: OrderLots(true) - synchronized size of the selected position, taking into account all orders which close this position.
I recommend using the latest version along with the synchronization mechanism. Then all the problems that no other trading library can solve will be imperceptible.
#define MT4ORDERS_BYPASS_MAXTIME 1000000// Max time (in microseconds) to wait for the trading environment synchronization#include <MT4Orders.mqh> // https://www.mql5.com/en/code/16006
For this mechanism to work, you need to download this library. All complex and effective checks of the correctness of the trading environment will be done automatically, without distracting the user when writing trading logic.
画期的なライブラリの更新!MT5取引環境の恒常的な同期ズレを補正できる世界で唯一のライブラリ。控えめですが、真実です。
このアップデートの後、異なるブローカーの実際の口座で 数千の取引が行われました。分析では、同期メカニズムが完璧に機能することが示されました。
私はそれを使用することをお勧めします。貴社の製品の信頼性をさらに高めてください。
コンパイルエラー:
念のためKBから最新版をダウンロードしたが、どうやらhttps://www.mql5.com/ru/forum/170952/page203#comment_22563132。
コンパイルエラー :
念のためKBから最新版をダウンロードしたが、どうやらhttps://www.mql5.com/ru/forum/170952/page203#comment_22563132。
問題が 解決したら、すぐに更新します。
私のリクエストにより、MetaQutoesはライブラリの最新アップデートを完全に英語にローカライズしました。ライブラリの最新ビルドは、ソースコードのコメントが英語に翻訳され、英語ページで利用できるようになりました。
英語ページで公開されていた以前のバージョンとの違い。
同期メカニズムとともに最新版を使うことをお勧めする。そうすれば、他のトレーディング・ライブラリーでは解決できないような問題はすべて感知できなくなる。
このメカニズムが機能するためには、このライブラリを ダウンロードする必要がある。取引ロジックを書く際にユーザーの気を散らさずに、取引環境の正しさの複雑で効果的なチェックがすべて自動的に行われます。
取引、自動取引システム、取引戦略のテストに関するフォーラム
ライブラリ: MT4Orders
fxsaber, 2021.06.02 10:09
私のリクエストにより、MetaQutoesはライブラリの最新アップデートを完全に英語にローカライズしました。 ライブラリの最新ビルドは現在ライブラリの最新ビルドは、ソースコードのコメントを英語に翻訳した英語ページで利用できるようになりました。
ライブラリの最新ビルドは、ソースコードのコメントを英語に翻訳した英語ページで利用できるようになりました。
同期メカニズムとともに最新版を使用することをお勧めします。 そうすれば、他のトレーディング・ライブラリでは解決できないすべての問題が解決されます。そうすれば、他のトレーディング・ライブラリーでは解決できないような問題は、すべて気づかれなくなる。
このメカニズムが機能するためには、 このライブラリを ダウンロードする必要があります。 取引環境が正しく動作しているかどうかの複雑で効果的なチェックはすべて自動的に行われ、取引環境が動作していないときにユーザーの注意をそらすことはありません。取引ロジックを記述する際に、ユーザーの注意をそらすことなく、取引環境の正しさに関する複雑で効果的なチェックがすべて自動的に行われます。
取引、自動取引システム、取引戦略のテストに関するフォーラム
ライブラリ: MT4Orders
fxsaber, 2021.06.02 10:09
私のリクエストにより、MetaQutoesはライブラリの最新アップデートを完全に英語にローカライズしました。ライブラリの最新ビルドは、ソースコードのコメントが英語に翻訳され、英語のページで利用できるようになりました。
英語ページで公開されていた以前のバージョンとの違い。
同期メカニズムとともに最新版を使うことをお勧めする。そうすれば、他のトレーディング・ライブラリーでは解決できないような問題はすべて感知できなくなる。
このメカニズムが機能するためには、このライブラリを ダウンロードする必要がある。取引ロジックを書く際にユーザーの気を散らさずに、取引環境の正しさの複雑で効果的なチェックがすべて自動的に行われます。
取引、自動取引システム、取引戦略のテストに関するフォーラム
ライブラリ: MT4Orders
fxsaber, 2021.06.02 10:09
私のリクエストにより、MetaQutoesはライブラリの最新アップデートを完全に英語にローカライズしました。ライブラリの最新ビルドは、ソースコードのコメントが英語に翻訳され、英語のページで利用できるようになりました。
英語ページで公開されていた以前のバージョンとの違い。
同期メカニズムとともに最新版を使用することをお勧めします。そうすれば、他のトレーディング・ライブラリーでは解決できないような問題はすべて感知できなくなる。
このメカニズムが機能するためには、このライブラリを ダウンロードする必要があります。取引ロジックを書く際にユーザーの気を散らさずに、取引環境の正しさの複雑で効果的なチェックがすべて自動的に行われます。
Forum on trading, automated trading systems and testing trading strategies
Libraries: MT4Orders
fxsaber, 2021.06.02 10:09
At my request, the MetaQutoes has completely localized the latest update of the library into English. The latest build of the library is now available on the English page with comments in the source code translated into English.
Difference from the previous version that was available on the English-language page.
I recommend using the latest version along with the synchronization mechanism. Then all the problems that no other trading library can solve will be imperceptible.
For this mechanism to work, you need to download this library. All complex and effective checks of the correctness of the trading environment will be done automatically, without distracting the user when writing trading logic.