MA5:MA(CLOSE,5);
A:=EMA((EMA(CLOSE,19)+EMA(CLOSE,20)+EMA(CLOSE,21))/3,3),COLORYELLOW;
轴线:EMA(A,3)COLORWHITE;
AA:=EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLORWHITE;
AAA:EMA(EMA(EMA(AA,1),2),3);
BB:=EMA((EMA(C,19)+EMA(C,20)+EMA(C,21))/3,3);
CC:=BB-(AA-BB);
CCC:EMA(EMA(EMA(CC,1),2),3);
开口值1:=HHV(AA,1)/LLV(CC,1)*100-100,NODRAW;
起:EMA(开口值1,5),NODRAW;
DRAWBAND(MA5,RGB(200,10,20),AAA,RGB(100,100,200));
MA5M:MA(CLOSE,5);
IF( AAA<轴线 AND AAA>REF(AAA,1),AAA,DRAWNULL),COLORMAGENTA,LINETHICK3;
IF( AAA>轴线 AND AAA>REF(AAA,1),AAA,DRAWNULL),COLORRED,LINETHICK4;
IF( AAA>轴线 AND AAA<REF(AAA,1),AAA,DRAWNULL),COLORYELLOW,LINETHICK2;
IF( AAA<轴线 AND AAA<REF(AAA,1),AAA,DRAWNULL),COLORLIBLUE,LINETHICK2;
IF( CCC<轴线 AND CCC>REF(CCC,1),CCC,DRAWNULL),COLORLIBLUE,LINETHICK2;
IF( CCC>轴线 AND CCC>REF(CCC,1),CCC,DRAWNULL),COLORYELLOW,LINETHICK2;
IF( CCC>轴线 AND CCC<REF(CCC,1),CCC,DRAWNULL),COLORRED,LINETHICK2;
IF( CCC<轴线 AND CCC<REF(CCC,1),CCC,DRAWNULL),COLORMAGENTA,LINETHICK2;
撑压A:IF(crOSS(AAA,CCC),H,REF(H,BArslAST(CROSS(AAA,CCC)))),POINTDOT,COLORYELLOW,LINETHICK2;
撑压B:IF(CROSS(CCC,AAA),H,REF(H,BARSLAST(CROSS(CCC,AAA)))),POINTDOT,COLORCYAN,LINETHICK2;
ddiF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DRAWTEXT(CROSS(MA5,CCC) AND DDIF>0 AND DDIF>REF(DDIF,1),CCC-0.2,’〇’),COLORRED;
DRAWTEXT(CROSS(MA5,CCC) AND DDIF>0 AND DDIF>REF(DDIF,1),CCC-0.4,’〇’),COLORYELLOW;
DRAWTEXT(CROSS(MA5,CCC) AND DDIF>0 AND DDIF>REF(DDIF,1),CCC-0.6,’〇’),COLORLIBLUE;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

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