一个更精度的平滑涵数, 可用于股票交易系统.用于Amibroker 平台

源代码在线查看: ao+ momentum indicator.afl

软件大小: 1290 K
上传用户: myc
关键词: Amibroker 精度 股票
下载地址: 免注册下载 普通下载 VIP

相关代码

				//------------------------------------------------------------------------------
				//
				//  Formula Name:    AO+ Momentum indicator
				//  Author/Uploader: Steve Wiser 
				//  E-mail:          slwiserr@erols.com
				//  Date/Time Added: 2001-07-05 19:06:27
				//  Origin:          
				//  Keywords:        
				//  Level:           semi-advanced
				//  Flags:           indicator
				//  Formula URL:     http://www.amibroker.com/library/formula.php?id=55
				//  Details URL:     http://www.amibroker.com/library/detail.php?id=55
				//
				//------------------------------------------------------------------------------
				//
				//  Supports the William's Alligator Trend following system
				//
				//------------------------------------------------------------------------------
				
				/* Exploration, System and Indicator */
				    Author: Steve Wiser
				   Email address: slwiserr@erols.com
				   May 5, 2001 */
				
				outsidebar = outside();
				insidebar = H = Ref(L,-1);
				upbar = H > ref(H,-1) and L >= ref(L, -1);
				downbar = L < ref(L,-1) and H 				barcolor=iif(outsidebar, 1, 
				               iif(downbar,   4, 
				               iif(upbar,        5, 
				               iif(insidebar,6, 0 ) ) ) );
				
				/*barcolor=
				      iif(outsidebar, 1, iif(downbar, 4, iif(upbar,5, 0) ) );*/
				
				
				var1=ma( A , 34);
				var2=ma( A,5);
				graph0=var2-var1;
				Graph0Style=2+4;
				graph1=wilders(var2-var1,5);
				Graph1Style=4+1;
				Graph0BarColor=Barcolor;
							

相关资源