通达信底部显现主图源码

 

MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA30:MA(CLOSE,30),COLORGREEN;
MA60:=MA(CLOSE,60),COLORBLUE;

VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,56),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
AA:=VAR8>REF(VAR8,1);
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);
XG:=L=ZD;
XGA:=AA AND XG;
XG1:=XGA>REF(XGA,1);
STICKLINE(XG1,L,H,0,0),COLORMAGENTA;
STICKLINE(XG1,C,O,2,0),COLORYELLOW;
DRAWTEXT(XG1,L*0.99,’底显’),COLORYELLOW;

通达信底部显现副图源码

VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,56),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
AA:=VAR8>REF(VAR8,1);
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);
XG:=L=ZD;
XGA:=AA AND XG;
XG1:=XGA>REF(XGA,1);
DX:=XG1>REF(XG1,1);
DRAWTEXT(FILTER(DX=1,5),36,’   底’),COLORYELLOW;
DRAWTEXT(FILTER(DX=1,5),31,’   显’),COLORYELLOW;
STICKLINE(DX,40,25,1,0),COLORYELLOW;
STICKLINE(DX,25,10,2,0),COLOR00FF00;
STICKLINE(DX,10,0,2,0),COLORBLUE;
STICKLINE(DX,25,15,0.5,0),COLORRED;
STICKLINE(DX,15,6,1,0),COLOR00FF00;
STICKLINE(DX,6,0,2,0),COLORBLUE;


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