g8短线gsw19源码下载:
白线转红线买入,反之卖出。
zeros:0;
var1:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma(close,32))/ma(close,32)*100)/3;
diff:=ema(c,9)-ema(c,17),colorblack;
dea:=ema(diff,8),colorffaa00;
macd:=2*(diff-dea);
macd势增:=macd>ref(macd,1);
a1:=barslast(ref(cross(diff,dea),1));
macd底背离:=ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea);
drawtext(macd底背离,var1*1.4,' 底背'),colormagenta;
a2:=barslast(ref(cross(dea,diff),1));
macd顶背离:=ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff);
drawtext(macd顶背离,var1*2.2,'顶背'),colorcyan;
macd死叉:=cross(dea,diff),nodraw;
drawicon(macd死叉,var1*1.25,2) ;
// kdj//www.goodgongshi.com
n:=9;m1:=3;m2:=3;
rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;
k:=sma(rsv,m1,1),coloryellow,linethick1;
d:=sma(k,m2,1),colorcyan,linethick1;
j:=3*k-2*d,colormagenta,linethick1;
kdj势增:j>ref(j,1),nodraw;
高安全区:=0,colorred;
安全区:=20,colorcyan;
风险区:=100,colorgreen;
u1:=barslast(ref(cross(k,d),1));
u2:=ref(c,u1+1)>c and ref(k,u1+1)<k and cross(k,d)and d<50;
k底背离:=if(u2>0,1,0);
rr:=max(c,o);
q1:=hhv(rr,5);
q2:=d<ref(d,1) and ref(d,1)>ref(d,2);
a3:=barslast(ref(q2,1));
k顶背离:=(ref(q1,a3+1)<q1 and k<ref(k,a3+1) and q2 ),nodraw;
kdj金叉:=cross(j,k),nodraw;
kdj死叉:=cross(k,j),nodraw;
持币区域:var1,colorgreen;
持股区域:if(var1>0,var1,0),colorred;
最佳买点:持股区域>0 and ref(持股区域,1)<=0,nodraw;
卖点:持股区域=0 and ref(持股区域,1)>0,nodraw;
drawicon(最佳买点,0,'buy');
drawicon(卖点,0,'sell');
红买: if(持股区域>0,0,drawnull), colorred,linethick2;
绿卖: if(持股区域<=0,0,drawnull),,colorffff00,linethick2;
/////////////////
短顶:=var1>9 and filter(var1< ref(var1,1),5);
stickline(短顶,0,var1+2,3,0),colorgreen;
drawtext(var1>9 and filter(var1< ref(var1,1),5),var1*1.2,'短顶'),colorgreen;
大顶:=var1>20 and filter(var1< ref(var1,1),5);
stickline(大顶,var1+5,0,7,0),color00ff00;
drawtext(大顶,var1*1.4,'大顶'),colorcyan;
var2:=hhv(var1>20,10);
危险:=var2 and cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20));
stickline(危险,var1+10,0,4,0),colorcyan;
drawtext(危险,var1*1.68,'危险'),colorred;
注意止损:=var2 and filter(var1< ref(var1,1),6) and cross(ma(close,5),ma(close,2));
stickline(注意止损,var1+6,0,3,0),colorgreen;
drawtext(注意止损,var1+10,'止损'),color0000aa;
短底:=var1<-9 and var1> ref(var1,1),colorred;
stickline(短底,var1,0,3,0),coloryellow;
大底:=var1<-20 and filter(var1> ref(var1,1),5);
stickline(短底,var1,0,7,0),color006666;
stickline(短底,var1,0,6,0),color007777;
stickline(短底,var1,0,5,0),color008888;
stickline(短底,var1,0,4,0),color009999;
stickline(短底,var1,0,3,0),color00aaaa;
stickline(短底,var1,0,2,0),color00bbbb;
drawtext(短底+大底,var1-6,'底'),coloryellow;
买入准备:=var1<-9 and var1> ref(var1,1) ,coloryellow;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文G8短线GSW19下载仅供学习研究。