通达信冠军1号主图源码 贴图
上涨家数:=INDEXADV,COLOR0080FF,NODRAW;
下跌家数:=INDEXDEC,COLORGREEN,NODRAW;
今日人气:=上涨家数/下跌家数;
HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
GO0B:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60),COLORYELLOW,LINETHICK2;
DO0B:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3,COLORYELLOW,LINETHICK2;
GO0B1:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60),COLORYELLOW,POINTDOT;
DO0B1:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3,COLORYELLOW,POINTDOT;
D90H:=EMA(HH,90),COLORRED,LINETHICK1;
D90L:=EMA(LL,90),COLORRED,LINETHICK1;
D90:(D90H+D90L)/2,COLORWHITE,LINETHICK1;
D1:=EMA(D90,10),COLORWHITE,LINETHICK1;
D2:=EMA(D1,10),COLORWHITE,LINETHICK1;
YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORRED,LINETHICK1;
YM1:=EMA(YM,5),COLORRED,LINETHICK1;
YM2:=EMA(YM1,5),COLORRED,LINETHICK1;
IF(YM>=YM2,YM,DRAWNULL),LINETHICK1,COLORRED;
IF(YM>=YM2,YM1,DRAWNULL),LINETHICK1,COLORRED;
IF(YM<=YM2,YM,DRAWNULL),LINETHICK1,COLORGREEN;
IF(YM<=YM2,YM1,DRAWNULL),LINETHICK1,COLORGREEN;
IF(EMA((CLOSE+HIGH+LOW)/3,5)>=D90,D90,DRAWNULL),LINETHICK1,COLORRED;
IF(EMA((CLOSE+HIGH+LOW)/3,5)>=D90,D1,DRAWNULL),LINETHICK1,COLORRED;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)>=YM,LOW,HIGH,0,0),COLORRED;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)>=YM,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)<=YM,LOW,HIGH,0,0),COLORGREEN;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)<=YM,CLOSE,OPEN,3,1),COLORGREEN;
大盘SJ:=WMA(((2*INDEXC+INDEXH+INDEXL)/4-LLV(INDEXL,5))/(HHV(INDEXH,5)-LLV(INDEXL,5))*100,2);
大盘ZJ:=WMA(0.618*REF(大盘SJ,1)+0.382*大盘SJ,2);
大盘买1:=CROSS(大盘SJ,大盘ZJ) AND 大盘SJ<30;
大盘卖1:=CROSS(大盘ZJ,大盘SJ) AND 大盘SJ>70;
大盘VAR1:=4*SMA((INDEXC-LLV(INDEXL,5))/(HHV(INDEXH,5)-LLV(INDEXL,5))*100,5,1)-3*SMA(SMA((INDEXC-LLV(INDEXL,5))/(HHV(INDEXH,5)-LLV(INDEXL,5))*100,5,1),3.2,1);
大盘LC:=REF(INDEXC,1);
大盘RSI:=((SMA(MAX((INDEXC-大盘LC),0),3,1) / SMA(ABS((INDEXC-大盘LC)),3,1)) * 100);
大盘买2:=CROSS(大盘VAR1,8);
大盘卖2:=CROSS(88,大盘RSI);
大盘RSV6:=(INDEXC-LLV(INDEXL,6))/(HHV(INDEXH,6)-LLV(INDEXL,6))*100;
大盘K6:=SMA(大盘RSV6,3,1);
大盘D6:=SMA(大盘K6,3,1);
大盘J6:=3*大盘K6-2*大盘D6;
大盘KDJ6买点:=CROSS(大盘J6,大盘D6);
大盘KDJ6卖点:=CROSS(大盘D6,大盘J6);
大盘J6买点:=CROSS(大盘J6,0);
大盘J6卖点:=CROSS(100,大盘J6);
大盘RSV9:=(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9))*100;
大盘K9:=SMA(大盘RSV9,3,1);
大盘D9:=SMA(大盘K9,3,1);
大盘J9:=3*大盘K9-2*大盘D9;
大盘J9买点:=CROSS(大盘J9,0);
大盘J9卖点:=CROSS(100,大盘J9);
大盘MB1:=EMA(WINNER(INDEXC)*100,5);
大盘MB2:=EMA(大盘MB1,2),COLORGREEN;
大盘MB3:=EMA(大盘MB2,2),COLORGREEN;
大盘MB4:=EMA(大盘MB3,2),COLORGREEN;
大盘VAR2:=大盘MB1;
大盘VAR3:=DRAWLINE(大盘VAR2>=HHV(大盘VAR2,5)=1,大盘VAR2,大盘VAR2<=LLV(大盘VAR2,5)=1,大盘VAR2,1);
大盘黄柱:=大盘VAR2=大盘VAR3 AND 大盘VAR2<大盘MB4;
大盘红柱:=REF(大盘VAR2,1)=REF(大盘VAR3,1) AND 大盘VAR2>REF(大盘VAR2,1);
大盘WRSV:=(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9))*100;
大盘WK:=SMA(大盘WRSV,3,1);
大盘D:=SMA(大盘WK,3,1);
大盘KD买点:=CROSS(大盘WK,大盘D)&&大盘WK<20;
大盘KD卖点:=CROSS(大盘D,大盘WK)&&大盘WK>80;
大盘MID:=MA(INDEXC,20);
大盘UPPER:=大盘MID+2*STD(INDEXC,20);
大盘LOWER:=大盘MID-2*STD(INDEXC,20);
大盘布林买点:=CROSS(INDEXC,大盘LOWER);
大盘布林卖点:=CROSS(INDEXC,大盘UPPER);
大盘LCC:=REF(INDEXC,1);
大盘WRSI:=SMA(MAX(INDEXC-大盘LCC,0),6,1)/SMA(ABS(INDEXC-大盘LCC),6,1)*100;
大盘强弱买点:=CROSS(大盘WRSI,20);
大盘强弱卖点:=CROSS(80,大盘WRSI);
大盘买点:=大盘买1=1 OR 大盘买2=1 OR 大盘KD买点=1 OR 大盘布林买点=1 OR 大盘强弱买点=1 OR 大盘黄柱=1 OR 大盘KD买点=1 OR 大盘J6买点=1 OR 大盘J9买点=1 OR 大盘红柱=1;
大盘卖点:=大盘布林卖点=1 OR 大盘强弱卖点=1 OR 大盘卖1=1 OR 大盘卖2=1 OR 大盘J6卖点=1 OR 大盘J9卖点=1 OR 大盘KD卖点=1 OR 大盘布林卖点=1 OR 大盘KDJ6卖点=1;
大盘YM:=EMA(SLOPE((INDEXC+INDEXH+INDEXL)/3,24)*20+(INDEXC+INDEXH+INDEXL)/3,48);
大盘YM1:=EMA(大盘YM,20);
大盘EMA:=EMA((INDEXC+INDEXH+INDEXL)/3,5);
短高H:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
- 上一篇公式:通达信 冠军1号VOL源码副图
- 下一篇公式:通达信与庄共舞副图指标 完全加密 贴图