好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式时空公式 飞狐公式指标 源码

时空公式 飞狐公式指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-09-21 17:46:21
  • 指标公式标签:时空
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:时空公式 飞狐公式指标 源码

h1:ema(close,3),linethick2,colorred;
h2:ema(h1,20),linethick2,coloryellow;
drawicon(cross(h1,h2)and close<ema(close,60) ,low,1);
stickline(h1>h2,h1,h2,1,0.8),colorred;
stickline(h1<h2,h1,h2,1,0.8),colorgreen;
x1:=ema(c,7);
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext(cross(84,rsi) , high,'★ 快跑 '),coloryellow;
vara:=ref(close,1);
varb:=sma(max(close-vara,0),6,1)/sma(abs(close-vara),6,1)*100;
drawtext(cross(75,varb),high,'☆短出'),color00ff00 ;
选股1:cross(h1,h2),linethick0,colorgreen;
drawtext(cross(h1,h2),l,'☆加仓'),align0,coloryellow,linethick3;
选股2:cross(h2,h1),linethick0,colorred;
drawtext(cross(h2,h1),l,'☆止损'),align0,colorred,linethick3;

ma5:ma(close,5),linethick1;
ma10:ma(close,10),linethick1;
ma20:ma(close,20),color0000ff,linethick1;
ma30:ma(close,30),colorffff00,linethick1;
ma60:ma(close,60),colorff0000,linethick1;
ma120:ma(close,120),color00ff00,linethick1;
ma250:ma(close,250),colorgray,linethick1;
var1:=(o+l+h+c)/4;
stickline(1,var1,var1,6,0),colorff00ff;
拐点:=ma(c,3);

拐点1:=ma(c,3);
gd1:=ref(count(拐点<=ref(拐点,1),5)=5 ,1) and 拐点>ref(拐点,1),linethick2 ,colorred;

