{山还是山水还是水}
drawgbk(c>1,colorrgb(0,0,0),colorrgb(0,0,200),1),colorf80606;
drawgbk((date > 0),colorrgb(40,40,173),colorrgb(1,1,14),1);
drawgbk(1,colorrgb(0,0,0),colorrgb(0,0,0),0),colorff0000;
//山水先生风云彩带
a0:=barscount(c);a3:=sysparam(3);a2:=sysparam(2);
a4:=sysparam(4);a5:=sysparam(5);
nn0:=a3-a2;nn:=a0-a2;hh1:=(a4-a5)/8;
hh2:=hh1/4;
ll1:=llv(l,nn0);ll2:=ll1[a3];
y0:=a0>=a2;vv0:=if(y0=1 and sysparam(1)>=a0,v,0);
c1:=if(between(c,a4-0*hh1,a4-1*hh1),vv0,0);
c2:=if(between(c,a4-1*hh1,a4-2*hh1),vv0,0);
c3:=if(between(c,a4-2*hh1,a4-3*hh1),vv0,0);
c4:=if(between(c,a4-3*hh1,a4-4*hh1),vv0,0);
c5:=if(between(c,a4-4*hh1,a4-5*hh1),vv0,0);
c6:=if(between(c,a4-5*hh1,a4-6*hh1),vv0,0);
c7:=if(between(c,a4-6*hh1,a4-7*hh1),vv0,0);
c8:=if(between(c,a4-7*hh1,a4-8*hh1),vv0,0);
c9:=if(between(c,a4-8*hh1,a4-9*hh1),vv0,0);
c10:=if(between(c,a4-9*hh1,a4-10*hh1),vv0,0);
v1:=strtonum(numtostr(if(islastbar,sum(c1,nn0),0),2)),linethick;
v2:=strtonum(numtostr(if(islastbar,sum(c2,nn0),0),2));
v3:=strtonum(numtostr(if(islastbar,sum(c3,nn0),0),2));
v4:=strtonum(numtostr(if(islastbar,sum(c4,nn0),0),2));
v5:=strtonum(numtostr(if(islastbar,sum(c5,nn0),0),2));
v6:=strtonum(numtostr(if(islastbar,sum(c6,nn0),0),2));
v7:=strtonum(numtostr(if(islastbar,sum(c7,nn0),0),2));
v8:=strtonum(numtostr(if(islastbar,sum(c8,nn0),0),2));
v9:=strtonum(numtostr(if(islastbar,sum(c9,nn0),0),2));
v10:=strtonum(numtostr(if(islastbar,sum(c10,nn0),0),2));
av0:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,v10)))))))));
x1:=v1/av0>=nn/nn0 and nn>=0;
x3:=v3/av0>=nn/nn0 and nn>=0;
x5:=v5/av0>=nn/nn0 and nn>=0;
x7:=v7/av0>=nn/nn0 and nn>=0;
fillrgn(v1/av0>=nn/nn0 and nn>=0,a4-0*hh1,a4-1*hh1+hh1*0.5),color00008f;
fillrgn(v2/av0>=nn/nn0 and nn>=0,a4-1*hh1,a4-2*hh1+hh1*0.5),colorred;
fillrgn(v3/av0>=nn/nn0 and nn>=0,a4-2*hh1,a4-3*hh1+hh1*0.5),color00aadd;
fillrgn(v4/av0>=nn/nn0 and nn>=0,a4-3*hh1,a4-4*hh1+hh1*0.5),color8c8eb5;
fillrgn(v5/av0>=nn/nn0 and nn>=0,a4-4*hh1,a4-5*hh1+hh1*0.5),color387c7c;
fillrgn(v6/av0>=nn/nn0 and nn>=0,a4-5*hh1,a4-6*hh1+hh1*0.5),color555555;
fillrgn(v7/av0>=nn/nn0 and nn>=0,a4-6*hh1,a4-7*hh1+hh1*0.5),colorff55ff;
fillrgn(v8/av0>=nn/nn0 and nn>=0,a4-7*hh1,a4-8*hh1+hh1*0.5),colorffff00;
//山水k线专用3
stickline(open>=close ,close ,open,9,0 ),coloraaaaaa;
stickline(open>=close ,close ,open,6,0 ),colorbbbbbb;
stickline(open>=close ,close ,open,2.4,0 ),colorcccccc;
stickline(open>=close ,close ,open,1.1,0 ),colordddddd;
stickline(close>open,close,open,9,0 ),color6666cc;
stickline(close>open,close,open,6 ,0 ),color7777dd;
stickline(close>open,close,open,2.4 ,0 ),color8888ee;
stickline(close>open,close,open,1.1 ,0 ),color9999ff;
stickline(close>open,open,low,0.5,0 ),color1199ff;
stickline(close>open,close,high,0.5 ,0 ),color1199ff;
stickline(open>=close,close,low,0.5 ,0 ),colorcccccc;
stickline(open>=close,open,high,0.5 ,0 ),colorcccccc;
山还是山:sma(c,125,1),coloryellow;
b1:=ma(c,1);
b2:=sma(sma(sma(b1,2,1),2,1),2,1);
sma1:=b2;
sma2:=ma(b2,2);
山:sma1,colorred,linethick2;
水:sma2,colorcyan,linethick2;
少爷分水岭:sma(ma(c,5),430,1),colorb48f33,linethick2;
a1:ema(close,25),colorwhite;
a2:ema(close,40),color00aa00;
a3:ema(close,80);
a4:=ema(close,10);
drawtext(barpos=sysparam(2),high,'欢迎您使用山水先生系列公式:{{山还是山水还是水}}(飞狐源码)')align4,coloryellow;
var1:=(100 - ((90 * (hhv(high,21) - close)) /
(hhv(high,21) - llv(low,21))));
var2:=(100 - ((90 * (hhv(high,21) - close)) /
(hhv(high,21) - llv(low,21))));
var3:=(100 - ma(((100 * (hhv(high,6) - close)) /
(hhv(high,6) - llv(low,6))),34));
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文山还是山水还是水公式下载 飞狐山水指标 源码仅供学习研究。