Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Listing all MT5 Signals' properties to a CSV file - script for MetaTrader 5

Views:
3355
Rating:
(32)
Published:
2022.04.21 15:14
Updated:
2022.09.03 13:35
ListSignals.mq5 (10.25 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This simple, quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL5 Trade Signals functionality. With the resulting CSV file opened as a spreadsheet (e.g. Excel), you can sort them by your preferred metrics and choose that suite your requirements for copy trading. 

Please note that the MQL5 Trade Signals functionality, only lists MT5 signals. See also Listing all MT4 Signals' properties to a CSV file for MetaTrader 4. It also seems to be limited to a maximum of 1000 signals (I don't know how many there are in total).

Before running the script, open up the "Signals" tab, and make sure that terminal downloads data for signals. Otherwise the script will have no data to report on.

The CSV file will be output to terminal's "MQL5\Files" folder. In MetaTrader go to the menu FileOpen Data Folder, then navigate to the "MQL5\Files" folder.

 

Please note, that all my CodeBase publications' source code are now also available in "Public Projects" tab of MetaEditor under the name "FMIC".

DeMarker gaining position volume DeMarker gaining position volume

One of the strategies for the 'DeMarker' indicator is a permanent set of positions

Engulfing Pattern Plus One Engulfing Pattern Plus One

Engulfing Pattern Plus One

Trend Two Lines Trend Two Lines

The indicator in the subwindow shows a comparison of High and Low prices

Detecting the start of a new bar or candle Detecting the start of a new bar or candle

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.