好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式美好的理想〈春天的〉四副图指标详解 通达信春天美好

美好的理想〈春天的〉四副图指标详解 通达信春天美好

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-09-15 16:28:38
  • 指标公式标签:美好 春天
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:美好的理想〈春天的〉四副图指标详解 通达信春天美好

春天的指标

主图公式共四个故用压缩源码上传。

一,【龙飞】

图面效果不错。建议用三周涨排序,多体验龙是怎样飞起来的。

重点了解龙与云的关系。如:云上飞、云下飞、上穿下穿和云厚等等。

二,【古道西风】

图面效果也不错。k线色彩有据有特色上涨力度红色比粉红力度大。

关注相对高位和低位的对力度不大的深灰和黄色k线。

三,【八旗兵】

这是一个老公式改编成通达信用的公式,用法一目了然。

当出现兰旗时会出现:

'大旗不倒 赚钱不跑'的提示。

但同时不要忘了:

行情不好 赚钱就跑。

四,【四季变天图】

类似的我发过〈迎春图〉

〈四季变天图〉特点就是把短线主图中当天k线颜色提示用背景色表示。

历史买卖点用←←←←和→→→→表示。图的右边有红色的或绿色的短横

线。当股价穿越它时背景色会变,故名变天图。同时在当天k线最低或最

高处出现←←←←或→→→→买卖信号。

特别提示:→信号←只能参考。买和卖都要自个分析清楚,因此我发出的主图

多有压力、支撑和趋势线提供分析。


{龙飞}
{n=150 10 1000 , m=3 1 50}

高:=const(ref(hhv(h,n),m));
低:=const(ref(llv(l,n),m));
色彩峰:=高-低;
stickline(色彩峰>0,低,低+色彩峰*1.05,10,0),colorff0000;
stickline(色彩峰>0,低,低+色彩峰*0.9,10,0),colorff1111;
stickline(色彩峰>0,低,低+色彩峰*0.85,10,0),colorff2222;
stickline(色彩峰>0,低,低+色彩峰*0.8,10,0),colorff3333;
stickline(色彩峰>0,低,低+色彩峰*0.75,10,0),colorff4444;
stickline(色彩峰>0,低,低+色彩峰*0.7,10,0),colorff5555;
stickline(色彩峰>0,低,低+色彩峰*0.65,10,0),colorff6666;
stickline(色彩峰>0,低,低+色彩峰*0.6,10,0),colorff7777;
stickline(色彩峰>0,低,低+色彩峰*0.55,10,0),colorff8888;
stickline(色彩峰>0,低,低+色彩峰*0.5,10,0),colorff9999;
stickline(色彩峰>0,低,低+色彩峰*0.45,10,0),colorffaaaa;
stickline(色彩峰>0,低,低+色彩峰*0.4,10,0),colorffbbbb;
stickline(色彩峰>0,低,低+色彩峰*0.35,10,0),colorffcccc;
stickline(色彩峰>0,低,低+色彩峰*0.3,10,0),colorffdddd;
stickline(色彩峰>0,低,低+色彩峰*0.25,10,0),colorffeeee;

a:=(hhv(high,26)+llv(low,26))/2;
b:=(hhv(high,9)+llv(low,9))/2;
dl:=close; fn:=26;
先行上限:=ref((a+b)/2,26),pointdot,linethick0,colorcccccc;
先行下限:=ref((hhv(high,52)+llv(low,52))/2,26),pointdot,linethick0,colorcccccc;
stickline(c>0,先行上限,先行下限,2,0),color999999;
龙a:=ema(close,48),colorff00ff;
龙b:=ma(close,8),color00ff00;
龙收盘价:=ma(close,8),colorffffff;
stickline((龙a>ma(close,8)),龙a,ma(close,8),48,1),color008000;
stickline((龙a<ma(close,8)),龙a,ma(close,8),48,1),color0000ff;
stickline(c>=o,c,o,4,0),colorred;
stickline(c>=o,c,o,2,0),colorb0b0ff;
stickline(c>=o,h,l,0,0),coloryellow;
stickline(c<=o,c,o,4,0),colorff2020;
stickline(c<=o,c,o,1,0),colorcyan;
stickline(c<=o,h,l,0,0),colorcyan;
h1:=高-(高-低)*0.191;
h2:=高-(高-低)*0.382;
h3:=高-(高-低)*0.5;
h4:=高-(高-低)*0.618;
h5:=高-(高-低)*0.809;
顶点:refdate(高,date),colorwhite;
一:refdate(h1,date),coloryellow;
二:refdate(h2,date),colormagenta;
三:refdate(h3,date),colorblue;
四:refdate(h4,date),colorred;
五:refdate(h5,date),colorgreen;
低点:refdate(低,date),colorred;

==========================================

