Unisciti alla nostra fan page
Swap Monitor - script per MetaTrader 5
- Visualizzazioni:
- 2121
- Valutazioni:
- Pubblicato:
- 2024.10.23 18:21
- Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
This is a service, which periodically inspects actual swaps for specified symbols and saves new values (if changes detected) into CSV-files. The files are created in folders under the names of corresponding symbols and splitted by months - for example, the file 202410.csv is for October of 2024. Every line in a CSV-file stores a datetime, long swap and short swap.
Also the service check swaps of existing positions and alerts their changes (if any).
The source code can run as a script on a chart if the directive #property service is commented out. But it's recommended to install the program as a service.
The code base does not support services as one of available MQL5 program types, this is why the program is published as a script.
This script saves a predefined set of economic events from the MetaTrader's built-in economic calendar into CSV file.
Sample pine script stochastic divergence converted to MQL5A sample pine code converted to MQL
The AutoFibo indicator is an advanced Fibonacci retracement tool that automatically draws Fibonacci levels based on the ZigZag pattern. This indicator is designed to help traders quickly identify potential support and resistance levels in trending markets.
Day Of Week, Week Of Year and other marks in Data Window and on chartWeekDays indicator displays Day Of Week, Week Of Year, Day Of Year or Bar Index in the Data Window, and optionally in labels on the chart.