通达信趋势生成指标公式
2020/3/29 18:49:02
LC:=REF(C,1);
SHARP:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100,COLORWHITE,LINETHICK1;
RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100,COLORAAAAAA;
RSI2:=SMA(RSI1,7,1),COLOR11DD11,LINETHICK2;
趋势F:=XMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLOR3377CC;
趋势8:=XMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
趋势线:=EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORFF77CC,LINETHICK2;
WR1:=XMA(趋势F,7)*1.372,COLOR0011FF,LINETHICK2;{有未来函数!}
趋势生成:=CROSS(WR1,趋势线);
W1:=WR1-REF(WR1,1);
Q1:=趋势线-REF(趋势线,1);
{www.tou18.cn 投股票网_最新股票指标公式}
YTJ1:=SHARP>=RSI2 AND WR1>REF(WR1,1) AND 趋势线-WR1<1.6 AND 趋势线>WR1;
YTJ2:=Q1>0 AND REF(趋势线-WR1,1)>(趋势线-WR1);
YTJ3:=Q1<=0;
YTJ4:=SHARP<RSI2 AND WR1>REF(WR1,1) AND 趋势线-WR1<1 AND 趋势线>WR1;
YTJ5:=(YTJ1 AND YTJ2) OR (YTJ1 AND YTJ3) OR (YTJ2 AND YTJ4) OR (YTJ3 AND YTJ4);
先趋提示:(COUNT(趋势生成,4)=1 AND WR1>REF(WR1,1) AND SHARP<=RSI2);
先叉提示:YTJ5 AND SHARP<60;
先趋确认:(COUNT(趋势生成,5)=1 AND WR1>趋势线 AND WR1>REF(WR1,1) AND CROSS(SHARP,RSI2));
先叉确认:(趋势生成 AND SHARP>RSI2 AND SHARP<50 AND REF(SHARP,1)<55);
投股票 网 www.tou18. cn
股市公式下载推荐