最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 同花顺亢龙有悔涨跌因子公式

    正文概述    2024-04-14 13:55:29  

    1.股价高于平均线,视为强势;股价低于平均线,视为弱势

    2.平均线向上涨升,具有助涨力道;平均线向下跌降,具有助跌力道;

    3.二条以上平均线向上交叉时,买进参考;

    4.二条以上平均线向下交叉时,卖出参考;

    5.移动平均线的信号经常落后股价,若以EXPMA 、VMA 辅助,可以改善。

     源码:


    // 涨停跌停基因

    STICKLINE((CLOSE-REF(CLOSE,1))/REF(CLOSE,1) >= 涨停比例,REF(CLOSE,1),CLOSE,1,0),coloryellow,Linethick3;

    STICKLINE((REF(CLOSE,1)-CLOSE)/REF(CLOSE,1) >= 涨停比例,REF(CLOSE,1),CLOSE,1,0),colorblue,Linethick3;

    // 成交量分析

    //AVOL_RISE:=IF(CLOSE>OPEN,VOL,0);

    //AVOL_FALL:=IF(CLOSE

    //RVOL_SUM:MA(SUM(AVOL_RISE,DAYS)/MA(VOL,DAYS)*CLOSE/DAYS+CLOSE/2,4),colorred,LINETHICK2;

    //FVOL_SUM:MA(SUM(AVOL_FALL,DAYS)/MA(VOL,DAYS)*CLOSE/DAYS+CLOSE/2,4),colorgreen,LINETHICK2;

    // 成交均价分析

    //*****升降成本 股海网提供 www.9m8.cn

    //RAM:=IF(CLOSE>=REF(CLOSE,1),AMOUNT,0);

    //FAM:=IF(CLOSE

    //RVOL:=IF(CLOSE>=REF(CLOSE,1),VOL,0);

    //FVOL:=IF(CLOSE

    //升成本:=SUM(RAM,TT)/SUM(RVOL,TT),colorred,LINETHICK2;

    //跌成本:=SUM(FAM,TT)/SUM(FVOL,TT),colorgreen,LINETHICK2;

    //*****成本

    //TT:=BARSCOUNT(C);

    TT:=FROMOPEN;

    T1:=20;

    CB:=SUM(AMOUNT,TT)/SUM(VOL,TT),colorblue,LINETHICK5;

    CB20:=SUM(AMOUNT,T1)/SUM(VOL,T1),coloryellow,LINETHICK3;

    //*****涨跌停统计,强势逻辑

    //RDAY:=COUNT(CLOSE>REF(CLOSE,1)*1.095,20);

    //FDAY:=COUNT(CLOSE

    //STICKLINE(1,0,RDAY,1,0),colorred;

    //STICKLINE(1,0,-FDAY,1,0),colorgreen;

    //STICKLINE(MINUTE==59 AND HOUR==14,0,CLOSE,1,0),colorligray;

    //CBZL:(CB2-REF(CB2,1))/REF(CB2,1)*500;

    //GJZL:(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*500;

    //*****涨跌成本对比

    //均线:=MA(CLOSE,N3),coloryellow,LINETHICK3;

    //STICKLINE(成本1>均线,均线,成本1,2,0),colorred;

    //STICKLINE(成本1<均线,均线,成本1,2,0),colorgreen;

    //STICKLINE(升成本>跌成本,成本,(升成本-跌成本)*2+成本,2,0),colorred;

    //STICKLINE(升成本<跌成本,成本,(升成本-跌成本)*2+成本,2,0),colorgreen;

    IF (k<=0)

    RETURN 0;

    MA$1:MA(CLOSE, N1),colorwhite,LINETHICK1;

    IF (k<=1)

    RETURN 0;

    MA$2:MA(CLOSE, N2),coloryellow,LINETHICK1;

    IF (k<=2)

    RETURN 0;

    MA$3:MA(CLOSE, N3),colormagenta,LINETHICK1;

    IF (k<=3)

    RETURN 0;

    MA$4:MA(CLOSE, N4),colorgreen,LINETHICK1;

    IF (k<=4)

    RETURN 0;

    MA$5:MA(CLOSE, N5),colorcyan,LINETHICK1;

    IF (k<=5)

    RETURN 0;

    MA$6:MA(CLOSE, N6);

    IF (k<=6)

    RETURN 0;

    MA$7:MA(CLOSE, N7);

    IF (k<=7)

    RETURN 0;

    MA$8:MA(CLOSE, N8);
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺亢龙有悔涨跌因子公式 加入收藏