⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ergodic oscillator.afl

📁 一个更精度的平滑涵数, 可用于股票交易系统.用于Amibroker 平台
💻 AFL
字号:
//------------------------------------------------------------------------------
//
//  Formula Name:    Ergodic Oscillator
//  Author/Uploader: Prakash Shenoi 
//  E-mail:          
//  Date/Time Added: 2006-08-10 10:08:00
//  Origin:          
//  Keywords:        
//  Level:           basic
//  Flags:           indicator
//  Formula URL:     http://www.amibroker.com/library/formula.php?id=672
//  Details URL:     http://www.amibroker.com/library/detail.php?id=672
//
//------------------------------------------------------------------------------
//
//  Ergodic Oscillator uses a double-smoothed ratio of the difference between
//  the Close and Open prices and the difference between High and Low. The
//  default periods of average1 is between 11 and 32 and the default of
//  average2 ranges between 4 and 13, which can be varied by right clicking the
//  Param function.
//
//------------------------------------------------------------------------------

/*Ergodic Oscillator */

/*Coded by Prakash Shenoi */

x=Param(" Average 1",11,2,32);
y=Param(" Average 2",4,3,12);
erg=(EMA(EMA(C-O,x),y)/EMA(EMA(H-L,x),y))*100;
Sg=EMA(erg,5);
Plot (erg,"Ergodic Oscillator ",styleLine,1);
Plot (Sg,"Signal",colorRed,styleLine,1);
GraphXSpace=3; 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -