滑头主力趋势及选股公式(副图 源码)

2011-02-22 10:24:00来源:本站整理浏览:188

P:=2;
VAR3:=1;
H1:=L;
H2:=H;
CC:=C;
RSV:= (CC-LLV(H1,9))/(HHV(H2,9)-LLV(H1,9))*100;
FASTK:=SMA(RSV,3,1);
Y1A:=((SMA(FASTK,3,1))*VAR3/2+40)*1.1;
Y1:=SMA(Y1A,3,1);
阳:Y1,LINETHICK2;
RSV1:= (HHV(H2,9)-CC)/(HHV(H2,9)-LLV(H1,9))*100;
Y2A:=(SMA(RSV1,3,1)*VAR3/2)*1.1;
Y2:=SMA(Y2A,3,1);
阴:Y2,LINETHICK2;

LC := REF(CC,1);
RSI1:=SMA(MAX(CC-LC,0),13,1)/SMA(ABS(CC-LC),13,1)*100;
RSI2:=SMA(MAX(CC-LC,0),6,1)/SMA(ABS(CC-LC),6,1)*100;
RSI3:=IF(RSI2>50,RSI2*1.05,RSI2);
RSV3:=(CC-LLV(H1,54))/(HHV(H2,54)-LLV(H1,54))*100;
RSI4:=IF(RSI3>100,100,RSI3);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
RRR:= EMA(SLOPE(RSI4,3),20)*VAR3;
滑头:RSI4, COLORRED,LINETHICK2;
主力:EMA(RSI2,13),LINETHICK2;
趋势:EMA(主力,21) ,COLORYELLOW,POINTDOT;
 

选股要求:主力线上穿阴线

【主力线上穿阴线】
VAR3:=1;
H1:=L;
H2:=H;
CC:=C;
LC := REF(CC,1);
RSV1:= (HHV(H2,9)-CC)/(HHV(H2,9)-LLV(H1,9))*100;
RSI2:=SMA(MAX(CC-LC,0),6,1)/SMA(ABS(CC-LC),6,1)*100;
Y2A:=(SMA(RSV1,3,1)*VAR3/2)*1.1;
Y2:=SMA(Y2A,3,1);
阴:=Y2;
主力:=EMA(RSI2,13);
CROSS(主力,阴);
【主力线上穿趋势】
CC:=C;
LC := REF(CC,1);
RSI2:=SMA(MAX(CC-LC,0),6,1)/SMA(ABS(CC-LC),6,1)*100;
主力:=EMA(RSI2,13);
趋势:=EMA(主力,21);
CROSS(主力,趋势);

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式