Download MetaTrader 5

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

2008.06.22 13:05
Linear Regression Indicator

Linear Regression Indicator - indicator for MetaTrader 4

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

Views:
19734
Rating:
votes: 6

The indicator is completely analogous to indicator LSMA Color published in CodeBase, except only one thing. It works much faster.

Parameters:

extern int period=34; // Regression calculating period
extern int price=0; // Price used for calculations 0-Close, 1-Open, 2- High, 3-Low, etc.
extern int Shift=0; // Chart shift when drawing
extern bool bPlaySound=true; // Playing a sound when changing color
extern string SoundName="alert.wav"; // Wave file
extern int CheckBar=0; // Bar, on which the color changing is controlled

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

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

TickRecorder TickRecorder

Continuously records tick data in format "DateTime, Bid, Ask, Volume" even after restart.

Lot Rebate Calculator Lot Rebate Calculator

This script is used to calculate lot rebate.