Test_values_print - MetaTrader 5 Script - MT4/MT5 Resources
The contents of the include file are small and designed to print the values and names of variables:
For me, it became one of the most used assistants. It is based on this discussion in 2015.
To show how testing the value printing works, I have attached the test script SD_Test_Test_values_print .
When placed in a chart, it uses this include file to display the coordinates of the expert terminal tab corresponding to the mouse placement point:
The results will be printed in the Expert tab:
22. At startup, x = 264, y = 85 30. OnStart, res = true 32. OnStart, sub_window = 0, time = 2018.06.11 14:16:00, DTS_DIGITS (price) = 1.36620
Numbers 20, 30, and 32 are the numbers of the test script code strings that are printed from here. Their output provides test value printing in the macro containing the file.
Attachment download
📎 test_values_print.mqh (2.8 KB)
📎 sd_test_test_values_print.mq5 (2.8 KB)
Source: MQL5 #21094
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •