文件:小主图_hy.alg
名称: 小主图 类别:技术指标
说明:
公式组: 自用
sat:=if(amount/close/(hhv(amount,20)/hhv(close,20))*100>100,100,amount/close/(hhv(amount,20)/hhv(close,20))*100);
drawtextex(1,0,12,5,'量能饱和度:'+numtostr(sat,0)),linethick3,color8000ff;
aa10:ma(close,8),colorff;
aa12:ma(close,12),colorff;
bb10:=(atan(aa10-ref(aa10,1)))*3.1416*10;
bb12:=(atan(aa12-ref(aa12,1)))*3.1416*10;
ma13:=ma(close,13);
fillrgn(aa12<=aa10 and bb12>=1 and bb10>=1,aa10,aa12),color98ff;
fillrgn(aa12>=aa10 and bb10<=1 and bb10<=1,aa10,aa12),colorff00;
x1:=(close+low+high)/3;
bb13:=(atan(ema(x1,13)-ref(ema(x1,13),1)))*3.1416*10;
ema8:=ema(close,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),ema8,'∠45上升'),colorffffff;
压力:ma(ref(hhv(close,30),1),2),color9dffff;
支撑:ma(ref(llv(close,30),1),2),colorabff46;
aa1:=amount/vol;
bb1:=low<aa1*0.9;
cc1:=(close-ref(close,1))/ref(close,1)*100>1.2;
dd1:=low<ma(close,5)*0.921;
ee1:=vol<ma(vol,5)*1.5;
ff1:=bb1 and cc1 and dd1 and ee1;
drawtext(ff1,low*0.99,'老鼠仓'),color4080ff;
a51:=3*sma((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,5,1)-2*sma((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,5,1);
黑马线:=ema(a51,5);
a54:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;
趋势线:=ma(3*sma(a54,6,1)-2*sma(sma(a54,5,1),5,1),2);
drawtext(cross(趋势线,0) and 黑马线<40,high*0.94,'▲'),align0,colorffff;
drawtext(cross(趋势线,0) and 黑马线<40,high*0.92,'大黑马'),colorffff;
lc:=ref(close,1);
rsi:=(sma(max(close-lc,0),3,1))/(sma(abs(close-lc),3,1))*100;
ff:=ema(close,3);
ma15:=ema(close,21);
drawtext(cross(ff,ma15),low*0.99,'底背离'),colora6e500;
drawtext(cross(88,rsi),high*1.02,'顶背离'),color1880ff;
var2:=llv(low,27);
var3:=hhv(high,34);
var4:=ema((close-var2)/(var3-var2)*4,4)*25;
注意买:=if(var4<10,80,100);
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
超跌:=if(j<0,10,0);
bddd:=llv(j,2)=llv(j,8);
买入:=if(cross(j,ref(j+0.01,1)) and bddd and j<20,30,0);
drawtext(买入 and 注意买=100 and 超跌=0,low,'短线'),color8000ff;
mtm:=close-ref(close,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
drawtext(filter(买=1,5),low-0.03,'拉升'),colorffde00;
stickline(close>open,open,low,0.5,0),colorff;
stickline(close>open,close,high,0.5,0),colorff;
stickline(open>=close,close,low,0.5,0),colorff00;
stickline(open>=close,open,high,0.5,0),colorff00;
stickline(open>=close,close,open,7,0),colorff7700;
stickline(open>=close,close,open,6,0),colorff9900;
stickline(open>=close,close,open,5,0),colorffbb00;
stickline(open>=close,close,open,4,0),colorffcc00;
stickline(open>=close,close,open,3,0),colorffdd00;
stickline(open>=close,close,open,2,0),colorffee00;
stickline(open>=close,close,open,1,0),colorffff00;
stickline(close>open,close,open,7,0),color55;
stickline(close>open,close,open,6,0),color66;
stickline(close>open,close,open,5,0),color77;
stickline(close>open,close,open,4,0),color99;
stickline(close>open,close,open,3,0),colorbb;
stickline(close>open,close,open,2,0),colordd;
stickline(close>open,close,open,1,0),colorff;
var9q:=close=hhv(close,4) and (ref(close,1)>=ref(close,2) or ref(close,1)>=ref(close,3)) or ref(close,1)=hhv(close,4) and close>=ref(close,2) or ref(close,2)=hhv(close,4) and ref(close,3)=llv(close,4) and close>=ref(close,1) or ref(close,3)=hhv(close,4) and close>=ref(close,1) and close>=ref(close,2);
stickline(var9q,close,(open+close)/2,7,0),color55;
stickline(var9q,close,(open+close)/2,6,0),color66;
stickline(var9q,close,(open+close)/2,5,0),color77;
stickline(var9q,close,(open+close)/2,4,0),color99;
stickline(var9q,close,(open+close)/2,3,0),colorbb;
stickline(var9q,close,(open+close)/2,2,0),colordd;
stickline(var9q,close,(open+close)/2,1,0),colorff;
varaq:=close=hhv(close,4) and ref(close,1)=llv(close,4);
stickline(varaq,close,(open+close)/2,7,0),colorff11ff;
stickline(varaq,close,(open+close)/2,6,0),colorff33ff;
stickline(varaq,close,(open+close)/2,5,0),colorff55ff;
stickline(varaq,close,(open+close)/2,4,0),colorff77ff;
stickline(varaq,close,(open+close)/2,3,0),colorff99ff;
stickline(varaq,close,(open+close)/2,2,0),colorffbbff;
stickline(varaq,close,(open+close)/2,1,0),colorffddff;
varbq:=close=llv(close,4) and (ref(close,1)<ref(close,2) or ref(close,1)<ref(close,3)) or ref(close,1)=llv(close,4) and close<ref(close,2) or ref(close,2)=llv(close,4) and ref(close,1)<>hhv(close,4) and close<ref(close,1) or ref(close,3)=llv(close,4) and close<ref(close,1) and close<ref(close,2);
stickline(varbq,close,(open+close)/2,7,0),color333333;
stickline(varbq,close,(open+close)/2,6,0),color555555;
stickline(varbq,close,(open+close)/2,5,0),color777777;
stickline(varbq,close,(open+close)/2,4,0),color999999;
stickline(varbq,close,(open+close)/2,3,0),colorbbbbbb;
stickline(varbq,close,(open+close)/2,2,0),colordddddd;
stickline(varbq,close,(open+close)/2,1,0),colorffffff;
varcq:=ref(close,1)=llv(close,4) and close>=ref(close,2) or ref(close,2)=llv(close,4) and ref(close,1)<=ref(close,3) and ref(close,2)<ref(close,4) and close>=ref(close,1);
stickline(varcq,open,(open+close)/2,7,0),color3300;
stickline(varcq,open,(open+close)/2,6,0),color5500;
stickline(varcq,open,(open+close)/2,5,0),color7700;
stickline(varcq,open,(open+close)/2,4,0),color9900;
stickline(varcq,open,(open+close)/2,3,0),colorbb00;
stickline(varcq,open,(open+close)/2,2,0),colordd00;
stickline(varcq,open,(open+close)/2,1,0),colorff00;
vardq:=ref(close,1)=hhv(close,4) and close<ref(close,2) or (ref(close,2)=hhv(close,4) and ref(close,1)>ref(close,3) or ref(close,3)=hhv(close,4) and ref(close,1)>ref(close,2)) and ref(close,2)>=ref(close,4) and close<ref(close,1);
stickline(vardq,open,(open+close)/2,7,0),colorff1100;
stickline(vardq,open,(open+close)/2,6,0),colorff3300;
stickline(vardq,open,(open+close)/2,5,0),colorff5500;
stickline(vardq,open,(open+close)/2,4,0),colorff7700;
stickline(vardq,open,(open+close)/2,3,0),colorff9900;
stickline(vardq,open,(open+close)/2,2,0),colorffbb00;
stickline(vardq,open,(open+close)/2,1,0),colorffdd00;
stickline(close>=open,close,open,7,0),coloraa;
stickline(close>=open,close,open,6,0),colorbb;
stickline(close>=open,close,open,5,0),colorcc;
stickline(close>=open,close,open,4,0),colordd;
stickline(close>=open,close,open,3,0),coloree;
stickline(close>=open,close,open,2,0),colorff;
stickline(close>=open,close,open,1,0),colorff;
stickline(close>=open,high,low,0,0),colorff;
stickline(close<=open,close,open,7,0),coloraaaa00;
stickline(close<=open,close,open,6,0),colorbbbb00;
stickline(close<=open,close,open,5,0),colorcccc00;
stickline(close<=open,close,open,4,0),colordddd00;
stickline(close<=open,close,open,3,0),coloreeee00;
stickline(close<=open,close,open,2,0),colorffff00;
stickline(close<=open,close,open,1,0),colorffff00;
stickline(close<=open,high,low,0,0),colorffff00;
stickline(close/ref(close,1)>1.05,(close+open)/2,close,7,0),coloraaaa;
stickline(close/ref(close,1)>1.05,(close+open)/2,close,5,0),colorcccc;
stickline(close/ref(close,1)>1.05,(close+open)/2,close,3,0),coloreeee;
stickline(close/ref(close,1)>1.05,(close+open)/2,close,1,0),colorffff;
stickline(varbq,close,(open+close)/2,7,0),color333333;
stickline(varbq,close,(open+close)/2,6,0),color555555;
stickline(varbq,close,(open+close)/2,5,0),color777777;
stickline(varbq,close,(open+close)/2,4,0),color999999;
stickline(varbq,close,(open+close)/2,3,0),colorbbbbbb;
stickline(varbq,close,(open+close)/2,2,0),colordddddd;
stickline(varbq,close,(open+close)/2,1,0),colorffffff;
ss:=30;
hhc:=hhv(high,ss);
llc:=llv(low,ss);
aa:partline(barpos>=sysparam(1)-ss,hhc[sysparam(1)]),colorff00;
drawnumber(barpos=sysparam(1)-ss,hhc[sysparam(1)],hhc[sysparam(1)],2),pxup25,colorff88cc;
bb:partline(barpos>=sysparam(1)-ss,(hhc[sysparam(1)]*3+llc[sysparam(1)])/4),pointdot,colorffff;
cc:partline(barpos>=sysparam(1)-ss,(hhc[sysparam(1)]+llc[sysparam(1)])/2),colorffffff;
drawnumber(barpos=sysparam(1)-ss,(hhc[sysparam(1)]+llc[sysparam(1)])/2,(hhc[sysparam(1)]+llc[sysparam(1)])/2,2),pxup25,colorff88cc;
dd:partline(barpos>=sysparam(1)-ss,(hhc[sysparam(1)]+llc[sysparam(1)]*3)/4),pointdot,colorffff;
ee:partline(barpos>=sysparam(1)-ss,llc[sysparam(1)]),colorff;
drawnumber(barpos=sysparam(1)-ss,llc[sysparam(1)],llc[sysparam(1)],2),pxup25,colorff88cc;
上一指标公式:发两个通用的量比选股..开盘预警和收盘预警公式 飞狐收盘开盘指标 源码
下一指标公式:支撑压力主图公式 飞狐支撑压力指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文小主图精品主图公式 飞狐公式源码指标 源码仅供学习研究。