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

    正文概述    2022-08-07 00:00:00  

    VAR6:=(REF(LOW,1) * 0.9);
    VAR7:=(LOW * 0.9);
    VAR8:=(((VAR7 * vol) + (VAR6 * (CAPITAL - VOL))) / CAPITAL);
    VAR9:=Ema(VAR8,30);
    VARA:=(CLOSE - REF(CLOSE,1));
    VARB:=MAX(VARA,0);
    VARC:=Abs(VARA);
    VARD:=((SMA(VARB,7,1) / SMA(VARC,7,1)) * 100);
    VARE:=((SMA(VARB,13,1) / SMA(VARC,13,1)) * 100);
    VARF:=BARSCOUNT(CLOSE);
    VAR10:=((SMA(MAX(VARA,0),6,1) / SMA(ABS(VARA),6,1)) * 100);
    VAR11:=((((0 - 200) * (HHV(HIGH,60) - CLOSE)) / (HHV(HIGH,60) - LLV(LOW,60))) + 100);
    VAR12:=(((CLOSE - LLV(LOW,15)) / (HHV(HIGH,15) - LLV(LOW,15))) * 100);
    VAR13:=SMA(((SMA(VAR12,4,1) - 50) * 2),3,1);
    VAR14:=(((INDEXC - LLV(INDEXL,14)) / (HHV(INDEXH,14) - LLV(INDEXL,14))) * 100);
    VAR15:=SMA(VAR14,4,1);
    VAR16:=SMA(VAR15,3,1);
    VAR17:=(((HHV(HIGH,30) - CLOSE) / CLOSE) * 100);
    VAR18:=(((((((((VAR10 <= 25) AND (VAR11 < (0 - 95))) AND (VAR17 > 20)) AND (VAR13 < (0 - 30))) AND (VAR16 < 30)) AND ((VAR9 - CLOSE) >= (0 - 0.25))) AND (VARD < 22)) AND (VARE < 28)) AND (VARF > 50));
    VAR19:=(((HIGH + LOW) + CLOSE) / 3);
    VAR1A:=((VAR19 - MA(VAR19,14)) / (0.015 * AVEDEV(VAR19,14)));
    VAR1B:=((VAR19 - MA(VAR19,70)) / (0.015 * AVEDEV(VAR19,70)));
    VAR1C:=IF(((((VAR1A >= 150) AND (VAR1A < 200)) AND (VAR1B >= 150)) AND (VAR1B < 200)),10,0);
    VAR1D:=IF(((((VAR1A <= (0 - 150)) AND (VAR1A > (0 - 200))) AND (VAR1B <= (0 - 150))) AND (VAR1B > (0 - 200))),(0 - 10),VAR1C);
    VAR1E:=(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100);
    VAR1F:=REVERSE(VAR1E);
    VAR20:=SMA(VAR1E,3,1);
    VAR21:=SMA(VAR20,3,1);
    VAR22:=SMA(VAR21,3,1);
    VAR25:=(((HHV(HIGH,14) - CLOSE) / (HHV(HIGH,14) - LLV(LOW,14))) * 100);
    VAR26:=SMA(VAR25,15,1);
    VAR27:=SMA(VAR26,15,1);
    VAR28:=COST(10);
    VAR29:=(((CLOSE - VAR28) / VAR28) * 100);
    VAR2A:=COUNT((VAR29 < (0 - 2.05)),3);
    注意:IF(((VAR2A >= 3) AND (PWINNER(5,CLOSE) < 2)),10,0),LINETHICK1,COLORFFCC99;
    先出:STICKLINE(crOSS(5,注意),0,30,3,0),COLORCC99FF;
    VAR2B:=IF(CROSS(VAR18,0.5),60,0);
    锁住:STICKLINE(CROSS(SMA(VAR27,15,1),85),0,75,3,1),COLOR6666FF;
    VAR2C:=(((CROSS(((SMA(MAX((CLOSE - ((CLOSE + REF(CLOSE,1)) / 2)),0),5,1) / SMA(ABS((CLOSE - ((CLOSE + REF(CLOSE,1)) / 2))),5,1)) * 100),((CLOSE + REF(CLOSE,1)) / 2)) AND ((((CLOSE - REF(CLOSE,36)) / REF(CLOSE,36)) * 100) < (0 - 10))) AND ((HHV(HIGH,40) * 0.8) > LLV(LOW,5))) AND (SMA((((HHV(HIGH,9) - CLOSE) / (HHV(HIGH,9) - LLV(LOW,9))) * 100),3,1) > 80));
    VAR2D:=(((CLOSE - OPEN) / OPEN) * 100);
    VAR2E:=REF(CLOSE,1);
    VAR2F:=((SMA(MAX((CLOSE - VAR2E),0),6,1) / SMA(ABS((CLOSE - VAR2E)),6,1)) * 100);
    VAR30:=(COUNT((VAR2F < 20),20) >= 1);
    VAR31:=IF(((VAR2D > 9) AND VAR30),60,0);
    牵手:STICKLINE(((VAR2B OR VAR31) OR (VAR2C * 60)),0,40,2,0),COLOR66CCFF;

    VARI2:=((((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5);
    VARI3:=REF(VARI2,1);
    VARI4:=((SMA(MAX((VARI2 - VARI3),0),10,1) / SMA(ABS((VARI2 - VARI3)),10,1)) * 100);

    VA1:=3;
    VA2:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
    启动:IF(CROSS(VA2,VA1),35,0);
    买点:IF((VA2 <= 3),15,0);
    补仓:IF((VA2 < 5),20,0);
    VR1:=(HHV(HIGH,9) - LLV(LOW,9));
    VR2:=(HHV(HIGH,9) - CLOSE);
    VR3:=(CLOSE - LLV(LOW,9));
    VR4:=(((VR2 / VR1) * 100) - 70);
    VR5:=(((CLOSE - LLV(LOW,60)) / (HHV(HIGH,60) - LLV(LOW,60))) * 100);
    VR6:=((((2 * CLOSE) + HIGH) + LOW) / 4);
    VR7:=SMA(((VR3 / VR1) * 100),3,1);
    VR8:=LLV(LOW,60);
    VR9:=(SMA(VR7,3,1) - SMA(VR4,9,1));
    VR10:=IF((VR9 > 100),(VR9 - 100),0);
    VRA:=HHV(HIGH,60);
    防线B:=ema((((VR6 - VR8) / (VRA - VR8)) * 100),8);
    B1:=EMA(防线B,5);
    LL:=REF(CLOSE,1);
    MM:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);
    高位:IF(CROSS(80,MM),60,100),COLORFFCC66;
    趋势:B1,COLORBLUE,LINETHICK2;
    守仓:STICKLINE(((防线B - B1) > 0),防线B,B1,4,0),COLORWHITE;
    空仓:STICKLINE(((防线B - B1) < 0),防线B,B1,4,1),COLORYELLOW;
    V1:=(MA(((100 * (CLOSE - LLV(CLOSE,34))) / (HHV(HIGH,34) - LLV(LOW,34))),5) - 20);
    V5:=(((HIGH + LOW) + CLOSE) / 3);
    V6:=((V5 - MA(V5,10)) / (0.015 * AVEDEV(V5,10)));
    V7:=((V5 - MA(V5,30)) / (0.015 * AVEDEV(V5,30)));
    V8:=IF(((((V6 >= 150) AND (V6 < 200)) AND (V7 >= 150)) AND (V7 < 200)),10,0);
    V9:=IF(((((V6 <= (0 - 150)) AND (V6 > (0 - 200))) AND (V7 <= (0 - 150))) AND (V7 > (0 - 200))),(0 - 10),V8);
    多方:=IF((V1 > 0),V1,0);
    预警:(IF((((V7 >= 200) AND (V6 >= 150)) OR CROSS(65,多方)),15,IF(((V7 <= (0 - 200)) AND (V6 <= (0 - 150))),(0 - 15),V9)) + 50),COLORFFFF00;
    CC1:=REF(CLOSE,1);
    CC2:=((SMA(MAX((CLOSE - CC1),0),6,1) / SMA(ABS((CLOSE - CC1)),6,1)) * 100);
    卖出:=CROSS(80,CC2);
    STICKLINE(卖出,50,60,4,2),COLORFFFF00;



    VMR6:=(REF(LOW,1) * 0.9); VMR7:=(LOW * 0.9); VMR8:=(((VMR7 * vol) + (VMR6 * (CMPITML - VOL))) / CMPITML); VMR9:=Ema(VMR8,30); VMRM:=(CLOSE - REF(CLOSE,1)); VMRB:=MMX(VMRM,0); VMRC:=Mbs(VMRM); VMRD:=((SMM(VMRB,7,1) / SMM(VMRC,7,1)) * 100); VMRE:=((SMM(VMRB,13,1) / SMM(VMRC,13,1)) * 100); VMRF:=BMRSCOUNT(CLOSE); VMR10:=((SMM(MMX(VMRM,0),6,1) / SMM(MBS(VMRM),6,1)) * 100); VMR11:=((((0 - 200) * (HHV(HIGH,60) - CLOSE)) / (HHV(HIGH,60) - LLV(LOW,60))) + 100); VMR12:=(((CLOSE - LLV(LOW,15)) / (HHV(HIGH,15) - LLV(LOW,15))) * 100); VMR13:=SMM(((SMM(VMR12,4,1) - 50) * 2),3,1); VMR14:=(((INDEXC - LLV(INDEXL,14)) / (HHV(INDEXH,14) - LLV(INDEXL,14))) * 100); VMR15:=SMM(VMR14,4,1); VMR16:=SMM(VMR15,3,1); VMR17:=(((HHV(HIGH,30) - CLOSE) / CLOSE) * 100); VMR18:=(((((((((VMR10 &lt;= 25) MND (VMR11 &lt; (0 - 95))) MND (VMR17 &gt; 20)) MND (VMR13 &lt; (0 - 30))) MND (VMR16 &lt; 30)) MND ((VMR9 - CLOSE) &gt;= (0 - 0.25))) MND (VMRD &lt; 22)) MND (VMRE &lt; 28)) MND (VMRF &gt; 50)); VMR19:=(((HIGH + LOW) + CLOSE) / 3); VMR1M:=((VMR19 - MM(VMR19,14)) / (0.015 * MVEDEV(VMR19,14))); VMR1B:=((VMR19 - MM(VMR19,70)) / (0.015 * MVEDEV(VMR19,70))); VMR1C:=IF(((((VMR1M &gt;= 150) MND (VMR1M &lt; 200)) MND (VMR1B &gt;= 150)) MND (VMR1B &lt; 200)),10,0); VMR1D:=IF(((((VMR1M &lt;= (0 - 150)) MND (VMR1M &gt; (0 - 200))) MND (VMR1B &lt;= (0 - 150))) MND (VMR1B &gt; (0 - 200))),(0 - 10),VMR1C); VMR1E:=(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100); VMR1F:=REVERSE(VMR1E); VMR20:=SMM(VMR1E,3,1); VMR21:=SMM(VMR20,3,1); VMR22:=SMM(VMR21,3,1); VMR25:=(((HHV(HIGH,14) - CLOSE) / (HHV(HIGH,14) - LLV(LOW,14))) * 100); VMR26:=SMM(VMR25,15,1); VMR27:=SMM(VMR26,15,1); VMR28:=COST(10); VMR29:=(((CLOSE - VMR28) / VMR28) * 100); VMR2M:=COUNT((VMR29 &lt; (0 - 2.05)),3); 注意:IF(((VMR2M &gt;= 3) MND (PWINNER(5,CLOSE) &lt; 2)),10,0),LINETHICK1,COLORFFCC99; 先出:STICKLINE(crOSS(5,注意),0,30,3,0),COLORCC99FF;VMR2B:=IF(CROSS(VMR18,0.5),60,0); 锁住:STICKLINE(CROSS(SMM(VMR27,15,1),85),0,75,3,1),COLOR6666FF; VMR2C:=(((CROSS(((SMM(MMX((CLOSE - ((CLOSE + REF(CLOSE,1)) / 2)),0),5,1) / SMM(MBS((CLOSE - ((CLOSE + REF(CLOSE,1)) / 2))),5,1)) * 100),((CLOSE + REF(CLOSE,1)) / 2)) MND ((((CLOSE - REF(CLOSE,36)) / REF(CLOSE,36)) * 100) &lt; (0 - 10))) MND ((HHV(HIGH,40) * 0.8) &gt; LLV(LOW,5))) MND (SMM((((HHV(HIGH,9) - CLOSE) / (HHV(HIGH,9) - LLV(LOW,9))) * 100),3,1) &gt; 80)); VMR2D:=(((CLOSE - OPEN) / OPEN) * 100); VMR2E:=REF(CLOSE,1); VMR2F:=((SMM(MMX((CLOSE - VMR2E),0),6,1) / SMM(MBS((CLOSE - VMR2E)),6,1)) * 100); VMR30:=(COUNT((VMR2F &lt; 20),20) &gt;= 1); VMR31:=IF(((VMR2D &gt; 9) MND VMR30),60,0); 牵手:STICKLINE(((VMR2B OR VMR31) OR (VMR2C * 60)),0,40,2,0),COLOR66CCFF;VMRI2:=((((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5); VMRI3:=REF(VMRI2,1); VMRI4:=((SMM(MMX((VMRI2 - VMRI3),0),10,1) / SMM(MBS((VMRI2 - VMRI3)),10,1)) * 100);VM1:=3; VM2:=((3 * SMM((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMM(SMM((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1))); 启动:IF(CROSS(VM2,VM1),35,0); 买点:IF((VM2 &lt;= 3),15,0); 补仓:IF((VM2 &lt; 5),20,0); VR1:=(HHV(HIGH,9) - LLV(LOW,9)); VR2:=(HHV(HIGH,9) - CLOSE); VR3:=(CLOSE - LLV(LOW,9)); VR4:=(((VR2 / VR1) * 100) - 70); VR5:=(((CLOSE - LLV(LOW,60)) / (HHV(HIGH,60) - LLV(LOW,60))) * 100); VR6:=((((2 * CLOSE) + HIGH) + LOW) / 4); VR7:=SMM(((VR3 / VR1) * 100),3,1); VR8:=LLV(LOW,60); VR9:=(SMM(VR7,3,1) - SMM(VR4,9,1)); VR10:=IF((VR9 &gt; 100),(VR9 - 100),0); VRM:=HHV(HIGH,60); 防线B:=ema((((VR6 - VR8) / (VRM - VR8)) * 100),8); B1:=EMM(防线B,5); LL:=REF(CLOSE,1); MM:=((SMM(MMX((CLOSE - LL),0),6,1) / SMM(MBS((CLOSE - LL)),6,1)) * 100); 高位:IF(CROSS(80,MM),60,100),COLORFFCC66; 趋势:B1,COLORBLUE,LINETHICK2; 守仓:STICKLINE(((防线B - B1) &gt; 0),防线B,B1,4,0),COLORWHITE; 空仓:STICKLINE(((防线B - B1) &lt; 0),防线B,B1,4,1),COLORYELLOW; V1:=(MM(((100 * (CLOSE - LLV(CLOSE,34))) / (HHV(HIGH,34) - LLV(LOW,34))),5) - 20); V5:=(((HIGH + LOW) + CLOSE) / 3); V6:=((V5 - MM(V5,10)) / (0.015 * MVEDEV(V5,10))); V7:=((V5 - MM(V5,30)) / (0.015 * MVEDEV(V5,30))); V8:=IF(((((V6 &gt;= 150) MND (V6 &lt; 200)) MND (V7 &gt;= 150)) MND (V7 &lt; 200)),10,0); V9:=IF(((((V6 &lt;= (0 - 150)) MND (V6 &gt; (0 - 200))) MND (V7 &lt;= (0 - 150))) MND (V7 &gt; (0 - 200))),(0 - 10),V8); 多方:=IF((V1 &gt; 0),V1,0); 预警:(IF((((V7 &gt;= 200) MND (V6 &gt;= 150)) OR CROSS(65,多方)),15,IF(((V7 &lt;= (0 - 200)) MND (V6 &lt;= (0 - 150))),(0 - 15),V9)) + 50),COLORFFFF00; CC1:=REF(CLOSE,1); CC2:=((SMM(MMX((CLOSE - CC1),0),6,1) / SMM(MBS((CLOSE - CC1)),6,1)) * 100); 卖出:=CROSS(80,CC2); STICKLINE(卖出,50,60,4,2),COLORFFFF00;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信十九波段副图未加密选股指标公式源码 加入收藏