最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信趋势生成指标源码贴图

    正文概述    2024-04-13 14:32:59  

    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:=SHARPREF(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);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信趋势生成指标源码贴图 加入收藏