{火车轨}
S:=crOSS(CLOSE,EMA(HIGH,30));
X:=CROSS(EMA(LOW,30),CLOSE);
WS:=BArslAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA(HIGH,30),EMA(HIGH,30),EMA(LOW,30),1,1),colorred;
STICKLINE(CLOSE<EMA(LOW,30),EMA(LOW,30),EMA(HIGH,30),1,1),colorgreen;
STICKLINE(CLOSE>EMA(HIGH,150),EMA(HIGH,150),EMA(LOW,150),1,1),COLORMAGENTA;
STICKLINE(CLOSE<EMA(LOW,150),EMA(LOW,150),EMA(HIGH,150),1,1),colorblue;
PARTLINE(CLOSE>EMA(HIGH,30),EMA(HIGH,30)),colorred;
PARTLINE(CLOSE<EMA(HIGH,30),EMA(HIGH,30)),colorgreen;
PARTLINE(CLOSE>EMA(LOW,30),EMA(LOW,30)),colorred;
PARTLINE(CLOSE<EMA(LOW,30),EMA(LOW,30)),colorgreen;
PARTLINE(CLOSE>EMA(HIGH,150),EMA(HIGH,150)),COLORMAGENTA;
PARTLINE(CLOSE<EMA(HIGH,150),EMA(HIGH,150)),colorblue;
PARTLINE(CLOSE>EMA(LOW,150),EMA(LOW,150)),COLORMAGENTA;
PARTLINE(CLOSE<EMA(LOW,150),EMA(LOW,150)),colorblue;
DRAWTEXT(SS,LOW*0.965,’B’),colorred;
DRAWICON(SS,LOW*0.98,8);
DRAWTEXT(XX,HIGH*1.035,’S’),colorgreen;
DRAWICON(XX,HIGH*1.02,9);

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