The include file, small by its content, is designed to print out the values and names of variables:
For me, it became one of the most frequently used helpers. It was developed based on this discussion in 2015.
To show how Test_values_print works, Im attaching the test script of SD_Test_Test_values_print.
When placed in the chart, it uses this include file to show in the Experts terminal tab the coordinates corresponding with the point where it has been dropped with the mouse:
Its results to be printed out on the Experts tab:
22, OnStart, 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 test script code strings, from where it is printed. Their output is provided for in the macros of include file Test_values_print.