蛟龙出海
a:=(3*close+low+open+high)/6;
b:=0;
for i=0 to 19 do begin
b:=b+(20-i)*ref(a,i);
end;
b:=b/210;
d1:ma(b,3),colorff;
d2:ma(b,5),colorff;
d3:ma(b,21),colorffff;
d4:ma(b,34),colorffff;
fillrgn(d1>d2,d1,d2),colorff;
fillrgn(d1<d2,d1,d2),colorffff00;
fillrgn(d3>d4,d3,d4),colorff;
fillrgn(d3>d4 and (count(close<min(d3,d4),barslast(cross(d3,d4))))>=3 or d3>d4 and (count(close>min(d3,d4),barslast(cross(d3,d4))))=0,d3,d4),colorffff00;
fillrgn(d3<d4,d3,d4),colorffff00;
var1:=if(close>ref(close,1),99,0);
var2:=if(close/ref(close,1)>1.04 and high/close<1.01 and var1>0,91,0);
drawtext(var2>89,low*0.99,'★短线'),colorff;
vv2:=ref(close,1);
vv3:=(sma(close-vv2,6,1))/(sma(abs(close-vv2),6,1))*100;
drawicon(ref(vv3,1)>81 and vv3<80,high,2);
drawtext(ref(vv3,1)>81 and vv3<80,high,'拜拜↓'),colorffff;
vf1:=ma(close,60)-ma(close,5)/3.2;
drawtext(if(close<vf1 and vol/240>ma(vol,5)/240 and close>=ref(close,1)*1.08 and close<ma(close,13)*1.3,1,0),low,'☆'),colorff;
vara:=(close-ref(open,29))/ref(open,29)*100;
varb:=ema(0.667*ref(vara,1)+0.333*vara,5);
drawtext(if(vol>=1.3*ma(vol,5) and count(vara>=varb and vara<-17,3) and ref(low,1)=llv(low,120),1,0),low,'★买入');
varr1:=(sma(max(close-ref(close,1),0),6,1))/(sma(abs(close-ref(close,1)),6,1))*100;
drawicon(cross(82,varr1),high,2);
drawtext(cross(82,varr1),high,'▲风险↓'),colorffff;
var1:=(high+low+open+2*close)/5;
var2:=ref(var1,1);
var3:=(sma(max(var1-var2,0),10,1))/(sma(abs(var1-var2),10,1))*100;
hy3:=if((count(var3<20,5))>=1 and (count(var1=llv(var1,10),10))>=1 and close>=open*1.038 and vol>ma(vol,5)*1.2,1,0);
drawtext(hy3,low,'▲买入'),colorffffff;
r1:=ma(winner(close*0.9)*100*close,3);
资金比:=(if(r1>5,r1,0))/2;
资金均量:=ma(资金比,5);
var01:=ref(close,1);
var02:=(sum(if(close>var01,vol,0),26))/(sum(if(close<var01,vol,0),26))*100;
股价比:=ema(var02,5);
explain(1=1,'【资金分析】'),colorffff;
explain(股价比<40,'该股处在底部区;'),colorffcc66;
explain(股价比>=40 and 股价比<80,'该股处在低位区;'),colorffcc66;
explain(股价比>=80 and 股价比<160,'该股处在盘整区;'),colorffcc66;
explain(股价比>=160,'该股处在获利区;'),colorffcc66;
explain(资金比>10 and 资金比>资金均量,'有增量资金进入;'),colorffcc66;
explain(资金比>10 and 资金比<ref(资金比,1) and 资金比<资金均量,'存量资金减量;'),colorffcc66;
explain(1=1,'【股价预测】'),colorffff;
var011:=(close+high+low)/3;
var012:=high-low;
var014:=var011+var012;
var015:=var011-var012;
var016:=2*var011-low;
var017:=2*var011-high;
明日转:=ref(close,2)*2-ref(close,5);
explainex(vol>0,'【明天生命】=',明日转,1,0),colorffffff;
explainex(vol>0,'【明天最高】=',var014,1,0),colorffff;
explainex(vol>0,'【范围上限】=',var016,1,0),colorff00ff;
explainex(vol>0,'【范围下限】=',var017,1,0),colorffff00;
explainex(vol>0,'【明天最低】=',var015,1,0),colorff00;
aa:=vol/((high-low)*2-(abs(close-open)));
主动买盘:=if(close>open,aa*(high-low),if(close<open,aa*(high-open+close-low),vol/2));
主动卖盘:=if(close>open,-aa*(high-close+open-low),if(close<open,-aa*(high-low),-vol/2));
促进指数mfl:(high-low)*1000000/vol,linethick0,colorff;
mfi:=(high-low)*1000000/vol;
绿灯:=mfi>=ref(mfi,1) and vol>=ref(vol,1);
衰退:=mfi<=ref(mfi,1) and vol<=ref(vol,1);
伪装:=mfi>=ref(mfi,1) and vol<=ref(vol,1);
蛰伏:=mfi<=ref(mfi,1) and vol>=ref(vol,1);
卖盘:=vol-主动买盘;
卖盘大:=(卖盘-主动买盘)/卖盘>0.6;
买盘大:=(主动买盘-卖盘)/主动买盘>0.6;
wj:=(high+low+close)/3;
vd1:=if(high=low,1,high-max(open,close));
vd2:=if(high=low,1,max(close,open)-wj);
vd3:=if(high=low,1,min(open,close)-low);
vd4:=if(high=low,1,wj-min(close,open));
vd5:=vol/(if(high=low,4,high-low));
vd6:=vd1*vd5;
vd7:=vd2*vd5;
vd8:=vd3*vd5;
vd9:=vd4*vd5;
买入量:=vd9+vd8;
卖出量:=-vd6+vd7;
卖量:=vol-买入量;
卖量大:=(卖量-买入量)/卖量>0.4;
买量大:=(买入量-卖量)/买入量>0.4;
explain(1=1,'【买卖盘解量】'),colorffff;
explain(绿灯,'[绿灯]+实计交易量增加。+mfi促进指数增加。'),colorff;
explain(衰退,'[衰退]-实计交易量减少。-mfi促进指数减少。'),colorff00;
explain(伪装,'[伪装]-实计交易量减少。+mfi促进指数增加。'),color9900;
explain(蛰伏,'[蛰伏]+实计交易量增加。-mfi促进指数减少。'),colorffff;
explain(卖盘大,'★主动卖盘大于主动买盘60%以上;'),color9900;
explain(买盘大,'★主动买盘大于主动卖盘60%以上;'),colorffff;
explain(卖量大,'☆卖出量大于买入量40%以上;'),color9900;
explain(买量大,'☆买入量大于卖出量40%以上;'),colorffff;
explain(1=1,'【控盘情况】'),colorffff;
explainex(1=1,'当日主动买卖盘(手)=',vol,2,0),colorff;
explainex(1=1,'其中主动买盘(手)=',主动买盘,2,0),colorffff;
explainex(1=1,'主动卖盘(手)=',主动卖盘,2,0),colorff00;
explainex(1=1,'当日买卖量(手)=',vol,2,0),colorffff00;
explainex(1=1,'其中买入量(手)=',买入量,2,0),colorff0000;
explainex(1=1,'卖出量(手)=',卖出量,2,0),colorffffff;
tjts:=backset(islastbar,5);
早晨之星:=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);
tj1:=if(倾盆大雨 and tjts,'倾盆大雨,见顶信号‖','');
tj2:=if(大阴烛 and tjts,'大阴烛,后市向淡,发生逆转‖','');
tj3:=if(好友反攻 and tjts,'好友反攻,跌势已尽,要展开一段反弹行情‖','');
tj4:=if(跳空缺口 and tjts,'跳空缺口,突破长期盘整,向上跳空,上涨行情开始;向下跳空,下跌行情开始‖','');
tj5:=if(光脚阴线 and tjts,'光脚阴线,下跌信号‖','');
tj6:=if(光头阳线 and tjts,'光头阳线,多方积极上攻态势,后市看涨‖','');
tj7:=if(三只乌鸦 and tjts,'三只乌鸦站枝头,可能见顶回落‖','');
tj8:=if(分离 and tjts,'分离,注意看涨分离和看跌分离‖','');
tj9:=if(长下影 and tjts,'长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意‖','');
tj10:=if(长上影 and tjts,'长上影,表明行情上档压力沉重,升势受阻‖','');
tj11:=if(下跌三部曲 and tjts,'下跌三部曲,下跌信号‖','');
tj12:=if(上升三部曲 and tjts,'上升三部曲,上涨信号‖','');
tj13:=if(早晨之星 and tjts,'早晨之星,见底回升‖','');
tj14:=if(黄昏之星 and tjts,'黄昏之星,见顶回落‖','');
tj15:=if(十字星 and tjts,'十字星,重要的警告信号,原趋势停顿或反转‖','');
tj16:=if(长十字 and tjts,'长十字,重要的警告信号,原趋势停顿或反转‖','');
tj17:=if(垂死十字 and tjts,'垂死十字,下跌信号‖','');
tj18:=if(早晨十字星 and tjts,'早晨十字星,上涨信号,见底回升‖','');
tj19:=if(黄昏十字星 and tjts,'黄昏十字星,趋势停顿或反转,下跌信号,见顶回落‖','');
tj20:=if(射击之星 and tjts,'射击之星,出现在短期的上升趋势,表明市场顶部就在眼前,可能见顶回落,可靠性低‖','');
tj21:=if(倒转锤头 and tjts,'倒转锤头构成一个看涨信号,可能见底回升‖','');
tj22:=if(锤头 and tjts,'锤头,可能见底回升,如有量配合,信号强烈‖','');
tj23:=if(吊颈 and tjts,'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖','');
tj24:=if(平顶 and tjts,'平顶,意味行情摸高见顶,股价行将反转。但反转下跌力度较小‖','');
tj25:=if(穿头破脚 and tjts,'穿头破脚,顶部出现,见顶回落信号‖','');
tj26:=if(乌云盖顶 and tjts,'乌云盖顶,见顶回落信号‖','');
tj27:=if(曙光初现 and tjts,'曙光初现,行情将演化为v型反转或止跌横盘趋势。后市见底回升‖','');
tj28:=if(身怀六甲 and tjts,'身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号‖','');
tj29:=if(十字胎 and tjts,'十字胎‖','');
tj30:=if(平底 and tjts,'平底,行情探低见底,股价行将反转上升,但力度较小‖','');
tj31:=if(大阳烛 and tjts,'大阳烛,在上升行情中出现,则意味着行情剧烈地向上攀升。在下跌行情中出现,则意味着行情剧烈地向上反弹‖','');
tj32:=if(三个白武士 and tjts,'三个白武士,每日收盘价上移,表示可能见底回升‖','');
tj33:=if(双飞乌鸦 and tjts,'双飞乌鸦,行情开始疲软将见顶回落‖','');
tj34:=if(孕育线 and tjts,'孕育线,注意股价位置‖','');
tj35:=if(多方炮 and tjts,'多方炮,在底部出现有上涨可能,在中间出现有可能是上涨中继,顶部出现是复合见顶信号‖','');
tj36:=if(出水芙蓉 and tjts,'出水芙蓉,阳线穿过20、40、60日季均线,上攻势头初现‖','');
tj:='【k线形态】'+tj1+tj2+tj3+tj4+tj5+tj6+tj7+tj8+tj9+tj10+tj11+tj12+tj13+tj14+tj15+tj16+tj17+tj18+tj19+tj20+tj21+tj22+tj23+tj24+tj25+tj26+tj27+tj28+tj29+tj30+tj31+tj32+tj33+tj34+tj35+tj36;
drawtext(sysparam(2)=barscount(close),close,tj),align5,colorffff00;
上一指标公式:鳄鱼猎食副图及条件选股版公式 飞狐选股条件指标 源码
下一指标公式:低点连线学习写法公式 飞狐写法连线指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文蛟龙出海公式 飞狐蛟龙指标 源码仅供学习研究。