{古道西风主图}
中轴:=ma(c,21),colorffcc33;
压力:=中轴 + 2*std(c,21),colorred,linethick2;
支撑:=中轴 - 2*std(c,21),colorred,linethick2;
压力1:=const(hhv(压力,60));
支撑1:=const(llv(支撑,60));
tt:=if(islastbar,240/fromopen,1);
nn:=30;
最高2:=const(hhv(h,nn));
最低2:=const(llv(l,nn));
pp:=if((最高2*0.9-(最高2-最低2)*0.5)>const(llv(l,20)),0.9,if((最高2*0.9-(最高2-最低2)*0.5)>const(llv(l,50)),0.7,0.6)),nodraw;
rcc1:=最高2*0.9-(最高2-最低2)*pp;
最低r:=min(rcc1,最低2);
高:=max(最高2,压力1);
低:=min(最低r,支撑1);
差:=(高-低);
色彩峰:=高-低;
stickline(色彩峰>0,低,低+色彩峰*1.02,10,0),color00aac0;
stickline(色彩峰>0,低,低+色彩峰*0.92,10,0),color0099b0;
stickline(色彩峰>0,低,低+色彩峰*0.85,10,0),color0088a0;
stickline(色彩峰>0,低,低+色彩峰*0.8,10,0),color007790;
stickline(色彩峰>0,低,低+色彩峰*0.75,10,0),color006680;
stickline(色彩峰>0,低,低+色彩峰*0.7,10,0),color005570;
stickline(色彩峰>0,低,低+色彩峰*0.65,10,0),color004460;
stickline(色彩峰>0,低,低+色彩峰*0.6,10,0),color003350;
stickline(色彩峰>0,低,低+色彩峰*0.55,10,0),color002240;
stickline(色彩峰>0,低,低+色彩峰*0.5,10,0),color001130;
stickline(色彩峰>0,低,低+色彩峰*0.45,10,0),color000020;

a:=ema((ema(c,29)+ema(c,31)+ema(c,33))/3,3);
a99:=ema((ema(c,17)+ema(c,19)+ema( c,21))/3,3),color1090ff;
a233:=a-(a99-a),colorff9010;
drawband(a99,rgb(130,100,50),a,rgb(130,100,50));
drawband(a,rgb(110,130,80),a233,rgb(110,130,80));
中轴 + 2*std(c,21),colorred,linethick2;
中轴 - 2*std(c,21),colorred,linethick2;
a1:ema((ema(c,1)+ema(c,3)+ema(c,5))/3,3),color1010ff;
a2:=ema((ema(c,3)+ema(c,5)+ema( c,7))/3,3),color1020ff;
a3:ema((ema(c,5)+ema(c,7)+ema( c,9))/3,3),color1030ff;
a4:=ema((ema(c,7)+ema(c,9)+ema( c,11))/3,3),color1040ff;
a5:ema((ema(c,9)+ema(c,11)+ema( c,13))/3,3),color1050ff;
a6:=ema((ema(c,11)+ema(c,13)+ema( c,15))/3,3),color1060ff;
a7:ema((ema(c,13)+ema(c,15)+ema( c,17))/3,3),color1070ff;
a8:=ema((ema(c,15)+ema(c,17)+ema( c,19))/3,3),color1080ff;
a9:ema((ema(c,17)+ema(c,19)+ema( c,21))/3,3),color1090ff;
a10:=ema((ema(c,19)+ema(c,21)+ema( c,23))/3,3),color10c0ff;
a11:ema((ema(c,21)+ema(c,23)+ema( c,25))/3,3),color10e0ff;
a15:a-(a1-a*0.997),colorff1010;
a16:=a-(a2-a),colorff2010;
a17:a-(a3-a),colorff3010;
a18:=a-(a4-a),colorff4010;
a19:a-(a5-a),colorff5010;
a20:=a-(a6-a),colorff6010;
a21:a-(a7-a),colorff7010;
a22:=a-(a8-a),colorff8010;
a23:a-(a9-a),colorff9010;
a24:=a-(a10-a),colorffc010;
a25:a-(a11-a*0.997),colorffe010;
if(a15<a11,a15,a11),colorff1010;
if(a17<a9,a17,a9),colorff3010;
if(a19<a7,a19,a7),colorff5010;
if(a21<a5,a21,a5),colorff7010;
if(a23<a3,a23,a3),colorff9010;
if(a25<a1,a25,a1),colorffe010;
if(a1<a25,a1,a25),color1010ff;
if(a3<a23,a3,a23),color1030ff;
if(a5<a21,a5,a21),color1050ff;
if(a7<a19,a7,a19),color1070ff;
if(a9<a17,a9,a17),color1090ff;
if(a11<a15,a11,a15),color10e0ff;
drawtext(c>=ma(c,20) ,ma(c,20) ,'◎' ),color0000ff;
drawtext(c<ma(c,20) ,ma(c,20) ,'◎' ),color00ff00;
fd:=(h-l)/3;
open1:=o>fd*2+l;
open3:=o<fd+l;
open2:=not(open1 or open3);
close1:=c>fd*2+l;
close3:=c<fd+l;
close2:=not(close1 or close3);
dfzd:=close1 or (open3 and close2);
wqs1:=open2 and close2;
kfzd:=not(dfzd or wqs1);
zd:=(h+l)/2;
qsxs:=zd>ref(h,1);
qsxx:=zd<ref(l,1);
wqs2:=not(qsxs or qsxx);
ztdl:=v>ref(v,1)*1.1;
ftdl:=v<ref(v,1)*0.7;
ztdl2:=ztdl and ftdl<1;
ftdl2:=ftdl and ztdl<1;
mfi1:=(h-l)/(v/10000);
mfi2:=(h-l)/(v/1000000);
zmfi1:=mfi1>ref(mfi1,1);
zmfi2:=mfi2>ref(mfi2,1);
zmfi:=zmfi1 or zmfi2;
fmfi:=not(zmfi);
ld:=ztdl2 and zmfi;
st:=ftdl2 and fmfi;
wz:=ftdl2 and zmfi;
qf:=ztdl2 and fmfi;
s1:=dfzd and qsxs ;
s2:=kfzd and qsxx ;
s3:=dfzd and qsxx;
s4:=kfzd and qsxs;
s5:=dfzd and wqs2;
s6:=kfzd and wqs2;
s7:=wqs1 and (qsxs or qsxx or wqs2);
drawkline(h,o,l,c);
stickline(s2 ,c ,o,3,0 ),colorff2020;
stickline(s1,c,o,3 ,0 ),color2020ff;
stickline(s3,c,o,3,0),coloryellow;
stickline(s4,c,o,3,0),colorffcc66;
stickline(s5,c,o,3,0),colorff00ff;
stickline(s6,c,o,3,0),color00ff00;
stickline(s7,c,o,3,0),colorgray;
stickline(1,c,o,0,0),coloreeeeee;

