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

    正文概述    2024-04-13 12:02:16  

    通达信黄金趋势源码

    X_1:=IF(DATE =1151231,1,0);
    X_2:=IF(DATE =1151231,1,0);
    涨停:REF(CLOSE,1)*1.1*X_1,NODRAW,COLORRED;
    跌停:REF(CLOSE,1)*0.9*X_1,NODRAW,COLORGREEN;
    X_3:=REF((HIGH+LOW+CLOSE)/3,1)*X_1;
    要塞:X_3*X_1,NODRAW,COLORMAGENTA;
    空头前沿防线:X_2*(2*X_3-REF(LOW,1))*X_1,NODRAW,COLORCYAN;
    空头大本营:X_2*(X_3+REF(HIGH,1)-REF(LOW,1))*X_1,NODRAW,COLORGREEN;
    空头基地:X_2*(2*X_3+REF(HIGH,1)-2*REF(LOW,1))*X_1,NODRAW,COLORYELLOW;
    多头前沿防线:X_2*(2*X_3-REF(HIGH,1))*X_1,NODRAW,COLORRED;
    多头大本营:X_2*(X_3+REF(LOW,1)-REF(HIGH,1))*X_1,NODRAW,COLORMAGENTA;
    多头根据地:X_2*(2*X_3+REF(LOW,1)-2*REF(HIGH,1))*X_1,NODRAW,COLORWHITE;
    黄金趋势:EMA(SLOPE(CLOSE,22)*20+CLOSE,55)*X_1,COLORYELLOW,LINETHICK3;
    X_4:=X_2*(CLOSE+0.618*REF(CLOSE,1)+0.382*REF(CLOSE,2)+0.236*REF(CLOSE,3)+0.146*REF(CLOSE,4))/2.382;
    X_5:=HHV(CLOSE,60)-LLV(CLOSE,60)*X_1;
    X_6:=SMA(MAX(X_4-REF(X_4,1),0),5,1)/SMA(ABS(X_4-REF(X_4,1)),5,1)*X_1;
    波段:X_1*(X_4+X_5*(X_6-0.5))*X_1,COLORMAGENTA,LINETHICK2;
    ME:EMA(波段,2)*X_1,COLORYELLOW;
    升:IF(波段 =ME,波段,DRAWNULL)*X_1,COLORMAGENTA,LINETHICK2;
    降:IF(波段 ME,波段,DRAWNULL)*X_1,COLORGREEN,LINETHICK2;

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