- June 12, 2013
- Posted by: Forex Wiki Team
- Category: FX Ind
No Comments
1595
1467
Contents
Name: |
|
||
Author: | karcewzrokiem (2011.06.20 14:31) | ||
Downloaded: | 2735 | ||
Download: |
|
||
Description:This indicator calculates correlation between MAs of different periods. Lines:
Parameters (self explainable) : //---- input parameters extern string ________________01="List of MAs, eg form fiobo: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597"; extern string listMA="1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233"; extern string ________________02="MA to check SORT DEGREE"; extern int MAcheck=8; extern string ________________10="MA sort type"; extern int MAmethod = 1;Â Â Â Â Â Â Â Â Â Â Â Â Â Â // iMA moving average method:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â //Â Â Â Â Â Â Â Â Â Â 0Â Â Â Â Simple moving average, Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â //Â Â Â Â Â Â Â Â Â Â 1Â Â Â Â Exponential moving average, Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â //Â Â Â Â Â Â Â Â Â Â 2Â Â Â Â Smoothed moving average, Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â //Â Â Â Â Â Â Â Â Â Â 3Â Â Â Â Linear weighted moving average. Image: |