var1:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14))));
var2:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14))));
var3:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34));
dir1:=abs(close-ref(close,5));
vir1:=sum(abs(close-ref(close,1)),5);
er1:=dir1/vir1;
cs1:=er1*(0.8-2/8)+2/8;
cq1:=cs1*cs1;
dir2:=abs(close-ref(close,10));
vir2:=sum(abs(close-ref(close,1)),10);
er2:=dir2/vir2;
cs2:=er2*(0.8-2/24)+2/24;
cq2:=cs2*cs2;
stickline(var2 < ma(var3,6),low,high,0,1),colorliblue;
stickline(var2 > ma(var3,6),low,high,0,1),colorred;
stickline(((open>close)and(var2<ma(var3,6))),(close-0.03),open,3.05,0),colorliblue;
stickline(((open<close)and(var2<ma(var3,6))),close,open,3.05,1),colorliblue;
stickline(((open>close)and(var2>ma(var3,6))),open,(close-0.03),3.05,0),colorred;
stickline(((open<close)and(var2>ma(var3,6))),open,close,3.05,1),colorred;
drawicon(cross(var2,ma(var3,6)),(low - (low*0.02)),7);
drawicon(cross(ma(var3,6),var1),(high+(high*0.02)),8);
pt:=ref(h,1)-ref(l,1);
cdp:=(ref(h,1)+ref(l,1)+ref(c,1)*2)/4;
ah:=cdp+pt;
al:=cdp-pt;
nh:=cdp*2-ref(l,1);
nl:=cdp*2-ref(h,1);
强:if(ah>ref(c,1)*1.1,ref(c,1)*1.1,ah)nodraw;
阻:if(nh>强,(强-cdp)*0.618+cdp,nh)nodraw,colorblue;
m:=if(al<ref(c,1)/1.1,ref(c,1)/1.1,al);
撑:if(nl<m,cdp-(cdp-m)*0.618,nl)nodraw;
底:if(al<ref(c,1)/1.1,ref(c,1)/1.1,al)nodraw;
副图如下:a:=if((close > 126.32),(amount / 100000),vol);
主力:ma(a,4),nodraw,color00ffff;
游资:ma(a,8),nodraw,color00ff00;
大户:ma(a,16),nodraw,color0000ff;
散户:ma(a,32),nodraw,colorffff00;
主动参与比例:round(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),nodraw,color00ffff;
游资参与比例:round(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),nodraw,color00ff00;
大户参与比例:round(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),nodraw,color0000ff;
散户参与比例:round(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),nodraw,colorffff00;
警戒线:ma(a,180),colorff00ff;
stickline((主力 > 0),0,主力,3,0),color0000ff;
stickline((主力 > 0),0,主力,2.7.5,0),color001bff;
stickline((主力 > 0),0,主力,2.4,0),color0035ff;
stickline((主力 > 0),0,主力,2.1,0),color0050ff;
stickline((主力 > 0),0,主力,1.8,0),color0062ff;
stickline((主力 > 0),0,主力,1.5,0),color007aff;
stickline((主力 > 0),0,主力,1.2,0),color0089ff;
stickline((主力 > 0),0,主力,0.9,0),color009cff;
stickline((主力 > 0),0,主力,0.6,0),color00c0ff;
stickline((主力 > 0),0,主力,0.3,0),color00eaff;
stickline((游资 > 0),0,游资,3,0),color007f00;
stickline((游资 > 0),0,游资,2.7,3),color008b00;
stickline((游资 > 0),0,游资,2.4,0),color009500;
stickline((游资 > 0),0,游资,2.1,0),color00a300;
stickline((游资 > 0),0,游资,1.8,0),color00af00;
stickline((游资 > 0),0,游资,1.5,0),color00c000;
stickline((游资 > 0),0,游资,1.2,0),color00ca00;
stickline((游资 > 0),0,游资,0.9,0),color00db00;
stickline((游资 > 0),0,游资,0.6,0),color00ff00;
stickline((大户 > 0),0,大户,3,0),color102088;
stickline((大户 > 0),0,大户,2.7,0),color102099;
stickline((大户 > 0),0,大户,2.4,0),color1020aa;
stickline((大户 > 0),0,大户,2.1,0),color1020bb;
stickline((大户 > 0),0,大户,1.8,0),color1020cc;
stickline((大户 > 0),0,大户,1.5,0),color1020dd;
stickline((大户 > 0),0,大户,1.2,0),color1020ee;
stickline((大户 > 0),0,大户,0.9,0),color1020ff;
stickline((散户 > 0),0,散户,3,0),colorff7700;
stickline((散户 > 0),0,散户,2.7,0),colorff8800;
stickline((散户 > 0),0,散户,2.4,0),colorff9900;
stickline((散户 > 0),0,散户,2.1,0),colorffaa00;
stickline((散户 > 0),0,散户,1.8,0),colorffbb00;
stickline((散户 > 0),0,散户,1.5,0),colorffcc00;
stickline((散户 > 0),0,散户,1.2,0),colorffdd00;
stickline((散户 > 0),0,散户,0.9,0),colorffee00;
再一个副图:n1:=5;n2:=10;
stickline(c>0,0,10,15,0),color781816;
lc:=ref(close,1);
rsi5:sma(max(close-lc,0),n1,1)/sma(abs(close-lc),n1,1)*10,colorff00ff,linethick1;
rsi10:sma(max(close-lc,0),n2,1)/sma(abs(close-lc),n2,1)*10,color00ffff;
var1:=c-ref(c,1);
var2:=100*ema(ema(var1,6),6)/ema(ema(abs(var1),6),6);
ma5:=ema(c,5);
ma13:=ema(c,13);
up:=drawline(l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barslast(cross
(ma13,ma5))+1),h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross
(ma5,ma13))+1),0),color0000ff;
down:=drawline(h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross
(ma5,ma13))+1),l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barslast(cross
(ma13,ma5))+1),0),color00ff00;
bt:(llv(var2,2)=llv(var2,7) and count(var2<0,2) and cross(var2,ma(var2,2))) and
ref(down,1)<ref(down,2) and up>ref(down,1);
0,colorff00ff;
10,colorff0000;
stickline(up,0,0.2,3,0),color0000ff;
stickline(down,0,0.2,3,0),color00ff00;
stickline(bt,0,3,2,0),color000088;
stickline(bt,0,3,1,0),color0000cc;
stickline(bt,0,3,0.22,0),color0000ff;
drawtext(bt,3,'短牛'),color0000ff;
tj1:=ref(down,1)<ref(down,2) and up>ref(down,1) and c<hhv(h,21)*0.82;
stickline(tj1,0,2,3,0),color880088;
stickline(tj1,0,2,1.5,0),coloraa00aa;
stickline(tj1,0,2,0.8,0),colorcc00cc;
stickline(tj1,0,2,0.2,0),colorff00ff;
drawtext(tj1,2,'中牛'),colorff00ff;
hr:=hhv(high,55);
hry:=llv(low,55);
hry11:=hr*hry;
hry33:=sqrt(hry11);
tj2:=ref(down,1)<ref(down,2) and up>ref(down,1) and c<hry33;
stickline(tj2,0,1,5,0),color008888;
stickline(tj2,0,1,2,0),color00aaaa;
stickline(tj2,0,1,1,0),color00cccc;
stickline(tj2,0,1,0.2,0),color00ffff;
drawtext(tj2,1,'大牛'),color00ffff;
st:=ref(up,1)>ref(up,2) and down<ref(up,1);
stickline(st,10,9,5,0),color008800;
stickline(st,10,9,2,0),color00aa00;
stickline(st,10,9,1,0),color00cc00;
stickline(st,10,9,0.2,0),color00ff00;
drawtext(st,9,'卖'),color00ff00;
在一个副图:()量:vol,volstick;
预量:if(currbarscount=1 and period=5,vol*240/fromopen,drawnull),colorffff00;
var1:=vol/((high-low)*2-abs(close-open));
买:if(close>open,var1*(high-low),if(close<open,var1*((high-open)+(close-low)),vol/2)),colorred,pointdot ;
卖:-if(close>open,0-var1*((high-close)+(open-low)),if(close<open,0-var1*(high-low),0-vol/2)),colorff9088,pointdot;
买卖%:abs(买/卖),linethick0,colorwhite;
stickline(vol>0,vol,0,3,0),colorcc0000;
stickline(vol>0,vol,0,2,0),colorff4400;
stickline(vol>0,vol,0,1.1,0),colorff8800;
stickline(vol>0,vol,0,0.4,0),colorffcc00;
stickline(买>0,0,买,3,0),color000066;
stickline(买>0,0,买,2,0),color000099;
stickline(买>0,0,买,1.1,0),color0000cc;
stickline(买>0,0,买,0.4,0),color0000ff;
在一个副图:(顶底先知)cs:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;
yjd: (ema(cs,3)-50)*2;
极弱:-80;
强势:60;
风险:80;
弱势:-60;
yjd,colorstick;
今日保护价:(ref(c,1)+ref(c,2)+o)/3;
var1:=ref(close,1);
var2:=sma(max(close-var1,0),6,1)/sma(abs(close-var1),6,1)*100;
stickline(cross(75.9,var2),yjd+5,yjd-5,3,0),coloryellow;
drawtext(currbarscount=6,78,'清仓'),colorred;
drawtext(currbarscount=6,60,'减仓'),coloryellow;
drawtext(currbarscount=6,0,'控盘'),colorwhite;
drawtext(currbarscount=6,-60,'回补'),colorgreen;
drawtext(currbarscount=6,-80,'吸筹'),colorblue;
上一指标公式:〈筹码警戒主图综合〉无加密说明指标详解及下载 通达信筹码加密
下一指标公式:富力MA拐点指标下载 通达信拐点
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文主图和副图最佳配合准确买卖点没有未来函数。主副图指标详解及下载 通达信函数源码仅供学习研究。