======================================

{【八旗兵】}

{ts=130,n=99,m=3}

{筹码撑压}
{ts=130,n=99,m=3}
高:=const(ref(hhv(h,ts),m));
低:=const(ref(llv(l,ts),m));

da1:=if(ts>totalbarscount,totalbarscount,ts);
da:=if(currbarscount>da1,0,da1);
hi:=refdate(hhv(h,da),date);
lo:=refdate(llv(l,da),date);
c1:=if(currbarscount<=da,c,drawnull);
gz:=exp(ln(hi/lo)/10);
lh1:=sum(if(c1>=(hi/gz),v,0),da);
lh2:=sum(if(c1>=(hi/pow(gz,2)) and c1<(hi/gz),v,0),da);
lh3:=sum(if(c1>=(hi/pow(gz,3)) and c1<(hi/pow(gz,2)),v,0),da);
lh4:=sum(if(c1>=(hi/pow(gz,4)) and c1<(hi/pow(gz,3)),v,0),da);
lh5:=sum(if(c1>=(hi/pow(gz,5)) and c1<(hi/pow(gz,4)),v,0),da);
lh6:=sum(if(c1>=(hi/pow(gz,6)) and c1<(hi/pow(gz,5)),v,0),da);
lh7:=sum(if(c1>=(hi/pow(gz,7)) and c1<(hi/pow(gz,6)),v,0),da);
lh8:=sum(if(c1>=(hi/pow(gz,8)) and c1<(hi/pow(gz,7)),v,0),da);
lh9:=sum(if(c1>=(lo*gz) and c1<lo*pow(gz,2),v,0),da);
lh10:=sum(if(c1>=lo and c1<lo*gz,v,0),da);
l1:=refdate(hhv(lh1,da),date),linethick0;
l2:=refdate(hhv(lh2,da),date),linethick0;
l3:=refdate(hhv(lh3,da),date),linethick0;
l4:=refdate(hhv(lh4,da),date);
l5:=refdate(hhv(lh5,da),date);
l6:=refdate(hhv(lh6,da),date);
l7:=refdate(hhv(lh7,da),date);
l8:=refdate(hhv(lh8,da),date);
l9:=refdate(hhv(lh9,da),date);
l10:=refdate(hhv(lh10,da),date);
ss:=(l1+l2+l3+l4+l5+l6+l7+l8+l9+l10);
stickline(ceiling(da*l1/ss)*3>=currbarscount,hi*n/100,hi/gz,6,0)color606060,linethick3;
stickline(ceiling(da*l2/ss)*3>=currbarscount,hi/pow(gz,1)*n/100,hi/pow(gz,2),6,0)color606060,linethick3;
stickline(ceiling(da*l3/ss)*3>=currbarscount,hi/pow(gz,2)*n/100,hi/pow(gz,3),6,0)color606060,linethick3;
stickline(ceiling(da*l4/ss)*3>=currbarscount,hi/pow(gz,3)*n/100,hi/pow(gz,4),6,0)color606060,linethick3;
stickline(ceiling(da*l5/ss)*3>=currbarscount,hi/pow(gz,4)*n/100,hi/pow(gz,5),6,0)color606060,linethick3;
stickline(ceiling(da*l6/ss)*3>=currbarscount,hi/pow(gz,5)*n/100,hi/pow(gz,6),6,0)color606060,linethick3;
stickline(ceiling(da*l7/ss)*3>=currbarscount,hi/pow(gz,6)*n/100,hi/pow(gz,7),6,0)color606060,linethick3;
stickline(ceiling(da*l8/ss)*3>=currbarscount,lo*pow(gz,2),lo*pow(gz,3)*n/100,6,0)color606060,linethick3;
stickline(ceiling(da*l9/ss)*3>=currbarscount,lo*pow(gz,1),lo*pow(gz,2)*n/100,6,0)color606060,linethick3;
stickline(ceiling(da*l10/ss)*3>=currbarscount,lo,lo*pow(gz,1)*n/100,6,0)color606060,linethick3;
{八旗兵}
zf:(ema(sum(((close - ref(close,1)) / ref(close,1)),3),49) * 10)+ema(c,20);
飞扬古:=(ema(ma(((close - ref(close,1)) / ref(close,1)),3),13) * 10000),linethick0,colorffffff;
【康熙帝】:ema(zf,34),linethick2,color00ffff;
zff:=(ema(sum(((close - ref(close,1)) / ref(close,1)),3),49) * 10000);
康熙帝:=ema(zff,34),linethick0,color00ffff;
大1:=ma(zff,3);
旗1:=ma(大1,3);
展1:=ma(旗1,3);
大:ma(zf,3),color66ddff;
旗:ma(大,3),color66ccff;
展:ma(旗,3),color66aaff;
热:ma(展,3),color9900ff;
血:ma(热,3),color7700ff;
染:ma(血,3),color0000ff;
if(大<ref(大,1),大,drawnull),colorfffccc;
if(旗<ref(旗,1),旗,drawnull),colorfffbbb;
if(展<ref(展,1),展,drawnull),colorfff999;
if(热<ref(热,1),热,drawnull),colorfff888;
if(血<ref(血,1),血,drawnull),colorfff777;
if(染<ref(染,1),染,drawnull),colorfff555;
kk:=(高-低)/6;
超跌:=(飞扬古 < (0 - 200));
超跌a:=(((((((ref(超跌,1) or ref(超跌,2)) or ref(超跌,3)) or ref(超跌,4)) or ref(超跌,5)) or ref(超跌,6)) or ref(超跌,7)) and (cross(飞扬古,(0 - 200)) or cross(飞扬古,康熙帝)));
超跌b:=(((大1 < (0 - 300)) or (旗1 < (0 - 300))) or (展1< (0 - 300)));
drawicon(大1 < (0 - 300),【康熙帝】,6);
drawicon(((飞扬古 < (0 - 100)) and cross(飞扬古,康熙帝)),l,7);
stickline(超跌a,l*1.036,l*1.03,6,0),colorffff00;
drawicon(超跌a,l*1.039,14);
stickline(超跌a,l*1.036,l*1.027,1,0),pointdot,colorffffff;
stickline((((超跌b or ref(超跌b,1)) and cross(飞扬古,康熙帝)) and (飞扬古 > (0 - 200))),l*1.036,l*1.03,6,0),colorffffff;
drawicon((((超跌b or ref(超跌b,1)) and cross(飞扬古,康熙帝)) and (飞扬古 > (0 - 200))),l*1.038,14);
stickline((((超跌b or ref(超跌b,1)) and cross(飞扬古,康熙帝)) and (飞扬古 > (0 - 200))),l*1.036,l*1.027,1,0),pointdot,colorffffff;
ara:=(100 * winner(close));
vara:=(0.85 * close);
varb:=(100 * winner(vara));
高控:=((ara > 70) or (varb > 30));
m1:=((((飞扬古 > 0) and (飞扬古 > 大)) and (康熙帝 > ref(康熙帝,1))) and (康熙帝 < 0));
m2:=(((((飞扬古 > 0) and (飞扬古 > 康熙帝)) and (康熙帝 > ref(康熙帝,1))) and (康熙帝 > 0)) and 高控);
m3:=(高控 and (飞扬古 > 0));
ab:=islastbar;
drawicon((ab and (m3 or 大>ref(大,1) and 旗>ref(旗,1) and 展>ref(展,1))),高,9);
drawtext((ab and (m3 or 大>ref(大,1) and 旗>ref(旗,1) and 展>ref(展,1))),高*0.99,'██'),color00ffff;
drawtext((ab and (m3 or 大>ref(大,1) and 旗>ref(旗,1) and 展>ref(展,1))),高*0.99,'$'),color0000ff;
drawtext((ab and (m3 or 大>ref(大,1) and 旗>ref(旗,1) and 展>ref(展,1))),高-kk,'◥'),color0000ff;
drawtext((ab and m3),高-2*kk,'◥'),colorffffff;
drawtext((ab and m3),高-3*kk,'◥'),colorff0000;
tt:=const((ab and m3));
drawtext(tt and currbarscount=20,高*0.99,'大旗不倒 赚钱不跑'),color00ffff;
{黄金分割}
h19:=高-(高-低)*0.191;
h38:=高-(高-低)*0.382;
h中:=高-(高-低)*0.5;
h61:=高-(高-低)*0.618;
h80:=高-(高-低)*0.809;
顶点:=refdate(高,date),colorwhite;
%19.8:refdate(h19,date),coloryellow;
%38.2:=refdate(h38,date),colormagenta;
%50:refdate(h中,date),colorred;
%61.8:=refdate(h61,date),colormagenta;
%80.9:refdate(h80,date),coloryellow;
低点:=refdate(低,date),colorwhite;
drawtext(islastbar,%19.8,'%19.8'),coloryellow;
drawtext(islastbar,%80.9,'%80.9'),coloryellow;
cg:=ma(c,17),coloryellow,linethick0;
stickline(close>=cg,low,high,0.4,1), colorred;
stickline(close>=cg,open,close,3,0), colorred;
stickline(close>=cg and close>open,open,close,3,1), colorred;
stickline(close<cg,high,low,0.4,0), colorgreen;
stickline(close<cg,close,open,3,0), colorgreen;
stickline(close<cg and close>=open,close,open,3,1), colorgreen;

