Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Indicatori

TrendLinearReg - indicator for MetaTrader 5 - indicatore per MetaTrader 5

Visualizzazioni:
8433
Valutazioni:
(12)
Pubblicato:
2022.12.27 22:30
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

(Conversion from https://www.mql5.com/en/code/7883)

How a trend changes? How to determine a flat? How to trade? ... etc. This indicator will help to answer these questions. 

If you assume that the trend within N bars is a straight line you can calculate the parameters of that line. You know the equation of the straight line from the school, it is y = bx + с. The inclination of the line is characterized by the "b" coefficient or tangent of the angle of slope. The indicator calculates this parameter using the linear regression on every bar and display it in a separate window. If the color is green it means that the value is greater than the previous one, i.e. the angle of slope increases, the red color means the opposite.



In sober fact, the "b" coefficient in the context of the charts is formed by two coefficients: tangent of the angle of the line and the coefficient that characterizes the currency pair (probably Point), so the scale of the indicator is different on different currency pairs.

How to use the indicator? I think there are several variants:

1. crossing the zero line.

2. maximum value passage.

3. if you determined a zone near the zero line then it is a flat and you can trade on a break through.

If any one has the ideas of how to improve the indicator or how else it can be used I will appreciate.


    Volumes Spread mod Volumes Spread mod

    Volumes Spread mod

    Smooth Algorithms - Corrected/Modified Smooth Algorithms - Corrected/Modified

    Smooth Algorithms - Corrected/Modified

    Samy Thuillier Trader Options Dérivées Samy Thuillier Trader Options Dérivées

    Parmis les 5% des traders les plus performant du desk ''Options Dérivées'' de la Société Générale. PnL 22MEUR entre 01/01/2022 au 27/12/2022

    Time Segmented Volume (TSV) Time Segmented Volume (TSV)

    Based on the original “Time Segmented Volume (TSV)” developed by Worden Brothers, Inc.