此指标是用于抢反弹的,务必要设置止损价后再买入,
要严格执行止损,否则不要使用此指标;如用来做中线,最好的就是在上升趋势中
做。
首先说明:此指标是本人加入了几个很普通的指标而编成的。有平常的RSI指标、有
BIAS乖离率指标、OSC变动速率指标、换手率、还有个就是借用了“回到爱琴海”老
师的主图中的粉红K线的源码。信软件就有这个指标。
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,LINETHICK0;
RSI2:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,LINETHICK2,COLORGREEN;
IF(RSI1>RSI2,RSI2,DRAWNULL),LINETHICK2,COLORRED;
IF(RSI1<RSI2,RSI2,DRAWNULL),LINETHICK2,COLORGREEN;
OSC:=100*(CLOSE-MA(CLOSE,20));
MAOSC:=EXPMEMA(OSC,6);
BIAS:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
BIASMA:=MA(BIAS,6);
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C<REF(O,1) AND F<0,1,0);
P2:=IF(C<REF(O,2) AND F<0,1,0);
LIN:=IF(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,1,0);
STICKLINE(LIN,0,5,1.5,0),COLORFFFF00;
YY:0,COLORFFFF00;
SS1:=CROSS(OSC,MAOSC) AND LIN;
DRAWTEXT(SS1,68,'<=抢反弹'),COLORFFFF22;
STICKLINE(SS1,0,60,1,1),COLOR00FFFF;
SS:=CROSS(OSC,MAOSC) AND CROSS(BIAS,BIASMA) AND LIN;
DRAWTEXT(SS,80,'<=激流淘金'),COLORFF00FF;
STICKLINE(SS,0,100,0.3,0),COLORRED;
单日换手:100*V/CAPITAL,LINETHICK0;
十日换手:SUM(单日换手,10),LINETHICK0;
811366141.jpg
|