以下是虎运图-精品主图指标

{虎运图-精品主图指标}
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),CulorFF1EFF;
持股:EMA(YTSL,N2),Culor1EFFFF;
辰星:(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,CulorFFFF1E;
强弱:EMA(YTSL,N3),Culor246BFF;
牛熊:MA(YTSL,N4),CulorFF2F2F,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),CulorC400C4;
STICKLINE((dd4 OR dd5) AND OPEN<=CLOSE ,CLOSE,OPEN,10,0),Culor880088;
STICKLINE((dd4 OR dd5) AND OPEN<=CLOSE ,CLOSE,OPEN,8,0),CulorA600A6;
STICKLINE((dd4 OR dd5) AND OPEN<=CLOSE ,CLOSE,OPEN,4,0),CulorC400C4;{紫}
STICKLINE((dd4 OR dd5) AND OPEN>=CLOSE ,HIGH,LOW,0,0),Culor62C400;
STICKLINE((dd4 OR dd5) AND OPEN>=CLOSE ,CLOSE,OPEN,10,0),Culor448800;
STICKLINE((dd4 OR dd5) AND OPEN>=CLOSE ,CLOSE,OPEN,8,0),Culor53A600;
STICKLINE((dd4 OR dd5) AND OPEN>=CLOSE ,CLOSE,OPEN,4,0),Culor62C400;{绿}
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN<=CLOSE,HIGH,LOW,0,0),Culor0000C4;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN<=CLOSE,CLOSE,OPEN,10,0),Culor000088;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN<=CLOSE,CLOSE,OPEN,8,0),Culor0000A6;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN<=CLOSE,CLOSE,OPEN,4,0),Culor0000C4;{红}
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN>=CLOSE,HIGH,LOW,0,0),Culor888800;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN>=CLOSE,CLOSE,OPEN,10,0),Culor666600;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN>=CLOSE,CLOSE,OPEN,8,0),Culor777700;
STICKLINE((dd3 OR CLOSE>aa2) AND OPEN>=CLOSE,CLOSE,OPEN,4,0),Culor888800;{青}
STICKLINE(cc2,HIGH,LOW,0,0),Culor0062C4;
STICKLINE(cc2,OPEN,CLOSE,10,0),Culor004488;
STICKLINE(cc2,OPEN,CLOSE,8,0),Culor0053A6;
STICKLINE(cc2,OPEN,CLOSE,4,0),Culor0062C4;{橘黄}
STICKLINE(MA(CLOSE,9)>OPEN AND CLOSE>MA(CLOSE,9),HIGH,LOW,0,0),Culor00C4C4;
STICKLINE(MA(CLOSE,9)>OPEN AND CLOSE>MA(CLOSE,9) AND OPEN<CLOSE,OPEN,CLOSE,10,0),Culor008888;
STICKLINE(MA(CLOSE,9)>OPEN AND CLOSE>MA(CLOSE,9) AND OPEN<CLOSE,OPEN,CLOSE,8,0),Culor00A6A6;
STICKLINE(MA(CLOSE,9)>OPEN AND CLOSE>MA(CLOSE,9) AND OPEN<CLOSE,OPEN,CLOSE,4,0),Culor00C4C4;{黄}
BDGD:=CROSS(0.8,H=HHV(H,6));
GDSJ:=BARSLAST(BDGD)+1;
波峰: REF(H,GDSJ),CulorFFFFFF,POINTDOT;
BDDD:=CROSS(0.8,L=LLV(L,6));
DDSJ:=BARSLAST(BDDD)+1;
波谷: REF(L,DDSJ),COLORFF00FF,POINTDOT;
STICKLINE(GDSJ<=6,波峰,波峰,6,0),CulorFB0000,LINETHICK1;
STICKLINE(DDSJ<=6,波谷,波谷,6,0),Culor1EFFFF,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),CulorB5005A;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,8,0),CulorDB006D;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,4,0),CulorF9007C;{紫底背}
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,10,0),CulorD2D2D2;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,8,0),CulorF0F0F0;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,4,0),CulorFFFFFF;{白顶背}
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。