飞狐中的亚当预测.亚当理论等公式,能在大智慧/同花顺/通达信/分析家/等股软中应用吗?
[同花顺] 3万
大庆老杨老师及各位高手老师: 您好!请问飞狐中的亚当预测等公式,能改成在大智慧/同花顺/通达信/分析家/等股软中应用的公式吗?恳请指点,谢谢! 附亚当预测公式: fbars:=SYSPARAM(1)-1; tj:=barssince(c)>fbars-50; fc:=c; fo:=o; fl:=l; fh:=h; <% vbars=ffl.vardata("fbars") vc=ffl.vardata("fc") vo=ffl.vardata("fo") vh=ffl.vardata("fh") vl=ffl.vardata("fl") vend=ubound(vc) n=50 if vbars<=vend and vbars>vend-vbars+n then redim temp(vend-vbars+n,3) for i=2*vbars-vend-n to vbars ii=i+vend-2*vbars+n temp(ii,0)=2*vc(vbars)-vo(i) temp(ii,1)=2*vc(vbars)-vh(i) temp(ii,2)=2*vc(vbars)-vl(i) temp(ii,3)=2*vc(vbars)-vc(i) next for i=vbars-n to vend ii=vend-i vo(i)=temp(ii,3) vh(i)=temp(ii,2) vl(i)=temp(ii,1) vc(i)=temp(ii,0) next ffl.vardata("fc")=vc ffl.vardata("fo")=vo ffl.vardata("fh")=vh ffl.vardata("fl")=vl end if %> STICKLINE(fo>=fc and tj,fl,fh,0.1,0),colorblue,shift50; STICKLINE(fo>=fc and tj,fo,fc,8,0),colorblue,shift50; STICKLINE(fo<fc and tj,fl,fh,0.1,1),colormagenta,shift50; STICKLINE(fo<fc and tj,fo,fc,8,1),colormagenta,shift50; VERTLINE(ISLASTBAR),COLORYELLOW,POINTDOT; m2:ma(c,2); m5:ma(c,5); |
延展阅读
楼主 |
2楼 |
3楼 |
4楼 |
5楼 |
6楼 |
7楼 |
8楼 |
9楼 |
10楼 |
11楼 |
12楼 |