您现在的位置:好股网 >> 股票公式 >> 同花顺公式 >> 一键转帖:同花顺彩带主图指标公式

同花顺彩带主图指标公式


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-04-22 08:31:00
公式简介:

图及源码见下: 


{DRAWGBK(DATE900103,STRIP(RGB(80,100,255),RGB(110,130,255),1));}
MIDEMA(C,18),LINETHICK1,coloryellow;
UPPERMID + 2STD(C,18),LINETHICK1,colorgreen;
LOWERMID - 2STD(C,18),LINETHICK1,colorwhite;
H1=EMA(SLOPE(CLOSE,34)20+CLOSE,75);
H2=EMA(CLOSE,8);
Var1d=H2-H1;
a=(3C+L+O+H)6;
b=(20a+19REF(a,1)+18REF(a,2)+17REF(a,3)+16REF(a,4)+15REF(a,5)+14REF(a,6)+13REF
(a,7)+12REF(a,8)+11REF(a,9)+10REF(a,10)+9REF(a,11)+8REF(a,12)+7REF(a,13)+6REF(a,14)
+5REF(a,15)+4REF(a,16)+3REF(a,17)+2REF(a,18)+REF(a,20))210;
d=MA(b,10);
持仓区STICKLINE(bd AND Var1d=0 , MID,MID,6,1 ), coloryellow ,linethick2;
趋势MA(CLOSE,4),ColorFFFF00;
byx趋势;
FILLRGN(趋势,REF(趋势,1),趋势REF(趋势,1),RGB(255,0,255),趋势REF(趋势,1),RGB(0,255,255));
STICKLINE(CLOSEOPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;
STICKLINE(CLOSEOPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;
STICKLINE(OPEN=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,10,0 ),COLORff7700;
STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;
STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;
STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;
STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;
STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;
STICKLINE(OPEN=CLOSE ,CLOSE ,OPEN,0.8,0 ),COLORffFF00;
STICKLINE(CLOSEOPEN,CLOSE,OPEN,10,0) ,COLOR000055;
STICKLINE(CLOSEOPEN,CLOSE,OPEN,6,0) ,COLOR000066;
STICKLINE(CLOSEOPEN,CLOSE,OPEN,5,0) ,COLOR000077;
STICKLINE(CLOSEOPEN,CLOSE,OPEN,4,0) ,COLOR000099;
STICKLINE(CLOSEOPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;
STICKLINE(CLOSEOPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;
STICKLINE(CLOSEOPEN,CLOSE,OPEN,0.8,0) ,COLOR0000ff;
var9Q=C= HHV(C,4)AND (REF(C,1)=REF(C,2) OR REF(C,1)=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C=REF(C,1) OR REF(C,3)=HHV(C,4) AND C=REF(C,1) AND C=REF(C,2);

STICKLINE(var9Q,C,(O+C)2,10,0),color000055;
STICKLINE(var9Q,C,(O+C)2,6,0),color000066;
STICKLINE(var9Q,C,(O+C)2,5,0),color000077;
STICKLINE(var9Q,C,(O+C)2,4,0),color000099;
STICKLINE(var9Q,C,(O+C)2,3,0),color0000bb;
STICKLINE(var9Q,C,(O+C)2,2,0),color0000dd;
STICKLINE(var9Q,C,(O+C)2,0.8,0),color0000ff;
varaQ=C=HHV(C,4) AND REF(C,1)=LLV(C,4);
STICKLINE(varaQ,C,(O+C)2,10,0),colorff11ff;
STICKLINE(varaQ,C,(O+C)2,6,0),colorff33ff;
STICKLINE(varaQ,C,(O+C)2,5,0),colorff55ff;
STICKLINE(varaQ,C,(O+C)2,4,0),colorff77ff;
STICKLINE(varaQ,C,(O+C)2,3,0),colorff99ff;
STICKLINE(varaQ,C,(O+C)2,2,0),colorffbbff;
STICKLINE(varaQ,C,(O+C)2,0.8,0),colorffddff;
varbQ=C=LLV(C,4) AND (REF(C,1)REF(C,2) OR REF(C,1)REF(C,3)) OR REF(C,1)=LLV(C,4) AND CREF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)HHV(C,4) AND CREF(C,1) OR REF(C,3)=LLV(C,4) AND CREF(C,1) AND CREF(C,2);

STICKLINE(varbQ,C,(O+C)2,10,0),color333333;
STICKLINE(varbQ,C,(O+C)2,6,0),color555555;
STICKLINE(varbQ,C,(O+C)2,5,0),color777777;
STICKLINE(varbQ,C,(O+C)2,4,0),color999999;
STICKLINE(varbQ,C,(O+C)2,3,0),colorbbbbbb;
STICKLINE(varbQ,C,(O+C)2,2,0),colordddddd;
STICKLINE(varbQ,C,(O+C)2,0.8,0),colorffffff;
varcQ=REF(C,1)=LLV(C,4) AND C=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=REF(C,3) AND REF(C,2)REF(C,4) AND C=REF(C,1);

STICKLINE(varcQ,O,(O+C)2,10,0),color003300;
STICKLINE(varcQ,O,(O+C)2,6,0),color005500;
STICKLINE(varcQ,O,(O+C)2,5,0),color007700;
STICKLINE(varcQ,O,(O+C)2,4,0),color009900;
STICKLINE(varcQ,O,(O+C)2,3,0),color00bb00;
STICKLINE(varcQ,O,(O+C)2,2,0),color00dd00;
STICKLINE(varcQ,O,(O+C)2,0.8,0),color00ff00;
vardQ=REF(C,1)=HHV(C,4) AND CREF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)REF(C,2)) AND REF(C,2)=REF(C,4) AND CREF(C,1);

STICKLINE(vardQ,O,(O+C)2,10,0),colorff1100;
STICKLINE(vardQ,O,(O+C)2,6,0),colorff3300;
STICKLINE(vardQ,O,(O+C)2,5,0),colorff5500;
STICKLINE(vardQ,O,(O+C)2,4,0),colorff7700;
STICKLINE(vardQ,O,(O+C)2,3,0),colorff9900;
STICKLINE(vardQ,O,(O+C)2,2,0),colorffbb00;
STICKLINE(vardQ,O,(O+C)2,0.8,0),colorffdd00;
AC=AMOUNT(VOL);
YY=MA(AC,9);
LLL=(C-YY)YY100;
MIDC = MA(CLOSE,14);
UPPERC= MIDC + 2STD(C,14);
LOWERC= MIDC - 2STD(C,14);
BBA=(C-LOWERC)(UPPERC-LOWERC);
BBC=FORCAST(BBA,3);
LIFENGCYC=(REF(LLL,1)-15 AND REF(BBA,1)0 AND LLLREF(LLL,1));
DRAWTEXT(LIFENGCYC0,LOW0.99,'☆'),colorffffff;


 



 


[url=http://www.goodgupiao.com/gupiaogongshi/27916.html][B]同花顺彩带主图指标公式[/B][/url]