Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
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

Views:
5066
Rating:
(10)
Published:
2018.06.06 13:35
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
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