stochastic osi & obi.afl

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

AFL
29 行
字号
//------------------------------------------------------------------------------
//
//  Formula Name:    Stochastic OSI & OBI
//  Author/Uploader: Dimitris Tsokakis 
//  E-mail:          
//  Date/Time Added: 2002-03-24 14:28:53
//  Origin:          
//  Keywords:        
//  Level:           advanced
//  Flags:           indicator
//  Formula URL:     http://www.amibroker.com/library/formula.php?id=178
//  Details URL:     http://www.amibroker.com/library/detail.php?id=178
//
//------------------------------------------------------------------------------
//
//  An example Of Overbought Issues (OBI) and Oversold Issues(OSI), based on
//  Stochastic(14), smoothed, complementary to RSIobi and RSIosi.
//
//------------------------------------------------------------------------------

/*STOCHD OSI OBI*/
s1=StochD(14);
os=s1<=30;
ob=s1>70;
values11 = os>0;
values12= ob>0;
AddToComposite(Values11,"~stochdosi","V");
AddToComposite(Values12,"~stochdobi","V");
Buy=0;

⌨️ 快捷键说明

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