Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Spread Data Collector - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

The EA collects information about spreads and displays the number of spreads within a specified range based on the price changes that occur every year.

When the EA finishes working, it prints all statistics to the log, which is useful for strategy testers.

When each year ends in the strategy tester. Print a spread as follows.

Year==2020************************************************************************************************

spread_less than_10==20428928

spread_10_20==1589515

spread_20_30==123140

spread_30_40==25814

spread_40_50==36084

spread_More_than_50==14944


Attachment download

📎 spread_data_collector.mq5 (3.56 KB)

📎 spread_data_collector.mq5

Source: MQL5 #33314

Verification code Refresh