做多做空,颜色区分,红色持股,蓝色持币,把握方向,买卖提示。
rsv1:=(close-llv(low,38))/(hhv(high,38)-llv(low,38))*100;
做多:sma(rsv1,5,1),colorred,linethick1;
沽空:sma(做多,10,1),colorlicyan,linethick1;
drawband(做多,rgb(255,0,0),沽空,rgb(13,137,137));
stickline(做多<=沽空 and 做多<10,做多,沽空,2,0),colorlicyan;
stickline(做多<=沽空 and 做多<10,做多,沽空,0.2,0),colorred;
varf:=troughbars(3,15,1)<4;
var11:=if(varf=1,50,0);
stickline(filter(varf=1,10),70,60,10,0),coloryellow;
drawicon(filter(varf=1,3),70,1);
drawtext(filter(varf=1,3),75,'拾黄金'),color007fff;
lc:= ref(c,1);
f1:=zig(3,15);
方向:if((f1> ref(f1,1)),1,100),colorligreen,linethick2;
抄底线:=8;//www.goodgongshi.com
drawtext(cross(抄底线,方向),抄底线,'★逢低进场!') ,colormagenta;
drawtext(cross(方向,抄底线),方向-3,'★逢高出场!') ,colorliblue;
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
drawtext(var17,45.3,'发现∮黑马'), colorff6600;
varf:=troughbars(3,15,1)<4;
drawtext(filter(varf=1,3),55,'白馬初现'),colorwhite;
var3:=(close-ma(close,6))/ma(close,6)*100;
var4:=(close-ma(close,24))/ma(close,24)*100;
var5:=(close-ma(close,32))/ma(close,32)*100;
var6:=(var3+var4+var5)/3;
var7:=ema(var6,5);
var8:=if(var6<=-20,5,0);
var9:=hhv(var8,10);
vara:=if(var9 and cross(ma(close,3),ma(close,5)),20,0);
drawtext(vara=20,23,'★底部'),linethick1,coloryellow;
stickline((vara=20),15,20,10,0),colorwhite;
varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig
(3,5),2)<=ref(zig(3,5),3));
vard:=(zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=ref(zig(3,5),2)) and (ref(zig
(3,5),2)>=ref(zig(3,5),3));
stickline((varc=1),(40),(40),0,30,0),coloryellow;
drawtext((varc=1),(30),'▲ 买入'),colormagenta;
drawtext((vard=1),70,'▼ 卖出'),colorligreen;
r:=((zdmr[-1]+bdmr[-1])-(zdmc[-1]+bdmc[-1]))/shgzg*100;
//相对强弱 //www.goodgongshi.com
lc := ref(close,1);//前一日收盘价;
rsi$1:=sma(max(close-lc,0),3,1)/sma(abs(close-lc),3,1)*100;
rsi$2:=sma(max(close-lc,0),5,1)/sma(abs(close-lc),5,1)*100;
rsi$3:=sma(max(close-lc,0),8,1)/sma(abs(close-lc),8,1)*100;
相对强弱:=0.5*rsi$1+0.31*rsi$2+0.19*rsi$3;
wave$1:=sma(100*(close-llv(low,8))/(hhv(high,8)-llv(low,8)),3,1);
wave$2:=sma(100*(close-llv(low,8))/(hhv(high,8)-llv(low,8)),5,1);
wave$3:=sma(100*(close-llv(low,8))/(hhv(high,8)-llv(low,8)),8,1);
短线波段:=0.5*wave$1+0.31*wave$2+0.19*wave$3;
机会区:20,pointdot,colorred;
偏好风险系数:0.5*相对强弱+0.5*短线波段,coloryellow;
风险区:80,pointdot,colorgreen;
//买入条件;//www.goodgongshi.com
cd1:=if(偏好风险系数<20 and close>open and r>0,1,0);//波段小于20,股价翻红;
cd2:=if(偏好风险系数<20 and low>=ref(low,1) and close>low and r>0,1,0);//波段小于20,股价未翻红,但未创新低;
cd3:=if(ref(偏好风险系数,1)<20 and 偏好风险系数>ref(偏好风险系数,1),1,0);//前一日波段小于20,今日转向;
signalbuy=(cd1=1 or cd2=1 or cd3=1);
x=(signalbuy and count(signalbuy,3)=1);
drawicon(x,机会区,"buy");
分时浪:=zig(3,5),colorwhite,linethick2;
gg:=ema(分时浪,2);
趋势浪:=zig(3,10),colorblue,linethick3;
hh:=ema(趋势浪,2);
drawtext(cross(hh,趋势浪),风险区+5,'~●卖高'),colorgreen;
drawtext(cross(趋势浪,hh),机会区-2,'~●买低'),colorred;
drawicon(cross(分时浪,gg),机会区,"buy");
drawicon(cross(gg,分时浪),风险区,"sell");
aa1:=amount/v;//www.goodgongshi.com
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,5)*0.921;
ee1:=v<ma(v,5)*1.5;
老鼠仓:=bb1 and cc1 and dd1 and ee1,linethick0,color0099ff;
drawtext(老鼠仓,机会区,'老鼠仓'),colorlired;
牛气:=ma(ref(hhv((c+l+o+h)/4,21),1),3),colorwhite;
突破:=50;
var3aa:=if((close>ref(close,1)),88,0);
var4aa:=if(((close)/(ref(close,1))>1.05) and ((high)/(close)<1.01) and (var3aa>0),91,0);
加仓:=15;
drawtext(filter((var4aa>89),55),加仓,'★加仓'),color00ffff;
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
减仓:=90;
drawtext(var18,减仓,'★减仓'),colorcyan;
ma200:=ema(close,20);
ma400:=ema(close,40);
ma600:=ema(c,60);
aa:=barslast(ma400>ma600 and (ma200=ma400 or ma200>ma400));
bb:=ref(count(c<ma600,aa)=aa,1);
cc:=cross(c,ma600) and vol>ma(vol,5) and (c-ref(c,1))/ref(c,1)*100>2;
芙蓉出水:=bb and cc;
芙蓉:=50;
drawtext(芙蓉出水,芙蓉,'芙蓉出水妒花钿'),colorred;
drawtext(ref(count(c<牛气,5)=5,1) and c>牛气 and c>o,突破,'突破'),colorwhite;
ma5:=ma(c,5);
ma10:=ma(c,10);
ma30:=ma(c,30);
fa:=barslast(cross(ma10,ma5)) and cross(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30 and ma10>ref(ma10,1);
凤鸣南山:=75;
drawtext(fb,凤鸣南山,'★凤鸣'),colorlired;
v1:=ema(close,5);
v2:=ema(ema(close,90)*1.01,10);
牛起步:=25;
drawtext(cross(v1,v2),牛起步,'★牛起'),colorgreen;
上一指标公式:薛道III指标公式详解 同花顺薛道
下一指标公式:波段顶底买卖指标公式详解 同花顺波段
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文丹鳳朝阳短中趋势指标公式详解 同花顺朝阳仅供学习研究。