Watch how to download trading robots for free
Find us on Telegram!
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:
6594
Rating:
(16)
Published:
2012.09.21 13:24
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

Ivan Kornilov

XLineRegression creates levels based on the linear regression algorithm.

Input parameters:

//+-----------------------------------+
//| Input parameters of the indicator |
//+-----------------------------------+
input int days=90; // number of days for average
input int period1 = 40; // period of the linear regression
input double step = 0.3; // step between the lines
input int degree=1; // regression degree
input Applied_price_ price=PRICE_CLOSE;//price constant
/* , used for calculation of the indicator ( 1-CLOSE, 2-OPEN, 3-HIGH, 4-LOW, 
  5-MEDIAN, 6-TYPICAL, 7-WEIGHTED, 8-SIMPL, 9-QUARTER, 10-TRENDFOLLOW, 11-0.5 * TRENDFOLLOW.) */
input int Shift=0; // horizontal shift of the indicator in bars 

XLineRegression

XLineRegression

This indicator was first implemented in MQL4 and published in Code Base at mql4.com 14.03.2012 (in Russian). 

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

RSI-Crossover_Alert RSI-Crossover_Alert

The simplest semaphore indicator having alerts and providing the possibility to send signals to a mailbox and a smartphone.

RVI-Crossover_Alert RVI-Crossover_Alert

The simplest semaphore indicator having alerts and providing the possibility to send signals to a mailbox and a smartphone.

XRSX_BB_HTF XRSX_BB_HTF

This indicator is a modified version of RSI that can be placed on a chart having another timeframe. It also allows users to change RSI and the signal line's smoothing algorithms.

SpudsStochastic SpudsStochastic

8 Stochastic oscillators (%K 6, 9, 12, 14, 16, 19, 21, 24).