花果山的猫 发表于 2013-7-22 12:28:24

威廉%R源代码


主题:
Williams Percent Range, %R

创建人:MetaQuotes (2005.12.16 14:58 )
已下载:762
下载:
http://www.mql4.com/i/ico/mq4.gif WPR.mq4 (2.3 Kb) View
http://www.mql4.com/i/ico/gif.gif %r.gif (9.6 Kb)



    Williams’ Percent Range Technical Indicator (%R) is a dynamic technical indicator, which determines whether the market is overbought/oversold. Williams’ %R is very similar to the Stochastic Oscillator. The only difference is that %R has an upside down scale and the Stochastic Oscillator has internal smoothing.
   To show the indicator in this upside down fashion, one places a minus symbol before the Williams Percent Range values (for example -30%). One should ignore the minus symbol whenconducting the analysis.
Indicator values ranging between -80 and -100% indicate that the market is oversold. Indicator values ranging between -20% and 0 indicate that the market is overbought.
   As with all overbought/oversold indicators, it is best to wait for the security’s price to change direction before placing your trades. For example, if an overbought/oversold indicator is showing an overbought condition, it is wise to wait for the security’sprice to turn down before selling the security.
An interesting phenomenon of the Williams Percent Range indicator is its uncanny ability to anticipate a reversal in the underlying security’s price. The indicator almost always forms a peak and turns down a few days before the security’s price peaks and turns down. Likewise, Williams Percent Range usually creates a trough and turns up a few days before the security’s price turns up.
    Calculation
Below is the formula of the %R indicator calculation, which is very similar to the Stochastic Oscillator formula:
%R = -(HIGH(i-n)-CLOSE)/(HIGH(i-n)-LOW(i-n))*100
Where:
CLOSE — is today’s closing price;
HIGH(i-n) — is the highest high over a number (n) of previous periods;
LOW(i-n) — is the lowest low over a number (n) of previous periods.

紫竹青荷 发表于 2013-7-22 20:29:22

紫竹青荷 发表于 2013-7-22 20:29:38

看看看看,,,,,,,

核工记 发表于 2014-11-8 13:09:02

看看是什么东西啊

yeju147 发表于 2014-11-8 13:09:02

看看什么EA,,,

llb1986 发表于 2014-11-8 13:09:06

路过。。看下先。

夜人防 发表于 2014-11-10 02:32:29

回复看看

凯民 发表于 2016-8-7 13:07:10

看看看看,ddddddddddddd

心冷 发表于 2018-9-7 09:45:16

前排支持下分享

爱你两世 发表于 2020-8-24 12:14:55

学习了,不错
页: [1] 2
查看完整版本: 威廉%R源代码