指标为三条趋势线,分别代表短、中、长期走势,均线多头金叉买入,空头死叉卖出。利用该指标是要联合其他技能指标,比如成交量、大盘走势等因素举行综合判断。3 G5 c; F1 S7 D
8 S1 A4 y8 F* T- l7 {
9 V# I2 B. n/ t* C) D! e
LC :=REF(CLOSE,1);' Q% G+ o8 I; p6 O; E
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;( e# \! m! V4 n# S
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
; O4 i2 w4 l2 s短线:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);; j q3 }- |, Q
中线:EMA(短线,8);, X, y P" [: p5 T
长线:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5); |