=========================================================

{四季变天图 tdx n:1,100,9}
高:=const(ref(hhv(h,150),3));
低:=const(ref(llv(l,150),3));
色彩峰:=高-低;
nn:=100;
aa:=ref(h,n)=hhv(h,2*n+1); aa1:=ref(l,n)=llv(l,2*n+1);
qy:=backset(aa,n+1); qy1:=backset(aa1,n+1);
cc:=filter(qy,n) and h=hhv(h,n+1); cc1:=filter(qy1,n) and l=llv(l,n+1);
ddd:=barslast(cc); dd1:=barslast(cc1);
gdts:=if(cc,currbarscount,0); ddts:=if(cc1,currbarscount,0);
dingbuts:=if(ddd,ref(gdts,ddd),gdts); ddts1:=if(dd1,ref(ddts,dd1),ddts);
gdcs1:=const(dingbuts); ddcs1:=const(ddts1);
gdcs13:=const(ref(high,gdcs1-1)); ddcs13:=const(ref(l,ddcs1-1));
dingbuts1:=ref(dingbuts,ddd+1); ddts2:=ref(ddts1,dd1+1);
gdcs2:=const(dingbuts1); ddcs2:=const(ddts2);

m:=intpart(3*n/5);
aaa:=ref(h,m)=hhv(h,2*m+1);
qyy:=backset(aaa,m+1);
ccc:=filter(qyy,m) and h=hhv(h,m+1);
dddd:=barslast(ccc),nodraw;
gdtss:=if(ccc,currbarscount,0);
dingbutss:=if(dddd,ref(gdtss,dddd),gdtss);
gdcs11:=const(dingbutss);
dingbuts11:=ref(dingbutss,dddd+1);
gdcs22:=const(dingbuts11);
aa11:=ref(l,m)=llv(l,2*m+1);
qy11:=backset(aa11,m+1);
cc11:=filter(qy11,m) and l=llv(l,m+1);
dd11:=barslast(cc11);
ddtss:=if(cc11,currbarscount,0);
ddts11:=if(dd11,ref(ddtss,dd11),ddtss);
ddcs11:=const(ddts11);
ddts22:=ref(ddts11,dd11+1);
ddcs22:=const(ddts22);
zgd:=hhv(h,60)*1.01.00;
zgd2:=const(zgd);
高点压力m:=drawline(currbarscount=gdcs22,h,currbarscount=gdcs11,h,1),colorred,linethick1;
低点支撑m:=drawline(currbarscount=ddcs22,l,currbarscount=ddcs11,l,1) colorred,linethick1;
高点压力1:=drawline(currbarscount=gdcs2,h,currbarscount=gdcs1,h,1) ,colorblue,linethick1;
低点支撑1:=drawline(currbarscount=ddcs2,l,currbarscount=ddcs1,l,1),colorblue,linethick1;
高点:=const(hhv(h,nn));
低点:=const(llv(l,nn));
gj:=(c+h+l+o)/4;
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
明日阻力2:=l+2*(gj-l)+(c-l);
明日支撑2:=l+(c-gj)-(gj-l);
今日阻力:=const(ref(明日阻力 , 1)),nodraw;
今日支撑:=const(ref(明日支撑 , 1)),nodraw;
今日阻力2:=const(ref(明日阻力2 , 1)),nodraw;
今日支撑2:=const(ref(明日支撑2 , 1)),nodraw;
stickline(islastbar,今日阻力,今日阻力2,10,0),color555555;
drawtext(islastbar,今日阻力,' 阻'),color0000ff;
stickline(islastbar,今日支撑,今日支撑2,10,0),color555555;
drawtext(islastbar,今日支撑,' 支'),color00ff00;
jrh:=hhv(c,2);
jrl:=llv(c,2);
ma3:=ma(close,3);
ytsl:=(3*close+low+open+high)/6;
r1:=(close>ref(close,1) and close>ref(close,2));
r2:=(ref(r1,1) and close<=ref(close,1) and close>=ref(close,2));
r3:=(ref(r2,1) and close>=ref(close,1) and close<=ref(close,2));
r4:=(ref(r3,1) and close<=ref(close,1) and close>=ref(close,2));
r5:=(ref(r4,1) and close>=ref(close,1) and close<=ref(close,2));
r6:=(ref(r5,1) and close<=ref(close,1) and close>=ref(close,2));
r7:=(ref(r6,1) and close>=ref(close,1) and close<=ref(close,2));
r8:=(ref(r7,1) and close<=ref(close,1) and close>=ref(close,2));
r9:=(ref(r8,1) and close>=ref(close,1) and close<=ref(close,2));
ra:=(ref(r9,1) and close<=ref(close,1) and close>=ref(close,2));
rb:=(ref(ra,1) and close>=ref(close,1) and close<=ref(close,2));
rc:=(ref(rb,1) and close<=ref(close,1) and close>=ref(close,2));
rd:=(close<ref(close,1) and close<ref(close,2));
re:=(ref(rd,1) and close>=ref(close,1) and close<=ref(close,2));
rf:=(ref(re,1) and close<=ref(close,1) and close>=ref(close,2));
r10:=(ref(rf,1) and close>=ref(close,1) and close<=ref(close,2));
r11:=(ref(r10,1) and close<=ref(close,1) and close>=ref(close,2));
r12:=(ref(r11,1) and close>=ref(close,1) and close<=ref(close,2));
r13:=(ref(r12,1) and close<=ref(close,1) and close>=ref(close,2));
r14:=(ref(r13,1) and close>=ref(close,1) and close<=ref(close,2));
r15:=(ref(r14,1) and close<=ref(close,1) and close>=ref(close,2));
r16:=(ref(r15,1) and close>=ref(close,1) and close<=ref(close,2));
r17:=(ref(r16,1) and close<=ref(close,1) and close>=ref(close,2));
r18:=(ref(r17,1) and close>=ref(close,1) and close<=ref(close,2));
r19:=ref(rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18,1) and r1;
r1a:=((ref(r1 or r2 or r3 or r4 or r5 or r6 or r7 or r8 or r9 or ra or rb or rc,1)) and rd);
var3:=if(c<200 ,ma(cost(80),3),2500),nodraw;
var4:=(((high + low) + close) / 3);
var5:=ema(((((open + high) + low) + close) / 4),2330);
var6:=(var5 + ((var5 * 6) / 100));
短买春:r19,nodraw,color00dd00;
秋离场:r1a,nodraw,color2288ee;
红持股:r1 or r2 or r3 or r4 or r5 or r6 or r7 or r8 or r9 or ra or rb or rc,nodraw,color0000ff;
阴观望:rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18,nodraw,color999999;
急速超跌关注:=(close-ma(close,34))/ma(close,34)*100<-14,colorbbbbbb,nodraw;
离场:=if(红持股,jrl,drawnull);
明离场价:=离场,colorff99ff,nodraw;
今离场价:=ref(离场,1)color0000ff,nodraw;
进:=if(阴观望,jrh,drawnull);
明进场价:=进,color33aacc,nodraw;
今进场价:=ref(明进场价,1),color00ff00,nodraw;
大雪:=ma((((high + low) + close) / 3),8);
无痕:=ma((((high + low) + close) / 3),21);
var111:=ema(((open + close) / 2),26);
var222:=if(c<200 , ma(cost(30),3),2300),nodraw;
天下有雪:=if(c<200 ,ma(cost(50),3),2300);
严冬:=islastbar and (var4 > 0.1),colorffffff,nodraw;
早春:=islastbar and (((((var4 < 天下有雪) and (var4 > 无痕))
or ((var4 < var5) and (var4 > 无痕))) or ((var4 > 无痕)
and (var111 > 无痕)))),color00ff00,nodraw;
初夏:=islastbar and ((((((var4 > 天下有雪) and (var4 > var111))
and (var4 > var5)) and (var222 > ref(var222,1))) or ((((var4 > var222)
and (var4 > var111)) and (var4 > var5)) and (var222 > ref(var222,1))))),
color0000ff,nodraw;
深秋:=islastbar and (((((var4 > var6) and (var4 > var3)) and (大雪 > 无痕))
and (var111 > ref(var111,1)))),color00ffff,nodraw;
saaa:=(3*c+h+l+o)/6;
svar1:=(8*saaa+7*ref(saaa,1)+6*ref(saaa,2)
+5*ref(saaa,3)+4*ref(saaa,4)+3*ref(saaa,5)+2*ref(saaa,6)+ref(saaa,8))/36;
svar2:=(hhv(svar1,5)+hhv(svar1,10)+hhv(svar1,20))/3;
svar3:=(llv(svar1,5)+llv(svar1,10)+llv(svar1,20))/3;
svar4:=(hhv(svar2,5)+hhv(svar2,10)+hhv(svar2,20))/3;
svar5:=(llv(svar3,5)+llv(svar3,10)+llv(svar3,20))/3;
svar6:=(llv(svar1,2)+llv(svar1,4)+llv(svar1,6))/3;
q1:=const(if(短买春,0,if(秋离场,150,if(红持股,150,if(急速超跌关注,150,100))))),nodraw;
q2:=const(if(短买春,100,if(秋离场,100,if(红持股,0,if(急速超跌关注,150,100))))),nodraw;
q3:=const(if(短买春,0,if(秋离场,20,if(红持股,70,if(急速超跌关注,150,100))))),nodraw;
drawband(高点,rgb(q1,q2,q3),低点,drawnull);
if(between(高点压力m,高点,低点),高点压力m,drawnull),coloryellow,linethick1;
if(between(低点支撑m,高点,低点),低点支撑m,drawnull),coloryellow,linethick1;
if(between(高点压力1,高点,低点),高点压力1,drawnull),colorgreen,linethick1;
if(between(低点支撑1,高点,低点),低点支撑1,drawnull),colorgreen,linethick1;
中:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;

