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

    正文概述    2024-04-13 20:28:13  

     亏损程度  附图  源码
    VARAA:=AMOUNT/(100*VOL);
    CYC13:=MA(VARAA,13);
    CYC34:=MA(VARAA,34);
    CYCMAX:=DMA(C,VOL/CAPITAL);
    CYS13:=(C-CYC13)/CYC13*100;
    CYS34:=(C-CYC34)/CYC34*100;
    CYSMAX:=(C-CYCMAX)/CYCMAX*100;
    VAR1:=COST(10)*0;
    VAR2:=REF(HIGH,1)*1.1;
    VAR3:=HIGH*1.1;
    VAR4:=(VAR3*VOL+VAR2*(CAPITAL-VOL))/CAPITAL;
    VAR5:=REF(LOW,1)*0.9;
    VAR6:=LOW*0.9;
    VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;
    VAR8:=EMA(VAR7,30);
    VAR9:=EMA(VAR4,30);
    VARA:=VAR9-2;
    VARB:=IF(CLOSE<=VAR8,VARA,VAR9);
    TAO:=100*(1-WINNER(C));
    A:=1.1*C;
    B:=0.9*C;
    短中长线超跌:IF((CYS13<(-16)) AND (CYS13>(-100)) AND (CYS34<(-20)) AND (CYS34>(-100)),5,0),COLOR00FF00;
    中长:IF((CYS34<(-20)) AND (CYS34>(-100)) AND (CYSMAX<(-30)) AND (CYSMAX>(-100)),5,0),COLORFFCC00;
    BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
    BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
    短跌选股:IF(BIAS1<=-6,1,0);
    中跌选股:IF(BIAS2<=-10,1,0);
    长跌选股:IF(BIAS3<=-16,1,0);
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信亏损程度副图公式 加入收藏