一个更精度的平滑涵数, 可用于股票交易系统.用于Amibroker 平台
源代码在线查看: bollinger oscillator.afl
//------------------------------------------------------------------------------
//
// Formula Name: Bollinger oscillator
// Author/Uploader: Tomasz Janeczko
// E-mail: tj@amibroker.com
// Date/Time Added: 2001-06-16 08:01:18
// Origin: Bollinger bands and related oscillators were developed by John Bollinger
// Keywords: bollinger,standard deviation
// Level: basic
// Flags: indicator
// Formula URL: http://www.amibroker.com/library/formula.php?id=4
// Details URL: http://www.amibroker.com/library/detail.php?id=4
//
//------------------------------------------------------------------------------
//
// A simple example of using StDev function
//
//------------------------------------------------------------------------------
/* Bollinger Oscillator */
Graph0 = ( CLOSE - MA( CLOSE, 14 ) )/ StDev( CLOSE, 14);