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

Test_values_print - script for MetaTrader 5

Views:
2665
Rating:
(7)
Published:
2018.07.09 13:40
Updated:
2018.09.19 08:27
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The include file, small by its content, is designed to print out the values and names of variables:

  • When engineering the codes; and
  • When developing the functions or getting to know their work.

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, I'm 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:

  • Number of the chart subwindow;
  • Coordinate X in the chart;
  • Coordinate Y in the chart; and
  • Time and price at these coordinates.

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.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21094

Exp_WAMI_Cloud_X2 Exp_WAMI_Cloud_X2

A trend-following trading system Exp_WAMI_Cloud_X2 based on the sisgnals of two indicators WAMI.

AbsolutelyNoLagLwma_Digit_Cloud AbsolutelyNoLagLwma_Digit_Cloud

The AbsolutelyNoLagLwma_Digit moving average which fills the chart space with a colored background.

ZLS ZLS

Indicator ZLS (Zero Lag Stochastic) - a zero-delay stochastic - a ratio of several stochastics with different periods %К, deceleration, and weights.

AML AML

Indicator AML (Adaptive Market Level) displays one of three market states: Flat, uptrend, and downtrend.