Determines the verbosity of trade, error, and diagnostics messages.


0 Few messages. Most warnings are suppressed. Bars are only printed to the log in [Trade] mode or when trades are open.
1 More messages (default).
2 Even more messages. In [Trade] mode, the daily profit is printed once per day. In [Test] mode with TICKS flag any tick preceding a trade is printed in the log. The prices of the current asset at every bar are printed in the form Open/High\Low/Close.
3 Even more messages and warnings. Missing prices and internal function errors are displayed. In [Trade] mode, all open trades are listed once per day.
7 Extensive messages and diagnostics in the log file. In [Trade] mode, the time for broker API trade calls is recorded in the log file.
+DIAG Black box recorder for diagnostics (as if started with -diag command line option).
+ALERT Display critical messages, such as possibly orphaned trades, broker API errors, or print(TO_ALERT,..) calls, in a separate alert box. DIAG recording is stopped at the first critical event, so the details leading to the situation can be evaluated from the black box log (Log\...diag.txt). Recording continues when the alert box is closed.
+LOGMSG Print the log also to the message window.





function run()
  Verbose = 7+DIAG; // extensive messages plus black box recorder 

See also:

LOGFILE, -diag, troubleshooting


► latest version online