当日S趋势线从下方同时上穿TAKE_UP线和GETDOWN线 满足条件发出选股预警信号

2017-11-06 10:16:00来源:本站整理浏览:157

当日S趋势线从下方同时上穿TAKE_UP线和GETDOWN线 满足条件发出选股预警信号 (就是当日S趋势线数值 从小于两条线的数值到都大于两条线的数值时作为选股条件)

TAKE_UP:EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5),COLORRED;
GETDOWN:(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5)*10,COLORGREEN;
A:=EMA(C,5);
B:=LLV(LOW,25);
VARA:=INTPART(EMA(IF(LOW<=B,C/A,0),3)*100);
VARB:=IF(VARA>100,VARA*0.312,VARA);
D:=EMA(C,5);
E:=HHV(H,25);
VARD:=INTPART(EMA(IF(H>=E,C/D,0),3)*100);
VARE:=IF(VARD>100,VARD*0.312,VARD);
STICKLINE(VARE>0,0,VARE,0,0),COLORLIRED;
STICKLINE(VARB>0,0,VARB,0,0),COLORLIBLUE;
S趋势:(C/MA(C,15)-1)*1000+50,COLORYELLOW;
多头:VARE,COLORLIRED,NODRAW;
空头:VARB,COLORLIBLUE,NODRAW;
50,COLORGRAY,DOTLINE;

公式网www.gpxiazai.com解答:


TAKE_UP:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5) ;
GETDOWN:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5)*10 ;
S趋势:=(C/MA(C,15)-1)*1000+50;
CROSS(S趋势,TAKE_UP) AND CROSS(S趋势,GETDOWN);

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式