MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

MQL5 Search is the Best Way to Find Quickly What You Need
To post a new code, please log in or register

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2008.02.02 10:37
Chaikin Oscillator

Chaikin Oscillator - indicator for MetaTrader 4

| English Spanish Portuguese Russian Chinese

Views:
6211
Rating:
votes: 2
CHO.mq4 (2.8 KB)view

First, Chaikin Accumulation/Distribution (Volume Accumulation, VA) is calculated:

     VA = {[(Close - Low) - (High - Close)] / (High - Low)}*Volume
   
Then Chaikin Oscillator is calculated:

     CHO = SMA(VA, m) - SMA(VA, n),

where:
     m is the higher order of the average;
     n is the lower order of the average.



Translated from Russian by MetaQuotes Software Corp.
Original code: http://www.mql5.com/ru/code/7761