均线XMA:=(XMA(C,3)+XMA(C,5)+XMA(C,8)+XMA(C,13)+XMA(C,21))/5, colorliblue;

DEA:均线,LINETHICK1,colorred;

TJ:=(DIFF>=DEA);

STICKLINE(TJ,H,L,1.5,0),colorred;

STICKLINE(TJ1 AND TJ,H,L,1.5,0),colorred;

TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));

VAR1:=REF(CLOSE,1)-REF(ATR,1);

STICKLINE(DIFF<=多空分界,H,L,1.5,0),COLORFFDE00;

DRAWTEXT(CROSS(DIFF,多空分界) ,DEA,’多’),colorred;

PARTLINE(DEA,DEA>=REF(DEA,1),colormagenta,

买线:=EMA(C,2);

BU:=CROSS(买线,卖线);

STICKLINE(BU,OPEN,CLOSE,5,0),coloryellow;

 

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