MQL4 - automated forex trading   /  

Code Base

Code Base  Indicators  Disparity Index To post a new code, please log in or register

Download MetaTrader 5 and visit MQL5.community Code Base
and Trade on the Go!
Prepare for the Championship
Couldn't find the right code? Order it in the Jobs section

This library is for
MetaTrader 4
Download MT 4 - 455 Kb

and Trade on the Go!

Name:
Disparity Index
Author: Linuxser (2007.05.10 11:16)
Downloaded: 2774
Download:
 Disparity Index.mq4 (2.1 Kb) View

Steve Nison refers to his Disparity Index as "a percentage display of the latest close to a chosen moving average." This can be defined mathematically using the formula:

 

[ C - Mov(C,X,MA ) ]
[Mov(C,X,MA) ] * 100


Where X is the number of time periods and MA is the calculation type of the moving average. For more in depth interpretation of the Disparity Index refer to Steve Nison's book "Beyond Candlesticks", Chapter 5


2 comments  To post a new comment, please log in or register

Looks symilar to Force index provided with Meta Trader.

walsz

30.05.2007 07:02 walsz
breakmov wrote:

Linuxser,just one question/observation :) .......

why do you have "A/(B*100) " insted of "(A/B)*100" ?




breakmov


Visual result is the same, only the scale changes.
10.05.2007 15:39 Linuxser