以下是通达信交易护驾船长源码副图
X_1:=CLOSE-REF(CLOSE,1);
X_2:=EMA(EMA(X_1,6),6)/EMA(EMA(ABS(X_1),6),6)*20;
X_3:=X_2*2-FORCAST(X_2,9);
X_4:=VALUEWHEN(X_3<=X_2,LOW);
X_5:=VALUEWHEN(X_3>X_2,LOW);
X_6:=IF(X_3>X_2,1,IF(X_3<X_2,(-1),0));
X_7:=VALUEWHEN(X_6!=0,X_6);
X_8:=VALUEWHEN(X_3<=X_2,HIGH);
X_9:=VALUEWHEN(X_3>X_2,HIGH);
X_10:=IF(X_7>0,X_4,X_5);
X_11:=IF(X_7>0,X_8,X_9);
DRAWBAND(X_4,RGB(66,88,66),X_5,RGB(180,0,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
IF(X_10>=REF(X_10,1),X_10,DRAWNULL),CROSSDOT,COLORCD0000,LINETHICK2;
IF(X_10<=REF(X_10,1),X_10,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK2;
IF(X_11>=REF(X_11,1),X_11,DRAWNULL),CROSSDOT,COLORLICYAN,LINETHICK2;
IF(X_11<=REF(X_11,1),X_11,DRAWNULL),CROSSDOT,COLOR00FC7C,LINETHICK2;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)