均价:=(OPEN+HIGH+LOW+CLOSE*2)/5,NODRAW;
突破:均价+HIGH-LOW,NODRAW;
阻力:均价*2-LOW,NODRAW;
支撑:均价*2-HIGH,NODRAW;
下降:均价-HIGH+LOW,NODRAW;
心理:(均价+突破+阻力+支撑+下降)/5,LINETHICK3,COLORRED;
趋势:expma(CLOSE,12),COLORWHITE;
NOTEXT1:IF(心理>趋势,心理,DRAWNULL),LINETHICK7,COLORRED;
NOTEXT2:IF(趋势>心理,心理,DRAWNULL),LINETHICK3,COLORGREEN;