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


Stalin - indicator for MetaTrader 5

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

Published by:
Nikolay Kositsin
votes: 20
2011.10.20 15:57
2016.11.22 07:32
stalin.mq5 (9.42 KB)view

Real author:

Andrey Vassiliev

Stalin is one of the so-called "signal" indicators, as it provides a trader with accurate market entry points marking them by red and blue arrows for selling and buying respectively.

This indicator uses the most popular, simple and proven method - crossing of two Moving Averages. Though such signals are one of the strongest ones, they become false during flat movements and their quantity on the market increases in the manner sufficient to let your deposit diminish considerably. Therefore, three filter types are implemented in this indicator:

  • the filter based on the RSI indicator (Relative Strength Index);
  • movement confirmation filter;
  • side trend signals filter.

These filters let the indicator eliminate most of false signals.

Input parameters:

  • MAMethod – moving averages smoothing method:
    0 – SMA,
    1 – EMA,
    2 – SMMA,
    3 – LWMA;
  • MAShift – shift of moving averages relative to a price chart;
  • Fast – "fast" Moving Average period;
  • Slow – "slow" Moving Average period;
  • RSI – RSI period for signals filtration;
  • Confirm – confirmation ratio;
  • Flat – flat state confirmation ratio;
  • SoundAlert – audio alert on/off;
  • EmailAlert – e-mail alert on/off.

Parameters description:

Confirm parameter is responsible for one of the indicator filters designed to confirm the start of the price movement. That, in its turn, confirms that we enter the market in the right direction;

Flat parameter also participates in false signals filtration but this parameter is responsible for flat and market movements recognition when it is too risky to enter the market.

Application in trading:

it is quite easy to use it in trading, a trader must follow its signals on a chart or turn on the audio alert.

If we examine its history, we can notice that the number of accurate signals delivered by the indicator is considerable but not all of these potential deals would have been profitable. Therefore, it would be better to use this indicator with one of the oscillators that can show the moments to exit the market in case of the first reverse signals.

Stalin indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

iSimpleClock iSimpleClock

This indicator shows the simple clock in comment.

Schaff Trend Cycle Schaff Trend Cycle

Schaff Trend Cycle indicator is a cyclical oscillator created by calculating the stochastic over MACD line using cycles. As a result, the developers managed to achieve more stable and reliable results of the indicator script operation.


Relative strength index with dynamically changing oversold/overbought levels and the possibility to select smoothing algorithm.


Commodity channel index having possibility to select smoothing algorithm and dynamically changing oversold/overbought levels.