最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 绝对精品请改为大智慧2

    正文概述    2024-04-14 15:19:02  



    黄金先胜

    input:H1(158,1,300),P(20,1,100),N8(4,1,100),P1(5,1,100);
    主线:=(WMA(CLOSE,P1) * 0.98);
     VAR1:=POW((CLOSE - 主线),1);
     VAR2:=MA(VAR1,3);
     VAR3:=SQRT(VAR2);
    阻力线:=(主线 + (1.96 * VAR3));
    支撑线:=(主线 - (1.96 * VAR3));
     PARTLINE(((主线 > REF(主线,1)) AND (阻力线 <> 支撑线)),主线),LINETHICK3,colorFF;
     PARTLINE((主线 < REF(主线,1)),主线),LINETHICK2,colorFF0000;
     DRAWICON((主线 > REF(主线,1)),主线,10);
     N1:=SYSPARAM(3);
     N:=((N1 - SYSPARAM(2)) + 1);
     HH:=HHV(HIGH,N);
     LL:=LLV(LOW,N);
    最高:HH[N1],colorFF;
    最低:LL[N1],colorFF;
     (最低 + ((最高 - 最低) * 0.191));
     (最低 + ((最高 - 最低) * 0.382));
     (最低 + ((最高 - 最低) * 0.5)),colorFF00FF;
     (最低 + ((最高 - 最低) * 0.618));
     (最低 + ((最高 - 最低) * 0.809));
     DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF(最低,BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),REF(最低,BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),2),SHIFT110,colorFFFF;
     DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.191)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),REF((最低 + ((最高 - 最低) * 0.191)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),2),SHIFT110,colorFFFF;
     DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.382)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),REF((最低 + ((最高 - 最低) * 0.382)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),2),SHIFT110,colorFFFF;
     DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.5)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),REF((最低 + ((最高 - 最低) * 0.5)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),2),SHIFT110,colorFFFF;
     DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.618)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),REF((最低 + ((最高 - 最低) * 0.618)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),2),SHIFT110,colorFFFF;
     DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.809)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),REF((最低 + ((最高 - 最低) * 0.809)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),2),SHIFT110,colorFFFF;
     DRAWNUMBER((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 1)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),REF((最低 + ((最高 - 最低) * 1)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),2),SHIFT110,colorFFFF;
     DRAWTEXT((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF(最低,BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),'000%↑'),colorFFFF;
     DRAWTEXT((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.191)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),'19.1%↑'),colorFFFF;
     DRAWTEXT((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.382)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),'38.2%↑'),colorFFFF;
     DRAWTEXT((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.5)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),'50%↑'),colorFFFF;
     DRAWTEXT((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.618)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),'61.8%↑'),colorFFFF;
     DRAWTEXT((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 0.809)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),'80.9%↑'),colorFFFF;
     DRAWTEXT((BARSCOUNT(CLOSE) = SYSPARAM(2)),REF((最低 + ((最高 - 最低) * 1)),BARSLAST((BARSCOUNT(CLOSE) = SYSPARAM(2)))),'100%↑'),colorFFFF;


     VAR1:=WINNER(CLOSE);
     VAR2:=(VOL / CAPITAL);
     VAR3:=(VAR2 / VAR1);
    财神线:=IF((VAR1 < (N1 / 100)),VAR3,0);
     DRAWICON((财神线 > 3),LOW,10),ALIGN5;
     VAR1:=WINNER(CLOSE);
     VAR2:=(VOL / CAPITAL);
     VAR3:=(VAR2 / VAR1);
    财神线:=IF((VAR1 < (N1 / 100)),VAR3,0);
    财神到:=财神线;
    DRAWICON((((财神线 < REF((财神线 > 1),1)) AND (财神线 > 0.5)) AND (财神线 < 1)),HIGH,1),ALIGN5;
     VAR1111:=FORCAST(CLOSE,5);


     STICKLINE((CLOSE < OPEN),HIGH,LOW,1,0),color8800;
     STICKLINE((CLOSE < OPEN),HIGH,LOW,0,0),colorFF00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,8,0),color8800;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,7,0),color9900;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,6,0),colorAA00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,5,0),colorBB00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,4,0),colorCC00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,3,0),colorDD00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,2,0),colorEE00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,1,0),colorFF00;
     STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),colorFF;
     STICKLINE((CLOSE >= OPEN),HIGH,LOW,0,0),colorEEFF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),colorFF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color22FF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color44FF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color66FF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),color88FF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),colorAAFF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),colorCCFF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),colorEEFF;
     DRAWNUMBER((SYSPARAM(2) = BARPOS),CLOSE,FINANCE(33),2),ALIGN5;
     DRAWTEXT((SYSPARAM(2) = BARPOS),CLOSE,'     -收益'),ALIGN5;
     DRAWTEXT((BARPOS = SYSPARAM(2)),HIGH,(' 所属块:' + BLKNAME)),ALIGN4,colorFFFF;
     STICKLINE((CLOSE < OPEN),HIGH,LOW,1,0),color8800;
     STICKLINE((CLOSE < OPEN),HIGH,LOW,0,0),colorFF00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,8,0),color8800;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,7,0),color9900;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,6,0),colorAA00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,5,0),colorBB00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,4,0),colorCC00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,3,0),colorDD00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,2,0),colorEE00;
     STICKLINE((CLOSE < OPEN),CLOSE,OPEN,1,0),colorFF00;
     STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),colorFF;
     STICKLINE((CLOSE >= OPEN),HIGH,LOW,0,0),colorEEFF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),colorFF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color22FF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color44FF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color66FF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),color88FF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),colorAAFF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),colorCCFF;
     STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),colorEEFF;
     VAR1:=(((CLOSE + HIGH) + LOW) / 3);
     CB:=MA(VAR1,4);
     A1:=HHV(CB,18);
     A2:=HHV(CB,41);
     A3:=(HHV(HIGH,62) * 0.98);
     B1:=LLV(CB,18);
     B2:=(LLV(LOW,62) * 1.02);
     MID:=MA(CLOSE,20);
     UPPER:=(MID + (2 * STD(CLOSE,20)));
     LOWER:=(MID - (2 * STD(CLOSE,20)));
     VAR18:=((EMA(CLOSE,3) - EMA(CLOSE,6)) - ((EMA(CLOSE,6) - EMA(CLOSE,12)) * (0 - 100)));
     VAR28:=EMA(VAR18,3);
     VAR38:=((EMA(CLOSE,3) - EMA(CLOSE,6)) - ((EMA(CLOSE,24) - EMA(CLOSE,36)) * (0 - 100)));
     VAR48:=EMA(VAR38,9);
     VAR58:=CROSS(VAR18,VAR28);
     VAR36:=CROSS(VAR28,VAR18);
     STICKLINE(VAR36,OPEN,CLOSE,1.5,0),colorFFFFFF;
     STICKLINE(VAR58,OPEN,CLOSE,8,0),colorFF;
     STICKLINE(VAR58,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.33)),8,0),colorFFFF;
     STICKLINE(VAR58,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.66)),8,0),LINETHICK2,colorFF00FF;


    拐点:=MA(CLOSE,N8);
    拐点1:=MA(CLOSE,N8);
     GD1:=(REF((COUNT((拐点 <= REF(拐点,1)),5) = 5),1) AND (拐点 > REF(拐点,1)));
     GD2:=(REF((COUNT((拐点1 <= REF(拐点1,1)),5) = 5),1) AND (拐点1 > REF(拐点1,1)));
     DRAWICON(GD1,(LOW * 0.99),8);
     DRAWICON(GD1,(LOW * 0.98),1);
     DRAWTEXT((SYSPARAM(2) = BARPOS),CLOSE,'),ALIGN4,colorFFFF;
     KXS:=SYSPARAM(1);
     MID:=MA(CLOSE,20);
     UPPER:=(MID + (2 * STD(CLOSE,20)));
     LOWER:=(MID - (2 * STD(CLOSE,20)));
     V1:=(((CLOSE - LOWER) / (UPPER - LOWER)) * 100);
     V2:=(V1 - EMA(V1,5));
     K1:=(SUM(LLV(V2,4),4) / 4);
     V3:=(EMA(V2,64) * 10);
     V4:=EMA(((0.4 * V2) * (0 - 1)),3);
     V5:=(0 - ((1 * EMA(V2,39)) * 10));
     A:=(V3 > 10);
     B:=(V2 > V4);
     D:=(V5 > 10);
     E:=(((V3 <= 10) OR (V2 <= V4)) OR (V5 <= 10));
     KS:=(((CLOSE - SMA(CLOSE,13,1)) / SMA(CLOSE,13,1)) * (0 - 100));
     RKS:=REF(KS,1);
     MLS:=((((RKS / KS) > 1.23) AND (RKS > 13)) AND ((CLOSE / REF(CLOSE,1)) > 1.03));
    开:=OPEN;
    高:=HIGH;
    低:=LOW;
    收:=CLOSE;
    超跌:STICKLINE((KS > 13),高,低,0,1),LINETHICK2,colorFFFFFF;
    反弹:STICKLINE((MLS = 1),高,低,0,1),LINETHICK2,colorFF00FF;
     STICKLINE((KS > 13),开,收,8,1),LINETHICK2,colorFFFFFF;
     STICKLINE((MLS = 1),开,收,8,1),LINETHICK2,colorFF00FF;
     VAR1:=((REF(HIGH,1) + REF(LOW,1)) / 2);
     VAR2:=((REF(HIGH,1) + REF(LOW,1)) / 2);
     VAR3:=(MA(CLOSE,27) + (2 * STD(CLOSE,27)));
     DRAWICON(CROSS(VAR2,VAR3),(HIGH * 1.035),3);
     DRAWTEXT(CROSS(VAR2,VAR3),(HIGH * 1.02),''),colorFF00;
    上:=(MA(HIGH,30) * 1.15);
    中1:=(MA(HIGH,3) * 1.03);
    中2:=(MA(LOW,3) * 0.97);
    下:=(MA(LOW,30) * 0.85);
    上通道:=(EMA(EMA(EMA(HIGH,5),5),5) * 1.05);
     DRAWTEXT(FILTER(((HIGH > 上通道) AND (CLOSE < 上通道)),3),(HIGH * 1.04),'●逃'),colorEE00FF;

     


    短期乖离率:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
    趋势:=(((5 * SMA((((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 80),5,1)) - (3 * SMA(SMA((((CLOSE - LLV(LOW,7)) / (HHV(HIGH,7) - LLV(LOW,7))) * 80),5,1),3,1))) - SMA(SMA(SMA((((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 80),5,1),3,1),2,1));
    趋势1:=MA(MA(趋势,5),3);
    平衡线:=EMA(EMA(EMA(HIGH,3),3),1);
    回挡线:=(平衡线 * 0.92);
     DRAWICON(((CROSS(趋势,0) AND (短期乖离率 > 3)) AND ((回挡线 - REF(回挡线,1)) > 0)),LOW,0);
    中期大底:=(LLV(LOW,30) * 1.01);
     DRAWTEXT((((LOW <= 中期大底) AND ((回挡线 - REF(回挡线,1)) >= (0 - 0.99999))) AND ((CLOSE / OPEN) > 1.025)),LOW,'买吧'),colorFFFF;
     VAR2:=(平衡线 * 0.84);
    了结线:=(平衡线 * 1.06);
    主线:=WMA(CLOSE,8);
     VAR1:=POW((CLOSE - 主线),1);
     VAR2:=MA(VAR1,3);
     VAR3:=SQRT(VAR2);
     WX:=MA(CLOSE,0);
     M1:=(MA(CLOSE,15) * IF((20 < 5),WX,1));
     M2:=(MA(CLOSE,20) * IF((20 < 7),WX,1));
     DRAWTEXT((((((((REF(CLOSE,1) < M2) AND ((主线 - REF(主线,1)) > 0)) AND ((了结线 - REF(了结线,1)) > 0.01)) AND (LOW < M2)) AND (CLOSE > M2)) AND ((M1 - REF(M1,1)) > 0)) AND ((CLOSE / OPEN) > 1.052)),(LOW - 0.08),'★打劫'),colorFFFF;

     

     MA10:=MA(CLOSE,10);
    平均值:=((MA10 / -10) + MA10);
     MX:=((平均值 * 2) * 0.54);
     MA13:=MA(CLOSE,13);
     MA34:=MA(CLOSE,25);
     DRAWTEXT(FILTER((((((((上 - REF(上,1)) > 0) AND (短期乖离率 < (0 - 4))) AND (CLOSE < OPEN)) AND (LOW <= MA34)) AND (CLOSE < MA13)) AND ((MX - REF(MX,1)) > 0)),1),LOW,'★破多买入'),colorFFFFFF;
    短期底:=(LLV(HIGH,30) * 0.93);
     DRAWTEXT((((LOW <= 短期底) AND (CLOSE < MX)) AND (短期乖离率 > (0 - 8))),(LOW - 0.15),'★涨20%'),colorFF00;

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 绝对精品请改为大智慧2 加入收藏