var1:=backset(ref(high,2)=hhv(high,5),3);
var2:=cross(var1,0.9);
var3:=backset(ref(low,2)=llv(low,5),3);
var4:=cross(var3,0.9);
stickline(var2,high,high*1.01,5,0),color00e40e;
stickline(var4,low,low*0.99,5,0),color00e40e;
var5:=if(var2,high,if(var4,low,0));
polyline(var5,var5),colorff00ff;
var6:=backset(ref(high,2)=hhv(high,5) and low<ref(low,1) and high<ref(high,1),3);
var7:=backset(ref(high,2)=hhv(high,5) and low>ref(low,1) and high>ref(high,1),3);
var8:=backset(ref(high,2)=hhv(high,5) and high<ref(high,1) and low>ref(low,1)
and ref(low,1)>ref(low,2) and ref(high,1)<ref(high,2),3);
var9:=backset(ref(low,2)=llv(low,5) and low>ref(low,1) and high>ref(high,1),3);
vara:=backset(ref(low,2)=llv(low,5) and low<ref(low,1) and high<ref(high,1),3);
varb:=backset(ref(low,2)=llv(low,5) and high<ref(high,1) and low>ref(low,1)
and ref(low,1)>ref(low,2) and ref(high,1)<ref(high,2),3);
坚定: stickline(cross(var6,0.9),high,high*1.01,5,0),color0000ff;
stickline(cross(var9,0.9),low,low*0.99,5,0),color0000ff;
犹豫: stickline(cross(var7,0.9),high,high*1.01,5,0),color00e5e9;
stickline(cross(vara,0.9),low,low*0.99,5,0),color00e5e9;
等待: stickline(cross(var8,0.9),high,high*1.01,5,0),colorff4100;
stickline(cross(varb,0.9),low,low*0.99,5,0),colorff4100;
压力: ref(high,barslast(var2)), pointdot,colorea91b5;
stickline(close,ref(high,barslast(var2)),ref(high,barslast(var2)),5,0),colorea91b5;
支撑: ref(low,barslast(var4)), pointdot,color3791b5;
stickline(close,ref(low,barslast(var4)),ref(low,barslast(var4)),5,0),color3791b5;
现价:close,pointdot,color000f89;
mfi:
参数名:n 14 2 300
typ := (high + low + close)/3;
sum(if(typ>ref(typ,1),typ*vol,0),n)/sum(if(typ<ref(typ,1),typ*vol,0),n)
5/34/5 macd:
ma(c,5)-ma(c,34) colorstick ;
ma(ma(c,5)-ma(c,34),5);
s:=ema((ma(c,5)-ma(c,34)),3);
s1:=s<ref(s,1)and s>0;
s2:=s<ref(s,1)and s<0;
stickline(s>=0,0,s,8,1),colorred;
stickline(s1,0,s,5,0),color00ffff;
stickline(s2,0,s,4,0),colorffffff;
四种视窗:
mfi:(h-l)*100000/v;
ma5:ma(mfi,5);
a1:mfi>=ref(mfi,1)*1.1 and v>=ref(v,1)*1.1;
a2:mfi<=ref(mfi,1)*0.9 and v<=ref(v,1)*0.9;
a3:mfi>=ref(mfi,1)*1.1 and v<=ref(v,1)*0.9;
a4:mfi<=ref(mfi,1)*0.9 and v>=ref(v,1)*1.1;
drawtext(a2,4,'衰退'),linethick3;
drawtext(a1,1,'绿灯'),linethick3;
drawtext(a3,3,'伪装'),linethick3;
drawtext(a4,2,'蛰伏'),linethick3;
0.1
以下为《证券交易新空间》一书中的全部指标源码。
鳄鱼线:
var1:=(h+l)/2;
上唇:ref(sma(var1,5,1),3),colorgreen;
牙齿:ref(sma(var1,8,1),5),colorred;
下颚:ref(sma(var1,13,1),8),colorblue;
颚鱼分形:
var1:=(h+l)/2;
上唇:ref(sma(var1,5,1),3),colorgreen;
牙齿:ref(sma(var1,8,1),5),colorred;
下颚:ref(sma(var1,13,1),8),colorblue;
var1:=backset(ref(high,2)=hhv(high,5),3);
var2:=cross(var1,0.9);
var3:=backset(ref(low,2)=llv(low,5),3);
var4:=cross(var3,0.9);
drawicon(var2,high*1.01,4),color00e40e;
drawicon(var4,low*0.99,5),color00e40e;
var5:=if(var2,high,if(var4,low,0));
{polyline(var5,var5),colorff00ff;}
var6:=backset(ref(high,2)=hhv(high,5) and low<ref(low,1) and high<ref(high,1),3);
var7:=backset(ref(high,2)=hhv(high,5) and low>ref(low,1) and high>ref(high,1),3);
var8:=backset(ref(high,2)=hhv(high,5) and high<ref(high,1) and low>ref(low,1)
and ref(low,1)>ref(low,2) and ref(high,1)<ref(high,2),3);
var9:=backset(ref(low,2)=llv(low,5) and low>ref(low,1) and high>ref(high,1),3);
vara:=backset(ref(low,2)=llv(low,5) and low<ref(low,1) and high<ref(high,1),3);
varb:=backset(ref(low,2)=llv(low,5) and high<ref(high,1) and low>ref(low,1)
and ref(low,1)>ref(low,2) and ref(high,1)<ref(high,2),3);
上向分形: ref(high,barslast(var2)), pointdot,colorea91b5;
stickline(close,ref(high,barslast(var2)),ref(high,barslast(var2)),5,0),colormagenta;
向下分形: ref(low,barslast(var4)), pointdot,color3791b5;
stickline(close,ref(low,barslast(var4)),ref(low,barslast(var4)),5,0),coloryellow;
ao:
var1:=(h+l)/2;
ao:sma(var1,5,1)-sma(var1,34,1),color6699cc;
stickline(ao>=ref(ao,1),0,ao,6,1),colorred;
stickline(ao<=ref(ao,1),0,ao,6,1),colorgreen;
ao,color000000;
ac:
var1:=(h+l)/2;
ao:=sma(var1,5,1)-sma(var1,34,1);
ac:sma((ao-sma(ao,5,1)),5,1),color6699cc;
stickline(ac>=ref(ac,1),0,ac,6,1),colorred;
stickline(ac<=ref(ac,1),0,ac,6,1),colorgreen;
ac,color000000;
区域:
var1:=(h+l)/2;
ao:=sma(var1,5,1)-sma(var1,34,1);
ac:=sma((ao-sma(ao,5,1)),5,1);
ao>ref(ao,1) and ac>ref(ac,1),colorred;
ao<ref(ao,1) and ac<ref(ac,1),colorgreen;
ao>ref(ao,1) and ac<ref(ac,1),colorgray;
ao<ref(ao,1) and ac>ref(ac,1),colorgray;
osc:
参数名:short 5 1 999
long 35 1 999
ma1:=ma((high+low)/2,short);
ma2:=ma((high+low)/2,long);
ma1-ma2,stick,colorgreen;
oscmacd:
参数名:long 35 1 999
short 5 1 999
osc: (ma(close,short)-ma(close,long))/ma(close,short)*100, colorstick;
oscmacd: ma(osc,5);
【本文仅提供源码,并无公式下载,如需公式,请参照下面公式编辑录像自行编辑成公式】
上一指标公式:睡醒就买公式 飞狐睡醒指标 源码
下一指标公式:主图-十年一剑588之作公式 飞狐指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文全套混沌操作法公式 飞狐混沌全套指标 源码仅供学习研究。