Added the possibility to receive liquidation data (for Binance and Bybit for now). To do this, set the new "Liquidation" parameter to true. Liquidations will appear on the chart in the form of circles, the size of which depends on the volume of liquidated positions, and the color - on the direction of liquidation trades: red - sells, green - buys.
Improved work on WebSocket.
Added parameter "IsolatedMargin" - true - use isolated margin, false - cross-margin (for Binance Margin wallet only).
Added the possibility to receive Time & Sales data (except for Kraken for now). To do this, set the new "TimeSales" parameter to true. Now you can use multiple indicators of split buying and selling volumes, delta, etc.
Added parameters for copying deals from a file:
"VolumeFactor" - multiplier for the volume. It can be used to change the risk of trading, or in the case when the lots of instruments differ, for example, when copying trades from spot to futures and vice versa.
"PriceFactor" - multiplier for the price. It can be used when the prices of correlated instruments differ, for example, when copying trades from spot to futures and vice versa.
"DeleteAfter" - true - delete all trades from the exchange file immediately after import. For the case when deals are imported into only one instance of GRat_Crypto. For several GRat_Crypto set false.
Added Bybit exchange (compensation for FTX).
Added the possibility to receive and view the Depth of Market. To do this, in the new "BookDepth" parameter, set the number of entries in the order book (0 - disabled). To view, open the "Depth Of Market" window in MT5.
Added the possibility to import trades from a file located in the common folder of all client terminals \Terminal\Common\Files. To do this, set the new parameter "Common" to true.
Added real stop and stop-limit orders for KuCoin, OKX.
Added market data request via WebSocket API for FTX, KuCoin, OKX.
Added parameter "WebSocket" - if true (recommended), then market data is requested via WebSocket API, if possible for this exchange, otherwise - via REST API.
The "UpdateSeconds" parameter has been replaced with "UpdateMilliseconds". Now the quote request frequency can be set to less than 1000 ms, which is useful, for example, when WebSocket=true.
Added the "QuotesStart" parameter - the start date of the quotes history. If 1970.01.01 00:00:00 is set, then no more than the number of bars specified in the terminal setting "Max. bars in the window:" will be loaded.
Added parameter "ShowTradesOnChart" - if true, then the chart will show lines from opening to closing positions.
Added real stop and stop-limit orders for Binance (coming soon to all exchanges where possible).
Added market data request via WebSocket API to Binance (coming soon to all exchanges where possible).
The limit on the number of downloadable historical bars for FTX has been removed.
Added parameter "MaxHistory" - the maximum number of trades in the history.
Deleted debug info.
Added a "Exchange on Start" parameter — when starting GRat_Crypto, if there are open orders or positions on the cryptocurrency exchange, you will be prompted to copy them to the EA.
Added the ability to set leverage for KuCoin futures.
Improved opening of KuCoin orders.
Great indicator. Charts from FTX and KuCoin work great and are stable. Can be easily combined with existing MQL5 indicators. If you have your custom MQL5 indicator and do not want to open native terminals - it is worth to buy this tool. Orders placing also works good especially Market orders. However orders placing functionality needs improvement.