《股票-将飞狐成通达信公式.docx》由会员分享,可在线阅读,更多相关《股票-将飞狐成通达信公式.docx(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、将飞狐转成通达信公式请高手将下面飞狐转成通达信公式,谢谢!input:n(20,5,100),p1(3,1,50);T1:=PEAKBARS(h,P1,1);gd:=(T1=0);h2:=h*gd;a:=HHVBARS(h2,n);d:=if(a=0,1,a);b:=HHVBARS(h2,d);HSP:=HHVBARS(H,n);CK1:=barpos=datacount-HSPdatacount;CK2:=barpos=datacount-bdatacount;LINEVALUE(CK1,H,ck2,H,0,0);ZX:=ZIG(l,P1);t2:=TROUGHBARS(l,p1,1);dd
2、:=t2=0;da:=llvbars(l,n);dt:=if(da=0,1,da);db:=llvbars(l*dd,dt);lk1:=barpos=datacount-dadatacount;lk2:=barpos=datacount-t2datacount;趋势线:linevalue(lk1,l,lk2,l,0,0);xg:cross(c,趋势线).tshuz_answer_btnmargin:20px0;display:inline-block;.tshuz_answermargin:20px0;border:1pxsolid#efefef;padding:10px;border-rad
3、ius:4px;position:relative;font-family:MicrosoftYaHei,Arial,Helvetica,sans-serif!important;background:#f9fbfburl(source/plugin/tshuz_answer/img/bg.png)no-repeatleft10pxtop;background-size:40px;font-size:14px;.reply_tipmargin-left:20px;padding-left:20px;border-left:1pxdashed#cdcdcd;.want_replytext-dec
4、oration:none!important;background:#FF0000;color:#fff!important;padding:3px10px;border-radius:3px;.tshuz_answerh3margin-top:-15px;height:40px;line-height:40px;padding-left:50px;color:#FF0000;display:inline-block;line-height:52px;.tshuz_answerptext-indent:2em;color:#666;line-height:20px;margin-top:15p
5、x;.tshuz_answerpatext-decoration:none!important;color:#999;.tshuz_answer.reply_endcolor:#999;font-size:12px;.tshuz_answer.reply_end.davaborder-radius:100%;height:20px!important;vertical-align:middle;padding:2px;border:1pxsolid#cdcdcd;.tshuz_answer.reply_endapadding:05px;text-decoration:none!important;#threadstamp-wdposition:absolute;top:-30px;right:80px;width:100px;height:100px;本帖寻求各位教师的解答注册1112021-11-3009:24发表回复被股木采纳,获得奖励分享币5个»-本帖所提出的问题已经获得完美解决,详细答案请看这里假如互助答疑不能解决需求,可以到?威客任务?发布有偿悬赏。
限制150内