TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
先行:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorred;
平均:MA(先行,8)/2+EMA(先行,4)/2;
趋势:MA(平均,10)/2+EMA(平均,8)/2;
正:80;
零:0;
负:-80;
DRAWTEXT(crOSS(先行,趋势),趋势,'买'),colorred;
DRAWTEXT(CROSS(趋势,先行),平均,'卖'),colorgreen;
DRAWTEXT(CROSS(平均,正),正,'非常强'),colorred;
DRAWTEXT(CROSS(负,平均),负,'非常弱'),colorgreen;