:{顶部起点画线法}_hy.alg
名称: {顶部起点画线法}类别:技术指标
说明:
公式组: *雪缘指标
转向:zig(3,10),linethick2,colorffb97a;
hh:hhv(high,n);
ll:llv(low,n);
<%
vh=ffl.vardata("hh")
vl=ffl.vardata("ll")
vn=ffl.vardata("n")
last=ubound(vh)
if vn>last then vn=last+1
for i=last to last-vn+1 step-1
vh(i)=vh(last)
vl(i)=vl(last)
next
ffl.vardata("hh")=vh
ffl.vardata("ll")=vl
ffl.varstartindex("hh")=last-vn+1
ffl.varstartindex("ll")=last-vn+1
%>
hh,colorffff;
drawtext(close>0 and islastbar=1,hh,'【顶部起点】↓'),colorffff;
drawnumber(barscount(ll)=n-(n-1),hh,hh,2),align2,colorffff;
hh-(hh-ll)*0.809,pointdot,linethick1,colorffff;
drawtext(close>0 and islastbar=1,hh-(hh-ll)*0.809,' 0.809↓'),colorffff;
drawnumber(barscount(ll)=n-(n-1),hh-(hh-ll)*0.809,hh-(hh-ll)*0.809,2),align2,colorffff;
hh-(hh-ll)*0.618,pointdot,linethick1,colorffff;
drawtext(close>0 and islastbar=1,hh-(hh-ll)*0.618,' 0.618↓'),colorffff;
drawnumber(barscount(ll)=n-(n-1),hh-(hh-ll)*0.618,hh-(hh-ll)*0.618,2),align2,colorffff;
hh-(hh-ll)*0.5,pointdot,linethick1,colorffff;
drawtext(close>0 and islastbar=1,hh-(hh-ll)*0.5,' 0.500↓'),colorffff;
drawnumber(barscount(ll)=n-(n-1),hh-(hh-ll)*0.5,hh-(hh-ll)*0.5,2),align2,colorffff;
hh-(hh-ll)*0.382,pointdot,linethick1,colorffff;
drawtext(close>0 and islastbar=1,hh-(hh-ll)*0.382,' 0.382↓'),colorffff;
drawnumber(barscount(ll)=n-(n-1),hh-(hh-ll)*0.382,hh-(hh-ll)*0.382,2),align2,colorffff;
hh-(hh-ll)*0.301,pointdot,linethick1,colorffff;
drawtext(close>0 and islastbar=1,hh-(hh-ll)*0.301,' 0.301↓'),colorffff;
drawnumber(barscount(ll)=n-(n-1),hh-(hh-ll)*0.301,hh-(hh-ll)*0.301,2),align2,colorffff;
hh-(hh-ll)*0.14,pointdot,linethick1,colorffff;
drawtext(close>0 and islastbar=1,hh-(hh-ll)*0.14,' 0.140↓'),colorffff;
drawnumber(barscount(ll)=n-(n-1),hh-(hh-ll)*0.14,hh-(hh-ll)*0.14,2),align2,colorffff;
ll,colorffff;
drawtext(close>0 and islastbar=1,ll,'〖黄金分割〗↓'),colorffff;
drawnumber(barscount(ll)=n-(n-1),ll,ll,2),align2,colorffff;
tj1:=hhvbars(vol,30)+1;
r30价:ref(close,barssince(backset(islastbar,tj1))),colorffff;
tj2:=hhvbars(vol,60)+1;
r60价:ref(close,barssince(backset(islastbar,tj2))),colorff;
a:=ref(close,1);
b:=ref(open,1);
s:=(a+b)/2;
stickline(a<>0,s,s,10,1),colorffff;
m2:=close+(high-close)/2;
stickline(close>open,m2,m2,5,1),colorffffff;
m3:=open-(open-low)/2;
stickline(close>open,m3,m3,5,1),colorff00;
m4:=open+(high-open)/2;
stickline(close<open,m4,m4,5,1),colorffffff;
m5:=low+(close-low)/2;
stickline(close<open,m5,m5,5,1),colorff00;
aa:=if(low=2.22 or low=3.33 or low=4.44 or low=5.55 or low=6.66 or low=7.77 or low=8.88 or low=9.99,1,0);
drawtext(aa=1,low*0.98,'★三'),colorff00;
aa1:=if(high=2.22 or high=3.33 or high=4.44 or high=5.55 or high=6.66 or high=7.77 or high=8.88 or high=9.99,1,0);
drawtext(aa=1,low*0.98,'★三'),colorff;
aa2:=if(close=2.22 or close=3.33 or close=4.44 or close=5.55 or close=6.66 or close=7.77 or close=8.88 or close=9.99,1,0);
drawtext(aa=1,low*0.98,'★三'),colorffff;
drawtext(ref(close,2)/ref(open,2)<0.95 and ref(open,1)<ref(close,2) and ref(open,1)=ref(close,1) and close/open>=0.55 and close>ref(close,2),low*0.95,'弃婴子'),colorffff;
drawtext(open>close and open/ref(close,1)>=1+4/100 and close/open<=1-5/100,low*0.98,'冒阴'),colorff00ff;
drawtext(open<close and open/ref(close,1)<=1-4/100 and close/open>=1+7/100,low*0.99,'低开'),colorffff00;
a:=ref(close,1);
b:=ref(open,1);
s:=(a+b)/2;
十八:ma(close,18),linethick2,colorff;
ema18:ema(close,18),linethick2,colorff00;
上一指标公式:牛熊皆准的无未来公式 飞狐未来牛熊皆准指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文顶部起点画线法公式 飞狐画线指标 源码仅供学习研究。