Watch how to download trading robots for free
Find us on Facebook!
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
Views:
3143
Rating:
(10)
Published:
2018.06.06 12:42
RTL.mq5 (8.12 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Recursive Trendline (RTL) indicator shows the trend as a recursive line.

It has two parameters:

  • Period - calculation period;
  • Applied price - price used for calculations.

Calculation formula:

RTL[i] = (1 - Alpha)*RTL[i-1] + Alpha*(Price[i] + b0[i] - b0[i-1]),
TOSC[i] = (RTL[i] - EMA(Period, Price))

where

Alpha = 2/(Period + 1)
b0[i] = (1 - Alpha)*b0[i-1] + Price[i]

Possible interpretation: if the line is below the price - Buy, if the line is above the price - Sell.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20271

PVT PVT

Price Volume Trend (PVT) is an indicator of price trend and volume, similar to the standard On Balance Volume (OBV) indicator.

Period_Open_Line Period_Open_Line

The indicator shows the open price of a period.

TOSC TOSC

A Trend Oscillator.

TTMS TTMS

John Carter TTM Squeeze - an indicator of trend zones.