aaax:=(3*c+h+l+o)/6;
中长:if(c,(8*aaax+7*ref(aaax,1)+6*ref(aaax,2)+5*ref(aaax,3)
+4*ref(aaax,4)+3*ref(aaax,5)+2*ref(aaax,6)+ref(aaax,8))/36,drawnull),color00ff00;
if(中长> ref(中长,1),中长,drawnull),colormagenta,linethick2;

下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rrrsv:=sma(下档线,3,1);
kkk:=sma(rrrsv,3,1);
ddddd:=((3 * rrrsv) - (2 * kkk));
jj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(jj12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力2:=if(cross(d24,ddddd),high,ref(high,barslast(cross(d24,ddddd)))),colorffffff;
底部:=llv(high,30),color00ff00;

压力位:=if(islastbar,压力2,drawnull),nodraw;
底部位:=if(islastbar,底部,drawnull),nodraw;
底:=const(底部);
stickline(islastbar ,压力位,压力位,30,0),colorffffff;
stickline(islastbar ,底部位,底部位,25,0),color00ffff;
辰星线:=(20*ytsl+19*ref(ytsl,1)+18*ref(ytsl,2)+17*ref(ytsl,3)
+16*ref(ytsl,4)+15*ref(ytsl,5)+14*ref(ytsl,6)+13*ref(ytsl,7)
+12*ref(ytsl,8)+11*ref(ytsl,9)+10*ref(ytsl,10)+9*ref(ytsl,11)
+8*ref(ytsl,12)+7*ref(ytsl,13)+6*ref(ytsl,14)+5*ref(ytsl,15)
+4*ref(ytsl,16)+3*ref(ytsl,17)+2*ref(ytsl,18)+ref(ytsl,20))/211;
等待:=if(ma3>辰星线,辰星线,ma3);

{卖出------------------------}
var55:=ema(ema(ema(close,8),13),62);
var56:=((ref(high,1) + ref(low,1)) / 2);
var57:=(ma(close,20) + (2 * std(close,20)));
var58:=((sma(max((close - ref(close,1)),0),7,1) / sma(abs((close - ref(close,1))),7,1)) * 100);
卖出1:=filter(cross(79,var58),4);
ma21:=ref(close,1);
zx:=((sma(max((close - ma21),0),6,1) / sma(abs((close - ma21)),6,1)) * 100);
卖出2:=cross(84,zx),colorff00ff;
卖出3:=cross(90,rsi);
卖出:=卖出1 or 卖出2 or 卖出3;

{买入------------------------}

qq2:=(close-llv(low, 18))/(hhv(high, 18)-llv(low, 18))*100;
qq3:=sma(qq2, 9, 1);
qq4:=sma(qq3, 3, 1);
长趋势:=3*qq3-2*qq4,colorwhite,linethick3;
趋势线:=ema(qq3, 3),colorred,linethick3;
金叉:= cross(长趋势,趋势线);
aaaa1:=amount/v;
bbb1:=l<aaaa1*0.9;
ccc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
ddd1:=l<ma(c,5)*0.921;
eee1:=v<ma(v,5)*1.5;
老鼠仓:=bbb1 and ccc1 and ddd1 and eee1,,nodraw;
x1:=(c+l+h)/3;
bb5:=atan(ema(x1,7)-ref(ema(x1,7),1))*3.1416*10;
var1:=(ma(close,80)-ma(close,13)/3);
var2:=( ma((close-var1)/var1,1));
vvar3:=(close-llv(low,28))/(hhv(high,28)-llv(low,28))*100;
vvar4:=sma(vvar3,4,1);
mma:=ema(var2,12)*0.7;
mmb:=ema(var2,3);
快到底:=if(llv(mmb-mma,12)>0,0,-20),linethick2,colorgreen;
diff:=( ema(close,12) - ema(close,26))*100;
dea:=ema(diff,9);
macd:= 2*(diff-dea);
抄底:=if(快到底<0 and cross(macd,0) and var4<18,1,0);
avar2:=(2*close+high+low)/4;
avar3:=if(year>=2099 and month>2,0,1);
avar4:=llv(low,5);
avar5:=hhv(high,4);
散户:= ema((avar2-avar4)/(avar5-avar4)*100,4)*avar3;
庄家:= ema(0.667*ref(散户,1)+0.333*散户,2)*avar3;
试买:=(((cross(散户,庄家) and 散户<50 and 29<散户)) not 大雪)
or (cross(散户,庄家) and 散户<30 {and 角3<0} and 角1>0) or 抄底;
aa05:=ma(c,5),color0099cc;
五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),3),nodraw;
aa10:=ma(c,10);
aa20:=ma(c,20);bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
aa30:=ma(c,30);
三拾日乖离率:=(c-aa30)/aa30*100;
加仓:=filter(count(cross(bb05,30),5)>=1 and
aa05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and
aa10>ref(aa10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
drawicon(加仓,l*0.99,23);
{if(barscount(close)>45,2*ma(上轨,12)-ma(c,21),drawnull),coloraaaaaa;}
if(等待>ref(等待,1),等待,drawnull),linethick2,color00ffff;
if(辰星线>ref(辰星线,1),辰星线,drawnull),linethick2,color0000ff;
if(辰星线<ref(辰星线,1),辰星线,drawnull),color00ff00,linethick1;

stickline(islastbar and (红持股 or ref(红持股,1)=1),今离场价,今离场价,15,1),color0000ff;
stickline(islastbar and (阴观望 or ref(阴观望,1)=1),今进场价,今进场价,15,1),color00ff00;
drawicon(卖出,(high * 1.002),15);
drawtext(秋离场,hhv(h,3),'→→→→'),colorff99ff;
drawicon(老鼠仓 or 金叉,(low - (low * 0.01)),1);
drawtext(短买春,llv(l,3),'←←←←'),color00ff00;
{----------------------------}
{严冬:}stickline((var4 > 0.1),high,low,0,0),colorffffff;
{早春:}stickline(((((var4 < 天下有雪) and (var4 > 无痕))
or ((var4 < var5) and (var4 > 无痕))) or ((var4 > 无痕)
and (var111 > 无痕))),high,low,0,0),color00ff00;
{初夏:}stickline((((((var4 > 天下有雪) and (var4 > var111))
and (var4 > var5)) and (var222 > ref(var222,1))) or ((((var4 > var222)
and (var4 > var111)) and (var4 > var5)) and (var222 > ref(var222,1)))),
high,low,0,0),color0000ff;
{深秋:}stickline(((((var4 > var6) and (var4 > var3)) and (大雪 > 无痕))
and (var111 > ref(var111,1))),high,low,0,0),color00ffff;
stickline(((var4 > 0.1) and (close < open)),open,close,2.8,0),colorcccccc;
stickline(((var4 > 0.1) and (close >= open)),open,close,2.8,1),colorcccccc;
stickline(((var4 > 0.1) and (close >= open)),open,open+(close-open)/3,2.8,0),colorffffff;
stickline((((((var4 < 天下有雪) and (var4 > 无痕)) and (close < open))
or (((var4 < var5) and (var4 > 无痕)) and (close < open)))
or (((var4 > 无痕) and (var111 > 无痕)) and (close < open))),
open,close,2.8,0),color00ff00;
stickline((((((var4 < 天下有雪) and (var4 > 无痕)) and (close > open))
or (((var4 < var5) and (var4 > 无痕)) and (close > open)))
or (((var4 > 无痕) and (var111 > 无痕)) and (close >= open)))
,open,close,2.8,1),color00ff00;
stickline(((((((var4 > 天下有雪) and (var4 > var111)) and (var4 > var5))
and (var222 > ref(var222,1))) and (close < open)) or (((((var4 > var222)
and (var4 > var111)) and (var4 > var5)) and (var222 > ref(var222,2)))
and (close < open))),open,close,2.8,0),color0000ff;
stickline(((((((var4 > 天下有雪) and (var4 > var111)) and (var4 > var5))
and (var222 > ref(var222,1))) and (close > open)) or (((((var4 > var222)
and (var4 > var111)) and (var4 > var5)) and (var222 > ref(var222,1)))
and (close >= open))),open,close,2.8,1),color0000ff;
stickline((((((var4 > var6) and (var4 > var3)) and (大雪 > 无痕))
and (var111 > ref(var111,1))) and (close < open)),open,close,2.8,0)
,color00ffff;
stickline((((((var4 > var6) and (var4 > var3)) and (大雪 > 无痕))
and (var111 > ref(var111,1))) and (close >= open)),open,close,2.8,1)
,color00ffff;

.

附件里是源码


  >>>使用本站搜索工具可以找到更多美好的理想〈春天的〉四副图指标详解 通达信春天美好

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文美好的理想〈春天的〉四副图指标详解 通达信春天美好仅供学习研究。

猜你喜欢

学了又学