Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Bibliothèque

Messages Helpers - bibliothèque pour MetaTrader 4

Vues:
8325
Note:
(13)
Publié:
2017.03.14 11:42
Messages.mqh (17.14 KB) afficher
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

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)