garythompson.afl

来自「一个更精度的平滑涵数, 可用于股票交易系统.用于Amibroker 平台」· AFL 代码 · 共 40 行

AFL
40
字号
//------------------------------------------------------------------------------
//
//  Formula Name:    garythompson
//  Author/Uploader: Gary Thompson 
//  E-mail:          picard@ten-forward.co.uk
//  Date/Time Added: 2005-04-07 06:29:05
//  Origin:          
//  Keywords:        
//  Level:           basic
//  Flags:           indicator
//  Formula URL:     http://www.amibroker.com/library/formula.php?id=454
//  Details URL:     http://www.amibroker.com/library/detail.php?id=454
//
//------------------------------------------------------------------------------
//
//  Bill Williams Awesome Oscillator ( a momentum Oscillatr) based on the
//  profitunity trading approach. See "Trading Chaos" Bill williams for full
//  description
//
//------------------------------------------------------------------------------

/* Awesome Oscillator code for Amibroker
	Written By Gary Thompson 
	07th April 2005  */


SlowMA=MA( Avg ,34);
FastMA=MA( Avg,5);

barcolor= IIf((SlowMA - FastMA) <= Ref(SlowMA - FastMA, -1),colorGreen,colorRed); 
               
Graph0=FastMA-SlowMA;
Graph0Style=2+5;
Graph0BarColor=barcolor;

/* the following is to put the 5 period signal line on the oscillator if you choose*/

/*Graph1=Wilders(SlowMA-FastMA,5);
Graph1Style=4+1;*/

⌨️ 快捷键说明

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