gd2:=ref(count(拐点1<=ref(拐点1,1),5)=5 ,1) and 拐点1>ref(拐点1,1),linethick2 ,colorred ;
drawicon(gd1,0.98*c,1);
drawicon(gd2,0.98*c,8);
{回头望月}
tt1:=barslast(ref(cross(close,ma120),1)) and cross(ma20,ma120);
stickline(tt1,ma120,ma120-0.09,4,0),color00ff00;
drawtext(tt1,ma120-0.13,'望月'),color00ff00;
{火车轨:}
火车轨:=ma120/ref(ma250,1)>1.03 and ma120>ma250 and ma120>ref(ma120,1) and ma250>ref(ma250,1);
stickline(火车轨,ma120,ma120-0.035,4,0),colorffcccc;
stickline(火车轨,ma250,ma250+0.035,4,0),colorffcccc;
{三线开花:}
stickline(ma120<ma250 and cross(ma20,ma120) and cross(ma20,ma250),ma20,ma20-0.09,4,0),color00ff00;
drawtext(ma120<ma250 and cross(ma20,ma120) and cross(ma20,ma250),ma20-0.13,'三线开花'),color00ff00;
{二次握手}
fa:=barslast(cross(ma10,ma5)) and cross(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30and ma10>ref(ma10,1);
stickline(fb,low,low-0.09,4,0),colorwhite;
drawtext(fb,low-0.13,'握手'),colorwhite;
fa1:=barslast(cross(ma60,ma20)) and cross(ma20,ma60);
fb1:=fa and ma20>ma120 and ma60>ma120and ma20>ref(ma20,1);
stickline(fb,low,low-0.09,4,0),colorwhite;
drawtext(fb,low-0.13,'握手'),,color00ff00;
vara:=amount/vol/100;
varb:=(3*high+low+open+2*close)/7;
varc:=sum(amount,7)/vara/100;
vard:=dma(varb,vol /varc);
vare:=(close-vard) /vard*100;
varf:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
varj:=ma(vare,20)+std(vare,20);
bias18:=(close-ma(close,18))/ma(close,18)*100;
k:=sma(varf,3,1);
drawtext(ref(bias18,1)>=5 and cross(varj,vare) and k>79 ,h+0.1,'先走一走'),,colory;
var31:=hhvbars(zig(3, 19)>ref(zig(3,19),1) and ref(zig(3,19), 1)<ref(zig(3,19), 2),0);
转折时间:var31+1,pointdot,colorff00ff,linethick0;
时间窗:=0,colorwhite;
stickline(var31=2,l*0.95,l*0.98,8,0),color0000ff;
drawtext(var31=2,l*0.95,'3天'),coloryellow;
stickline(var31=4,h*1.05,h*1.02,8,0),color9966ff;
drawtext(var31=4,h*1.06,'5天'),coloryellow;
stickline(var31=7,l*0.95,l*0.98,8,0),color00ffff;
drawtext(var31=7,l*0.95,'8天'),coloryellow;
stickline(var31=12,h*1.05,h*1.02,8,0),colorff33ff;
drawtext(var31=12,h*1.06,'13天'),coloryellow;
stickline(var31=20,l*0.95,l*0.98,8,0),color0066ff;
drawtext(var31=20,l*0.95,'21天'),coloryellow;
stickline(var31=33,h*1.05,h*1.02,8,0),colorffff00;
drawtext(var31=33,h*1.06,'34天'),coloryellow;
stickline(var31=54,l*0.95,l*0.98,8,0),color006600;
drawtext(var31=54,l*0.95,'55天'),coloryellow;
stickline(var31=88,h*1.05,h*1.02,8,0),color00ff00;
drawtext(var31=88,h*1.06,'89天'),coloryellow;
stickline(var31=143,l*0.95,l*0.98,8,0),colorccffff;
drawtext(var31=143,l*0.95,'144天'),coloryellow;
stickline(var31=232 ,h*1.05,h*1.02,8,0),colorff0033;
drawtext(var31=232,h*1.06,'233天'),coloryellow;
stickline(var31=376,l*0.95,l*0.98,8,0),colorff9966;
drawtext(var31=376,l*0.95,'377天'),coloryellow;
x1:=(c+l+h)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
gr1:=barslast(between("bias.bias2"(6,13,24),0,5));
gr2:=ema(x1,13)>ema(x1,21) and ema(x1,21)>ema(x1,34)
and ema(x1,13)>ref(ema(x1,13),1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
gr8:=gr6 and gr7;
lc := ref(close,1);
rsi6:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
bias5:=(close-ma(close,13))/ma(close,13)*100;
换手:=100*v/capital;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠45上升'),colorwhite;
a1:=barslast(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1));
b1:=ref(c,a1+1)>c and ref("macd.diff"(12,26,9),a1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9));
drawtext(filter(b1>0,5),l-0.01,'m 底背'),colorgreen;
a2:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));
b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3)and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
drawtext(filter(b2>0,5),l-0.25,'k 底背'),coloryellow;
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
drawtext(filter(b3>0,5),l-0.4,'r 底背'),colorffff00;
c1:=barslast(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1));
d1:=ref(c,c1+1)<c and ref("macd.diff"(12,26,9),c1+1)>"macd.diff"(12,26,9)and cross("macd.dea"(12,26,9),"macd.diff"(12,26,9));
drawtext(filter(d1>0,5),h+0.01,'m 顶背'),colorred;
c2:=barslast(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));
d2:=ref(c,c2+1)<c and ref("kdj.k"(9,3,3),c2+1)>"kdj.k"(9,3,3)and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3));
drawtext(filter(d2>0,5),h+0.25,'k 顶背'),color0066ff;
c3:=barslast(ref(cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24)),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1"(6,12,24),c3+1)>"rsi.rsi1"(6,12,24)and cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24));
drawtext(filter(d3>0,5),h+0.4,'r 顶背'),colorff00ff;
e1:=barscount(c);
ah:=hhv(h,200);
al:=llv(l,200);
b0:=(ah-al)/40;
kb1:=h+b0;
kb2:=l-b0;
stickline((e1+0)/34=floor((e1+0)/34),kb2,kb2-3*b0,2,0),coloryellow,linethick3;
drawtext((e1+0)/34=floor((e1+0)/34),kb2-2*b0,'时间窗'),colorwhite;
ty:=c;
hd:=filter(backset(filter(ref(ty,10)=hhv(ty,2*10+1),10),10+1),10);
ld:=filter(backset(filter(ref(ty,10)=llv(ty,2*10+1),10),10+1),10);
a:=ref(c,barslast(hd));
b:=ref(c,barslast(ld));
t1:=barslast(hd)<barslast(ld) and not(hd) ;
t2:=barslast(hd)>barslast(ld) and not(ld);
波浪顶:if(t1,a,a),colorff00ff,pointdot,linethick4;
stickline(t1,a,a,9,0),colorff00ff;
波浪底:if(t2,b,b),color80ff00,pointdot,linethick4;


时空公式

  >>>使用本站搜索工具可以找到更多时空公式 飞狐公式指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文时空公式 飞狐公式指标 源码仅供学习研究。

猜你喜欢

学了又学