用于30分钟k线抢反弹用,不做中长线投资参考。
在30分钟均线处设置日线为:5、13、34、89、233.
*出现“弱”字样时表示弱势状态,即使出现买入信号也不易买入。
*出现“跑”字样时,表示可能存在暴跌的可能性,即使出现买入信号也不易买入。
*出现“买”字样时,可以相对重的仓位买入。
*出现“少买”字样的买入信号时,不要重仓位买入,以免发生变盘意外。
*当长期均线向下并且均线粘合时,即使出现买入信号也不易买入。
出现卖出信号时,采用逐步减仓的方式,不易一次卖空。
//{均线指标}
ma1 := ma(c,n);
ma2 := ma(c,n1);
ma3 := ma(c,n2);
ma4 := ma(c,n3);
ma5 := ma(c,n4);
//{wr指标}
wr1 : 100-100*(hhv(high,n5)-close)/(hhv(high,n5)-llv(low,n5)),linethick1;
wr2:=100-100*(hhv(high,n6)-close)/(hhv(high,n6)-llv(low,n6));
wr3:=100-100*(hhv(high,n7)-close)/(hhv(high,n7)-llv(low,n7));
//{macd指标}
diff := ema(close,12) - ema(close,26);
dea := ema(diff,9);
//{kdj指标}
rsv := (c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k := sma(rsv,3,1);
d := sma(k,3,1);
j : 3*k-2*d,linethick1;
//{rsi指标}
lc := ref(close,1);
rsi1: sma(max(close-lc,0),n8,1)/sma(abs(close-lc),n8,1)*100,linethick1;
rsi2:=sma(max(close-lc,0),n9,1)/sma(abs(close-lc),n9,1)*100;
rsi3:=sma(max(close-lc,0),n10,1)/sma(abs(close-lc),n10,1)*100;
//以下是买入抄底的公式,借用一下
var1:=(close-llv(low,80))/(hhv(high,80)-llv(low,80))*200;
var2:=sma(var1,3,1);
var3:=sma(var2,3,1);
var4:=3*var2-2*var3;
var5:=llv(low,5);
var6:=hhv(high,5);
var7:=ema((close-var5)/(var6-var5)*100,4)*2;
var8:=ema(0.667*ref(var7,1)+0.333*var7,2);
var9:=3*var7-2*var8;
vara:=pow(ma(close,5),2)+ma(close,5);
varb:=pow(ma(low,5),2)+ma(low,5);
varc:=pow(ma(high,5),2)+ma(high,5);
vard:=(vara-llv(varb,64))/(hhv(varc,64)-llv(varb,64))*150+65-10;
vare:=sma(vard,3,1)*1.5-100;
varf:=sma(vare,3,1);
var10:=3*vare-2*varf;
var11:=(high+low+close*2)/4;
var12:=ema(var11,13);
var13:=std(var11,13);
var14:=(var11-var12)*100/var13;
var15:=ema(var14,5);
var17:=ema(var15,13)+200-100;
var18:=ema(var17,10);
var19:=3*var17-2*var18;
var1a:=var2+var7+vare+var17;
var1b:=var3+var8+varf+var18;
var1c:=var4+var9+var10+var19;
var1d:=(high+low+close)/3;
var20:=(var1d-ma(var1d,34))/(0.015*avedev(var1d,34));
var22:=(high+low+close+var1d)/4;
var23:=ema(var22,24);
var24:=std(var22,24);
var25:=(var22-var23)/var24*100;
var26:=(var1d-ma(var1d,24))/(0.015*avedev(var1d,24));
var27:=ema(var25,5);
var2a:=((var27+var26+var20)/3+165)/4;
var2b:=(ema(ema(ema(var2a,15),10),5)-25)*2;
var2c:=(var1a+var1b+var1c*30)/32/5-15;
var2d:=ema(var2c,7);
var2e:=(var2a+var2c)/2/1.1;
超短:ema(var2e,3),linethick2 ;
短线:=ema(超短,5);
趋势线:=ema((var2b+var2d)/2,2);
//drawicon(cross(趋势线,0),0,1);
//drawicon(cross(100,超短),100,2);
drawtext(趋势线>ref(趋势线,1)and ref(趋势线,1)<ref(趋势线,2)and count(cross(超短,短线),3)=1 and 短线<30,短线,'看底');
//ma4>ma5 and ma1<ma2 and (c<ma4 or c<ma5) and wr1>=ref(wr1,1) and j>=ref(j,1) and rsi1>=ref(rsi1,1) and close>=ref(close,1);
//drawicon(ma4>ma5 and ma5<ma3 and ma1<ma2 and ma4>ref(ma4,1) and (c<ma4 or c<ma5) and wr1>=ref(wr1,1) and j>=ref(j,1) and j<=25 and rsi1>ref(rsi1,1) and rsi1<=30 and close>=ref(close,1),low,'buy');
//kdj、rsi、wr上升买点
drawicon(j>=ref(j,1) and rsi1>=ref(rsi1,1) and ref(rsi1,1)<ref(rsi1,2) and wr1>=ref(wr1,1) and wr1>rsi1 and j<=60 and rsi1<=45 and wr1<=65 and (超短>=ref(超短,1) or (ref(超短,1)-超短)<0.4),low,'buy');
drawtext(j>=ref(j,1) and rsi1>=ref(rsi1,1) and ref(rsi1,1)<ref(rsi1,2) and wr1>=ref(wr1,1) and wr1>rsi1 and j<=60 and rsi1<=45 and wr1<=65 and (超短>=ref(超短,1) or (ref(超短,1)-超短)<0.4),low*0.5,'买');
//j、rsi、wr、超短四线同拐向上
drawicon(j>=ref(j,1) and ref(j,1)<ref(j,2) and rsi1>ref(rsi1,1) and ref(rsi1,1)<ref(rsi1,2) and wr1>=ref(wr1,1) and ref(wr1,1)<ref(wr1,2) and 超短>ref(超短,1) and ref(超短,1)<ref(超短,2) and 超短<80 ,low,'buy');
drawtext(j>=ref(j,1) and ref(j,1)<ref(j,2) and rsi1>ref(rsi1,1) and ref(rsi1,1)<ref(rsi1,2) and wr1>=ref(wr1,1) and ref(wr1,1)<ref(wr1,2) and 超短>ref(超短,1) and ref(超短,1)<ref(超短,2) and 超短<80,low*0.5,'买2');
drawtext(j>=ref(j,1) and rsi1>ref(rsi1,1) and ref(rsi1,1)<ref(rsi1,2) and wr1>=ref(wr1,1) and wr1>rsi1 and j<=60 and rsi1<=45 and wr1<=65 and ma5<ref(ma5,1) ,high*1.5,'少');
//j上穿超短线并且5日线上穿13日线
drawicon(cross(j,超短) and 超短<45 and wr1>ref(wr1,1),low,'buy');
drawtext(cross(j,超短) and 超短<45 and wr1>ref(wr1,1),low*0.5,'t');
//drawicon(j>=ref(j,1) and rsi1>ref(rsi1,1) and wr1>=ref(wr1,1) and j<=60 and rsi1<=45 and wr1<=65 and ma5>ref(ma5,1) and ma4>ref(ma4,1),low,'buy');
//drawicon(ma1>ma2 and ma1<ref(ma1,1) and j<ref(j,1) and ref(j,1)>ref(j,2) and rsi1<ref(rsi1,1) and ref(rsi1,1)>ref(rsi1,2) and wr1<ref(wr1,1),high,'sell');
drawicon(rsi1<ref(rsi1,1) and ref(rsi1,1)>ref(rsi1,2) and j<ref(j,1) and ref(j,1)>ref(j,2) and wr1<ref(wr1,1) and ma1>ma2,high,'sell');
drawtext(ma1<ma2 and ma2<ma3 and ma3<ma4 and ma1<ref(ma1,1) and ma2<ref(ma2,1) and ma3<ref(ma3,1) and ma4<ref(ma4,1),high*2,'跑');
drawtext(ma3<ref(ma3,1) and ma4<ref(ma4,1),-high*0.5,'弱');
上一指标公式:启动金三角指标公式详解 同花顺启动
下一指标公式:MACD二次金叉和背离指标公式详解 同花顺背离
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文杰哥短线掘金利用30分钟线抢反弹指标公式详解 同花顺利用抢反弹仅供学习研究。