下载MetaTrader 5

请观看如何免费下载自动交易

有趣的脚本?
因此发布一个链接 -
让其他人评价

喜欢这个脚本? 在MetaTrader 5客户端尝试它

2005.12.20 15:38
指标

Standard Deviation, StdDev - MetaTrader 4脚本

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

显示:
1645
等级:
投票: 8


The Standard Deviation Indicator (StdDev) measures the market volatility. This indicator describes the price standard deviation value relative to the moving average.

The higher the Standard Deviation is, the more instable (volatile) the market is, i.e., bars prices are rather dispersed relative to the moving average. Opposite, the lower the deviations is, the more immovable the market is, i.e., the bars prices are approaching to the moving average very much. It is known, however, that the market dynamics consists in interchange of quiet periods and activity spikes.

So, the approach to this indicator is simple:

  • if the indicator value is too low (i.e., if the market is completely calm), it would be reasonable to expect the activity spike soon;

  • on the contrary, if the indicator is extremely high, this means that the activity will slow down soon.

Calculation

StdDev (i) = SQRT (AMOUNT (j = i - N, i) / N)

AMOUNT (j = i - N, i) = SUM ((ApPRICE (j) - MA (ApPRICE (i), N, i)) ^ 2)

where:
StdDev (i) — Standard Deviation of the current bar;
SQRT — square root;
AMOUNT(j = i - N, i) — sum of squares from j = i - N till i;
N — smoothing period;
ApPRICE (j) — the applied price of the j-th bar;
MA (ApPRICE (i), N, i) — any moving average of the current bar for N periods;
ApPRICE (i) — the applied price of the current bar.


Technical Indicator Description

Full description of StdDev is available in the Technical analysis: Standard Deviation

本文译自 MetaQuotes Software Corp. 撰写的俄文原文
官方代码: https://www.mql5.com/ru/code/8022

Force Index, FRC Force Index, FRC

Force Index Indicator measures the Bulls Power at each increase, and the Bulls Power at each decreas

Williams Percent Range, %R Williams Percent Range, %R

Williams’ Percent Range Indicator (%R) is a dynamic technical indicator, which determines whether th

Money Flow Index, MFI Money Flow Index, MFI

Money Flow Index (MFI) is the indicator, which indicates the rate at which money is invested into a

Relative Vigor Index, RVI Relative Vigor Index, RVI

The main point of Relative Vigor Index Indicator (RVI) is that on the bull market the closing price