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

2013.01.25 15:26

RoundPriceAlert - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 16


It is statistically proved that the market very often reacts to changes in behavior on the "round levels" of price. Psychologically, a man is ready to change something reaching the round number. For example, start losing weight on Monday, quit smoking on the 20th, to close the deal at 1.6000.

The RoundLevels indicator has been developed for this. It gives signals fixing "round levels" of price in all historical range of the price values of the selected currency pair.

The indicator can give the following variants of the signals:

  • Sound signal;
  • Alert;
  • Push-notification to the smartphone;
  • The message to the email, mailbox.

The following indicator parameters are available for a trader to control signals:

input bool On_Push = false;                        //push-notifications input
input bool On_Email = false;                       //email input
input bool On_Alert = true;                        //alert input
input bool On_Play_Sound = false;                  //sound signal input
input string NameFileSound = "expert.wav";          //the name for sound signal
input string  CommentSirName="RoundPriceAlert: ";    //the first part of the alert-comment
input uint RoundDigits=3;                         //the number of zeros in the digits
input uint SignalPause=5;                         //the interval in minutes between signals


Fig.1 The alert using the RoundPriceAlert indicator

Fig.1 The alert using the RoundPriceAlert indicator 

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

TypeToBytes TypeToBytes

Byte-wise operation with structures and standard data types.

PriceLines PriceLines

Script for drawing a price markup.