指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:10七彩彩虹公式 彩虹指标源码
{10七彩彩虹}{副图}
var0:=if((date<=1090418),1,0);
amv0:=((vol)*(open+close))/(2);
生死符:=((sum(amv0,88))/(sum(vol,88)))*(var0);
阴阳决:=(ma(close,17)+abs(ma(close,17)-ref(ma(close,17),1)))*(var0);
祥云:=(hhv(ma(high,13),13))*(var0);
飞龙:=(llv(ma(high,13),1))*(var0);
yt1:=(ema(close,8))*(var0);
yt2:=(ema(yt1,20))*(var0);
倚天剑1:=cross(yt1,yt2);
倚天1:=(close>(飞龙)*(0.95)) and 倚天剑1 and (close>(生死符)*(0.92));
倚天2:=((close+high)*(0.505)>祥云) and (count(倚天1,5)>=1) and ((ref(祥云,1)-祥云)/(close)<0.02) and ((祥云-飞龙)/(close)<0.08) and ((open+close)/(2)<(祥云)*(1.08));
倚天剑b:=(count(ref(倚天2,1),5)=0) and 倚天2;
tl1:=(ema(close,5))*(var0);
tl2:=(ema(tl1,15))*(var0);
屠龙刀2:=cross(tl1,tl2);
屠龙1:=(close>(飞龙)*(0.95)) and 屠龙刀2 and (close>(生死符)*(0.92));
屠龙2:=((close+high)*(0.505)>祥云) and (count(屠龙1,5)>=1) and ((ref(祥云,1)-祥云)/(close)<0.02) and ((祥云-飞龙)/(close)<0.08) and ((open+close)/(2)<(祥云)*(1.08));
屠龙刀b:=(count(ref(屠龙2,1),5)=0) and 屠龙2;
ma5:=(var0)*(ma(close,5));
ma10:=(var0)*(ma(close,10));
ma20:=(var0)*(ma(close,20));
ma30:=(var0)*(ma(close,30));
ma60:=(var0)*(ma(close,60));
ma90:=(var0)*(ma(close,90));
ma120:=(var0)*(ma(close,120));
mg1:=cross(ma5,ma20) and cross(ma5,ma30) and cross(ma5,ma60);
mg2:=(ma60>ma10) and cross(ma10,(var0)*(ma30)) and (ma30>ma20) and ((abs(ma60-ma20))/(ma20)<0.05);
mg3:=(ma30>ma5) and cross(ma5,ma20) and (ma20>ma10);
mg4:=(abs(ma5-ma10+ma10-ma20+ma20-ma30)<0.02) and (ma5>ref(ma5,1)) and (ma10>ref(ma10,1));
mg5:=(ma20>ma5) and cross(ma5,ma10) and (ma10>ma60) and ((abs(ma20-ma60))/(ma60)<0.05);
mg6:=((((mg1 or mg2) or mg3) or mg4) or mg5);
玫瑰刺3:=mg6 and filter(mg6,8);
玫瑰1:=(close>(飞龙)*(0.95)) and 玫瑰刺3 and (close>(生死符)*(0.92));
玫瑰2:=((close+high)*(0.505)>祥云) and (count(玫瑰1,5)>=1) and ((ref(祥云,1)-祥云)/(close)<0.02) and ((祥云-飞龙)/(close)<0.08) and ((open+close)/(2)<(祥云)*(1.08));
玫瑰刺b:=(count(ref(玫瑰2,1),5)=0) and 玫瑰2;
kq0:=((var0)*((3)*(close)+low+open+high))/(6);
kq1:=((var0)*((20)*(kq0)+(19)*(ref(kq0,1))+(18)*(ref(kq0,2))+(17)*(ref(kq0,3))+(16)*(ref(kq0,4))+(15)*(ref(kq0,5))+(14)*(ref(kq0,6))+(13)*(ref(kq0,7))+(12)*(ref(kq0,8))+(11)*(ref(kq0,9))+(10)*(ref(kq0,10))+(9)*(ref(kq0,11))+(8)*(ref(kq0,12))+(7)*(ref(kq0,13))+(6)*(ref(kq0,14))+(5)*(ref(kq0,15))+(4)*(ref(kq0,16))+(3)*(ref(kq0,17))+(2)*(ref(kq0,18))+ref(kq0,20)))/(211);
kq2:=(var0)*(ema(kq1,2));
kq3:=(var0)*(ema(kq2,2));
kq4:=(var0)*(ema(kq3,2));
孔雀翎4:=cross(kq1,kq4);
孔雀1:=(close>(飞龙)*(0.95)) and 孔雀翎4 and (close>(生死符)*(0.92));
孔雀2:=((close+high)*(0.505)>祥云) and (count(孔雀1,5)>=1) and ((ref(祥云,1)-祥云)/(close)<0.02) and ((祥云-飞龙)/(close)<0.08) and ((open+close)/(2)<(祥云)*(1.08));
孔雀翎b:=(count(ref(孔雀2,1),5)=0) and 孔雀2;
fh1:=(ema(close,5))*(var0);
fh2:=(ema((ema(close,29))*(1.01),10))*(var0);
风火轮5:=cross(fh1,fh2);
风火1:=(close>(飞龙)*(0.95)) and 风火轮5 and (close>(生死符)*(0.92));
风火2:=((close+high)*(0.505)>祥云) and (count(风火1,5)>=1) and ((ref(祥云,1)-祥云)/(close)<0.02) and ((祥云-飞龙)/(close)<0.08) and ((open+close)/(2)<(祥云)*(1.08));
风火轮b:=(count(ref(风火2,1),5)=0) and 风火2;
ht1:=((var0)*(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24)))/(4);
ht2:=(var0)*(ma(ht1,5));
ht3:=(var0)*(ma(ht1,10));
混天绫6:=cross(ht1,ht2) and (ht2<ht3);
混天1:=(close>(飞龙)*(0.95)) and 混天绫6 and (close>(生死符)*(0.92));
混天2:=((close+high)*(0.505)>祥云) and (count(混天1,5)>=1) and ((ref(祥云,1)-祥云)/(close)<0.02) and ((祥云-飞龙)/(close)<0.08) and ((open+close)/(2)<(祥云)*(1.08));
混天绫b:=(count(ref(混天2,1),5)=0) and 混天2;
霸王枪7:=(close>open) and (high>祥云) and (open<祥云) and ((high-ref(close,1))/(ref(close,1))>0.06);
基色:(var0)*(if(倚天剑b,1,0)+if(屠龙刀b,1,0)+if(玫瑰刺b,1,0)+if(孔雀翎b,1,0)+if(风火轮b,1,0)+if(混天绫b,1,0)+(if(霸王枪7,1,0))*(3)),colorffffff;
stickline(倚天剑1,0,1,4,0),colorc0c0c0;
stickline(倚天剑b,0,1,7,0),color00ff00;
倚天剑:(1)*(var0),color00ff00;
stickline(屠龙刀2,1,2,4,0),colorc0c0c0;
stickline(屠龙刀b,1,2,7,0),colorffff00;
屠龙刀:(2)*(var0),colorffff00;
stickline(玫瑰刺3,2,3,4,0),colorc0c0c0;
stickline(玫瑰刺b,2,3,7,0),colorff00ff;
玫瑰刺:(3)*(var0),colorff00ff;
stickline(孔雀翎4,3,4,4,0),colorc0c0c0;
stickline(孔雀翎b,3,4,7,0),colorb0b0ff;
孔雀翎:(4)*(var0),colorb0b0ff;
stickline(风火轮5,4,5,4,0),colorc0c0c0;
stickline(风火轮b,4,5,7,0),color00ffff;
风火轮:(5)*(var0),color00ffff;
stickline(混天绫6,5,6,4,0),colorc0c0c0;
stickline(混天绫b,5,6,7,0),colorffaa00;
混天绫:(6)*(var0),colorffaa00;
stickline(霸王枪7,6,9,7,0),color0000ff;
霸王枪:(9)*(var0),color0000ff;
{------------------------------------}
>>>使用本站搜索工具可以找到更多“10七彩彩虹公式 彩虹指标源码”