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

    正文概述    2024-04-13 21:05:37  

    {缠论副图}

    DIFF2:=MA(C,5),LINETHICK2;
     DEA2:=MA(C,10),COLORWHITE,LINETHICK2;
     MACD:=(DIFF2-DEA2),COLORSTICK;
    均线差:(DIFF2-DEA2),COLORSTICK,COLORBLUE;
    操盘:STICKLINE(2*(DIFF2-DEA2)>=0 AND 2*(DIFF2-DEA2)>=REF(2*(DIFF2-

    DEA2),1),0,2*(DIFF2-DEA2),2,0),COLORRED;
    反弹:STICKLINE(2*(DIFF2-DEA2)<0 AND 2*(DIFF2-DEA2)>=REF(2*(DIFF2-

    DEA2),1),0,2*(DIFF2-DEA2),2,0),COLORYELLOW,LINETHICK1;
    减仓:STICKLINE(2*(DIFF2-DEA2)>=0 AND 2*(DIFF2-DEA2)< REF(2*(DIFF2-

    DEA2),1),0,2*(DIFF2-DEA2),2,0),COLORFF9900,LINETHICK1;
    寻底:STICKLINE(2*(DIFF2-DEA2)<0 AND 2*(DIFF2-DEA2)< REF(2*(DIFF2-

    DEA2),1),0,2*(DIFF2-DEA2),2,0),COLORGREEN,LINETHICK1;
     BV:=SUM(MACD,0);
     BA:=IF(MAX(BV,REF(BV,2))REF(BV,1),1,0);
     BC:=BARSLAST(BA)+1;
     SMACD:=(BV-REF(BV,BC))/50,COLORBLUE;
     JC:= DEA2-DIFF2;
     VAR3:=IF(MACD>0,HHV(ABS(MACD),BC),LLV(MACD,BC));
     VAR4:=(MACD);
     VAR5:=SMACD*100;
    绿柱面积:IF (MACD<0,SUM(MACD*0.1,BARSLAST

    (JC<0)),0),LINETHICK0,COLORBLUE;
    红柱面积:IF (MACD>0,SUM(MACD*0.1,BARSLAST

    (JC>0)),0),LINETHICK0,,COLORFF00FF;
     D:=MACD;
     A1:=IF(D>0,1,-1);
     A2:=REF(A1,1);
     A3:=A1*A2;
     A4:=BARSLAST(A3<0);
     A5:=A4+1;
    趋势平均力度:(SUM(D,0)-REF(SUM(D,0),A5))/A5,LINETHICK0;
    时间:(A4+1)/100,LINETHICK0;



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信缠论副图源码副图 加入收藏