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

    正文概述    2024-05-04 04:38:57  

    以下是通达信金光大道主图指标公式源码通达信金光大道主图指标公式源码:    STICKLINE(CLOSE OPEN,OPEN,LOW,0.5,0),COLOR0000FF;    STICKLINE(CLOSE OPEN,CLOSE,HIGH,0.5,0),COLOR0000FF;    STICKLINE(OPEN =CLOSE,CLOSE,LOW,0.5,0),COLOR00FF00;    STICKLINE(OPEN =CLOSE,OPEN,HIGH,0.5,0),COLOR00FF00;    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,7,0),COLORFF7700;    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,6,0),COLORFF9900;    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,5,0),COLORFFBB00;    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,4,0),COLORFFCC00;    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,3,0),COLORFFDD00;    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,2,0),COLORFFEE00;    STICKLINE(OPEN =CLOSE,CLOSE,OPEN,1,0),COLORFFFF00;    STICKLINE(CLOSE OPEN,CLOSE,OPEN,7,0),COLOR000055;    STICKLINE(CLOSE OPEN,CLOSE,OPEN,6,0),COLOR000066;    STICKLINE(CLOSE OPEN,CLOSE,OPEN,5,0),COLOR000077;    STICKLINE(CLOSE OPEN,CLOSE,OPEN,4,0),COLOR000099;    STICKLINE(CLOSE OPEN,CLOSE,OPEN,3,0),COLOR0000BB;    STICKLINE(CLOSE OPEN,CLOSE,OPEN,2,0),COLOR0000DD;    STICKLINE(CLOSE OPEN,CLOSE,OPEN,1,0),COLOR0000FF;    VAR9Q:=C=HHV(C,4)AND(REF(C,1) =REF(C,2)ORREF(C,1) =REF(C,3))ORREF(C,1)=HHV(C,4)ANDCLOSE =REF(C,2)ORREF(C,2)=HHV(C,4)ANDREF(C,3)=LLV(C,4)ANDC =REF(C,1)ORREF(C,3)=HHV(C,4)ANDC =REF(C,1)ANDC =REF(C,2);    红持:var9Q,color0000ff,LINETHICK0;    STICKLINE(VAR9Q,C,(O+C)/2,7,0),COLOR000055;    STICKLINE(VAR9Q,C,(O+C)/2,6,0),COLOR000066;    STICKLINE(VAR9Q,C,(O+C)/2,5,0),COLOR000077;    STICKLINE(VAR9Q,C,(O+C)/2,4,0),COLOR000099;    STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR0000BB;    STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR0000DD;    STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000FF;    VARAQ:=C=HHV(C,4)ANDREF(C,1)=LLV(C,4);    粉变:varaQ,colorff99ff,LINETHICK0;    STICKLINE(VARAQ,C,(O+C)/2,7,0),COLORFF11FF;    STICKLINE(VARAQ,C,(O+C)/2,6,0),COLORFF33FF;    STICKLINE(VARAQ,C,(O+C)/2,5,0),COLORFF55FF;    STICKLINE(VARAQ,C,(O+C)/2,4,0),COLORFF77FF;    STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF99FF;    STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFFBBFF;    STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFFDDFF;    VARBQ:=C=LLV(C,4)AND(REF(C,1) REF(C,2)ORREF(C,1) REF(C,3))ORREF(C,1)=LLV(C,4)ANDC REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1) HHV(C,4)ANDC REF(C,1)ORREF(C,3)=LLV(C,4)ANDC REF(C,1)ANDC REF(C,2);    灰跌:varbQ,color888888,LINETHICK0;    STICKLINE(VARBQ,C,(O+C)/2,7,0),COLOR333333;    STICKLINE(VARBQ,C,(O+C)/2,6,0),COLOR555555;    STICKLINE(VARBQ,C,(O+C)/2,5,0),COLOR777777;    STICKLINE(VARBQ,C,(O+C)/2,4,0),COLOR999999;    STICKLINE(VARBQ,C,(O+C)/2,3,0),COLORBBBBBB;    STICKLINE(VARBQ,C,(O+C)/2,2,0),COLORDDDDDD;    STICKLINE(VARBQ,C,(O+C)/2,1,0),COLORFFFFFF;    VARCQ:=REF(C,1)=LLV(C,4)ANDC =REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1) =REF(C,3)ANDREF(C,2) REF(C,4)ANDC =REF(C,1);    绿买:varcQ,color00ff00,LINETHICK0;    STICKLINE(VARCQ,O,(O+C)/2,7,0),COLOR003300;    STICKLINE(VARCQ,O,(O+C)/2,6,0),COLOR005500;    STICKLINE(VARCQ,O,(O+C)/2,5,0),COLOR007700;    STICKLINE(VARCQ,O,(O+C)/2,4,0),COLOR009900;    STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR00BB00;    STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR00DD00;    STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR00FF00;    VARDQ:=REF(C,1)=HHV(C,4)ANDC REF(C,2)OR(REF(C,2)=HHV(C,4)ANDREF(C,1) REF(C,3)ORREF(C,3)=HHV(C,4)ANDREF(C,1) REF(C,2))ANDREF(C,2) =REF(C,4)ANDC REF(C,1);    蓝抛:vardQ,colorff9900,LINETHICK0;    STICKLINE(VARDQ,O,(O+C)/2,7,0),COLORFF1100;    STICKLINE(VARDQ,O,(O+C)/2,6,0),COLORFF3300;    STICKLINE(VARDQ,O,(O+C)/2,5,0),COLORFF5500;    STICKLINE(VARDQ,O,(O+C)/2,4,0),COLORFF7700;    STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF9900;    STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFFBB00;    STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFFDD00;    NN:=200;    SAR空:=IF(CLOSE sar(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORAA0000;    SAR多:=IF(CLOSE =SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLOR0000BB;    沪深换手:= 399300$AMOUNT /1000000/42000,COLORAABBCC,LINETHICK1;    个股换手率:=vol/CAPITAL*100;    VVB1:=WINNER(HHV(HIGH,250))*100;    VVB2:=WINNER(LLV(LOW,250))*100;    VVBB:=(VVB1+VVB2)*0.5;    平均成本70:=EMA(COST(VVBB),6),crOSSDOT,COLORFFAA00,LINETHICK1;    VV1:=WINNER(HHV(HIGH,30))*100;    VV2:=WINNER(LLV(LOW,30))*100;    VV27:=VV1-(VV1-VV2)*0.382;    VV50:=(VV1+VV2)*0.5;    VV4:=IF(C VV50,VV1,VV27);    成本:=EMA(COST(VV4),3),CROSSDOT,COLOR0000BB,LINETHICK1;    获利平均值:=EMA(100*WINNER(C),45),COLOREEAA00,LINETHICK2;    成本转向:=zig(获利平均值,13),COLOREE00EE,LINETHICK1;    转向空:=DRAWLINE(成本转向 =REF(成本转向,1),成本转向,成本转向 =REF(成本转向,1),成本转向,0),COLORDD7700,LINETHICK2;    转向多:=DRAWLINE(成本转向 =REF(成本转向,1),成本转向,成本转向 =REF(成本转向,1),成本转向,0),COLOR0000FF,LINETHICK2;    Arsi:= RSI.RSI1#WEEK ,COLOR5588AA;    BRSI:= RSI.RSI2#WEEK ,COLOR00AacC;    CRSI:= RSI.RSI3#WEEK ,COLOR77BB77;    月RSI1:= RSI.RSI1#MONTH    月RSI2:= RSI.RSI2#MONTH    月RSI3:= RSI.RSI3#MONTH    月MD:= kdj.D#MONTH    月MK:= kdJ.K#MONTH    周CK:= KDJ.K#WEEK    周CD:= KDJ.D#WEEK    AAA:=IF(C =REF(C,3),1,0);    BBB:=IF(C =REF(C,4),1,0);    CCC:=IF(C =REF(C,5),1,0);    DDD:=IF(C =REF(C,6),1,0);    EEE:=IF(C =REF(C,7),1,0);    FFF:=IF(C =REF(C,8),1,0);    GGG:=IF(C =REF(C,9),1,0);    HHH:=IF(C =REF(C,10),1,0);    III:=IF(C =REF(C,11),1,0);    JJJ:=IF(C =REF(C,12),1,0);    GZ2:=AAA+BBB+CCC+DDD+EEE+FFF+GGG+HHH+III+JJJ;    KK:=REF(GZ2,1)+REF(GZ2,2)+REF(GZ2,3)+REF(GZ2,4);    KKK:=KK/4;    GJ:=IF(CLOSE=CLOSE,(HIGH+LOW+OPEN+CLOSE)/4,AMOUNT/(V+0.001)/100);    明日阻力:=L+(GJ-L)+(C-L);    明日支撑:=L+(C-GJ);    今日阻力:=REF(明日阻力,1);    今日支撑:=REF(明日支撑,1);    阻支:=(今日阻力+今日支撑)*0.5;    支撑:=LLV(今日支撑,21);    阻力:=HHV(今日阻力,21);    支撑50:=LLV(今日支撑,55);    阻力50:=HHV(今日阻力,55);    阻支HL:=(H+L)*0.5;    波浪阻支:=ZIG(阻支HL,15);    波浪线:=ZIG(3,15);    MA1:=MA(HIGH,1);    MAA:=MA(LOW,1);    支撑34:=LLV(今日支撑,34);    阻力34:=HHV(今日阻力,34);    ZQC:=IF((支撑+阻力)*0.5=(支撑34+阻力34)*0.5,(支撑+阻力)*0.5,(支撑34+阻力34)*0.5),CROSSDOT,COLOR55EE00;    ZQB:DRAWLINE(H ZQC,ZQC,H ZQC,ZQC,0),CROSSDOT,COLORCC18AA;    ZQA:DRAWLINE(H ZQC,ZQC,H ZQC,ZQC,0),CROSSDOT,COLORCC18AA;    高A:=HHV(HIGH,100);    低A:=LLV(LOW,66);    最低:=REFDATE(低A,DATE);    最高:=REFDATE(高A,DATE);    HL38:=高A-(高A-低A)*0.38;    中轴:=高A-(高A-低A)*0.5;    HL62:=高A-(高A-低A)*0.62;    HL72:=高A-(高A-低A)*0.725;    新低:=STICKLINE(低A=LOW,LOW,HL62,0,1),COLORFFBBFF;    新高:=STICKLINE(高A=HIGH,HIGH,HL38,0,1),COLOR00FF00;    趋势线72:=DRAWTEXT(新低ANDCROSS(新低,HL72),HL72,1);    趋势线62:=DRAWTEXT(新低ANDCROSS(新低,HL62),HL62,1);    中轴趋势线:=DRAWTEXT(新低ANDCROSS(新低,中轴),中轴,1);    趋势线38:=DRAWTEXT(新低ANDCROSS(新低,HL38),HL38,1);    趋势线1:=DRAWLINE(新高,H,趋势线38,HL38,1),POINTDOT,COLOR00ddfF;    趋势线2:=DRAWLINE(新高,H,中轴趋势线,中轴,1),POINTDOT,COLOR00DDFF;    趋势线3:=DRAWLINE(新高,H,趋势线62,HL62,0),POINTDOT,COLOR00DDFF;    趋势线4:=DRAWLINE(新高,H,趋势线72,HL72,0),POINTDOT,COLOR00DDFF;    趋势线A:=IF(C 趋势线1,趋势线2,趋势线1),COLORCCCC13,LINETHICK1;    趋势线B:=IF(C 趋势线2,趋势线3,趋势线2),COLORCCCC13,LINETHICK1;    趋势线C:=IF(C 趋势线3,趋势线4,趋势线3),COLORCCCC13,LINETHICK1;    趋势线H62:=DRAWTEXT(新高ANDCROSS(新高,HL62),HL62,1);    趋势线H38:=DRAWTEXT(新高ANDCROSS(新高,HL38),HL38,1);    中轴趋势线H:=DRAWTEXT(新高ANDCROSS(新高,中轴),中轴,1);    趋势线D:=DRAWLINE(新低,L,趋势线H38,HL38,1),POINTDOT,COLORFFFF00;    趋势线E:=DRAWLINE(新低,L,趋势线H62,HL62,1),POINTDOT,COLORFFFF00;    趋势线F:=DRAWLINE(新低,L,中轴趋势线H,中轴,1),POINTDOT,COLORFFFF00;    STICKLINE(趋势线A,趋势线A,趋势线B,0,1),COLORBB3456;    高AA:=HHV(H,NN);    低AA:=LLV(L,NN);    最低AA:=REFDATE(低AA,DATE);    最高AA:=REFDATE(高AA,DATE);    牛熊L1:=低AA+(高AA-低AA)*0.5;    牛熊中轴:=REFDATE(牛熊L1,DATE),POINTDOT,COLORFF00FF,LINETHICK2;    牛熊L2:=低AA+(牛熊中轴-低AA)*0.5;    MZ:=牛熊中轴+(高AA-牛熊中轴)*0.5;    熊箱:=REFDATE(牛熊L2,DATE),POINTDOT,COLOREE5500,LINETHICK3;    牛箱:=REFDATE(MZ,DATE),POINTDOT,COLOREE5500,LINETHICK3;    HP1:=(最高AA+牛箱)*0.5,POINTDOT,COLOR909090;    HP2:=(最高AA+HP1)*0.5,POINTDOT,COLOR909090;    HP3:=(最高AA+HP2)*0.5,POINTDOT,COLOR909090;    LP1:=(最低AA+熊箱)*0.5,POINTDOT,COLOR909090;    LP2:=(最低AA+LP1)*0.5,POINTDOT,COLOR909090;    LP3:=(最低AA+LP2)*0.5,POINTDOT,COLOR909090;    HIGH1:=IF(HIGH REF(H,1),(H+L)*0.5,HIGH);    HIGH2:=IF(HIGH (REF(H,2)+REF(H,1))/2,(H+L)*0.5,HIGH);    LOW1:=IF(LOW REF(L,1),CLOSE,(H+L)*0.5);    LOW2:=IF(LOW (REF(L,2)+REF(L,1))/2,(H+L)*0.5,LOW);    OPEN1:=IF(OPEN CLOSE,(H+L)*0.5,OPEN);    CLOSE1:=IF(CLOSE =OPEN,CLOSE,(H+L)*0.5);    AGJ:=(3*HIGH1+HIGH2+LOW1+OPEN1+CLOSE+LOW)/8;    VARC:=MONTH/VOL/100;    VARE:=SUM(MONTH,6)ORAMOUNT/VARC/100;    cyc6:=DMA(AGJ,VOL/VARE),COLORBB88FF,LINETHICK1;    DC65:EMA(EMA(CYC6,65),5),CROSSDOT,COLOR339966,LINETHICK1;    IF(成本转向 =REF(成本转向,1),DC65,DRAWNULL),CROSSDOT,COLOR0000EE,LINETHICK1;    DC44:=EMA(EMA(CYC6,44),5),COLOR336699,LINETHICK1;    DCAA:=EMA(EMA(CYC6,77),10),COLORCC6677,LINETHICK1;    低1:=LLV(L,70);    分割低起:=REFDATE(低1,DATE),POINTDOT,COLOR00FFEE;    分割O:=分割低起;    分割A:=分割低起*1.129;    分割B:=分割低起*1.275;    分割C:=分割低起*1.5;    分割D:=分割低起*1.625;    分割E:=分割低起*2;    HLP:=(高1+低1)*0.5;    新低A:=STICKLINE(低1=LOW,LOW,HLP,0,1);    新高A:=STICKLINE(高1=HIGH,HIGH,HLP,0,1);    分割OO:=DRAWTEXT(新低AANDCROSS(波浪线,分割O),分割O,1);    近低:=DRAWLINE(分割OO,分割O,分割O,分割O,1),POINTDOT,COLOR00FFEE,LINETHICK1;    分割AA:=DRAWTEXT(新低AANDCROSS(波浪线,分割A),分割A,1);    一卡:=DRAWLINE(分割AA,分割A,分割A,分割A,1),POINTDOT,COLOR00FFEE,LINETHICK1;    分割BB:=DRAWTEXT(新低AANDCROSS(波浪线,分割B),分割B,1);    二卡:=DRAWLINE(分割BB,分割B,分割B,分割B,1),POINTDOT,COLOR00FFEE,LINETHICK1;    分割CC:=DRAWTEXT(新低AANDCROSS(波浪线,分割C),分割C,1);    三卡A:=DRAWLINE(分割CC,分割C,分割C,分割C,1),POINTDOT,COLOR00FFEE,LINETHICK1;    三卡:=IF(MA1 (二卡+三卡A)/2,三卡A,二卡),POINTDOT,COLOR00FFEE,LINETHICK1;    STICKLINE(近低,近低,近低,1,1),COLOR666655;    STICKLINE(一卡,一卡,一卡,1,1),COLOR776655;    STICKLINE(二卡,二卡,二卡,1,1),COLOR886655;    STICKLINE(三卡,三卡,三卡,1,1),COLORAA6655;    新低BB:=STICKLINE(低AA=LOW,LOW,牛熊L1,0,1),COLORFFBBFF;    新高BB:=STICKLINE(高AA=HIGH,HIGH,牛熊L1,0,1),COLOR00FF00;    上下27:=低AA+(高AA-低AA)*0.275;    上下38:=低AA+(高AA-低AA)*0.382;    上下50:=低AA+(高AA-低AA)*0.5;    上下62:=低AA+(高AA-低AA)*0.625;    上下72:=低AA+(高AA-低AA)*0.725;    上下87:=低AA+(高AA-低AA)*0.87;    HH87:=DRAWTEXT(新高BBANDCROSS(上下87,新高BB),上下87,2);    支87线:=DRAWLINE(新低,L,HH87,上下87,1),POINTDOT,COLOR00FF00,LINETHICK1;    HH72:=DRAWTEXT(新高BBANDCROSS(上下72,新高BB),上下72,2);    支72线:=DRAWLINE(新低BB,L,HH72,上下72,1),COLOR00BBAA,LINETHICK1;    HH62:=DRAWTEXT(新高BBANDCROSS(上下62,新高BB),上下62,2);    支62线:=DRAWLINE(新低BB,L,HH62,上下62,1),COLOR0088EE,LINETHICK1;    HH50:=DRAWTEXT(新高BBANDCROSS(上下50,新高BB),上下50,2);    支50线:=DRAWLINE(新低BB,L,HH50,上下50,1),COLOR0078EE,LINETHICK1;    HH38:=DRAWTEXT(新高BBANDCROSS(上下38,新高),上下38,2);    强支撑:=DRAWLINE(新低BB,L,HH38,上下38,1),COLOR0062DD,LINETHICK2;    HH27:=DRAWTEXT(新高BBANDCROSS(上下27,新高BB),上下27,2);    支27线:=DRAWLINE(新低BB,L,HH27,上下27,1),COLOR0078EE,LINETHICK1;    支27:=DRAWLINE(新低BB,L,CROSS(支27线,L),支27线,0),COLORAAAAAA,LINETHICK1;    支38:DRAWLINE(新低BB,L,CROSS(强支撑,C),强支撑,0),COLOR0000FF,LINETHICK2;    支50:DRAWLINE(新低BB,L,CROSS(支50线,C),支50线,0),COLORFF37AA,LINETHICK1;    支62:DRAWLINE(新低BB,L,CROSS(支62线,C),支62线,0),COLORFF37AA,LINETHICK1;    支72:DRAWLINE(新低BB,L,CROSS(支72线,C),支72线,0),COLORFF37AA,LINETHICK1;    支87:DRAWLINE(新低BB,L,CROSS(支87线,C),支87线,0),COLORFF37AA,LINETHICK1;    DRAWLINE(C 强支撑,强支撑,MA1*1.05 =强支撑,强支撑,0),COLOR0000FF,LINETHICK2;    DRAWLINE(C 支50线,支50线,MA1*1.05 =支50线,支50线,0),COLORFF37AA,LINETHICK1;    DRAWLINE(C 支62线,支62线,MA1*1.05 =支62线,支62线,0),COLORFF47AA,LINETHICK1;    DRAWLINE(C 支72线,支72线,MA1*1.05 =支72线,支72线,0),COLORFF57AA,LINETHICK1;    B27线:=DRAWLINE(C 支27线,支27线,MA1*1.05 =支27线,支27线,0),COLORAAAAAA,LINETHICK1;    DF:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)    -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)    -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)    ,3,1),2,1),COLOR00EEFF,LINETHICK1;    KF:=EMA(MA(DF,5),7),COLOR777777,LINETHICK1;    个股EMA:=EMA(EMA(100*(C-LLV(LOW,NN))/(HHV(H,NN)-LLV(LOW,NN)),3),2),COLORAAAAFF,LINETHICK1;    个股转向线:=ZIG(个股EMA,15),COLOR00DD00,LINETHICK1;    持仓:=IF(个股转向线 REF(个股转向线,2),个股转向线,DRAWNULL);    空仓:=IF(个股转向线 =REF(个股转向线,2),个股转向线,DRAWNULL);    KD转向:=IF(ZIG((H+L)*0.5,5)=ZIG(3,5),ZIG(3,5),ZIG((H+L)*0.5,5));    RSV:=(KD转向-LLV(KD转向,8))/(HHV(KD转向,8)-LLV(KD转向,8))*100;    K:=SMA(RSV,3,1),COLOR336688,LINETHICK2;    D:=SMA(K,3,1),COLOR809000,LINETHICK2;    DC6:EMA(CYC6,20),COLOR1000AA,LINETHICK1;    DC5:EMA(CYC6,16),COLOR1000AA,LINETHICK1;    DC4:EMA(CYC6,12),COLOR1000AA,LINETHICK1;    DC3:EMA(CYC6,9),COLOR1000AA,LINETHICK1;    DC2:EMA(CYC6,7),COLOR1000AA,LINETHICK1;    DC1:EMA(CYC6,5),COLOR1000AA,LINETHICK1;    K1:=BACKSET(DC1 =REF(DC1,1),2);    IF(K1,DC1,DRAWNULL),COLORBB9900,LINETHICK1;    K2:=BACKSET(DC2 =REF(DC2,1),2);    IF(K2,DC2,DRAWNULL),COLORBB9900,LINETHICK1;    K3:=BACKSET(DC3 =REF(DC3,1),2);    IF(K3,DC3,DRAWNULL),COLORBB9900,LINETHICK1;    K4:=BACKSET(DC4 =REF(DC4,1),2);    IF(K4,DC4,DRAWNULL),COLORBB9900,LINETHICK1;    K5:=BACKSET(DC5 =REF(DC5,1),2);    IF(K5,DC5,DRAWNULL),COLORBB9900,LINETHICK1;    K6:=BACKSET(DC6 =REF(DC6,1),2);    IF(K6,DC6,DRAWNULL),COLORBB9900,LINETHICK1;    DH:=MAX(MAX(DC1,DC3),DC6);    XL:=MIN(MIN(DC1,DC3),DC6);    STICKLINE((成本转向 =REF(成本转向,1)OR波浪线 =REF(波浪线,1)OR周CK =周CD)ANDCROSS(C,DC1)ANDCROSS(C,DC3)ANDDH/XL 1.025AND    DC2 =DC6ANDDC44 =REF(DC44,1)ANDVOL/REF(VOL,1) 1.1ANDC OAND(C-REF(C,1))/REF(C,1) 0.027,C,O,2.6,0),COLOR1800DD;    箱顶:=PEAK(CLOSE,10,1)*0.98,COLOR808080;    箱底:=TROUGH(CLOSE,10,1)*1.02,COLOR0066AA;    箱高:=100*(箱顶-箱底)/箱底,NODRAW;    箱底1:=DRAWLINE(CROSS(C,箱底),箱底,CROSS(箱顶,C),箱底,0),COLOR000090;    箱顶1:DRAWLINE(CROSS(箱顶,C),箱顶,CROSS(C,箱顶),箱顶,0),COLORFF0000;    箱底A:DRAWTEXT(CROSS(C,箱底)ANDC REF(H,1),(H+L)/2, -箱底 ),COLORFF00FF;    波低:=DRAWICON(CROSS(ZIG(3,15),REF(ZIG(3,15),1))AND(月RSI1 月RSI3OR波浪线 =REF(波浪线,1)),LOW,25);    波高:=DRAWICON((月RSI1 月RSI3OR波浪线 =REF(波浪线,1))ANDCROSS(REF(ZIG(3,15),1),ZIG(3,15))ANDDF REF(DF,1),HIGH,14);    劲下:STICKLINE(波高OR(CROSS( RSI.RSI3#WEEK , RSI.RSI2#WEEK )AND月RSI3 月RSI1AND波浪线 REF(波浪线,1)),C,O,2,0),COLORFF7700;    劲上:STICKLINE(CROSS(波浪线,REF(波浪线,1))AND(CROSS(ARSI,CRSI)ORCROSS(周CK,周CD)ORCROSS(月MK,月MD)),C,O,1.5,0),COLOR008899;    STICKLINE((个股换手率 =沪深换手ORVOL/(REF(VOL,1)+REF(VOL,2))/2 1.1)AND持仓AND波浪线 REF(波浪线,1)ANDC 阻支HLAND(C-REF(C,1))/REF(C,1)    0.02AND(CROSS(C,成本)ORCROSS(C,SAR空)ORCROSS(C,趋势线4)ORCROSS((H+L)*0.5,箱顶)ORCROSS((H+L)*0.5,牛箱)OR    CROSS((H+L)*0.5,牛熊中轴)ANDC (H-L)*0.725+LAND(C-REF(C,1))/REF(C,1) 0.027),C,O,0.8,0),COLORAA33FF;    BOL:=DRAWICON(CROSS(L,boll)ANDCROSS(C,DC1)ANDCROSS(C,DC3)ANDDC3 =REF(DC3,1)    ANDBOLL =REF(BOLL,1)ANDVOL/REF(VOL,1) 1.15AND波浪线 =REF(波浪线,1)ANDC =今日阻力,今日支撑,13);    周金RK:=DRAWTEXT(CROSS( RSI.RSI1#WEEK , RSI.RSI3#WEEK )ANDCROSS(周CK,周CD),L, RK☆ ),COLORFFAAFF;    周死RK:=DRAWTEXT(CROSS( RSI.RSI3#WEEK , RSI.RSI1#WEEK )ANDCROSS(周CD,周CK),H, RK☆ ),COLORCCCCCC;    月金RR:=CROSS( RSI.RSI2#WEEK , RSI.RSI3#WEEK )AND( RSI.RSI2#MONTH = RSI.RSI3#MONTH )    AND( RSI.RSI1#MONTH RSI.RSI2#MONTH )AND成本转向 =REF(成本转向,1);    空A38:DRAWTEXT((CROSS(趋势线E,C)ORCROSS(强支撑,C))AND波浪线 =REF(波浪线,1),H, 38↓ ),COLOR00EE00;    空A50:DRAWTEXT(CROSS(趋势线F,C)AND波浪线 =REF(波浪线,1),H, 50↓ ),COLOR00EE00;    空A62:DRAWTEXT(CROSS(趋势线D,C)AND波浪线 =REF(波浪线,1),H, 62↓ ),COLOR00EE00;    波多柱:STICKLINE((波浪线 =REF(波浪线,1)OR波浪阻支 =REF(波浪阻支,1))ANDK =REF(K,1),C,O,0,0),COLORFF58FF;    下波柱:STICKLINE((空仓OR波浪线 =REF(波浪线,1))ANDK =REF(K,1)ANDC O,C,O,0,0),COLORFFEEEE;    KD下:STICKLINE(K REF(K,1)AND波浪线 REF(波浪线,1)AND空仓ANDC (H+L)*0.5,C,O,0.5,1),COLOREEAA00;    阻支ZGA:=IF(C =阻支,阻支,今日阻力);    阻支ZGB:=IF(C 阻支,阻支,今日支撑);    STICKLINE(C =O,阻支ZGA,阻支ZGA,2,0),COLOR87EE00;    STICKLINE(C OORC 阻支HL,今日阻力,今日阻力,2,0),COLOREE66FF;    STICKLINE(C 今日支撑,阻支ZGB,阻支ZGB,2,1),COLOR777888;    上穿压:=DRAWICON(波浪线 =REF(波浪线,1)ANDC 阻支HLANDDC3 =DC3AND(个股换手率 =沪深换手ANDVOL/REF(VOL,1) 1.15)    AND成本转向 =REF(成本转向,1)AND(CROSS(C,成本)ORCROSS((H+L)*0.5,SAR空)ORBOLORCROSS((H+L)*0.5,牛熊中轴)ORCROSS((H+L)*0.5,牛箱)    ORCROSS(C,箱顶1)),阻支ZGB,1);    穿上:DRAWICON(持仓ANDARSI =CRSIANDC (H+L)*0.5AND(CROSS(C,支87线)ORCROSS(C,支72线)ORCROSS(C,支62线)ORCROSS(C,支50线)ORCROSS(C,强支撑)OR    CROSS(C,支27线)ORCROSS(C,趋势线A)ORCROSS(C,趋势线B)ORCROSS(C,趋势线C)ORCROSS(C,箱底)OR上穿压),阻支ZGB,1);    穿下:DRAWICON((CROSS(支27线,(H-L)*0.625+L)ORCROSS(强支撑,波浪线)ORCROSS(支50线,波浪线)ORCROSS(支62线,波浪线)ORCROSS(支72线,波浪线)ORCROSS(支87线,C))    ANDC OAND(波浪线 =REF(波浪线,1)OR波高),(H-L)*0.971+L,15);    月金RK:=DRAWTEXT(CROSS( RSI.RSI2#WEEK , RSI.RSI3#WEEK )ANDCROSS(月MK,月MD)AND成本转向 =REF(成本转向,1),L, ★月金RK ),COLOR00EEFF;    DRAWTEXT((月金RROR月金RK)ANDC 阻支,L, E金叉 ),COLOR00FFEE;    X高:=DRAWTEXT(CROSS(REF(ZIG(3,15),1),ZIG(3,15))ANDC =(H+L)/2,H, 新高 ),COLOR00EE00;    X低:DRAWTEXT(CROSS(ZIG(3,15),REF(ZIG(3,15),1))ANDC =(H+L)/2,今日支撑, 新低 ),COLOR00BBAA;    DRAWICON((月RSI1 月RSI3OR波浪线 =REF(波浪线,1))ANDCROSS(REF(ZIG(3,15),1),ZIG(3,15))ANDDF REF(DF,1)    ,HIGH,2);    IF(FINANCE2(37)/10000 =100)THENBEGIN    DRAWTEXTREL(0,950, 【超大盘0.7%】流通A股 +FINANCE2(37)/10000+ 亿股 ),LINETHICK2,ColorFF00FF;end;    IF(FINANCE2(37)/10000 100andFINANCE2(37)/10000 =10)THENBEGIN    DRAWTEXTREL(0,950, 【大盘股9.0%】流通A股 +FINANCE2(37)/10000+ 亿股 ),LINETHICK2,ColorFF00FF;end;    IF(FINANCE2(37)/10000 10andFINANCE2(37)/10000 =5)THENBEGIN    DRAWTEXTREL(0,950, 【中盘股12.7%】流通A股 +FINANCE2(37)/10000+ 亿股 ),LINETHICK2,ColorFF00FF;end;    IF(FINANCE2(37)/10000 5andFINANCE2(37)/10000 =1)THENBEGIN    DRAWTEXTREL(0,950, 【小盘股55.3%】流通A股 +FINANCE2(37)/10000+ 亿股 ),LINETHICK2,ColorFF00FF;end;    IF(FINANCE2(37)/10000 1)THENBEGIN    DRAWTEXTREL(0,950, 【超小盘22.3%】流通A股 +FINANCE2(37)/10000+ 亿股 ),LINETHICK2,ColorFF00FF;end;    AA1:=AMOUNT/V;    BB1:=L1.2;    DD1:=L MA(C,5)*0.921;    EE1:=V MA(V,5)*1.5;    FF1:=BB1ANDCC1ANDDD1ANDEE1;    DRAWTEXT(ff1,(LOW*0.99), ↖鼠 ),Color4080FF;    STICKLINE(ff1,O,C,6,0),COLORyellow;    STICKLINE(ff1,O,C,2.5,0),COLORred;    MTM:=C-REF(C,1);    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);    买:=IF(LLV(DX,2)=LLV(DX,7)ANDCOUNT(DX 0,2)ANDCROSS(DX,MA(DX,2)),1,0);    DRAWTEXT(filter(买=1,5),LOW-0.08, ↖低 ),COLORAAAAFF;    STICKLINE(filter(买=1,5),O,C,6,0),COLORyellow;    STICKLINE(filter(买=1,5),O,C,2.5,0),COLORred;    cc:=(h-c)/(c-o) 0.33;    dd:=(c/ref(c,1)-1) =0.0502andc ref(c,1)and(o-l)/(c-o) =1.48andl ref(l,1)andl ref(l,2);    ee:=(c/ref(c,1)-1) =0.08;    aa:=VOL REF(VOL,1)*1.9andc ref(c,1)andc/ref(c,1)-1 =0.049andcc;    bb:=(c/ref(c,1)-1) =0.0502andc ref(c,1)andv ref(v,1)andVOL REF(VOL,1)*2.5andcc;    DRAWTEXT(FILTER(aaorbborddoree,34),l, ↖异动 ),COLOrffff00;    STICKLINE(FILTER(aaorbborddoree,34),O,C,6,0),COLORyellow;    STICKLINE(FILTER(aaorbborddoree,34),O,C,2.5,0),COLORRED;    AAA:=(3*C+H+L+O)/6;    VAR41:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;    TJ1:=VOL=HHV(VOL,10)ANDVOL 2*REF(VOL,1)ANDCLOSE VAR41;    立桩量:=FILTER(TJ1,5);    TJ2:=IF(BARSLAST(立桩量)=1ANDCLOSE REF(HIGH,1),1,IF(BARSLAST(立桩量)=2ANDCLOSE REF(HIGH,2),1,IF(BARSLAST(立桩量)=3ANDCLOSE REF(HIGH,3),1,0)));    突破:=TJ2=1;    TJ3:=IF(BARSLAST(立桩量)=1ANDCLOSE REF(LOW,1),1,IF(BARSLAST(立桩量)=2ANDCLOSE REF(LOW,2),1,IF(BARSLAST(立桩量)=3ANDCLOSE REF(LOW,3),1,0)));    三天法则:=TJ3=1;    成立:=三天法则AND突破;    条件成立:=FILTER(成立,3);    DRAWTEXT(条件成立,L*0.97, ↖立桩量 ),COLORYELLOW;    VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);    VAR2222:=CROSS(VAR1111,0.9);    压力:=REF(HIGH,BARSLAST(VAR2222));    STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK1;    STICKLINE(CLOSE OPENandref(CLOSE,1) ref(OPEN,1),ref(close,1),ref(close,1),33,0),COLORwhite,LINETHICK1;    DD:=FINANCE2(35);    SS:=FINANCE2(37);    GG:=FINANCE2(3);    TH:=DYNAINFO(39);    DRAWTEXTREL(0,70, 总股本: +NUMTOSTRn(DD,0)+ 万股 + 流通A股: +NUMTOSTRn(SS,0)+ 万股 + 市盈率: +NUMTOSTRn(TH,2)+ 倍 + 每股收益: +NUMTOSTRn(GG,3)+ 元 ),ColorFFFF00;    gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);    明日阻力:=l+(gj-l)+(c-l);    明日支撑:=l+(c-gj);    今日阻力:=REF(明日阻力,1);    今日支撑:=REF(明日支撑,1);    STICKLINE(DISPSTATUS=2andc =今日阻力,今日阻力,今日阻力,20,0),Color0000FF;    STICKLINE(DISPSTATUS=2andc 今日阻力,今日阻力,今日阻力,20,0),Color00FF00;    STICKLINE(DISPSTATUS=2andc =今日支撑,今日支撑,今日支撑,20,0),ColorFF00FF;    STICKLINE(DISPSTATUS=2andc 今日支撑,今日支撑,今日支撑,20,0),ColorFF9900;    DRAWTEXTREL(850,890, 今日支撑: +NUMTOSTRN(今日支撑,2)),Colorred;    DRAWTEXTREL(850,950, 今日阻力: +NUMTOSTRN(今日阻力,2)),ColorGREEN;    DRAWTEXTREL(0,20, 所属板块: +BKNAME),ColorRED;    DRAWTEXTREL(0,120, 每股收益: +NUMTOSTRN(FINANCE2(3),3)+ 元 + 市盈率: +NUMTOSTRN(DYNAINFO(39),2)+ 元 + 市净率: +NUMTOSTRN((CLOSE/FINANCE2(4)),2)+ 元 + 净资产: +NUMTOSTRN(FINANCE2(4),2)+ 元 ),Color00C0FF;    DRAWTEXTREL(0,270, 历史最高价: +HHV(HIGH,0)),Colorred;    DRAWTEXTREL(160,270, 历史最低价: +LLV(LOW,0)),ColorAFFF00;    销售毛利率:=FINANCE2(12);    主营收入同比:=FINANCE2(11);    净利润同比增长:=FINANCE2(10);    DRAWTEXTREL(0,170, 销售毛利率: +NUMTOSTRN(销售毛利率,2)+ % ),LINETHICK1,COLORff00ff;    DRAWTEXTREL(180,170, 主营收入同比增长: +NUMTOSTRN(主营收入同比,2)+ % ),LINETHICK1,ColorYELLOW;    DRAWTEXTREL(0,220, 净利润同比增长: +NUMTOSTRN(净利润同比增长,2)+ % ),LINETHICK1,COLOR00FF00;    LJL07:=(3*C+L+O+H)/6;    金钱:(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORgreen,LINETHICK4;    银线:EMA(CLOSE,6),COLORff00ff,LINETHICK4;通达信金光大道主图指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 指标资讯 加入收藏