{公式名称:★加州短线①★}
input:p1(20,0,300),p2(65,0,300),p3(98,0,300),a1(2,0,100),a2(3,0,100),a3(4,0,100),a4(5,0,100),b1(5,0,100),b2(6,0,100),b3(7,0,100),b4(8,0,100);
gao:ma(high,12),linethick2,color111111;
di:ma(low,12),linethick2,color111111;
mar2:ma(close,60),linethick5,color6600;
partline(close>mar2,mar2),pointdot,linethick5,color6600cc;
fillrgn(gao>ref(gao,1) and (gao+di)/2>ref((gao+di)/2,1),gao,di),color6600cc;
fillrgn(gao<ref(gao,1) and di<ref(di,1),gao,di),color6600;
多空区间:if(ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),2)>ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),2) and ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),1)>ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),1) and sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1)<sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),high,if(ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),2)<ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),2) and ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),1)<ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),1) and sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1)>sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),low,if((barslast(ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),2)>ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),2) and ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),1)>ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),1) and sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1)<sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1)))<(barslast(ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),2)<ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),2) and ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),1)<ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),1) and sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1)>sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1))),ref(high,barslast(ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),2)>ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),2) and ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),1)>ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),1) and sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1)<sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1))),ref(low,barslast(ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),2)<ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),2) and ref(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),1)<ref(sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1),1) and sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1)>sma(sma((close-llv(low,36))/(hhv(high,36)-llv(low,36))*100,5,1),3,1)))))),linethick2,color111111;
partline(多空区间<=close,多空区间),linethick2,colorff;
partline(多空区间>close,多空区间),linethick2,color339900;
关键点:=多空区间;
stickline(close<=关键点,open,low,0,0),colorffff33;
stickline(close>关键点,open,close,8,0),coloraa;
stickline(close>关键点,open,close,7,0),color11aa;
stickline(close>关键点,open,close,6,0),colorbb;
stickline(close>关键点,open,close,5,0),colorcc;
stickline(close>关键点,open,close,4,0),color11dd;
stickline(close>关键点,open,close,3,0),color22ee;
stickline(close>关键点,open,close,2,0),color33ff;
stickline(close>关键点,open,close,1,0),color33ff;
stickline(close>关键点,high,close,1,0),color11ff;
stickline(close>关键点,high,close,0,0),colorffff;
stickline(close>关键点,open,low,1,0),color11ff;
stickline(close>关键点,open,low,0,0),colorffff;
stickline(close<=关键点,open,close,8,0),color8800;
stickline(close<=关键点,open,close,7,0),color9900;
stickline(close<=关键点,open,close,6,0),coloraa11;
stickline(close<=关键点,open,close,5,0),colorbb11;
stickline(close<=关键点,open,close,4,0),colorcc22;
stickline(close<=关键点,open,close,3,0),colordd22;
stickline(close<=关键点,open,close,2,0),coloree33;
stickline(close<=关键点,open,close,1,0),colorff33;
stickline(close<=关键点,high,close,1,0),colorff0000;
stickline(close<=关键点,high,close,0,0),colorffff33;
stickline(close<=关键点,open,low,1,0),colorff0000;
stickline(close<=关键点,open,low,0,0),colorffff33;
aa:=ref(high,5)=hhv(high,2*5+1);
bb:=backset(aa,5+1);
cc:=filter(bb,5) and high=hhv(high,5+1);
drawicon(cc and islastbar=1,high*1.01,10);
aa2:=ref(low,5)=llv(low,2*5+1);
bb2:=backset(aa2,5+1);
cc2:=filter(bb2,5) and low=llv(low,5+1);
drawicon(cc2 and islastbar=1,low*0.998,11);
gg:=islastbar=1 and ref(cc,barslast(cc));
hh:=backset(gg,barslast(cc)+1);
ii:=hh>ref(hh,1);
jj:=ref(barslast(cc),1);
kk:=backset(ii,jj+2);
ll:=kk>ref(kk,1);
drawline(ll,high,ii,high,1),linethick1,color6600cc;
gg2:=islastbar=1 and ref(cc2,barslast(cc2));
hh2:=backset(gg2,barslast(cc2)+1);
ii2:=hh2>ref(hh2,1);
jj2:=ref(barslast(cc2),1);
kk2:=backset(ii2,jj2+2);
ll2:=kk2>ref(kk2,1);
drawline(ll2,low,ii2,low,1),linethick1,color6600;
drawicon(cross(close,多空区间+10),low*0.999,1);
drawicon(cross(多空区间-10,close),high*1.0015,2);
开盘:dynainfo(4),linethick1,color99ff;
yy:(ma(close,a1)+ma(close,a2)+ma(close,a3)+ma(close,a4))/4,colorff00;
vv:(ma(close,b1)+ma(close,b2)+ma(close,b3)+ma(close,b4))/4,linethick2,colorff00;
ww:=(ma(close,4)+ma(close,8)+ma(close,16)+ma(close,32))/4;
partline(yy>ref(yy,1),yy),color11ff;
partline(vv>ref(vv,1),vv),linethick2,color11ff;
ma1:=ma(close,p1);
ma2:=ma(close,p2);
ma3:=ma(close,p3);
a:=sma(sma((close-llv(low,243))/(hhv(high,243)-llv(low,243))*100,7,1),5,1);
b:=sma((close-llv(low,243))/(hhv(high,243)-llv(low,243))*100,7,1)*16.18-a*12;
d:=cross(b,a);
lc:=ref(close,1);
rsi:=(sma(max(close-lc,0),6,1))/(sma(abs(close-lc),6,1))*100;
e:=cross(83,rsi);
上一指标公式:波段选股副图公式下载 飞狐选股源码指标 源码
下一指标公式:FX飞行公式下载 飞狐飞行指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文加州短线①公式下载 飞狐加州指标 源码仅供学习研究。