公式网-网站导航


网站搜索:  

公式指标网 发表于2016/4/5 6:52:04

大智慧乖离多空线主图指标

大智慧乖离多空线主图指标

源码

M:=10;

a:=(3*c+l+o+h)/6;
N:=If(Barpos>19,210,210-(20-Barpos)*(21-Barpos)/2);
b:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)
+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,19))/N;
d:=ma(b,m);
乖离:(C-d)/d*100,precis2;

大智慧乖离多空线主图指标



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
公式网-www.gszx.com.cn-股票指标公式网