虎运图 精品主图指标

2011-02-21 11:19:00来源:本站整理浏览:91

{虎运图-精品主图指标}
n1:=5;
n2:=10;
n3:=28;
n4:=63;

{DRAWGBKLAST(C>0,STRIP(RGB(155,175,200),RGB(150,170,200),1));}
YTSL:=(LOW+OPEN+HIGH+2*CLOSE)/5;
启动:EMA(YTSL,N1),ColorFF1EFF;
持股:EMA(YTSL,N2),Color1EFFFF;
辰星:(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,ColorFFFF1E;
强弱:EMA(YTSL,N3),Color246BFF;
牛熊:MA(YTSL,N4),ColorFF2F2F,LINETHICK1;
aa1:=WMA(CLOSE,2);
bb1:=EMA(aa1,2);
a0:=MA(bb1,3);
aa2:=WMA((HIGH+CLOSE+OPEN)/3,18);
dd3:=a0>=aa2 AND CLOSE>aa2;
dd4:=a0<aa2 ;
dd5:=a0>aa2 ;
cc1:=((CLOSE-REF(MA(CLOSE,4),1))/3+MA(CLOSE,4))*1.004;
cc2:=CROSS(CLOSE,cc1) AND cc1>REF(cc1,1);
STICKLINE((dd4 OR dd5) AND OPEN<=CLOSE ,HIGH,LOW,0,0),ColorC400C4;
STICKLINE((dd4 OR dd5) AND OPEN<=CLOSE ,CLOSE,OPEN,10,0),Color880088;
STICKLINE((dd4 OR dd5) AND OPEN<=CLOSE ,CLOSE,OPEN,8,0),ColorA600A6;
STICKLINE((dd4 OR dd5) AND OPEN<=CLOSE ,CLOSE,OPEN,4,0),ColorC400C4;{紫}
STICKLINE((dd4 OR dd5) AND OPEN>=CLOSE ,HIGH,LOW,0,0),Color62C400;
STICKLINE((dd4 OR dd5) AND OPEN>=CLOSE ,CLOSE,OPEN,10,0),Color448800;
STICKLINE((dd4 OR dd5) AND OPEN>=CLOSE ,CLOSE,OPEN,8,0),Color53A600;
STICKLINE((dd4 OR dd5) AND OPEN>=CLOSE ,CLOSE,OPEN,4,0),Color62C400;{绿}
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN<=CLOSE,HIGH,LOW,0,0),Color0000C4;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN<=CLOSE,CLOSE,OPEN,10,0),Color000088;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN<=CLOSE,CLOSE,OPEN,8,0),Color0000A6;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN<=CLOSE,CLOSE,OPEN,4,0),Color0000C4;{红}
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN>=CLOSE,HIGH,LOW,0,0),Color888800;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN>=CLOSE,CLOSE,OPEN,10,0),Color666600;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN>=CLOSE,CLOSE,OPEN,8,0),Color777700;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN>=CLOSE,CLOSE,OPEN,4,0),Color888800;{青}
STICKLINE(cc2,HIGH,LOW,0,0),Color0062C4;
STICKLINE(cc2,OPEN,CLOSE,10,0),Color004488;
STICKLINE(cc2,OPEN,CLOSE,8,0),Color0053A6;
STICKLINE(cc2,OPEN,CLOSE,4,0),Color0062C4;{橘黄}
STICKLINE(MA(CLOSE,9)>OPEN AND CLOSE>MA(CLOSE,9),HIGH,LOW,0,0),Color00C4C4;
STICKLINE(MA(CLOSE,9)>OPEN AND CLOSE>MA(CLOSE,9) AND OPEN<CLOSE,OPEN,CLOSE,10,0),Color008888;
STICKLINE(MA(CLOSE,9)>OPEN AND CLOSE>MA(CLOSE,9) AND OPEN<CLOSE,OPEN,CLOSE,8,0),Color00A6A6;
STICKLINE(MA(CLOSE,9)>OPEN AND CLOSE>MA(CLOSE,9) AND OPEN<CLOSE,OPEN,CLOSE,4,0),Color00C4C4;{黄}
BDGD:=CROSS(0.8,H=HHV(H,6));
GDSJ:=BARSLAST(BDGD)+1;
波峰: REF(H,GDSJ),ColorFFFFFF,POINTDOT;
BDDD:=CROSS(0.8,L=LLV(L,6));
DDSJ:=BARSLAST(BDDD)+1;
波谷: REF(L,DDSJ),COLORFF00FF,POINTDOT;
STICKLINE(GDSJ<=6,波峰,波峰,6,0),ColorFB0000,LINETHICK1;
STICKLINE(DDSJ<=6,波谷,波谷,6,0),Color1EFFFF,LINETHICK1;
A1:=MIN(O,C);
B1:=ABS(O-C);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,10,0),ColorB5005A;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,8,0),ColorDB006D;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,4,0),ColorF9007C;{紫底背}
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,10,0),ColorD2D2D2;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,8,0),ColorF0F0F0;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,4,0),ColorFFFFFF;{白顶背}

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式