kdj+macd+均线解盘-十字光标自动解盘系列之四
var31:=sarturn( 10,2 ,20 );
var32:=ref(high,1)*1.1;
var33:=high*1.1;
var34:=(var33*vol+var32*(capital-vol))/capital;
var35:=ref(low,1)*0.9;
var36:=low*0.9;
var37:=(var36*vol+var35*(capital-vol))/capital;
var38:=ema(var37,20);
var39:=ema(var34,20);
vara:=var39-1.5;
varb:=if(close<=var38,vara,var39);
别样:= varb;
红:= vara;
drawflagtext(别样=红,c ,'股价严重超跌,阶段底部可择机买入');
股价趋势:= 3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)
-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1);
买入:=if(股价趋势<=10,30,0);
drawflagtext(买入,c,'底部区域' );
var8:=llv(low,26);
var6:=hhv(high,34);
var7:=ema((close-var8)/(var6-var8)*4,4)*25;
派发:=if((var7>90),-30,0);
drawflagtext(派发,c,'派发区域');
b1:=amount/vol/500;
b2:=(3*high+low+open+2*close)/7;
d3:=sum(amount,13)/b1/500;
e4:=dma(b2,vol/d3);
a1:=(close-e4)/e4*500 ;
a2:=(close-e4)/e4*1000 ;
吸筹:=(close-ma(close,60))/ma(close,60)*500;
drawflagtext((ref(a1,1)<-80 and a1>ref(a1,1)or ref(吸筹,1)<-80 and 吸筹>ref(吸筹,1)), c,'历史大底全仓买入');
var3o:=ref(close,1);
var4o:=sma(max(close-var3o,0),6,1)/sma(abs(close-var3o),6,1)*100;
卖出:=cross(80,var4o);
drawflagtext(卖出, c,'高度危险,清仓');
生命指数:ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3),color00ffff;
drawflagtext(if(生命指数>92,生命指数,0),生命指数 ,'危险,清仓');
drawflagtext((vol/capital)>0.075 ,c,
'换手过大,小心主力出逃,短期头部');
k:="kd.k"(17,4,4);
d:="kd.d"(17,4,4);
k:="kd.k"(17,4,4);
d:="kd.d"(17,4,4);
drawflagtext(k>80 and cross(d,k)=0,c,'kd指标提示该股已经处于超买状态,如果kd指标死叉应及时卖出。');
drawflagtext(k<20 and cross(k,d)=0,c,'kd指标提示该股已经处于超卖状态,如果kd指标金叉应及时买入。');
drawflagtext(cross(k,d) and llv(k,3)<20,c,'kd低位金叉,建议买入。');
drawflagtext(cross(d,k) and hhv(k,3)>80,c,'kd高位死叉,建议卖出。');
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
diff:=ema(close,12)-ema(close,26);
dea :=ema(diff,9);
macd:=2*(diff-dea);
drawflagtext(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and"kdj.k"(9,3,3)<=20,c,'kdj在20以下金叉,可关注!');
drawflagtext(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)) and"kdj.k"(9,3,3)>=80,c,'kdj在80以上死叉,注意风险!');
drawflagtext("macd.macd"(12,26,9)>ref("macd.macd"(12,26,9),1) and "macd.macd"(12,26,9)>0,c,'macd的红柱增长。');
drawflagtext("macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1) and "macd.macd"(12,26,9)>0,c,'macd的红柱缩短。');
drawflagtext("macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1) and "macd.macd"(12,26,9)<0,c,'macd的绿柱增长。');
drawflagtext("macd.macd"(12,26,9)>ref("macd.macd"(12,26,9),1) and "macd.macd"(12,26,9)<0,c,'macd的绿柱缩短。');
drawflagtext(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)) and "macd.macd"(12,26,9)<=0,c,'macd的diff与dea在0轴或0轴下金叉。');
drawflagtext(cross(ma(c,10),ma(c,20)) and ma(c,5)>ma(c,10) and ma(c,10)>ma(c,20),c,'短期均线今日多头排列。');
drawflagtext(cross(ma(c,20),ma(c,10)) and ma(c,5)<ma(c,10) and ma(c,10)<ma(c,20),c,'短期均线今日空头排列。');
drawflagtext(ma(c,5)>=ref(ma(c,5),1) and count(ref(ma(c,5),1)<ref(ma(c,5),2),5)=5,c,'5日均线已开始走平或勾头向上,股价有可能走出低部,密切关注!');
drawflagtext(cross(c,ma(c,5)),c,'今日股价站上5日均线!');
drawflagtext(cross(c,ma(c,10)),c,'今日股价站上10日均线!');
drawflagtext(cross(c,ma(c,20)),c,'今日股价站上20日均线!');
drawflagtext(cross(c,ma(c,30)),c,'今日股价站上30日均线!');
drawflagtext(cross(c,ma(c,60)),c,'今日股价站上60日均线!');
drawflagtext(cross(c,ma(c,120)),c,'今日股价站上120日均线!');
drawflagtext(cross(c,ma(c,240)),c,'今日股价站上240日均线!');
drawflagtext(cross(ma(c,5),c),c,'今日股价下穿5日均线!');
drawflagtext(cross(ma(c,10),c),c,'今日股价下穿10日均线!');
drawflagtext(cross(ma(c,20),c),c,'今日股价下穿20日均线!');
drawflagtext(cross(ma(c,30),c),c,'今日股价下穿30日均线!');
drawflagtext(cross(ma(c,60),c),c,'今日股价下穿60日均线!');
drawflagtext(cross(ma(c,120),c),c,'今日股价下穿120日均线!');
drawflagtext(cross(ma(c,240),c),c,'今日股价下穿240日均线!');
drawflagtext(ma(c,30)>ma(c,20) and ma(c,20)>ma(c,10) and ma(c,10)>ma(c,5) and c<ma(c,5) ,c,'5日、10日、20日、30日均线空头排列,并且股价在5日均线之下,持币观望!');
drawflagtext(ma(c,5)>ma(c,10) and ma(c,10)>ma(c,20) and ma(c,20)>ma(c,30) and c>ma(c,5) ,c,'5日、10日、20日、30日均线多头排列,并且股价在5日均线之上,可继续持有!');
c1:=c/ref(ema(c,30),30);
c2:=indexc/ref(ema(indexc,30),30);
l1:=c1/c2*10-10;
c3:=c/ma(c,60);
c4:=indexc/ma(indexc,60);
l2:=c3/c4*10-10;
c5:=c/ma(c,120);
c6:=indexc/ma(indexc,120);
l3:=c5/c6*10-10;
l4:=ma(l1+l2+l3,5);
drawflagtext(ref(l4,1)>0 and ref(l4,1)>ref(l4,2),c,'该股中长期走势强于大盘,且近期继续走强。');
drawflagtext(ref(l4,1)>0 and ref(l4,1)<=ref(l4,2),c,'该股中长期走势强于大盘,但近期有所走弱。');
drawflagtext(ref(l4,1)<=0 and ref(l4,1)>ref(l4,2),c,'该股中长期走势弱于大盘,但近期有所转强。');
drawflagtext(ref(l4,1)<=0 and ref(l4,1)<=ref(l4,2),c,'该股中长期走势弱于大盘,且近期继续走弱。');
半年线:=ema(c,148);
年线:=ema(c,250);
drawflagtext(c>=半年线,c,'股价在半年线之上');
drawflagtext(c>=年线,c,'股价在年线之上');
drawflagtext(c<半年线,c,'股价在半年线之下');
drawflagtext(c<年线,c,'股价在年线之下');
drawflagtext(半年线>=ref(半年线,1),c,'半年线趋势向上');
drawflagtext(年线>=ref(年线,1),c,'年线趋势向上');
drawflagtext(半年线<ref(半年线,1),c,'半年线趋势向下');
drawflagtext(年线<ref(年线,1),c,'年线趋势向下');
typ := (high + low + close)/3;
货币比:=sum(if(typ>ref(typ,1),typ*vol,0),14)/sum(if(typ<ref(typ,1),typ*vol,0),14);
mfi:=100-(100/(1+货币比));
a1:=count(cross(mfi,80),20);
a2:=count(cross(20,mfi),20);
drawflagtext(mfi<20,c,'mfi指标在20以下处于超卖信号区,不久将要上涨') ;
drawflagtext(mfi>80,c,'mfi指标在80以上处于超买信号区,股价将要下跌') ;
drawflagtext(a1,c,'mfi指标在两月前曾发出超买信号,表明股价将会下跌') ;
drawflagtext(a2,c,'mfi指标在两月前曾发出超卖信号,表明股价将会上涨') ;
{盖印}
drawrectabs(0,0,30,35,rgb(250,60,80)),color000099;
drawrectabs(0,30,30,45,rgb(250,250,80)),color009999;
drawtextabs(2,5,'金城'),colorffffff,linethick1;
drawtextabs(2,18,'特别'),colorffffff,linethick1;
drawtextabs(2,30,'优化'),color0000ff,linethick1;
上一指标公式:主力雷达-同花顺转L2公式下载 大智慧主力
下一指标公式:老鼠出洞主图不喜欢加密晒公式下载 大智慧源码加密
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文KDJ+MACD+均线解盘-十字光标自动解盘系列之四公式下载 大智慧MACDKDJ仅供学习研究。