beyond202104 发表于 2023-8-28 16:46:09

趋势生成(通达信指标 源码 贴图)

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); 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);




anitaye007 发表于 2023-10-28 22:47:15

多多点赞好好学习

米诺霖米ga 发表于 2024-3-2 22:48:54

不知该说些什么。。。。。。就是谢谢

幸福飞猪2017 发表于 2024-3-16 18:30:23

支持一下:lol
页: [1]
查看完整版本: 趋势生成(通达信指标 源码 贴图)