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

Indicators

Prevailing_Trend - indicator for MetaTrader 5

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

Views:
1269
Rating:
votes: 9
Published:
2018.06.06 13:35

The Prevailing Trend oscillator shows the prevailing trend as two components - the bullish and the bearish one, which are represented as two indicator lines: Up for the bullish component and Down for the bearish one. If the bullish line is above the bearish one, the bullish trend prevails in the market, and vice versa.

The indicator has two input parameters:

  • Period - calculation period;
  • Method - calculation method.

Calculation:

Up = the Moving Average of bullish candlesticks for the period
Down = the Moving Average of bearish candlesticks for the period

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/20378

PR PR

Period Range

PPMCC PPMCC

Pearson product-moment correlation coefficient

PVI PVI

Positive Volume Index

SMI SMI

The Smart_Money_Index indicator