公式网-网站导航


网站搜索:  

公式在线 发表于2009/11/25 7:44:05

趋势线数据公式

 

C/C++ Code复制内容到剪贴板
  1. a1:=REF(H,N)=HHV(H,2*N+1);   
  2. a2:=BACKSET(A1,N+1);   
  3. a4:= FILTER(a2,N) and H=HHV(H,N+1);   
  4. a5:=BARSlast(a4);   
  5. a6:=ref(H,a5);   
  6. a7:=ubound(a6);   
  7.    for i=1 to a7 do    
  8.   aa1:=a6(i);   
  9. aa2:=a6(i+1);   
  10. if aa2<aa1 then   
  11. aa3:linevalue(aa1,H, aa2,H,0,0);   
  12. end  

 



网站搜索:  



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