Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2017.03.14 11:42
Libraries

Messages Helpers - library for MetaTrader 4

| English Español Português 日本語 Deutsch

Views:
431
Rating:
votes: 3
Messages.mqh (17.14 KB)view

Provides various helper functions for sending messages of different types to different sources.

‌‌Available message types:

  • D‌EBUG
  • NOTICE
  • WARNING
  • ERROR
  • SUCCESS
  • INFO

A‌vailable destination sources:

  • Print() function
  • Alert() function
  • MessageBox() function
  • SendNotification() function
  • SendMail() function

P‌rovides external variable which controls debug mode. If disabled, debug messages will not be printed.‌

U‌sage example:

#include <Messages.mqh>

// ....

debug("Print debug message");
debugAlert("Alert debug message");
debugMessageBox("Show debug message box");
debugNotify("Send debug notification");
debugMail("Send debug mail");

notice("Print notice message");
noticeAlert("Alert notice message");
noticeMessageBox("Show notice message box");
noticeNotify("Send notice notification");
noticeMail("Send notice mail");

warning("Print warning message");
warningAlert("Alert warning message");
warningMessageBox("Show warning message box");
warningNotify("Send warning notification");
warningMail("Send warning mail");

error("Print error message");
errorAlert("Alert error message");
errorMessageBox("Show error message box");
errorNotify("Send error notification");
errorMail("Send error mail");

success("Print success message");
successAlert("Alert success message");
successMessageBox("Show success message box");
successNotify("Send success notification");
successMail("Send success mail");

info("Print info message");
infoAlert("Alert info message");
infoMessageBox("Show info message box");
infoNotify("Send info notification");
infoMail("Send info mail");

Zig Zag & Fibonacci Zig Zag & Fibonacci

One of the best indicators about with a slight tweak to make it less noisy. Shows ZigZag lines to help spot cycles and draws Fibonacci lines to indicate support and resistance levels.

Dsl - DMI oscillator Dsl - DMI oscillator

DSL - DMI oscillator

Ultra - ATR scalping tool Ultra - ATR scalping tool

Experimental indicator I wrote for myself. It's made to show some reference (it's more like a rifle scope, than a rifle). Main components are pip scale, ATR/pivot, MA level, RSI, and spread alert. Can be used on any timeframe, but since it's made for scalping it is somewhat adjusted for M1-M15.

Detrended Synthetic Price (histo) Detrended Synthetic Price (histo)

Detrended Synthetic Price (histogram form)