通达信【临界起涨点】三位一体主图指标源码

{【临界起涨点】三位一体主图}
MA5:MA(CLOSE,5),COLORRED;
MA11:MA(CLOSE,11),COLORMAGENTA;
MA36:MA(CLOSE,36),COLORGREEN; 临界 :=CROSS(CLOSE,MA(CLOSE,36)) AND MA(CLOSE,11)<MA(CLOSE,36) AND CLOSE>(REF(LOW,1)+REF(HIGH,1))/2;
DRAWTEXT(临界,LOW*0.99,'临界'),COLORYELLOW;