好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式黑马全息彩虹版指标公式详解 飞狐黑马

黑马全息彩虹版指标公式详解 飞狐黑马

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:黑马全息彩虹版指标公式详解 飞狐黑马

黑马全息彩虹版drawgbk(close=close,colorrgb(130,130,130),colorrgb(30,30,30),1);
上:=sma(high,21,2)*1.05;
drawtext(filter(close<ref(close,1) and close<ref(close,1) and high>上 and close<上,5),high+0.05,'-减仓'),colorffffff;
下轨道:sma(low,21,2)*0.969,pointdot,colorffff;
bma:=ma(close,118);
阻挡:=sma(high,21,2)*1.05;
rsv:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
rsv12:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
k12:=sma(rsv12,3,1);
d12:=sma(k12,3,1);
j12:=3*k12-2*d12;
rsv24:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;
k24:=sma(rsv24,3,1);
d24:=sma(k24,3,1);
j24:=3*k24-2*d24;
支撑位:=if(cross(j,j24),low,ref(low,barslast(cross(j,j24))));
压力位:if(cross(j24,j),high,ref(high,barslast(cross(j24,j)))),colorff00;
u2l:=if(close>=ma(close,20),80,50);
l2l:=if(close>=ma(close,20),50,20);
rh1:=if(j<u2l and ref(j,1)>=u2l,hhv(ref(high,1),(barslast(j>=u2l and ref(j,1)<u2l))-1),ref(hhv(ref(high,1),(barslast(j>=u2l and ref(j,1)<u2l))-1),barslast(j<u2l and ref(j,1))));
rh4:=if(high>rh1,low,ref(low,barslast(high>rh1)));
rh42:=if(high>rh1,j,ref(j,barslast(high>rh1)));
rh5:=if(high>rh4 and j<rh42 and j<j24,high,ref(high,barslast(high>rh4 and j<rh42 and j<j24)));
rl1:=if(j>l2l and ref(j,1)<=l2l,llv(ref(low,1),(barslast(j<=l2l and ref(j,1)>l2l))-1),ref(llv(ref(low,1),(barslast(j<=l2l and ref(j,1)>l2l))-1),barslast(j>l2l and ref(j,1))));
rl4:=if(low<rl1,high,ref(high,barslast(low<rl1)));
rl42:=if(low<rl1,j,ref(j,barslast(low<rl1)));
rl5:=if(low<rl4 and j>rl42 and j>j24,low,ref(low,barslast(low<rl4 and j>rl42 and j>j24)));
cb:=amount/vol/100;
cd:=cb>high or cb<low;
黑马趋势:=ma(close,3);
map:=ma(close,8);
aa5:=ma(close,21);
aa10:ma(close,8),colorff;
aa12:ma(close,12),colorff;
bb10:=(atan(aa10-ref(aa10,1)))*3.1416*10;
bb12:=(atan(aa12-ref(aa12,1)))*3.1416*10;
ma13:=ma(close,13);
drawtext(filter(close/open>1.04 and close-ref(close,1)>0 and close>下轨道 and aa10-ref(aa10,1)>0 and close<上,3),low-0.07,'追击'),colord1e768;
fillrgn(aa12<=aa10 and bb12>=1 and bb10>=1,aa10,aa12),colorff;
fillrgn(aa12>=aa10 and bb10<=1 and bb10<=1,aa10,aa12),colorff00;
vard:=(open+low+high+close)/4;
支撑:=ema(vard,5);
短期底部:=llv(open,30);
drawtext(cross(黑马趋势,短期底部) and rl5-ref(rl5,1)>0 and 黑马趋势-ref(黑马趋势,1)>0 and 黑马趋势>1 and low<=支撑位 and close>支撑位 and high<压力位,low-0.15,'←黑马发现'),colorffff;
drawtext(cross(黑马趋势,rl5) and 黑马趋势-ref(黑马趋势,1)>0 and high<压力位 and low<=短期底部 and close>支撑位 and cd<1 and close>open and close>rl5,low,'←短买'),colorff00;
drawtext(filter(low<=短期底部 and close-ref(close,1)>close and ma(close,10)-ref(ma(close,10),1)>0 and winner(close)<0.05 and 短期底部=rl5 and low<=rl5 and high<压力位,3),low,'★机会难得'),colorffffff;
历史大底:drawtext(filter(llv(low,0) and winner(close)<0.08 and low<=短期底部 and close>短期底部 and j<80 and close/open>1.08,20),low-0.45,'★★历史大底');
drawtext(filter(low<=短期底部 and close>压力位 and aa5-ref(aa5,1)>0 and j<80 and close>支撑位 and 黑马趋势-ref(黑马趋势,1)>0 and winner(close)<0.1 and close>open,5),low-0.15,'★黑马登天'),colorcdeec5;
x1:=(3*close+high+low+open)/6;
x2:=ema(x1,10);
x3:=ref(x2,1);
x4:=(ref(high,1)+ref(low,1))/2;
x5:=ma(close,21)+2*std(close,21);
x6:=ref(close,1);
x7:=(sma(max(close-x6,0),7,1))/(sma(abs(close-x6),7,1))*100;
x8:=cross(79,x7);
x9:=filter(x8,4);
map1:=ma(close,60);
均线30:=ma(close,30);
均线89:=ma(close,89);
均线:=ma(close,16);
均线34:=ma(close,34);
均线55:=ma(close,55);
var1:=ema(close,8);
var2:=ema(var1,20);
var3:=cross(var1,var2);
var4:=var1<ma(close,60);
var5:=(hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100;
var6:=sma(var5,5,1);
var7:=sma(var6,8,1);
var8:=cross(var6,var7) and var7<16;
var9:=close>llv(close,60)+0.3*llv(close,60) and var8;
vara:=if(close>1000,var8,var9);
黑马起步:=var3 and var4;
逃遁:=vara;
均线20:=ma(close,20);
均线120:=ma(close,120);
牛熊线:=ma(close,250);
va:=cross(ma(close,19),ma(close,120));
vb:=ma(close,20)>ma(close,120);
vc:=cross(ma(close,120),ma(close,89));
vd:=ma(close,20)<ma(close,120);
ve:=cross(ma(close,20),ma(close,250));
vf:=ma(close,20)>ma(close,250);
vg:=cross(ma(close,250),ma(close,20));
drawtext(filter(open>均线120 and 均线20<均线120 and low<=均线120 and 均线20-ref(均线20,1)>0 and close>open and 均线120-ref(均线120,1)>0 and high<rh5 and close>=均线120,15),low,'★120跳马'),color89e0;
drawtext(va and 均线120-ref(均线120,1)>0 and high<rh5 and close>open,low,'★宝马望月'),colorffffff;
drawtext(均线-ref(均线,1)>0 and cross(均线20,均线120) and low<=均线120 and close>=均线120,low,'三线开花'),colorffffff;
短期底部2:llv(high,30),linethick2,colorff;
上轨:sma(high,21,2)*1.092,pointdot,colorffffff;
中轨道:sma(high,21,2)*1.017,pointdot,colorffffff;
drawtext(filter(low<下轨道 and close>ma(close,15) and close>短期底部2 and high<压力位,10),low,'★短线5%'),color9dc522;
drawtext(high>=均线120 and close<ref(close,1) and close<ref(close,1) and high>上 and close<上 and close<均线120,high+0.05,'减仓'),colorff00;
drawtext(filter(high>阻挡 and close<阻挡,5),high+0.15,'←逃命');
drawtext(ve>vg and high<阻挡,low-0.65,'★黑马短线'),colorffff;
drawtext(filter(open<x2 and close>x2 and 支撑-ref(支撑,1)>0 and 支撑-ref(支撑,1)>0 and close<阻挡 and 均线-ref(均线,1)>0 and close>=均线 and high<阻挡 and aa10-ref(aa10,1)>0 and 阻挡-ref(阻挡,2)>0,11),low-0.11,'★快马加鞭'),colorff;
drawtext(filter(open<x2 and winner(close)<0.2 and close>x2 and x2-ref(x2,1)>0 and high<阻挡 and close-ref(close,1)>0.35,4),low-0.05,'★黑马狂奔'),colord18073;
drawtext(cross(支撑,均线) and high<中轨道 and winner(close)<0.2 and close<阻挡 and close>open and low<=x2 and close>=x2 and cross(支撑,x2),low,'★黑马起步'),colorffff;
drawtext(cross(x4,x5),high,'●减仓'),colorb4ff;
drawtext(x9,high*1.03,'出货'),color9000f5;
drawtext(黑马起步>0 and low<=x2 and 均线-ref(均线,1)>0,low-0.11,'★黑马起步'),colorff00;
drawtext(逃遁>0,high*1.14,'●逃命'),colorff;
rdv:=sma(low,8,1);
drawtext(cross(k,d) and close>=open and x2-ref(x2,1)>0 and rdv-ref(rdv,1)>0 and k<=33,low-0.08,'★黑马初现'),color8500de;
drawtext(filter(low<=短期底部 and winner(close)<0.2 and close<牛熊线 and high<阻挡 and x2-ref(x2,1)>0 and close>open and high>=x3,5),low-0.03,'←黑马筑底'),color85b256;
rck:=sma(low,21,2)*0.95;
趋势线:=sma(low,5,1);
大胆买入:drawtext(cross(趋势线,rck) and low<=x2 and x2-ref(x2,1)>0,low,'←★大胆买入'),colore50000;
b1:=(high+low+close)/3;
b6:=hhv(b1,4*15);
b7:=llv(b1,4*15);
b8:=b6-b7;
飞龙顶底线:=ma((b1-b7)/b8,2)*80;
drawtext(filter(飞龙顶底线<=1 and winner(close)<0.02 and high<趋势线 and close>open and low<=短期底部 and close>短期底部,8),low-0.02,'←黑马寻底'),colore7dd1f;
drawtext(filter(low<=短期底部 and winner(close)<0.015 and open/close>0.99 and j-ref(j,1)>0 and close>open and high<支撑位 and close>短期底部,25),low-0.09,'←开始建仓'),colorffff;
drawtext(filter(low<=均线30 and aa10-ref(aa10,1)>0 and 均线-ref(均线20,1)>0 and 趋势线-ref(趋势线,1)>0 and close>=均线30 and winner(close)<0.15 and close/open>1.01,3),low,'★天马奔月'),color76b0fc;
drawtext(open<=均线 and 均线30-ref(均线30,1)>0 and close>均线89 and bb10>1 and close/open>1.04,low,'★天马过桥'),colorcc99ff;
stickline(open>=close,close,open,9,0),colorff5b00;
stickline(open>=close,close,open,8,0),colorff6c00;
stickline(open>=close,close,open,7,0),colorff7b00;
stickline(open>=close,close,open,6,0),colorff9c00;
stickline(open>=close,close,open,5,0),colorffbe00;
stickline(open>=close,close,open,3.5,0),colorffcc00;
stickline(open>=close,close,open,1.5,0),colorffff00;
stickline(close>=open,close,open,9,0),color70084;
stickline(close>=open,close,open,8,0),colora3;
stickline(close>=open,close,open,7,0),colorb7;
stickline(close>=open,close,open,6,0),colorcd;
stickline(close>=open,close,open,5,0),colore9;
stickline(close>=open,close,open,3,0),color754e9;
stickline(close>=open,close,open,1.5,0),color76ef3;
stickline(close>=open,close,open,1,0),color77bf3;
stickline(close>open,open,low,1,0),color726ca;
stickline(close>open,close,high,1,0),color726ca;
stickline(open>close,close,low,1,0),colorde9100;
stickline(open>close,open,high,1,0),colorde9100;
stickline(close/open>1.04 and close<阻挡 and close-ref(close,1)>0,close,open,9,0),color90ff;
stickline(close/open>1.04 and close<阻挡 and close-ref(close,1)>0,close,open,8,0),color9fff;
stickline(close/open>1.04 and close<阻挡 and close-ref(close,1)>0,close,open,4,0),colorb5ff;
stickline(close/open>1.04 and close<阻挡 and close-ref(close,1)>0,close,open,2,0),colore4ff;
stickline(close/open>1.04 and close<阻挡 and close-ref(close,1)>0,open,low,0.7,0),colorffff;
stickline(close/open>1.04 and close<阻挡 and close-ref(close,1)>0,close,high,0.7,0),colorffff;
stickline(close<ref(close,1) and close<ref(close,1) and high>阻挡 and close<阻挡,open,low,0.7,0),colorff76ff;
stickline(close<ref(close,1) and close<ref(close,1) and high>阻挡 and close<阻挡,close,high,0.7,0),colorff76ff;
stickline(close<ref(close,1) and close<ref(close,1) and high>阻挡 and close<阻挡,close,open,9,0),colorff00ff;
stickline(close<ref(close,1) and close<ref(close,1) and high>阻挡 and close<阻挡,close,open,6,0),colorff62ff;
stickline(close<ref(close,1) and close<ref(close,1) and high>阻挡 and close<阻挡,close,open,4,0),colorff76ff;
stickline(close<ref(close,1) and close<ref(close,1) and high>阻挡 and close<阻挡,close,open,2,0),colorffa8ff;
mrzy:=round(((ref(high,1)-ref(low,1))*8/10+close)*100)/100;
mrzs:=round((close-(ref(high,1)-ref(low,1))*8/20)*100)/100;
vertline(close>0 and islastbar),pointdot,shift1,colorffff;
stickline(close>open and islastbar,mrzy,mrzs,8,1),shift2,colorff00ff;
stickline(close<=open and islastbar,mrzy,mrzs,8,1),shift2,colorffff00;
explain(1=1,' 【技术分析彩虹版】'),colorffff;
diff:=ema(close,3)-ema(close,13);
dea:=ema(diff,9);
tj:=diff>dea;
tj1:=diff>-0.1;
macd:=2*(diff-dea);
jc:=cross(diff,dea);
sc:=cross(dea,diff);
dcjc:=jc and dea>0;
explain(jc and dea>0,'macd在0轴上金叉提示加仓;'),colorff;
explain(jc and dea<0,'macd在0轴下金叉酌情买入;'),colorff;
explain(sc and dea>0,'macd在0轴上多次死叉;'),colorff00;
explain(sc and dea<0,'macd在0轴下多次死叉;'),colorff00;
explain(macd<0 and abs(macd)>ref(abs(macd),1),'macd绿柱增长提示卖出;'),colorff00;
explain(macd<0 and abs(macd)<ref(abs(macd),1),'macd绿柱缩短提示买入;'),colorff;
explain(llv(low,60)=low and not(llv("macd.dea",60)="macd.dea"),'macd底背离提示示买入;'),colorff;
explain(hhv(high,60)=high and not(hhv("macd.dea",60)="macd.dea"),'macd顶背离提示卖出;'),colorff00;
explain(cross("macd.diff","macd.dea") and barslast(cross("macd.diff","macd.dea"))>=3,'macd二次金叉提示买入,股价上涨幅度会较大。'),colorff;
explain(cross("macd.dea","macd.diff") and barslast(cross("macd.dea","macd.diff"))>=3,'macd二次死叉提示卖出,股价下跌幅度会较大。'),colorff00;
explain((count(close<ref(close,1),30))>18 and (count(close<ref(close,1),3))=3 and (count("macd.macd">ref("macd.macd",1),30))>18,'macd反转--股价将可能反转向上。'),colorff;
explain((count(close>ref(close,1),30))>18 and (count(close>ref(close,1),3))=3 and (count("macd.macd"<ref("macd.macd",1),30))>18,'macd反转--股价将可能反转向下。'),colorff00;
explain(count(dcjc,20)=2 and jc and dea>0,'macd在0轴上2金叉;'),color1;
explain(count(dcjc,20)=3 and jc and dea>0,'macd在0轴上3金叉;');
explain(count(dcjc,20)=4 and jc and dea>0,'macd在轴上4金叉;');
lc:=ref(close,1);
rsi1:=(sma(max(close-lc,0),7,1))/(sma(abs(close-lc),7,1))*100;
rsi2:=(sma(max(close-lc,0),14,1))/(sma(abs(close-lc),14,1))*100;
explain("rsi.rsi1"<15 and (barslast("rsi.rsi1"<15))>=1,'rsi相对强弱指标超卖,属买入信号。'),colorff;
explain("rsi.rsi1">85 and (barslast("rsi.rsi1">85))>=1,'rsi相对强弱指标超买,属卖出信号。'),colorff00;
explain((llv(low,20)=low and not(llv("rsi.rsi1",20)="rsi.rsi1") or (count(close<ref(close,1),30))>18 and (count("rsi.rsi1">ref("rsi.rsi1",1),30))>18) and "rsi.rsi1"<20,'rsi相对强弱指标底背离,股价在低位时属买入信号。'),colorff;
explain((hhv(high,20)=high and not(hhv("rsi.rsi1",20)="rsi.rsi1") or (count(close>ref(close,1),30))>18 and (count("rsi.rsi1"<ref("rsi.rsi1",1),30))>18) and "rsi.rsi1">80,'rsi相对强弱指标顶背离,股价在高位时属卖出信号。'),colorff00;
explain(cross("rsi.rsi1","rsi.rsi2") and "rsi.rsi1"<50,'rsi相对强弱指标金叉属买入信号。'),colorff;
explain(cross("rsi.rsi2","rsi.rsi1") and "rsi.rsi1">50,'rsi相对强弱指标死叉,属卖出信号。'),colorff00;
explain("rsi.rsi1"<5,'rsi相对强弱指标极低位,强烈买入信号。'),colorff;
explain("rsi.rsi1">93,'rsi相对强弱指标极高位,强烈卖出信号。'),colorff00;
explain(rsi1<35,'rsi顶背离提示买入;'),colorff;
explain(cross(74,rsi1),'rsi顶背离提示卖出;'),colorff00;
explain("kdj.k"<=20 and "kdj.d"<=20,'kd超卖指示买入;'),colorff;
explain("kdj.k">=80 and "kdj.d">=80,'kd超买逢高卖出;'),colorff00;
explain(cross("kdj.k","kdj.d") and (count(vol>ref(vol,1),30))>3 and vol/capital<=10/100 and "kdj.k"<=20 and "kdj.d"<=20,'kd金叉买入,低市值或成交清淡个股应忽略此信号。'),colorff;
explain(cross("kdj.d","kdj.k") and "kdj.k">=60 and "kdj.d">=60 and (barslast(cross("kdj.d","kdj.k") and "kdj.k">=60 and "kdj.d">=60))>=1 and (barslast(cross("kdj.d","kdj.k") and "kdj.k">=60 and "kdj.d">=60))<=7,'kd二次死叉提示卖出;'),colorff00;
explain("kdj.j"<0,'kdj异常逢低买入'),colorff;
explain(hhv(high,20)=high and (not(hhv("kdj.k",20)="kdj.k" or hhv("kdj.d",20)="kdj.d")) or (count(close>ref(close,1),30))>18 and ((count("kdj.k"<ref("kdj.k",1),30))>18 or (count("kdj.d"<ref("kdj.d",1),30))>18),'kd顶背离提示卖出;'),colorff00;
explain(llv(low,20)=low and (not(llv("kdj.k",20)="kdj.k" or llv("kdj.d",20)="kdj.d")) or (count(close<ref(close,1),30))>18 and ((count("kdj.k">ref("kdj.k",1),30))>18 or (count("kdj.d">ref("kdj.d",1),30))>18),'kd底背离提示买入;'),colorff;
日k:="kdj.k#day"(20,5,5);
日d:="kdj.d#day"(20,5,5);
周k:="kdj.k#week"(9,3,3);
周d:="kdj.d#week"(9,3,3);
explain(cross(日k,日d),'日kd金叉且底背离买入;'),colorff;
explain(cross(日d,日k),'日kd死叉且顶背离必须卖出;'),colorff00;
explain(cross(周k,周d),'周kd金叉且底背离买入;'),colorff;
explain(cross(周d,周k),'周kd死叉且顶背离必须卖出;'),colorff00;
bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
upr:=bbi+3*std(bbi,10);
dwn:=bbi-3*std(bbi,10);
var55:=(upr-dwn)/upr<0.03;
var56:=(upr-dwn)/upr>0.18;
var57:=(ma(close,60)-ma(close,5))/ma(close,60)>0.15;
var58:=(ma(close,5)-ma(close,60))/ma(close,5)>0.15;
explain(var55,'布林线收窄可能变盘;'),colorff00ff;
explain(var57 and var56 and close>open,'布林上下乖离太大可能反弹;'),colorff00ff;
explain(var58 and var56 and close<open,'布林上下乖离太大可能回落;'),colorff00;
explain(cross(close,"sar") and (abs(close-"sar"))/close>=0.01,'sar向上突破提示买入;'),colorff;
explain(cross("sar",close) and (abs(close-"sar"))/close>=0.01,'sar向下突破提示卖出;'),colorff00;
typ:=(high+low+close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
explain(cci<-100,'cci指标底位,买入机会。'),colorff;
explain(cci>100,'cci指标高位,卖出机会。'),colorff00;
explain(vol/capital>0.075,'换手过大,小心主力出逃,短期头部。'),colorffff;
wr:=-100*(hhv(high,14)-close)/(hhv(high,14)-llv(low,14));
explain(wr>-20,'w&r超买,即将见顶,应及时卖出。'),colorff00;
explain(wr<-80,'w&r超卖,即将见底,应伺机买进。'),colorff;
mtm:=close-ref(close,6);
mtmma:=ma(mtm,6);
explain(cross(mtm,mtmma),'mtm从下向上突破mtmma,买入信号。'),colorff;
explain(cross(mtmma,mtm),'mtm从上向下跌破mtmma,卖出信号。'),colorff00;
explain("arbr.ar"<50,'arbr人气指标超卖,属买入信号。'),colorff;
explain("arbr.ar">200,'arbr人气指标超买,属卖出信号。'),colorff00;
explain((hhv("arbr.ar",10)-"arbr.ar")/hhv("arbr.ar",10)>=0.5,'arbr人气指标异常,若股价从高价下跌,属买入信号。'),colorff;
explain(("arbr.ar"-llv("arbr.ar",10))/llv("arbr.ar",10)>=0.5,'arbr人气指标异常,若股价从低价上升,属卖出信号。'),colorff00;
explain("arbr.br"<50,'arbr意愿指标显示股价随时反弹考虑买入。'),colorff;
explain("arbr.br">300,'arbr意愿指标显示股价随时下挫考虑卖出。'),colorff00ff;
explain(cross("arbr.ar","arbr.br") and ("arbr.ar"<50 or "arbr.br"<50),'arbr人气意愿指标金叉,属买入信号。'),colorff;
explain(cross("arbr.br","arbr.ar") and ("arbr.ar">180 or "arbr.br">300),'arbr人气意愿指标死叉,属卖出信号。'),colorff00;
explain((count(close<ref(close,1),30))>18 and (count(close<ref(close,1),3))=3 and (count("obv.obv">ref("obv.obv",1),30))>18 and (count("obv.obv">ref("obv.obv",1),3))=3 and (count(vol>ref(vol,1),30))>3 and vol/capital<=10/100,'obv能量潮显示买盘较强属买入信号。'),colorff;
explain((count(close>ref(close,1),30))>18 and (count(close>ref(close,1),3))=3 and (count("obv.obv">ref("obv.obv",1),30))>18 and (count("obv.obv">ref("obv.obv",1),3))=3 and (count(vol>ref(vol,1),30))>3 and vol/capital<=10/100,'obv能量潮显示买盘逐渐加强属买入信号。'),colorff;
explain((count(close>ref(close,1),30))>18 and (count(close>ref(close,1),3))=3 and ((count("obv.obv"<ref("obv.obv",1),30))>18 or (count("obv.obv"<ref("obv.obv",1),3))=3),'obv能量潮显示买盘无力属卖出信号。'),colorff00;
explain(cross("obv.obv",0) and (count(ref("obv.obv",1)<0,3))=3,'obv能量潮由负转正属买入信号。'),colorff;
explain(cross(0,"obv.obv") and (count(ref("obv.obv",1)>0,3))=3,'obv能量潮由正转负属卖出信号。'),colorff00;
explain(hhv(high,20)=high and not(hhv("obv.obv",20)="obv.obv"),'obv能量潮顶背离属卖出信号。'),colorff00;
explain(llv(low,20)=low and not(llv("obv.obv",20)="obv.obv"),'obv能量潮底背离属买入信号。'),colorff;
explain((abs("obv.obv"-ref("obv.obv",1)))/abs(ma("obv.obv",5))>0.07 and "obv.obv">ref("obv.obv",1),'obv能量潮异常。若股价在高位属卖出信号,若obv能量线在低位长时间横向整理后出现,属买入信号。'),colorff00ff;
explain("cr.cr"<40,'cr能量指标超卖,提示股价形成底部,属买入信号。'),colorff;
explain("cr.cr"<=400 and "cr.cr">=300,'cr能量指标超买,属卖出信号。'),colorff00;
explain(llv(low,20)=low and not(llv("cr.cr",20)="cr.cr"),'cr能量指标底背离,属买入信号。'),colorff;
explain(hhv(high,20)=high and not(hhv("cr.cr",20)="cr.cr"),'cr能量指标顶背离,属卖出信号。'),colorff00;
explain(abs("cr.ma1"-"cr.ma2")<5 and abs("cr.ma1"-"cr.ma3")<5 and abs("cr.ma2"-"cr.ma3")<5 or abs("cr.ma1"-"cr.cr")<5 and abs("cr.ma1"-"cr.ma3")<5 and abs("cr.cr"-"cr.ma3")<5,'cr能量指标异常,一波或长或短的上升或下跌行情即将展开。'),colorff00ff;
explain("psy"<10,'psy心理线指标低位超卖区,属买入信号。'),colorff;
explain(between("psy","psy">10,"psy"<25),'psy心理线指标超卖,属买入信号。'),colorff;
explain("psy">75,'psy心理线指标超买,属卖出信号。'),colorff00;
explain(cross("roc.roc",0),'roc变动速率指标向上突破,属买入信号。'),colorff;
explain(cross(0,"roc.roc"),'roc变动速率指标向下突破,属卖出信号。'),colorff00;
explain(llv(low,20)=low and not((count("roc.roc"<ref("roc.roc",1),30))>18 and (count("roc.roc"<ref("roc.roc",1),3))=3),'roc变动速率指标,显示下跌动力减弱,属买入信号。'),colorff;
explain(hhv(high,20)=high and not((count("roc.roc">ref("roc.roc",1),30))>18 and (count("roc.roc">ref("roc.roc",1),3))=3),'roc变动速率指标,显示上涨动力减弱,属卖出信号。'),colorff00;
explain((count(close>ref(close,1),30))>18 and (count(close>ref(close,1),3))=3 and (count("roc.roc">ref("roc.roc",1),30))>18 and (count("roc.roc">ref("roc.roc",1),3))=3,'roc变动速率指标显示短期反弹有望,属买入信号。'),colorff;
explain((count(close<ref(close,1),30))>18 and (count(close<ref(close,1),3))=3 and (count("roc.roc"<ref("roc.roc",1),30))>18 and (count("roc.roc"<ref("roc.roc",1),3))=3,'roc变动速率指标显示短期警惕回落,属卖出信号。'),colorff00;
explain("vr"<20,'vr容量比率指标显示股价即将涨升,建议积极买入。'),colorff;
explain("vr">400,'vr容量比率指标显示后续资金枯竭,股价将可能高位下跌,属卖出信号。'),colorff00;
explain(("vr"/ref("vr",1)>=2 or "vr"/ref("vr",2)>=2) and (count(close<=ref(close,1),5))>=3,'vr容量比率指标异常,显示股价即将涨升,属买入信号。'),colorff;
explain("vr">300 and (count("vr"<ref("vr",1),5))>=3 and (count(close>ref(close,1),5))>=3,'vr容量比率指标显示涨势耗尽,建议卖出。'),colorff00;
vv6:=(2*close+high+low)/4;
vv7:=llv(low,27);
vv8:=hhv(high,27);
攀:=ema((vv6-vv7)/(vv8-vv7)*100,13)-50;
金:=ema(0.618*ref(攀,1)+0.382*攀,3);
起攀:=cross(攀,金) and close>open;
explain(cross(攀,金) and close>open,'起攀指标发出起攀买入信号。'),colorff;
explain(1=1,' 【均线系统分析】'),colorffff;
ma5:=ma(close,5);
ma10:=ma(close,10);
ma30:=ma(close,30);
ma60:=ma(close,60);
ma125:=ma(close,125);
ma250:=ma(close,250);
explain(ma5>ma10 and ma10>ma30 and ma5>ma30,'短期均线多头排列;'),colorff;
explain(ma5<ma10 and ma10<ma30 and ma5<ma30,'短期均线空头排列;'),colorff00;
explain(ma30>ma60 and ma30>ma125 and ma60>ma125,'中期均线多头排列;'),colorff;
explain(ma30<ma60 and ma30<ma125 and ma60<ma125,'中期均线空头列排;'),colorff00;
explain(ma60>ma125 and ma125>ma250 and ma60>ma250,'长期均线多头排列;'),colorff;
explain(ma60<ma125 and ma125<ma250 and ma60<ma250,'长期均线空头排列;'),colorff00;
explain(cross(ma5,ma10),'短期5日10日均线金叉;'),colorff;
explain(cross(ma10,ma5),'短期5日10日均线死叉;'),colorff00;
explain(cross(close,ma125),'今日股价上穿半年线;'),colorff00ff;
explain(cross(ma125,close),'今日股价跌破半年线;'),colorff00;
explain(cross(close,ma250),'今日股价上穿一年线;'),colorff00ff;
explain(cross(ma250,close),'今日股价跌破一年线;'),colorff00;
explain(cross(close,ma60) and cross(close,ma125) and cross(close,ma250),'股价一阳穿三线;'),colorff;
explain(ma30>ref(ma30,1),'30日均线趋势向上;'),colorff;
explain(ma30>ref(ma30,1) and ma30<ref(ma30,1)*1.001,'30日均线趋势走平;'),colorffcc66;
explain(ma30<ref(ma30,1),'30日均线趋势向下;'),colorff00;
explain(ma5>ref(ma5,1)*1.015,'5日均线强劲向上;'),colorff;
explain(ma5>ref(ma5,1) and ma5<ref(ma5,1)*1.005,'5日均线方向不明;'),colorffff;
explain(ma5<ref(ma5,1)*0.985,'5日均线快速向下;'),colorff00;
explain(1=1,' 【形态分析】'),colorffff;
早晨之星:=ref(close,2)/ref(open,2)<0.95 and ref(open,1)<ref(close,2) and (abs(ref(open,1)-ref(close,1)))/ref(close,1)<0.03 and close/open>1.05 and close>ref(close,2);
黄昏之星:=ref(close,2)/ref(open,2)>1.03 and ref(open,1)>ref(close,2) and (abs(ref(open,1)-ref(close,1)))/ref(close,1)<0.02 and close/open<0.97 and close<ref(close,2);
长十字:=close=open and high/low>1.03;
垂死十字:=close=open and close=low and close<>high;
早晨十字星:=ref(close,2)/ref(open,2)<0.95 and ref(open,1)<ref(close,2) and ref(open,1)=ref(close,1) and close/open>1.05 and close>ref(close,2);
黄昏十字星:=ref(close,2)/ref(open,2)>1.05 and ref(open,1)>ref(close,2) and ref(open,1)=ref(close,1) and close/open<0.95 and close<ref(close,2);
射击之星:=min(open,close)=low and high-low>3*(max(open,close)-low) and close>ma(close,5);
倒转锤头:=min(open,close)=low and high-low>3*(max(open,close)-low) and close<ma(close,5);
锤头:=high=max(open,close) and high-low>3*(high-min(open,close)) and close<ma(close,5);
吊颈:=high=max(open,close) and high-low>3*(high-min(open,close)) and close>ma(close,5);
穿头破脚:=ref(close,1)/ref(open,1)>1.03 and close/open<0.96 and close<ref(open,1) and open>ref(close,1) or ref(close,1)/ref(open,1)<0.97 and close/open>1.04 and close>ref(open,1) and open<ref(close,1);
乌云盖顶:=ref(close,1)/ref(open,1)>1.03 and close/open<0.97 and open>ref(close,1) and close<ref(close,1);
曙光初现:=ref(close,1)/ref(open,1)<0.97 and close/open>1.03 and open<ref(close,1) and close>ref(close,1);
身怀六甲:=(abs(ref(close,1)-ref(open,1)))/ref(close,1)>0.04 and (abs(close-open))/close<0.005 and max(close,open)<max(ref(close,1),ref(open,1)) and min(close,open)>min(ref(close,1),ref(open,1));
十字胎:=(abs(ref(close,1)-ref(open,1)))/ref(close,1)>0.04 and close=open and close<max(ref(close,1),ref(open,1)) and close>min(ref(close,1),ref(open,1));
平顶:=(abs(high-ref(high,1)))/high<0.001;
平底:=(abs(low-ref(low,1)))/low<0.001 and (abs(ref(low,1)-ref(low,2)))/ref(low,1)<=0.001;
大阳烛:=close/open>1.05 and high/low<close/open+0.018;
三个白武士:=ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and close>open and ref(close,1)>ref(close,2) and close>ref(close,1);
双飞乌鸦:=ref(close,1)<ref(open,1) and close<open and close/open<0.98;
孕育线:=ref(close,2)>ref(open,2) and (ref(close,2)-ref(open,2))/ref(open,2)>=2/100 and ref(open,1)>=ref(close,1) and (ref(open,1)-ref(close,1))/ref(close,1)<=2/100 and ref(open,1)<=ref(close,2) and ref(close,1)>=ref(open,2) and close>=open and (close-open)/open>=2/100 and close>=ref(open,1) and open<=ref(close,1) and (max(close,ref(close,2))-min(close,ref(close,2)))/min(close,ref(close,2))<=1/100;
多方炮:=ref(close,2)>ref(open,2) and ref(close,1)<ref(open,1) and close>open;
出水芙蓉:=(open<ema(close,20) or open<ema(close,40) or open<ema(close,60)) and close>max(ema(close,20),max(ema(close,40),ema(close,60))) and vol/ma(vol,30)>1.2 and close/ref(close,1)>1.049;
上升三部曲:=ref(close,4)/ref(open,4)>1.03 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(high,1) and close/open>1.03 and close>ref(close,4);
下跌三部曲:=ref(close,4)/ref(open,4)<0.97 and ref(close,3)>ref(open,3) and ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(high,1) and close/open<0.97 and close<ref(close,4);
跳空缺口:=high<ref(low,1) or low>ref(high,1);
三只乌鸦:=ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and close<open and ref(close,1)<ref(close,2) and close<ref(close,1);
光脚阴线:=low=close and high<>low;
光头阳线:=high=close and high<>low;
分离:=open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0;
长下影:=(min(close,open)-low)/(high-low)>0.667;
长上影:=(high-max(close,open))/(high-low)>0.667;
十字星:=close=open and high<>low;
大阴烛:=open/close>1.05 and high/low<open/close+0.018;
好友反攻:=ref(close,1)<ref(open,1) and close>open and (abs(close-ref(close,1)))/close<0.002 or ref(close,1)>ref(open,1) and close<open and (abs(close-ref(close,1)))/close<0.002;
倾盆大雨:=ref(close,1)/ref(open,1)>=1.03 and open<ref(close,1) and open>ref(open,1) and close<ref(open,1);
explain(倾盆大雨,'倾盆大雨,见顶信号;'),colorffff00;
explain(大阴烛,'大阴烛,后市向淡,发生逆转;'),colorffff00;
explain(好友反攻,'好友反攻,跌势已尽,要展开一段反弹行情;'),colorff;
explain(跳空缺口,'跳空缺口,突破长期盘整,向上跳空,上涨行情开始;向下跳空,下跌行情开始;'),colorffffff;
explain(光脚阴线,'光脚阴线,下跌信号;'),colorffff00;
explain(光头阳线,'光头阳线,多方积极上攻态势,后市看涨;'),colorff;
explain(三只乌鸦,'三只乌鸦站枝头,可能见顶回落;'),colorffff00;
explain(分离,'分离,注意看涨分离和看跌分离;'),colorffffff;
explain(长下影,'长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;'),colorff;
explain(长上影,'长上影,表明行情上档压力沉重,升势受阻;'),colorffff00;
explain(下跌三部曲,'下跌三部曲,下跌信号;'),colorff;
explain(上升三部曲,'上升三部曲,上涨信号;'),colorffff00;
explain(早晨之星,'早晨之星,见底回升;'),colorff;
explain(黄昏之星,'黄昏之星,见顶回落;'),colorffff00;
explain(十字星,'十字星,重要的警告信号,原趋势停顿或反转;'),colorffffff;
explain(长十字,'长十字,重要的警告信号,原趋势停顿或反转;'),colorffffff;
explain(垂死十字,'垂死十字,下跌信号;'),colorffff00;
explain(早晨十字星,'早晨十字星,上涨信号,见底回升;'),colorff;
explain(黄昏十字星,'黄昏十字星,趋势停顿或反转,下跌信号,见顶回落;'),colorffff00;
explain(射击之星,'射击之星,出现在短期的上升趋势,表明市场顶部就在眼前,可能见顶回落,可靠性低;'),colorffff00;
explain(倒转锤头,'倒转锤头构成一个看涨信号,可能见底回升;'),colorff;
explain(锤头,'锤头,可能见底回升,如有量配合,信号强烈;'),colorff;
explain(吊颈,'吊颈,上升行情中见顶回落,顶部出现,见顶信号;'),colorffff00;
explain(平顶,'平顶,意味行情摸高见顶,股价行将反转。但反转下跌力度较小;'),colorffff00;
explain(穿头破脚,'穿头破脚,顶部出现,见顶回落信号;'),colorffff00;
explain(乌云盖顶,'乌云盖顶,见顶回落信号;'),colorffff00;
explain(曙光初现,'曙光初现,行情将演化为v型反转或止跌横盘趋势。后市见底回升;'),colorff;
explain(身怀六甲,'身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;'),colorff;
explain(十字胎,'十字胎;'),colorff;
explain(平底,'平底,行情探低见底,股价行将反转上升,但力度较小;'),colorff;
explain(大阳烛,'大阳烛,在上升行情中出现,则意味着行情剧烈地向上攀升。在下跌行情中出现,则意味着行情剧烈地向上反弹;'),colorff;
explain(三个白武士,'三个白武士,每日收盘价上移,表示可能见底回升;'),colorff;
explain(双飞乌鸦,'双飞乌鸦,行情开始疲软将见顶回落;'),colorffff00;
explain(孕育线,'孕育线,注意股价位置;'),colorffffff;
explain(多方炮,'多方炮,在底部出现有上涨可能,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;'),colorff;
explain(出水芙蓉,'出水芙蓉,阳线穿过20、40、60日季均线,上攻势头初现;'),colorff;
explain(1=1,' 【资金面分析】'),colorffff;
var11:=ma(vol/(high-low),4);
var33:=abs(close-open);
var44:=vol/(high-low);
explain(var44<var11 and var33<ma(var33,4),'资金无入场意愿,萎缩中;'),colorff00;
explain(var44<var11 and var33>ma(var33,4),'场内资金运作行为;'),colorffcc66;
explain(var44>var11 and var33<ma(var33,4),'多空双方激烈争夺中;'),colorff00ff;
explain(var44>var11 and var33>ma(var33,4),'场外资金介入(或出局)意愿强烈;'),colorff;
explainex(1=1,'该股五日换手%=',sum(vol/capital*100,5),2,0);
explainex(1=1,'十日换手%=',sum(vol/capital*100,10),2,0);
explainex(1=1,'二十日换手%=',sum(vol/capital*100,20),2,0);
explainex(1=1,'百日换手%=',sum(vol/capital*100,100),2,0);
explainex(1=1,'获利盘比例=',winner(close)*100,2,0);
explainex(1=1,'套牢盘比例=',100-winner(close)*100,2,0);


黑马全息彩虹版

  >>>使用本站搜索工具可以找到更多黑马全息彩虹版指标公式详解 飞狐黑马

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文黑马全息彩虹版指标公式详解 飞狐黑马仅供学习研究。

猜你喜欢

学了又学