aaq:=CLOSE-REF(CLOSE,6);
通达信主图指标:=MA(aaq,6);
红蓝变线:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100;
波段指标公式:=SMA(红蓝变线,3,1);
aaq5:=SMA(波段指标公式,3,1);
aaq6:=EMA((3*波段指标公式-2*aaq5),2);
aaq7:=(HIGH+LOW+CLOSE)/3;
aaq8:=((aaq7-MA(aaq7,14))/(0.015*AVEDEV(aaq7,14)))/2;
aaq9:=(aaq8+(EMA(((0-(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))))+100)/100,3)*200-100))/2;
dde1:=aaq9-REF(aaq9,14);
dde11:=aaq9-REF(aaq9,26);
dde12:=(aaq9+dde1+dde11)/3;
iiu:=EMA(dde12,4);
tty3:=HHV(HIGH,34);
tty4:=(2*CLOSE+HIGH+LOW)/4;
tty5:=LLV(LOW,34);
tty6:=EMA(((tty4-tty5)/(tty3-tty5))*100,13);
tty7:=EMA(0.667*REF(tty6,1)+0.333*tty6,2);
iiuD:=tty6-tty7>1 AND tty6<30 AND tty7<30;
iiuL:=tty6-tty7<0 AND tty6>80 AND tty7>80 AND REF(tty6-tty7,1)>0;
iiuQ:=COUNT(tty6-tty7>0,2)=2;
KKAL:=(tty6-tty7)<0;
DRAWTEXT(FILTER(iiuD,30),L,''),COLOR00FFFF;
DRAWTEXT(FILTER(iiuL,30),H,''),COLORFFFF00;
DRAWTEXT(FILTER(iiuQ,30),C,''),COLOR00FF00;
DRAWTEXT(FILTER(KKAL,30),H,''),COLORFF8080;
DRAWTEXT(FILTER(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),30),L*1.06,'强盘'),COLORFF00FF;
DRAWTEXT(CROSS(MA(CLOSE,5),MA(CLOSE,10)),L*0.94,''),COLORFF00FF;
DRAWTEXT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),H*1.08,''),COLORYELLOW;
DRAWTEXT(FILTER(iiu>EMA(iiu,4) AND iiu>REF(iiu,1),30),L*0.98,'');
DRAWTEXT(FILTER(iiu<EMA(iiu,4) AND iiu<REF(iiu,1),30),H*1.03,'');
DRAWTEXT(FILTER(iiu>EMA(iiu,4) AND iiu<REF(iiu,1),30),H,''),COLORAA8800;
DRAWTEXT(FILTER(iiu<EMA(iiu,4) AND iiu>REF(iiu,1),30),L,'')
,COLORAA00AA;
eet1: (13*C+12*REF(C,1)+11*REF(C,2)+10*REF(C,3)+9*REF(C,4)+8*REF(C,5)+7*REF(C,6)
+6*REF(C,7)+5*REF(C,8)+4*REF(C,9)+3*REF(C,10)+2*REF(C,11)+1*REF(C,12)+REF(C,13))/(13
+12+11+10+9+8+7+6+5+4+3+2+1)COLORYELLOW,LINETHICK2;
eet2:IF(eet1>REF(eet1,1) AND C>eet1,eet1,DRAWNULL),COLORRED,LINETHICK2;
eet3:IF(eet1<REF(eet1,1) AND C<eet1,eet1,DRAWNULL),COLORBLUE,LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWICON(CROSS(RSI,58),(HIGH*1.05),9),COLORBROWN;
1600930600560-3C57.jpg
|