Unisciti alla nostra fan page
Trend Strength Index - indicatore per MetaTrader 4
- Visualizzazioni:
- 2844
- Valutazioni:
- Pubblicato:
- 2024.08.06 08:23
- Aggiornato:
- 2024.08.13 13:59
- Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
The Trend Strength Index indicator measures strength of current trend. Basically it is similiar to a simplified auto regression indicator, because Correlation function calculates the Pearson correlation coefficient between two sets of data: the closing prices and the bar indices over a specified length. This coefficient ranges from -1 to 1, indicating the strength and direction of the linear relationship between the index of the bar and bar close price.
Interpretation:
- A value near 1 means strong uptrend with small deviation to the mean.
- A value near -1 means strong downtrend with small deviations to mean.
- A value near 0 means that there is possibly a flat.
This code can detect if its a friday of the first week of the month. It is usually to detect days with NFP. Sone trader dont want to trade at that day. Maybe this code can help some one who need it
DPO - MA modified - MT4change of MA curve to horizontal line and DPO curve shall represent the distance from close price to zero level (or MA curve)
Example: Moving Average indicator filling by different colors
MACD SampleClassical MACD Sample.