通达信九天揽月副图指标 源码 贴图 DEAA:=EMA(DIFF,12); MACDD:=(DIFF-DEAA)*2; ZT:=IF(CODELIKE('68') OR CODELIKE('30'),ZTPRICE(REF(C,1),0.2),IF(CODELIKE('8'),ZTPRICE(REF(C,1),0.3),IF((NAMELIKE('ST') OR NAMELIKE('*')),ZTPRICE(REF(C,1),0.05),ZTPRICE(REF(C,1),0.1)))); {STICKLINE(C=ZT,O,C,0.8,0),COLORYELLOW;} TS:=BARSCOUNT(CLOSE)>=10; MM:=EMA((3*CLOSE+HIGH+LOW+OPEN)/6,20),COLORBLUE,LINETHICK2; FL:=HHV(MM,5),LINETHICK2,COLORGREEN; FS:=MM-(FL-MM),LINETHICK2,COLORRED; {DRAWICON(FL=FS AND REF(FL,1)>REF(FS,1) AND TS AND C>=O AND V=HHV(V,6),L,1);} {DRAWICON(FL=FS AND REF(FL,1)>REF(FS,1) AND TS AND C>=O AND V=HHV(V,6),H*1.03,25);} {DRAWICON(FL>FS AND REF(FL,1)=REF(FS,1) AND TS,H*1.008,2),NODRAW;} 三线:=FL=FS AND REF(FL,1)>REF(FS,1); XA:=FILTER(FL=FS AND BARSLAST(三线) <=4 AND TS AND C>=O AND V>=REF(V,1)*2 AND C/REF(C,1)>1.03 ,5); DRAWTEXT(XA,50,'---九天揽月'),COLORMAGENTA; STICKLINE(XA,40,20,3.5,0),COLORA8A8A8; STICKLINE(XA,50,49,1.7,0),COLORA8A8A8; STICKLINE(XA,49,48,1.9,0),COLORA8A8A8; STICKLINE(XA,48,47,2.1,0),COLORA8A8A8; STICKLINE(XA,47,46,2.3,0),COLORA8A8A8; STICKLINE(XA,46,45,2.5,0),COLORA8A8A8; STICKLINE(XA,45,44,2.7,0),COLORA8A8A8; STICKLINE(XA,44,43,2.9,0),COLORA8A8A8; STICKLINE(XA,43,42,3.1,0),COLORA8A8A8; STICKLINE(XA,42,41,3.3,0),COLORA8A8A8; STICKLINE(XA,41,40,3.5,0),COLORA8A8A8; STICKLINE(XA,101,96,0.1,0),COLORWHITE; STICKLINE(XA,96,92,0.3,0),COLORWHITE; STICKLINE(XA,92,88,0.6,0),COLORWHITE; STICKLINE(XA,88,84,0.9,0),COLORWHITE; STICKLINE(XA,84,80,1.2,0),COLORWHITE; STICKLINE(XA,80,50,1.4,0),COLORWHITE; STICKLINE(XA,74,70,0.6,0),COLORRED; STICKLINE(XA,65,64,1.5,0),COLORBLUE; STICKLINE(XA,51,49,1.5,0),COLORBLUE; STICKLINE(XA,49,25,1.5,0),COLORWHITE; STICKLINE(XA,25,20,1.3,0),COLORRED; STICKLINE(XA,20,13,1,0),COLORRED; STICKLINE(XA,13,7,0.7,0),COLORRED; STICKLINE(XA,7,1,0.3,0),COLORRED; STICKLINE(XA,1,(-7),0.1,0),COLORRED; STICKLINE(XA,24.799999,21.799999,1,0),COLORYELLOW; STICKLINE(XA,21.799999,18.799999,0.5,0),COLORYELLOW; STICKLINE(XA,18.799999,15.8,0.1,0),COLORYELLOW; STICKLINE(XA,60,55,0.5,0),COLORRED;
|