好指标推荐《一图走天下》
drawgbk(1,colorrgb(0,0,20),colorrgb(0,60,50),1);
drawtextex(close,1,0,22,stklabel+' '+stkname+''),colorddff;
bb:=barpos=sysparam(1);
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
p:=sysparam(1);
str1:=''+'今日: '+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日 '+wday[wd[p]+1];
drawtextex(close,1,460,22,str1),colorddff;
月向线:=98;
月量线:=100;
50,linedot;
cs:=if(capital<1,516,469);
a:=ema(close,198)-ema(close,cs);
b:=ema(a,112);
月线下水:=a<0;
月转红:=a>=ref(a,1);
a1:=ema(close,55)-ema(close,119);
b1:=ema(a1,36);
周线下水:=a1<0;
周红:=a1>=ref(a1,1);
周转红:=a1>=ref(a1,1) and ref(a1>=ref(a1,1),1)=0;
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
macd1:=2*(diff-dea);
日转红:=macd1>=0 and ref(macd1,1)<0;
partline(月转红,月向线),linethick3,colorffffff;
partline(周红,月量线),linethick3,colorff;
partline(月转红=0,月向线),linedot,linethick1,colorff00;
partline(月线下水 and 月转红=0,月向线),linethick2,colorff00;
partline(周红=0,月量线),linedot,linethick1,colorff00;
partline(周线下水 and 周红=0,月量线),linethick2,colorff00;
cs1:=100;
cs2:=hhv(abs(macd1),cs1);
cs3:=abs(100/cs2);
macd:(macd1*cs3+100)/2,linethick1,color74ffff;
cs:=macd;
日红:=cs>=ref(cs,1);
日转红:=日红 and ref(日红,1)=0;
partline(日红,cs),linethick3,colorffff;
a:=ma(vol,5);
v1:=if(capital<1,ma(a,74),a);
v2:=if(capital<1,wma(v1,360),wma(v1,14));
v3:=(a-llv(a,14))/(hhv(a,14)-llv(a,14))*100;
v4:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
v7:=sma(v4,3,1);
v8:=sma(v7,3,1);
v5:=cross(v3,1) and v1<v2 and v8<20;
v6:=cross(98,v3) and v1>v2 and v7>80;
w1:=cross(v7,v8) and v8<20;
macdmr:=w1 and 周红;
drawicon(macdmr,月量线,4),colorff;
月ww1:=sma((close-llv(close,350))/(hhv(high,350)-llv(low,350)),54,1);
月线:=sma((月ww1-llv(月ww1,20))/(hhv(月ww1,20)-llv(月ww1,20)),54,1)*100;
月价:月线,linethick0,colorffffff;
月zz:=sma((vol-llv(vol,350))/(hhv(vol,350)-llv(vol,350)),54,1);
月量:sma((月zz-llv(月zz,20))/(hhv(月zz,20)-llv(月zz,20)),54,1)*100,linethick0,colorff;
nn:=if(ma(close,60)>ma(close,120),6,3);
nn:=3;
ww1:=sma((close-llv(close,21))/(hhv(high,21)-llv(low,21)),nn,1);
ww2:=sma((ww1-llv(ww1,5))/(hhv(ww1,5)-llv(ww1,5)),nn,1)*100;
zz:=sma((vol-llv(vol,21))/(hhv(vol,21)-llv(vol,21)),nn,1);
zz1:=sma((zz-llv(zz,5))/(hhv(zz,5)-llv(zz,5)),nn,1)*100;
快线:=ema(ww2,1);
价快:=快线;
慢线:=ema(快线,2);
价慢:慢线,linethick0,colorff00;
stickline(ema(慢线,2)>=ref(ema(慢线,2),1),ema(慢线,1),ref(ema(慢线,1),1),5,0),linethick1,colorff;
stickline(ema(慢线,2)<ref(ema(慢线,2),1),ema(慢线,2),ref(ema(慢线,2),1),5,0),colorff00;
量快:ema(zz1,1),linedot,linethick1,colorffffff;
量慢:=ema(量快,2);
partline(快线>=ref(快线,1),快线),linethick1,colorff;
partline(快线<ref(快线,1),快线),linethick1,colorff00;
partline(月线>=ref(月线,1),月线),linedot,linethick3,colorffffff;
partline(月线<ref(月线,1),月线),linethick2,color808080;
partline(月量>=ref(月量,1),月量),linedot,linethick1,color7400ff;
partline(月量<ref(月量,1),月量),linedot,linethick1,color808080;
周ww1:=sma((close-llv(close,110))/(hhv(high,110)-llv(low,110)),16,1);
周线:=sma((周ww1-llv(周ww1,10))/(hhv(周ww1,10)-llv(周ww1,10)),16,1)*100;
周价:周线,linethick0,colorff00ff;
周zz:=sma((vol-llv(vol,110))/(hhv(vol,110)-llv(vol,110)),16,1);
周量:sma((周zz-llv(周zz,10))/(hhv(周zz,10)-llv(周zz,10)),16,1)*100,linethick0,colorffff;
快线2:=ema(周线,1);
慢线2:=ema(快线2,2);
量快2:=ema(周量,1);
量慢2:=ema(量快2,2);
drawicon(cross(快线2,慢线2),慢线2,10);
drawicon(cross(慢线2,快线2),快线2,11);
drawicon(cross(量快2,量慢2),量慢2,10);
drawicon(cross(量慢2,量快2),量快2,11);
partline(周线>=ref(周线,1),周线),linethick2,colorff00ff;
partline(周线>=ref(周线,1) and 月线>=ref(月线,1),周线),linethick3,colorff;
partline(周线<ref(周线,1),周线),linethick2,colorff00;
partline(周量>=ref(周量,1),周量),linedot,linethick1,colorffff;
partline(周量<ref(周量,1),周量),linedot,linethick1,colorff00;
drawtext(filter(快线>=95 and 慢线>=95 and 周线>=90 or 周量>=90,5),90,'周减'),pxup4,colorffffff;
drawtext(filter(快线>=95,5),95,'日减'),pxup4,colorffffff;
drawtext(周线>=ref(周线,1) and cross(快线,慢线) and 周线<50 and 快线<50,快线+快线*0.1,'←价买'),colorffff;
drawtext(周量>=ref(周量,1) and cross(快线,慢线) and 周线<50 and 快线<60,快线,'←量买'),colorffff;
drawicon(cross(价快,量快) and 量快>60 and 量快<ref(量快,1) or cross(量快,价快) and 量快>60 and 价快<ref(价快,1),量快,11);
显示位置:=-6;
rsi6:(sma(max(close-ref(close,1),0),6,1))/(sma(abs(close-ref(close,1)),6,1))*100,linedot,linethick1,color6fff;
drawicon(cross(rsi6,价快),rsi6,4),colorff;
drawicon(cross(价快,rsi6),rsi6,5),colorff00;
lc:=ref(close,1);
月rs:=(sma(max(close-lc,0),100,1))/(sma(abs(close-lc),100,1))*100;
月si:=(sma(max(close-lc,0),320,1))/(sma(abs(close-lc),320,1))*100;
partline(月rs>月si,显示位置+2),linethick4,colorffffff;
partline(月rs<月si,显示位置+2),linedot,linethick1,colorff00;
周rs:=ema((sma(max(close-lc,0),25,1))/(sma(abs(close-lc),25,1))*100,2);
周si:=ema((sma(max(close-lc,0),80,1))/(sma(abs(close-lc),80,1))*100,21);
partline(周rs>周si,显示位置+4),linethick4,colorff;
partline(周rs<周si,显示位置+4),linedot,linethick1,colorff00;
有量:=130-15*(sma(sma(vol,4,3)/sma(vol,24,4)+sma(vol,5,4)/sma(vol,36,4)*1.052,18,9));
stickline(有量<=100,100-有量,0,2,0),color78ff;
攻击量:if(有量<=100,100-有量,0),linethick0;
量买:周量>=ref(周量,1) and cross(快线,慢线) and 周线<50 and 快线<60,linethick0;
价买:周线>=ref(周线,1) and cross(快线,慢线) and 周线<50 and 快线<50,linethick0;
st:=strfind(stkname,'st',1)>0;
s:=strfind(stkname,'s',1)>0;
停牌:=dynainfo(4)=0;
非st:=not(st) and not(停牌) and not(s) and ref(close,100)>0;
红点选股:cross(快线2,慢线2) and cross(量快2,量慢2) and 非st,linethick0;
持仓区选股:月rs>月si or 周rs>周si and 非st,linethick0;
超级选股:红点选股 and 持仓区选股 and 非st,linethick0;
参考选股1:非st and 快线2>慢线2 and 量快2>量慢2 and 持仓区选股 and (ref(快线2,1)<ref(慢线2,1) or ref(量快2,1)<ref(量慢2,1)),linethick0;
a:=abs(快线-量快);
参考选股2:非st and 持仓区选股 and cross(快线,慢线) and 快线<50 and 周线>ref(周线,1) and 周量>ref(周量,1) and (close-llv(close,10))/llv(close,10)*100<20 and (hhv(close,20)-close)/close>0.1 and a<20,linethick0;
vertline(参考选股2),linedot,linethick1,colorff;
vertline(参考选股1),linedot,linethick1,colorffff;
vertline(超级选股),linethick2,colorff00ab;
周持仓区选股:周rs>周si,linethick0;
周持仓新:周rs>周si and ref(周rs>周si,1)<1,linethick0;
月持仓区选股:月rs>月si and 非st,linethick0;
a1:=cross(快线,慢线);
a3:=barslast(ref(cross(快线,慢线),1));
c3:=ref(close,a3);
lx:=ref(快线,a3);
价背选股:a1 and 快线>lx and close<c3 and 量慢>ref(量慢,c3),linethick0;
drawtext(价背选股,快线+快线*0.1,'←价背'),colorff;
a21:=cross(量快,量慢);
a23:=barslast(ref(cross(量快,量慢),1));
c23:=ref(close,a23);
lx:=ref(量快,a23);
量背选股:count(a21 and 量快>lx and close<c23,10)>0 and cross(快线,慢线) and 量慢>ref(量慢,1),linethick0;
drawtext(量背选股,量快,'←量背'),colorff;
顶背离:=filter(count(ref(慢线,1)>ref(慢线,2),3)>=2 and 慢线>ref(慢线,1) and count(ref(量慢,1)>ref(量慢,2),3)>=2 and 量慢<ref(量慢,1),2);
drawtext(顶背离,量慢,'←顶背离'),colorffff00;
cpe1:=close*close/finance(33);
cpe:=ema(cpe1,5);
sp:=ema(close,5);
tj:=cpe<ref(cpe,1) and sp>ref(sp,1);
cpe选股:=tj and ref(tj,1)=0;
v1:=ema(close,5)-ema(close,340);
v2:=ema(v1,144);
v3:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
卖出:=cross(95,v3) and v1>v2 and count(v3>95,3)=2 and tj=0;
量价判断:=价慢<35 and 周价<35 and 攻击量>0;
抄底买入:cross(v3,5) and v1<v2 and count(v3<5,3)>=2 and 量价判断,linethick0;
vertline(卖出),linedot,colorff00;
drawtext(卖出,10,'顶'),colorff00;
vertline(抄底买入),linedot,color5bff;
drawtext(抄底买入,90,'抄底'),colorff;
抄底加码:cpe选股 and count(抄底买入,4)>0,linethick0;
vertline(抄底加码),colorff;
drawtext(抄底加码,90,'加码'),colorff;
二师量买:量背选股 and 量买,linethick0;
二师价买:价背选股 and 价买,linethick0;
二师量价买:量背选股 and 价背选股 or 量买 and 价买,linethick0;
二师送礼:抄底买入 and (二师量买 or 二师价买),linethick0;
二师送钱:二师量买 and 二师价买,linethick0;
vertline(二师量买 or 二师价买 or 二师送礼 or 二师送钱 or 二师量价买),color89ff;
v1:=ma(close,3)=hhv(ma(close,3),7);
v2:=ma(close,3)>ma(close,5);
v3:=ma(vol,5)>ma(vol,10)*1.01;
v4:=count(ma(close,1)>ref(close,1),2)=2;
逃顶:=v1 and v2 and v3 and v4 and tj=0 and 价慢>rsi6;
aa:=-2;
v1:=llv(low,10);
v2:=hhv(high,25);
价位线:=ema((close-v1)/(v2-v1)*4,4);
drawtext(cross(价位线,0.3),aa,'■'),colorff;
drawtext(cross(3.5,价位线),aa,'■'),colorff00;
价位线选股:cross(价位线,0.3),linethick0;
周月低选股:周价<10 and 月价<10 and 慢线>ref(慢线,1) and ref(慢线,1)<ref(慢线,2) and 非st,linethick0;
rsi选股:cross(rsi6,价快),linethick0;
macd选股:macdmr,linethick0;
macd选股1:周红 and 日转红,linethick0;
drawicon(macd选股1,98,10);
drawtext(barpos=sysparam(1) and 超级选股,80,'←超级选股'),colorff;
drawtext(barpos=sysparam(1) and 参考选股1,80,'←参考选股1'),colorff;
drawtext(barpos=sysparam(1) and 参考选股2,80,'←参考选股2'),colorff;
drawtext(barpos=sysparam(1) and (卖出 or 逃顶),80,'←逃顶'),colorff00;
drawtext(barpos=sysparam(1) and 二师量买,80,'←二师量买'),colorff;
drawtext(barpos=sysparam(1) and 二师价买,80,'←二师价买'),colorff;
drawtext(barpos=sysparam(1) and 二师送礼,80,'←二师送礼'),colorff;
drawtext(barpos=sysparam(1) and 二师送钱,80,'←二师送钱'),colorff;
drawtext(barpos=sysparam(1) and 二师量价买,80,'←二师量价买'),colorff;
上一指标公式:程韬主图公式 飞狐程韬主图指标 源码
下一指标公式:为攻击涨停保驾护航系列公式 飞狐护航涨停指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文好推荐一图走天下公式 飞狐推荐天下指标 源码仅供学习研究。