Two dimension Array fill and Print – script MetaTrader 5 – script MetaTrader 5

result
We often need to input numeric values into an array, in which I am sharing how we can easily use a string array to input and output numeric values. In this case, a 2-dimensional array is used, but it can also be multidimensional. Two dimension Array fill and Print – script MetaTrader 5 – script … Read more

BinanceQuotesDownloader – script MetaTrader 5

BinanceQuotesDownloader - script for MetaTrader 5
This script allows you to receive quotes from the Binance crypto exchange and display them in a custom symbol window. To run the script: 1. In the terminal settings in the Expert Advisors tab, enable WebRequest and enter the website address: https://api.binance.com 2. Place the BinanceQuotesDownloader file in the Scripts folder of the MT5 terminal … Read more

Input and output of onnx model – script MetaTrader 5

Input and output of onnx model - script for MetaTrader 5
ONNX is an open-source format for representing machine learning models. The script allows the user to select an ONNX model file through a file dialog. It then creates an ONNX session, retrieves information about the input and output tensors in the model, and prints this information to the console. Here’s a breakdown of the script’s … Read more

COLLECT ALL INDICATORS DATA – script MetaTrader 5

COLLECT ALL INDICATORS DATA - script for MetaTrader 5
Collect All Indicators Script This Script collects all MQL5 built-in indicators buffers and stores them in a CSV file for analysis purposes. Bollinger Bands (BB): BB_BASE_LINE: The base (central) line of the Bollinger Bands. BB_UPPER_BAND: The upper band of the Bollinger Bands. BB_LOWER_BAND: The lower band of the Bollinger Bands. Other Indicators: ADX-MAIN_LINE: The main … Read more

Open Trade – script MetaTrader 5

Open Trade - script for MetaTrader 5
This function executes the primary logic for initiating a trade. Computes the opening price, take-profit levels, and stop-loss based on symbol information and user-provided parameters. Prepares a trade request (MqlTradeRequest) with essential details such as symbol, volume, order type, deviation, comment, magic number, etc. Invokes the OrderSend function to dispatch the trade request and obtain … Read more

Titik Impas Breakeven – script MetaTrader 5

Titik Impas Breakeven - script for MetaTrader 5
The Titik Impas Breakeven MetaTrader script serves as a straightforward tool designed to adjust the stop-loss to the Breakeven Point for one or more positions, based on specified parameters. This script is compatible with both MT4 and MT5 platforms. The Breakeven Point, or Titik Impas, denotes the price level at which a trade’s profit becomes … Read more