分时顶底 通达信副图指标 源码 贴图
X_1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;DRAWBAND(X_1,RGB(150,30,30),EMA(X_1,60),RGB(0,110,30));
DRAWTEXT_FIX(ISLASTBAR,IF(FROMOPEN 120,0.6,0.01),0.05,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,IF(FROMOPEN 120,0.6,0.01),0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,IF(FROMOPEN 120,0.55,0.01),0.9,0,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,IF(FROMOPEN 120,0.55,0.01),0.95,0,FGBLOCK),COLORYELLOW;
X_2:=IF(显示顶底线=1,HHV(HIGH,480),DRAWNULL);
X_3:=IF(显示顶底线=1,LLV(LOW,480),DRAWNULL);{www.9m8.cn 九毛八公式指标网}
分时顶:IF(X_2=REF(X_2,2),X_2,DRAWNULL),DOTLINE,COLORMAGENTA;
分时底:IF(X_3=REF(X_3,2),X_3,DRAWNULL),DOTLINE,COLORGREEN;
CLOSE,COLORWHITE;