【股票指标公式下载】-【通达信】极品三色线(散户、庄家)

合集下载

【股票指标公式下载】-【通达信】中长短三线(买进、逃顶)

【股票指标公式下载】-【通达信】中长短三线(买进、逃顶)

【通达信】中长短三线(买进、逃顶)-指标公式源码O1:(SUM(EMA((CLOSE+LOW)/2,1)/3,3)),COLOR00FFFF,LINETHICK1;O2:EMA(O1,3),COLORFF00FF,LINETHICK1;O3:EMA(O2,3),COLOR00FF00,LINETHICK1;MMM:=MA(CLOSE,20);DRAWTEXT((CLOSE<MMM),MMM,'*'),COLOR00FF00,LINETHICK5;DRAWTEXT((CLOSE>MMM),MMM,'*'),COLOR0000FF,LINETHICK5;VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLORFF3300; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLORFF5500; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLORFF7700; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORFF9900; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORFFBB00; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFFDD00; DRAWTEXT(FILTER(VAR19=1,5),LOW,' 买进'),COLORFF00FF; DRAWICON(FILTER(VAR19=1,5),LOW,9);DRAWTEXT(FILTER(VAR1A=1,5),HIGH,' 逃顶'),COLOR00FF00; DRAWICON(FILTER(VAR1A=1,5),HIGH,15);【通达信】中长短三线(买进、逃顶)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】MACD大通道(三高价、三低)

【股票指标公式下载】-【通达信】MACD大通道(三高价、三低)

【通达信】MACD大通道(三高价、三低)-指标公式源码WWW:=L-(H-L)/2;三高价:=MA(WWW,15)*1.07;三低价:=MA(WWW,15)*0.97;高价:=MA(WWW,40)*1.15;低价:=MA(WWW,40)*0.95;DIF1:=(EMA(CLOSE,60)-EMA(CLOSE,130));DEA1:=EMA(DIF1,40);周:=(DIF1-DEA1),STICK,LINETHICK7,COLORYELLOW;YY:=低价+(高价-低价)/2;UU:=三低价+(三高价-三低价)/2;IIII:=DIF1<REF(DIF1,1);STICKLINE(IIII,高价,YY,4,0),COLORLIBLUE;GGGG:=DIF1>REF(DIF1,1);STICKLINE(GGGG,高价,YY,4,0),COLORLIRED;HHHH:=周<REF(周,1);STICKLINE(HHHH,YY,低价,4,0),COLORLIBLUE;FFFF:=周>REF(周,1);STICKLINE(FFFF,YY,低价,4,0),COLORLIRED;DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26)),LINETHICK3,COLORMAGENTA; DEA:=EMA(DIF,9),LINETHICK3,COLORBLUE;日:=(DIF-DEA)*2,STICK,LINETHICK5,COLORRED;CCCC:=DIF<REF(DIF,1);STICKLINE(CCCC,三高价,UU,4,0),COLORBLUE;AAAA:=DIF>REF(DIF,1);STICKLINE(AAAA,三高价,UU,4,0),COLORMAGENTA;DDDD:=日<REF(日,1);STICKLINE(DDDD,UU,三低价,4,0),COLORBLUE;BBBB:=日>REF(日,1);STICKLINE(BBBB,UU,三低价,4,0),COLORMAGENTA;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);嘿嘿:IF(C,CONST(C),DRAWNULL),COLORWHITE;MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA60:MA(CLOSE,60);【通达信】MACD大通道(三高价、三低)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】DTX宝塔(三平底翻红、三平顶翻绿)

【股票指标公式下载】-【通达信】DTX宝塔(三平底翻红、三平顶翻绿)

【通达信】DTX宝塔(三平底翻红、三平顶翻绿)-指标公式源码MA5:MA(C,5),COLORYELLOW;MA10:MA(C,10),COLORFF00FF;MA15:MA(C,15),COLOR00FF00;MA30:MA(C,30),COLORFFCCCC;B1:=REF(C,1);B2:=REF(C,2);SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) ANDREF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) ANDREF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0)))); SM:=IF(REF(SS,1)!=0,REF(SS,1),IF(REF(SS,2)!=0,REF(SS,2),IF(REF(SS,3)! =0,REF(SS,3),IF(REF(SS,5)!=0,REF(SS,5),IF(REF(SS,6)!=0,REF(SS,6),IF(R EF(SS,7)!=0,REF(SS,7),0))))));STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,3,0),COLORRED;STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,3,0),COLORFFCC66;STICKLINE(SS=2,B2,C,3,0),COLORRED;STICKLINE(SS=-2,B2,C,3,0),COLORFFCC66;STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,3,0),COLORRED;STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,3,0),COLORFFCC66;AA:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) ANDREF(CLOSE,1)<REF(CLOSE,3) ANDIF(REF(CLOSE,3)<REF(CLOSE,4),1,IF(REF(CLOSE,4)<REF(CLOSE,5),REF(CLOSE ,1)<REF(CLOSE,4) OR (REF(CLOSE,2)<REF(CLOSE,4) ANDREF(CLOSE,3)>=REF(CLOSE,5)),IF(REF(CLOSE,5)<REF(CLOSE,6),1,REF(CLOSE, 6)<REF(CLOSE,7))));BB:=CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) ANDREF(CLOSE,1)>REF(CLOSE,3) ANDIF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE ,1)>REF(CLOSE,4) OR (REF(CLOSE,2)>REF(CLOSE,4) ANDREF(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE, 6)>REF(CLOSE,7))));DRAWICON(AA AND CLOSE>REF(OPEN,2),0.99*LOW,1);DRAWICON(BB AND CLOSE<REF(CLOSE,2),HIGH*1.01,2);DRAWTEXT(AA AND CLOSE>REF(OPEN,2),LOW*0.98,'三平底翻红'),COLORYELLOW;DRAWTEXT(BB AND CLOSE<REF(CLOSE,2),HIGH*1.02,'三平顶翻绿'),COLOR00FF00;【通达信】DTX宝塔(三平底翻红、三平顶翻绿)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】多彩主图(多空线、红色持股、晶红卖出、绿色持币)

【股票指标公式下载】-【通达信】多彩主图(多空线、红色持股、晶红卖出、绿色持币)

【通达信】多彩主图(多空线、红色持股、晶红卖出、绿色持币)-指标公式源码VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),3,0),COLORGREEN;{绿色}VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,1),COLORYELLOW;{黄色} VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,1),COLOR00FF00; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR00FFFF; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR00FFFF;红色持股:=0,NODRAW,COLORRED;晶红卖出:=VAR1A,NODRAW,COLORFF50FF;绿色持币:=0,NODRAW,COLOR00D900;黄色买入:=VAR19,NODRAW,COLOR00FFFF;DRAWICON(VAR19,REF(CLOSE,1)*0.96,1);DRAWICON(VAR1A,REF(CLOSE,1)*1.05,2);MA5:MA(C,5),COLORWHITE;DD5:=MA5<REF(MA5,1);IF(DD5,MA5,DRAWNULL),COLOR00FF00;X:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+ 14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X ,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X, 18)+REF(X,20))/210,COLORFF00FF,LINETHICK1;DD:=多空线<REF(多空线,1);IF(DD,多空线,DRAWNULL),COLORBLUE,LINETHICK3;A:=(MA5>多空线);IF(A,多空线,DRAWNULL),COLORYELLOW,POINTDOT;A1:=(MA5<多空线);IF(A1,多空线,DRAWNULL),COLORWHITE;V1:=CLOSE*VOL;V2:=EMA(V1,13)/EMA(VOL,13);CYS:=(EMA((CLOSE-V2)/V2,1)*100);AA:=CYS;MIDD:=MA(CYS,20);CC:=MIDD+0.85*STD(CYS,10);TM6:=AA>CC;IF(TM6,MA5,DRAWNULL),COLORRED,LINETHICK2;【通达信】多彩主图(多空线、红色持股、晶红卖出、绿色持币)-指标公式效果图(文档来源:若水财经社区)。

通达信指标公式源码 三下三背离 主图源码

通达信指标公式源码 三下三背离 主图源码

指标分为三条线,其中,黄线为操作线,主要用于辨识当前价格走势的整体运行方向;带点的粉线(可以变为绿线)是分水岭线,主要反映当前价格走势的阶段性方向;红线(可以变为蓝线)为输出线,主要反映当前价格的波动状况。

操作线、输出线、分水领线三者金叉,且出现粉色线圈为第一买点。

三条线距离越近,效果越明显。

黄线在上方时如果向下拐头随时观察买点即将出现(可结合其他指标),黄线在下方时向上拐头时注意短期卖点出现。

注意事项:任何操作必须考虑趋势问题上出下买+三背离主图东郭改编真正的阴阳线}A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2; 操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2;PM:MA(C,5),COLORWHITE,LINETHICK2;IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2;S:=(PM>操作线);DD:=分水岭<REF(分水岭,1);IF(DD,分水岭,DRAWNULL),COLOR00FF00,LINETHICK2;IF(S,分水岭,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4;DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);{买入红箭头}A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");DRAWTEXT(B1>0,L-0.02,4),COLOR00FFFF;{MACD底背离}A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");DRAWTEXT(B2,L-0.10,5),COLORFF00FF;{KDJ底背离}A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");DRAWTEXT(B3>0,L-0.18,6),COLOR0000FF;{RSI底背离}C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");DRAWTEXT(D1>0,H+0.16,4),COLOR00FF00;{MACD顶背离}C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");DRAWTEXT(D2>0,H+0.08,5),COLORFFFFCC;{KDJ顶背离}C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");DRAWTEXT(D3>0,H+0.04,6),COLORFF9900;{RSI顶背离}; STICKLINE(C>REF(C,1),H,L,0,1),COLOR0000FF;STICKLINE(C>REF(C,1),O,C,3.2,0),COLOR000055;STICKLINE(C>REF(C,1),O,C,2.7,0),COLOR000077;STICKLINE(C>REF(C,1),O,C,2.1,0),COLOR000099;STICKLINE(C>REF(C,1),O,C,1.5,0),COLOR0000BB;STICKLINE(C>REF(C,1),O,C,0.9,0),COLOR0000DD;STICKLINE(C<REF(C,1),O,C,0.3,0),COLOR0000FF;STICKLINE(C<REF(C,1),H,L,0,1),COLORFFFF00;STICKLINE(C<REF(C,1),O,C,3.2,0),COLOR990000;STICKLINE(C<REF(C,1),O,C,2.7,0),COLORCC0000;STICKLINE(C<REF(C,1),O,C,2.1,0),COLORFF4400;STICKLINE(C<REF(C,1),O,C,1.5,0),COLORFF8800;STICKLINE(C<REF(C,1),O,C,0.9,0),COLORFFCC00;STICKLINE(C<REF(C,1),O,C,0.3,0),COLORFFFF00;STICKLINE(C=REF(C,1),H,L,0,1),COLORFFFFFF;STICKLINE(C=REF(C,1),O,C,3.2,0),COLOR555555;STICKLINE(C=REF(C,1),O,C,2.7,0),COLOR777777;STICKLINE(C=REF(C,1),O,C,2.1,0),COLOR999999;STICKLINE(C=REF(C,1),O,C,1.5,0),COLORBBBBBB;STICKLINE(C=REF(C,1),O,C,0.9,0),COLORDDDDDD; STICKLINE(C=REF(C,1),O,C,0.3,0),COLORFFFFFF;。

【】【】【】【】【】通达信散户线指标公式源码(附图)

【】【】【】【】【】通达信散户线指标公式源码(附图)

【】【】【】【】【】通达信散户线指标公式源码(附图)展开全文通达信散户线指标公式源码如下:M:=60;N:=30;散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)) COLORGRAY;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;STICKLINE(C>0,85,85,6,1),COLORMAGENTA;操作指导线:60,COLORRED;VAR1:=1;VAR2:=REF(LOW,1)*VAR1;VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;VAR5:=LLV(LOW,30)*VAR1;VAR6:=HHV(VAR4,30)*VAR1;VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7*VAR1;VAR9:=IF(VAR8>100,100,VAR8)*VAR1;吸筹:STICKLINE(VAR9>-150,0,VAR9,6,1),COLORMAGENTA;趋势线:=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) COLORRED LINETHICK2;STICKLINE(C>0,10,10,6,1),COLORFFAA00;见底信号:=10;买点准备:IF(趋势线<=10,30,0) COLORYELLOW;买入时间:IF(CROSS(趋势线,见底信号),50,0) COLORGREEN;VAR84:=SMA(ABS(L-REF(L,1)),13,1)/SMA(MAX(L-REF(L,1),0),13,1);底部动量:EMA(IF(L<=LLV(L,30),VAR84,0),3)*10,COLORA0A0FF;起动:EMA(J,6),COLORRED LINETHICK1;抄底'逃顶'指标{-----------------}EMA250:MA(C,250),COLORRED;EMA6:MA(C,6),COLORRED LINETHICK2;EMA18:MA(C,18),COLORYELLOW;EMA55:MA(C,55),COLORFF00FF;EMA144:MA(C,144),COLORGREEN;EMA288:MA(C,288),COLORBLUE;中线【买入】:=COUNT(CLOSE<EMA18,5)=4 ANDCLOSE/EMA18>1.004 AND CROSS(CLOSE,EMA18) AND EMA18>=REF(EMA18,1),LINETHICK,COLORRED;DRAWTEXT(中线【买入】,LOW*0.95,' 中线【买入】'),COLORRED;VL:=REF(LOW,1);VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;VAR14:=MA(VAR12,13);VAR15:=LLV(LOW,34);VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);DRAWTEXT(T,LOW-0.4,'←洗盘结束'),COLORFF00FF;DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF;VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);VAR24:=SMA(VAR23,3,1);VAR25:=CROSS(VAR23,VAR24) AND VAR23<20;DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.4,'←抄底'),COLORRED;DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'|'),COLORRED;VAR29:=CROSS(VAR24,VAR23) AND VAR23>80;DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,'←逃顶'),COLORBLUE;DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'|'),COLORBLUE;多空指标{--------------------------------}DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);DEA:=EMA(DIFF,9);MA(C,8),COLORWHITE;MA(C,21),COLORYELLOW;多头:STICKLINE(DIFF>DEA,C,O,3,-1),COLORRED;STICKLINE(DIFF>DEA,H,L,0,0),COLORWHITE;空头:STICKLINE(DIFF<=DEA,C,O,3,0),COLORWHITE;STICKLINE(DIFF<=DEA,H,L,0,0),COLORWHITE;DRAWTEXT(CROSS(DIFF,DEA),L*0.98,'B'),COLORYELLOW;DRAWTEXT(CROSS(DEA,DIFF),H*1.02,'S'),COLORGREEN;DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA1:=EMA(DIFF1,9);MA(C,8),COLORWHITE;MA(C,21),COLORYELLOW;多头1:STICKLINE(DIFF1>DEA1,C,O,3,0),COLORRED;STICKLINE(DIFF>DEA1,H,L,0,0),COLORRED;空头1:STICKLINE(DIFF1<=DEA1,C,O,3,0),COLORYELLOW;STICKLINE(DIFF1<=DEA1,H,L,0,0),COLORYELLOW;DRAWTEXT(CROSS(DIFF1,DEA1),L*0.98,'B'),COLORWHITE;DRAWTEXT(CROSS(DEA1,DIFF1),H*1.02,'S'),COLORGREEN;指标原理该指标给出散户线值,通过观察散户值增减变化可以了解主力的操作行为。

通达信指标公式源码 三线买卖(主图指标)

通达信指标公式源码 三线买卖(主图指标)

快线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF;慢线:EMA(REF(快线,1),2),LINETHICK2,COLOR00FFFF;总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00F F;HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0; MADISPLAY:=0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COL OR0055FF,POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COL ORYELLOW,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST((高点压力+低点支撑)/2);STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),C OLORFF55BB,LINETHICK2;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COL ORMAGENTA,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COL ORCYAN,POINTDOT;。

通达信牛股变色K线主图指标公式

通达信牛股变色K线主图指标公式

通达信牛股变色K线主图指标公式股票软件源码如下:M3:MA(CLOSE,3);M13:MA(CLOSE,13);M34:MA(CLOSE,34),COLORRED,LINETHICK2;IF(M34<REF(M34,1),M34,DRAWNULL),COLORGREEN,LINETHICK2;STICKLINE(M3>=M13 AND M34>=REF(M34,1) ,H ,L ,0.4,0),COLOR0000DD;{红} STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3,1),COLOR000077; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,2.5,1),COLOR000099; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,1.9,1),COLOR0000BB; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,1.2,1),COLOR0000DD; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,0.4,1),COLOR0000FF; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,3 ,0),COLOR000077; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,2.5 ,0),COLOR000099; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,1.9 ,0),COLOR0000BB; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,1.2 ,0),COLOR0000DD; STICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,0.4 ,0),COLOR0000FF; STICKLINE(M3<M13 AND M34>=REF(M34,1) ,H ,L ,0.4 ,0 ),COLORFFBB00;{天兰} STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3,1 ),COLORFF3300; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,2.5,1 ),COLORFF5500; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,1.9,1 ),COLORFF7700; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,1.2,1 ),COLORFF9900; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,0.4,1 ),COLORFFBB00; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,3,0 ),COLORFF1100; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,2.5,0 ),COLORFF3300; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,1.9,0 ),COLORFF5500; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,1.2,0 ),COLORFF7700; STICKLINE(M3<M13 AND M34>=REF(M34,1) AND C<O ,O ,C ,0.4,0 ),COLORFF9900; STICKLINE(M3<M13 AND M34<REF(M34,1) ,H ,L ,0.4 ,0 ),COLOR00FF00;{绿} STICKLINE(M3<M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,3, 0 ),COLOR007700; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,2.5,0 ),COLOR009900; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,1.9 ,0 ),COLOR00BB00; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,1.2 ,0 ),COLOR00DD00; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,0.4 ,0 ),COLOR00FF00; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C<O ,O ,C ,3,1 ),COLOR006600; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C<O ,O ,C ,2.4,1 ),COLOR009900; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C<O ,O ,C ,1.8,1 ),COLOR00BB00; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C<O ,O ,C ,1.2 ,1 ),COLOR00DD00; STICKLINE(M3<M13 AND M34<REF(M34,1) AND C<O ,O ,C ,0.4 ,1 ),COLOR00FF00;STICKLINE(M3>=M13 AND M34<REF(M34,1) ,H ,L ,0.4 ,0 ),COLORFF66FF;{粉} STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),COLOR0000BB; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,2.4 ,1 ),COLOR0000DD; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,1.8 ,1 ),COLORCC11FF; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,1.2 ,1 ),COLORCC44FF; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C>=O ,O ,C ,0.4 ,1 ),COLORCC66FF; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C<O ,O ,C ,3 ,0 ),COLOR9900FF; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C<O ,O ,C ,2.4 ,0 ),COLORFF22FF; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C<O ,O ,C ,1.8 ,0 ),COLORFF66FF; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C<O ,O ,C ,1.2 ,0 ),COLORFF99FF; STICKLINE(M3>=M13 AND M34<REF(M34,1) AND C<O ,O ,C ,0.4 ,0 ),COLORFFCCFF;。

【股票指标公式下载】-【通达信】兄弟投机(经典KDJ、波段雄鹰、三色必杀、黑马侦探)

【股票指标公式下载】-【通达信】兄弟投机(经典KDJ、波段雄鹰、三色必杀、黑马侦探)

【通达信】兄弟投机(经典KDJ、波段雄鹰、三色必杀、黑马侦探)-指标公式源码{参数:N 2 90 9M1 2 30 3M2 2 30 3}{投机指标}TJZB1:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLOR0080FF;TJZB2:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORGREEN;TJZB3:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000;TJZB4:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF;{经典KDJ}RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);J:=3*K-2*D;{波段雄鹰}VAR5E:=LLV(LOW,26);VAR6E:=HHV(HIGH,34);VAR7E:=EMA((CLOSE-VAR5E)/(VAR6E-VAR5E)*4,4)*25;DRAWTEXT(VAR7E<10,10,'底'),COLORWHITE;DRAWTEXT(VAR7E>90,90,'顶'),COLORGREEN;{三色必杀}VVAR1:=(C-MA(C,6))/MA(C,6)*100;VVAR2:=(C-MA(C,24))/MA(C,24)*100;VVAR3:=(C-MA(C,32))/MA(C,32)*100;VVAR4:=(VVAR1+VVAR2+VVAR3)/3;VVAR5:=EMA(VVAR4,5);VVAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;VVAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SM A(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);VVAR8:=VVAR7<REF(VVAR7,1) AND V>REF(V,1) AND C>REF(C,1);AK:=EMA(VVAR5,5)*4;AD:=EMA(AK,5),COLORMAGENTA,LINETHICK2;AJ:=AK*3-AD*2,COLORYELLOW,LINETHICK2;看多:IF(LLV(VVAR6,3)<VVAR6,-15,DRAWNULL),LINETHICK2,COLORRED; 看空:IF(VVAR6=LLV(VVAR6,3),-15,DRAWNULL),LINETHICK2,COLORGREEN; 中短线:IF(AJ>AD,-10,DRAWNULL),LINETHICK2,COLORCC66FF;超短线:IF(VVAR8>0,-5,DRAWNULL),LINETHICK2,COLORYELLOW;不定区:IF(AJ<AD,-10,DRAWNULL),LINETHICK2,COLORFF9900;牛熊战区:IF(VVAR8=0,-5,DRAWNULL),LINETHICK2,COLOR6B8E23;{黑马侦探}W:=((-((100)*(HHV(H,14) - C))/(HHV(HIGH,14) - LLV(L,14))));A2:=MA(C,18);A3:=(C-A2)/A2*100>=-9.9 AND C<A2;RRV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RRG1:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*1;SKK:=EMA(SMA(RRG1,3,1),2);SDD:=SMA(SKK,3,1);WAR4:=SMA(RRV,3,1);WAR5:=SMA(WAR4,3,1);腰线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; KKA:=EMA(C-L,5) ;顶线:=MA((C+REF(C,1)+REF(C,1))/3+KKA,5);底线:=MA(REF(C,1)-KKA,5);MA20:= MA(C,20);BBA:=MA(C,2);CCA:=MA(C,10);DDA:=MA(C,20);EEA:=EXIST(CROSS(BBA,CCA) AND CROSS(BBA,DDA),1);VAAR6:="KDJ.J#WEEK"(9,3,3);VAAR8:="KDJ.J#MONTH"(9,3,3);DEA7:="MACD.DEA#WEEK";DIFF7:="MACD.DIF#WEEK";D7:=DIFF7-DEA7;DEA8:="MACD.DEA#MONTH";DIFF8:="MACD.DIF#MONTH";D8:=DIFF8-DEA8;P:=(HIGH+LOW+CLOSE)/3;CCI1:=(P-MA(P,14))*1000/(15*AVEDEV(P,14)),COLORRED;CCI2:=(P-MA(P,36))*1000/(15*AVEDEV(P,36)),COLORGREEN;DRAWTEXT(CROSS(VAAR6,0) AND D8>0 OR CROSS(VAAR8,0) AND D7>0,70,'黑马抄底'),COLOR0000FF;DRAWTEXT(CROSS(W,-2) AND CROSS(WAR4,WAR5) AND CROSS(SKK,SDD),50,'天天涨停'),COLOR0000FF;DRAWTEXT(A3 AND C/REF(C,1)>1.080,50,'美人如玉'),COLORRED; DRAWTEXT(腰线>O AND O>底线 AND C>顶线 AND C>MA20 AND C>腰线 AND EEA AND CROSS(WAR4,WAR5) AND CROSS(SKK,SDD),50,'明月战神'),COLORGREEN;DRAWTEXT(CROSS(CCI1,CCI2) AND REF(CCI1,1)=LLV(CCI1,25) ANDCROSS(K,D),0.4,'抄底王'),COLORYELLOW;{庄家抬轿}VAR1F:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1F-REF(VAR1F,1))/REF(VAR1F,1)*1000;STICKLINE(控盘<0,控盘,0,1,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:=IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:=IF(A10,5,0),LINETHICK1,COLORYELLOW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;有庄控盘:=IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW; VAR2F:=100*WINNER(CLOSE*0.95);STICKLINE(VAR2F>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF;高度控盘:=IF(VAR2F>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;主力出货:=IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW; {明月照积雪}RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;VAR4:=SMA(RV,3,1);VAR5:=SMA(VAR4,3,1);KK:=EMA(SMA(RG,3,1),2);DD:=SMA(KK,3,1);DRAWTEXT(CROSS(VAR4,VAR5) AND CROSS(KK,DD),35,'积雪'),COLOR00FFFF; STICKLINE(CROSS(VAR4,VAR5) AND CROSS(KK,DD),0,35,1,0),COLORMAGENTA; {兄弟波段战法}DTJJ:=(CLOSE+HIGH+LOW)/3;DTA:=EMA(DTJJ,10);DTB:=REF(DTA,1);STICKLINE(DTA>DTB,-20,-25,5,0),COLORYELLOW;STICKLINE(DTA<DTB,-20,-25,5,0),COLORBLUE;{黄托底蓝压顶}VARR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VARR2:=REF(VARR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR3:=REF(VARR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR4:=REF(VARR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR5:=REF(VARR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR6:=REF(VARR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR7:=REF(VARR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR8:=REF(VARR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR9:=REF(VARR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRA:=REF(VARR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARRB:=REF(VARRA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRC:=REF(VARRB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARRD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARRE:=REF(VARRD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRF:=REF(VARRE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR10:=REF(VARRF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR11:=REF(VARR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR12:=REF(VARR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR13:=REF(VARR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR14:=REF(VARR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR15:=REF(VARR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR16:=REF(VARR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR17:=REF(VARR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR18:=REF(VARR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR19:=REF(VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 ORVARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18,1) AND VARR1;VARR1A:=REF(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 ORVARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,1) AND VARRD;DRAWTEXT(VARR19,20,'黄托底'),COLORYELLOW;DRAWTEXT(VARR1A,80,'蓝压顶'),COLORLICYAN;{红色启动}启动线:=10*SUM(EMA((C+L)/2,2),5)/10.158,NODRAW;平衡线:=10*LLV(SUM( EMA((C+L)/2,2),5)/10.158,4),NODRAW;平台线:=10*LLV(SUM( EMA((C+L)/2,2),5)/10.158,10),NODRAW;强弱线:=EMA(启动线,21);VAR1:=2*MA(LLV((C+L)/2,8)*1.1,13)-EMA((C+L)/2,3)-((C+L)/2)*0.1;VAR2:=IF((EMA((C+L)/2,3)-VAR1)*5>0,POW((EMA((C+L)/2,3)-VAR1)*5,2)/10, -1*POW((EMA((C+L)/2,3)-VAR1)*5,2)/10);VAR3:=IF(VAR2>0,VAR2-0,0);STICKLINE(VAR3>0 AND REF(VAR3,1)=0 AND(C+L)/2>MA((C+L)/2,8),0,50,1,0),COLORYELLOW;DRAWTEXT(VAR3>0 AND REF(VAR3,1)=0 AND (C+L)/2>MA((C+L)/2,8),50,'红色启动');{短线高手}VAR1C:=1;VAR2C:=(2*CLOSE+HIGH+LOW)/4;VAR3C:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4C:=LLV(LOW,5);VAR5C:=HHV(HIGH,4);散户:=EMA((VAR2C-VAR4C)/(VAR5C-VAR4C)*100,4)*VAR3C*VAR1C;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3C*VAR1C;DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,40,'短快进'),COLOR00FF00;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,50,'低吸'),COLOR3399CC; DRAWTEXT(CROSS(庄家,散户) AND 散户>70,95,'高抛'),COLORMAGENTA;【通达信】兄弟投机(经典KDJ、波段雄鹰、三色必杀、黑马侦探)-指标公式效果图(文档来源:若水财经社区)。

通达信三色主力控盘指标源码

通达信三色主力控盘指标源码

通达信三色主力控盘指标源码摘要:1.通达信三色主力控盘指标简介2.指标原理及计算方法3.主力控盘指标的应用策略4.实战案例分析5.总结与建议正文:【一、通达信三色主力控盘指标简介】通达信三色主力控盘指标是一款用于分析主力资金运作情况的实用工具。

通过该指标,投资者可以直观地识别出主力资金的进出情况,从而更好地把握市场趋势,寻找投资机会。

【二、指标原理及计算方法】通达信三色主力控盘指标是基于主力资金的运作规律而设计的。

主力资金通常会在低位吸筹,在高位出货,从而实现利润最大化。

该指标通过计算主力资金的进出量,以及资金运作的节奏,为投资者提供判断市场趋势的依据。

计算方法如下:1.主力资金进出量:通过计算成交量与换手率的比值,得出主力资金的进出情况。

2.资金运作节奏:通过计算不同时间段内的资金进出量,分析资金运作的节奏。

3.颜色变化:红色表示主力资金流入,绿色表示主力资金流出,蓝色表示资金运作平缓。

【三、主力控盘指标的应用策略】1.判断市场趋势:当红色区域扩大,说明主力资金积极流入,市场趋势向上;当绿色区域扩大,说明主力资金流出,市场趋势向下。

2.寻找买卖点:当主力资金进出量增大,且颜色为红色,可视为买入信号;当主力资金进出量增大,且颜色为绿色,可视为卖出信号。

3.分析资金运作节奏:通过观察不同时间段内的资金进出量和颜色变化,分析主力资金的运作节奏,以便更好地把握市场动态。

【四、实战案例分析】以下将以某只股票为例,分析通达信三色主力控盘指标在实战中的应用。

1.案例概述:通过观察股票价格走势图,可以发现该股票在近期出现了一波上涨行情。

2.分析主力控盘指标:在上涨过程中,主力资金进出量逐渐增大,且以红色区域为主,说明主力资金积极流入。

3.操作策略:在主力资金持续流入的情况下,投资者可以适时跟进,分享上涨行情带来的收益。

【五、总结与建议】通达信三色主力控盘指标为投资者提供了一个有效的分析工具,通过识别主力资金的进出情况和运作节奏,有助于把握市场趋势,寻找投资机会。

【股票指标公式下载】-【通达信】极品三色线(散户、庄家)

【股票指标公式下载】-【通达信】极品三色线(散户、庄家)

【通达信】极品三色线(散户、庄家)-指标公式源码EMA3:=EMA(C,3),COLORWHITE;EMA5:=EMA(C,5),COLORYELLOW;EMA10:=EMA(C,10),COLORFF00FF;EMA20:=MA(C,20),COLORFFCC66;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<3,L-0.05,'←低吸'),COLORLIRED; DRAWTEXT(CROSS(庄家,散户) AND 散户>5,H+0.05,'←高抛'),COLORGREEN; DRAWICON(CROSS(散户,庄家) AND 散户<10,L-0.05,1);DRAWICON(CROSS(庄家,散户) AND 散户>20,H+0.05,2);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,10),10)/EMA(EMA(ABS(VAR9),20),20);卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,11)*10+CLOSE,22);B1:IF(CROSS(买线,卖线),L-0.05,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;S1:IF(CROSS(20,RSI)*10,H+0.05,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELL OW;VC:=((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100+(CLOSE-MA(CLOSE,20))/MA(CLOS E,20)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;S2:=IF(VC>20 AND FILTER(VC<REF(VC,1),5),H+0.05,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;A0:=(L+H+C*2)/4;A1:EMA(A0,5)COLORBLUE,LINETHICK2;A2:=EMA(A0,10)COLORLIBLUE,LINETHICK2;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;看多:IF(A1X>=0 ANDBARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL ),COLORMAGENTA{,LINETHICK2};逃顶:IF(A1X<0 ANDBARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL ),COLORCYAN,{LINETHICK2};买入持股:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK3;卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3; STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;【通达信】极品三色线(散户、庄家)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】几日均价(趋势线、红柱)

【股票指标公式下载】-【通达信】几日均价(趋势线、红柱)

【通达信】几日均价(趋势线、红柱)-指标公式源码RA:=LLV(LOW,35);RB:=HHV(HIGH,30);RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;近日均价:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;STICKLINE(RC<6 AND100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97 ,0 ,80,2 , 0),COLORYELLOW;WEN:=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); 趋势线:=WEN;红柱:=COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2;DRAWICON(红柱,0.3,1);RSI1:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE -REF(CLOSE,1)),6,1)))*(100);STICKLINE((RSI1 > 80),100,110,3,0),COLOR3333DD;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR18:=(HIGH+LOW+CLOSE)/3;VAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));VAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));VAR1B:=IF(VAR19>=150 AND VAR19<200 AND VAR1A>=150 AND VAR1A<200,-10,0); VAR1C:=IF(VAR19<=-150 AND VAR19>-200 AND VAR1A<=-150 ANDVAR1A>-200,10,0);VAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR1E:=100-ABS(VAR1D);出击2:IF(BARSCOUNT(CLOSE)<13,10,IF(VAR1E<92 ANDVAR1D<0,10,0)),COLORF00FF0,COLORFFFF00 ;出击1:IF(BARSCOUNT(CLOSE)<70,-10,IF(VAR1A<=-200 ANDVAR19<=-150,15,VAR1C)-10),COLORRED,LINETHICK2,;STICKLINE(趋势线>88,100,趋势线,4,1),COLORGREEN;STICKLINE(COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2,0,50,4,0),COLORWHITE;Y:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LL V(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);R7:=LLV(L,30); R8:=HHV(H,30);E:=EMA((C-R7)/(R8-R7)*4,4)*25;STICKLINE(E>90,110,115,10,2),COLOR00FF00;AR:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;RV:=HHV(AR,30)*8;Q:=4*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-3*SMA(SMA((C-LLV(L ,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3.2,1);BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;MN:=MA(MM,3);VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;VAR3:=(2*CLOSE+HIGH+LOW)/4;VAR4:=LLV(LOW,26);VAR5:=HHV(HIGH,34);VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,16);VAR7:=SMA((SMA(VAR2,3,1)+3),3,1),LINETHICK3;VAR8:=EMA(VAR6,7);VAR9:=SMA(VAR1,3,1);VAR10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;VAR13:=(VAR10+VAR11+VAR12)/3;VAR14:=IF(VAR13<=-20,10,0);VAR15:=HHV(VAR14,10);VAR24:=LLV(LOW,36);VAR25:=HHV(HIGH,30);VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;底背离: IF((VAR26<10),90,100), COLORYELLOW,COLORFFFF00 ;VARO2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100; VARO3:=SMA(SMA(VARO2,3,1),3,1);VARO4:=EMA(VARO3,5);VARO5:=LLV(LOW,26);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<6),80,100),LINETHICK2, COLOR00CCFF;【通达信】几日均价(趋势线、红柱)-指标公式效果图(文档来源:若水财经社区)。

通达信三色主力控盘指标源码

通达信三色主力控盘指标源码

通达信三色主力控盘指标源码(原创实用版)目录1.通达信三色主力控盘指标概述2.通达信三色主力控盘指标的计算方法3.通达信三色主力控盘指标的应用与实战4.通达信三色主力控盘指标的优缺点分析正文一、通达信三色主力控盘指标概述通达信三色主力控盘指标是一种基于股票市场中主力资金动向的技术指标。

通过分析主力资金的进出情况,帮助投资者判断股票的涨跌趋势,从而为投资者提供决策依据。

通达信三色主力控盘指标主要分为红、黄、蓝三种颜色,每种颜色代表不同的主力资金状态。

二、通达信三色主力控盘指标的计算方法通达信三色主力控盘指标的计算方法较为复杂,主要包括以下几个步骤:1.计算主力资金净流入:主力资金净流入=主力资金流入 - 主力资金流出。

2.计算主力资金流入强度:主力资金流入强度=主力资金流入/市场总资金。

3.计算主力资金流出强度:主力资金流出强度=主力资金流出/市场总资金。

4.根据主力资金净流入、主力资金流入强度和主力资金流出强度计算出红、黄、蓝三种颜色的指标值。

三、通达信三色主力控盘指标的应用与实战通达信三色主力控盘指标在实际应用中,主要通过分析红、黄、蓝三种颜色的指标值来判断主力资金的动向。

具体应用方法如下:1.当红色指标值持续增加时,说明主力资金正在积极买入,股价可能会上涨。

2.当黄色指标值持续增加时,说明主力资金流入强度较高,但并未明显买入,股价可能处于震荡阶段。

3.当蓝色指标值持续增加时,说明主力资金正在积极卖出,股价可能会下跌。

四、通达信三色主力控盘指标的优缺点分析通达信三色主力控盘指标的优点在于能够直观地反映主力资金的动向,帮助投资者判断股票的涨跌趋势。

然而,该指标也存在一定的缺点,例如:1.通达信三色主力控盘指标并不能完全准确地预测股票的价格走势,因为股票价格受到多种因素的影响。

通达信三色球+主力建仓+主力进场主图副图指标加密

通达信三色球+主力建仓+主力进场主图副图指标加密

通达信三色球+主力建仓+主力进场主图副图指标加密
以下是通达信三色球+主力建仓+主力进场主图/副图/指标加密(无源码的请下载附件导入)
任何时间,总有滞胀或者错杀的股票。

真正的三好股票(好公司、好股票、好价格),总会是打不到的小强。

很多亏钱散户,总是在追涨杀跌的路上。

有些股票持续下跌后一蹶不振,有些则是主力在偷偷收集带血的筹码,后期上涨可期。

以下我收集整理并优化的指标,可以很明晰地发现主力建仓的价格区间和成本,一旦主力完成筹码收集,发起上攻,则可以择时(重要均线支持日或突破日)搭主力的车,坐等盈利。

利用这一系统,我去年以来账户翻了四倍(601012两波、603489)。

主图出现三色球,表示主力吸筹完毕准备进攻,主力建仓和主力进场能清晰地显示主力收集筹码的力度和时间。

该系统也可以切换成周线选股,也可以观察大盘主力吸筹情况。

为了显示我利用这个系统的有效性,晒出了我3月23日参加网络炒股比赛后战绩的贴图。

【】【】【】【】【】通达信散户线指标公式源码(附图)

【】【】【】【】【】通达信散户线指标公式源码(附图)

【】【】【】【】【】通达信散户线指标公式源码(附图)通达信散户线指标公式源码如下:M:=60;N:=30;散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)) COLORGRAY;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;STICKLINE(C>0,85,85,6,1),COLORMAGENTA;操作指导线:60,COLORRED;VAR1:=1;VAR2:=REF(LOW,1)*VAR1;VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;VAR5:=LLV(LOW,30)*VAR1;VAR6:=HHV(VAR4,30)*VAR1;VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7*VAR1;VAR9:=IF(VAR8>100,100,VAR8)*VAR1;吸筹:STICKLINE(VAR9>-150,0,VAR9,6,1),COLORMAGENTA;趋势线:=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) COLORRED LINETHICK2;STICKLINE(C>0,10,10,6,1),COLORFFAA00;见底信号:=10;买点准备:IF(趋势线<=10,30,0) COLORYELLOW;买入时间:IF(CROSS(趋势线,见底信号),50,0) COLORGREEN;VAR84:=SMA(ABS(L-REF(L,1)),13,1)/SMA(MAX(L-REF(L,1),0),13,1);底部动量:EMA(IF(L<=LLV(L,30),VAR84,0),3)*10,COLORA0A0FF;起动:EMA(J,6),COLORRED LINETHICK1;抄底'逃顶'指标{-----------------}EMA250:MA(C,250),COLORRED;EMA6:MA(C,6),COLORRED LINETHICK2;EMA18:MA(C,18),COLORYELLOW;EMA55:MA(C,55),COLORFF00FF;EMA144:MA(C,144),COLORGREEN;EMA288:MA(C,288),COLORBLUE;中线【买入】:=COUNT(CLOSE<EMA18,5)=4 ANDCLOSE/EMA18>1.004 AND CROSS(CLOSE,EMA18) AND EMA18>=REF(EMA18,1),LINETHICK,COLORRED;DRAWTEXT(中线【买入】,LOW*0.95,' 中线【买入】'),COLORRED;VL:=REF(LOW,1);VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;VAR14:=MA(VAR12,13);VAR15:=LLV(LOW,34);VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);DRAWTEXT(T,LOW-0.4,'←洗盘结束'),COLORFF00FF;DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF;VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);VAR24:=SMA(VAR23,3,1);VAR25:=CROSS(VAR23,VAR24) AND VAR23<20;DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.4,'←抄底'),COLORRED;DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'|'),COLORRED;VAR29:=CROSS(VAR24,VAR23) AND VAR23>80;DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,'←逃顶'),COLORBLUE;DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'|'),COLORBLUE;多空指标{--------------------------------}DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);DEA:=EMA(DIFF,9);MA(C,8),COLORWHITE;MA(C,21),COLORYELLOW;多头:STICKLINE(DIFF>DEA,C,O,3,-1),COLORRED;STICKLINE(DIFF>DEA,H,L,0,0),COLORWHITE;空头:STICKLINE(DIFF<=DEA,C,O,3,0),COLORWHITE;STICKLINE(DIFF<=DEA,H,L,0,0),COLORWHITE;DRAWTEXT(CROSS(DIFF,DEA),L*0.98,'B'),COLORYELLOW;DRAWTEXT(CROSS(DEA,DIFF),H*1.02,'S'),COLORGREEN;DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA1:=EMA(DIFF1,9);MA(C,8),COLORWHITE;MA(C,21),COLORYELLOW;多头1:STICKLINE(DIFF1>DEA1,C,O,3,0),COLORRED;STICKLINE(DIFF>DEA1,H,L,0,0),COLORRED;空头1:STICKLINE(DIFF1<=DEA1,C,O,3,0),COLORYELLOW;STICKLINE(DIFF1<=DEA1,H,L,0,0),COLORYELLOW;DRAWTEXT(CROSS(DIFF1,DEA1),L*0.98,'B'),COLORWHITE;DRAWTEXT(CROSS(DEA1,DIFF1),H*1.02,'S'),COLORGREEN;指标原理该指标给出散户线值,通过观察散户值增减变化可以了解主力的操作行为。

三色图指标(通达信软件安装主图指标)

三色图指标(通达信软件安装主图指标)
当满足条件(VARC=1)时,在最低价位置书写文字,COLOR0000FF
当满足条件(VARD=1)时,在最高价位置书写文字,COLOR00FF00
VAR01赋值:最高价-最低价和最高价-昨收的绝对值的较大值和最低价-昨收的绝对值的较大值的25日累和
VAR02赋值:最高价-昨日最高价
VAR03赋值:昨日最低价-最低价
VAR13赋值:VAR12的3日[1日权重]移动平均
VAR14赋值:VAR13 AND VAR13<20
MM赋值:P AND I AND VAR10 AND VAR14
当满足条件W=1000时,在最高价*1.05位置书写文字,COLOR00FF00
当满足条件I=1000时,在最低价*0.95位置书写文字,画红色
VAR07:=VAR05*100/VAR01;
VAR08:=MA(ABS(VAR07-VAR06)/(VAR07+VAR06)*100,15);
VAR09:=(VAR08+REF(VAR08,15))/2;
P:=(VAR07>VAR06 AND VAR07>25 AND VAR06<25);
B:=ZIG(3,50/5)*100,COLORRED,LINETHICK2;
N:=8;
M:=REF(CLOSE,1);
A:=SMA(MAX(CLOSE-M,0),N,1)/SMA(ABS(CLOSE-M),N,1)*100,COLORYELLOW,LINETHICK1;
B0:=A=DRAWLINE(A>=HHV(A,N),A,A<=LLV(A,N),1,A),COLOR00FF00;
当满足条件CC时,在最高价*1.02位置画2号图标

通达信徐文明的牛熊三色通达信附图公式

通达信徐文明的牛熊三色通达信附图公式

通达信徐文明的牛熊三色通达信附图公式•通达信徐文明的牛熊三色通达信附图公式
有一种判断股票运行趋势强弱的方法,被称为“牛熊三色”,牛熊三色每翻红一色,就可以增加1/3的仓位,三色全翻红的时候基本可以满仓。

这三色分别是:
1、MACD指标,DIFF金叉DEA,即MACD出现红柱的时候即为翻红;
2、SAR指标,股价重新回到SRA指标以上,SAR转向到股价之下运行即为翻红;
3、EXPMA指标,7号操盘线(参数7)金叉2号操盘线(参数21)即为翻红。

根据上面意思,编写出下面通达信附图公式,供大家参考
DIF:=EMA(C,12)-EMA(C,26);
1.DEA:=EMA(DIF,9);
2.MACD:=(DIF-DEA)*2,COLORSTICK;
3.MACD翻红:CROSS(DIF,DEA);
4.SAR翻红:CROSS(C,SAR(10,2,20));
5.EMA翻红:CROSS(EXPMA(C,7),EXPMA(C,21));。

通达信神奇曲线指标公式

通达信神奇曲线指标公式

通达信神奇曲线指标公式该20个抄底指标是我的20个抄底指标汇总而成,其成功率都是在70%以上,这样在一个图中就可显示,方便大家节约画面和看盘。

1.20个指标都没有未来函数,不漂移。

2.当其中的指标出信号后会在副图指标上显示相对应的指标名称和成功率,简介清楚,方便判断。

3.尽量选用底部指标共振的,这样成功率会更高,使操作更靠谱。

4.选股可以到通达信综合选股按钮选取你自己想要选取的指标进行选股。

5.指标不是万能的,只是一个参考工具!如能结合其他指标综合判断其效果更佳。

指标源码250,COLORWHITE,LINETHICK4;{1.高春牛组合90%--信号少}CAR1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR2:=CLOSE/REF(CLOSE,1)>1.028;CAR3:=MA(CLOSE,10)>CLOSE*1.05;CAR4:=MA(CLOSE,10)<CLOSE*1.1;CAR5:=MA(CLOSE,60)>CLOSE*1.28;金牛:=CAR1 AND CAR2 AND CAR3 AND CAR4 AND CAR5;DIF1:=(CLOSE-SMA(CLOSE,7,1))/SMA(CLOSE,7,1)*(-100);DEA1:=REF(DIF1,1)>13 AND REF(DIF1,1)/DIF1>1.3 AND CLOSE/REF(CLOSE,1)>1.03;KOV:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),28,0);PIC:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),18,0);春笋:=IF(DEA1 AND REF(CLOSE,1)<=COST(5),1,0) AND C<MA(C,60);VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(VAR2+2*VAR3+3*VAR4)/6;VAR6:=MA(VAR5,3);D02:=VAR6<=-10;VAR11:=CLOSE/MA(CLOSE,30)*100<75;VAR12:=CLOSE/MA(CLOSE,50)*100<78;VAR13:=CLOSE/MA(CLOSE,70)*100<72;VAR14:=HIGH>LOW*1.053;VAR15:=VAR14 AND COUNT(VAR14,5)>2;VAR16:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D4:=VAR15 AND VAR16;高精:=D02 AND COUNT(D4,3)>=1;高春牛组合:金牛 AND 春笋 AND 高精,COLORLIMAGENTA;STICKLINE(高春牛组合,0,210,3,0),COLORLIMAGENTA;DRAWTEXT(高春牛组合,210,'↙高春牛组合90%'),COLORLIMAGENTA;{2明道88%}AAA:=(C-MA(C,90))/MA(C,90)*100;BBB:=(COST(11)-CLOSE)/CLOSE>0.15;明道:CROSS(AAA,-26) AND BBB,COLOR00F5C2;STICKLINE(明道,0,200,3,0),COLOR00F5C2;DRAWTEXT(明道,200,'↙明道88%'),COLOR00F5C2;{3赢一波组合84%}BIAS0:=(C-MA(C,2))/MA(C,2)*100;HXL:=V/CAPITAL*100;D1:=INDEXC;D2:=MA(D1,13);DR2:=D2>1.040*D1;E1:=(C-HHV(C,12))/HHV(C,12)*10;E2:=(C-REF(C,26))/REF(C,26)*10;E3:=MA(C,3);SJ1:=DR2;SJ2:=E2<-2.30;SJ3:=BIAS0<-2.7;SJ5:=SJ1 AND SJ2 AND SJ3;一:=CROSS(0.5,SJ5);C1X:=((MA(C,30)-L)/MA(C,60))*200;M1X:=REF(CLOSE,1);M2X:=SMA(MAX(CLOSE-M1X,0),7,1)/SMA(ABS(CLOSE-M1X),7,1)*100;G1X:=FILTER(REF(M2X,1)<20 AND M2X>REF(M2X,1),5);TUX:=C/MA(C,40)<0.74;TDJX:=(H-L)/REF(C,1)>0.05;YULX:=COUNT(TDJX,5)>1;启动X:=TUX AND TDJX AND YULX;波:=FILTER((G1X AND C1X>20 OR C>REF(C,1)) AND REF(启动X,1),10);ETG1:=CLOSE/MA(CLOSE,30)*100<75;ETG2:=CLOSE/MA(CLOSE,50)*100<78;ETG3:=HIGH>LOW*1.053;ETG4:=ETG3 AND COUNT(ETG3,5)>2;ETG5:=ETG4 AND (ETG1 OR ETG2);ETG6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);ETG7:=(CLOSE-ETG6)/ETG6*100;赢:=REF(ETG7,1)<-34 AND ETG7>REF(ETG7,1) AND REF(ETG7,1)<REF(ETG7,2)AND ETG7-REF(ETG7,1)>1.76 OR ETG5;赢一波组合:赢 AND 一 AND 波,COLOR2A2AA3;STICKLINE(赢一波组合,0,190,3,0),COLOR2A2AA3;DRAWTEXT(赢一波组合,190,'↙赢一波组合84%'),COLOR2A2AA3;{4率土之滨-85%信号较少}X01:=MA(C,10)/C>1.055;X02:=MA(C,10)/C<1.1;X03:=MA(C,60)/C>1.28;X04:=C/REF(C,1)>1.028;X05:=H>L*1.05 AND COUNT(H>L*1.05,5)>3;X06:=O/HHV(C,30)<0.78;X07:=V<MA(V,5) AND MA(V,5)<MA(V,55);X08:=O=LLV(O,30);率土之滨:X01 AND X02 AND X03 AND X04 AND X05 AND X06 AND X07 AND X08,COLORFFFFAA;STICKLINE(率土之滨,0,180,3,0),COLORFFFFAA;DRAWTEXT(率土之滨,180,'↙率土之滨84%'),COLORFFFFAA;{5钻石底-87%}VBR:=C<REF(C,4);NT0:=BARSLASTCOUNT(VBR);TJ21:=NT0=6 ;底6:=COUNT(NT0=6,5)=1;VBR1:=DMA(CLOSE,VOL/SUM(VOL,34));VBR2:=DMA(CLOSE,VOL/SUM(VOL,13));VBR3:=(CLOSE-VBR1)/VBR1*100;VBR4:=(CLOSE-VBR2)/VBR2*100;Y1:=VBR4<=-17 AND VBR3<=-25;去除ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);去除停牌:=DYNAINFO(4)>0;去除:=去除ST AND 去除停牌;Q1:=底6 AND Y1 AND 去除;超卖区:=MA((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ,2);Q2:=超卖区<-20;钻石底:Q1 AND Q2 AND C>REF(C,1)*0.91 AND C<REF(C,1) AND INDEXC<REF(INDEXC,1) AND REF(C>REF(C,1),1),COLOR0033FF;STICKLINE(钻石底,0,170,3,0),COLOR0033FF;DRAWTEXT(钻石底,170,'↙☆☆钻石底87%'),COLOR0033FF;{6金牛起步83%}CAR0:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);CAR02:=CLOSE/REF(CLOSE,1)>1.028;CAR03:=MA(CLOSE,10)>CLOSE*1.05;CAR04:=MA(CLOSE,10)<CLOSE*1.1;CAR05:=MA(CLOSE,60)>CLOSE*1.28;金牛起步:CAR0 AND CAR02 AND CAR03 AND CAR04 AND CAR05,COLOR0060FF;STICKLINE(金牛起步,0,160,3,0),COLORWHITE;STICKLINE(金牛起步,0,160,3.2,0),COLOR555555;STICKLINE(金牛起步,0,160,2.6,0),COLOR777777;STICKLINE(金牛起步,0,160,1.9,0),COLOR999999;STICKLINE(金牛起步,0,160,1.1,0),COLORCCCCCC;STICKLINE(金牛起步,0,160,0.3,0),COLORCCDDBB;DRAWTEXT(金牛起步,160,'↙金牛起步83%'),COLOR0060FF;{7超跌选股80%}AAA1:=BARSLASTCOUNT(C>REF(C,4));高A:=( AAA1=1);VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*200+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*300+(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100)/6;VAR02:=MA(VAR1,6);VAR03:=(HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)>0.3 AND(HHV(HIGH,60)-REF(C,1))/HHV(HIGH,60)<0.4;超跌选股:CROSS(VAR1,VAR02) AND VAR1<-8.5 AND VAR03 AND 高A;STICKLINE(超跌选股,0,150,3,0),COLORBD4DB6;DRAWTEXT(超跌选股,150,'↙超跌选股80% '),COLORBD4DB6;{8锤头王-80%}CD1:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.57;CD2:=LOW/MIN(CLOSE,OPEN)<=0.97;EMA9:=EMA(CLOSE,9);XSLDN:=EMA(EMA9*0.86,5);CD3:=C<=XSLDN;CD4:=REF(C,1)/REF(XSLDN,1)<0.98;锤头王:C/REF(C,1)>0.99 AND CD1 AND CD2 AND CD3 AND CD4,COLOR9F46B4;STICKLINE(锤头王,0,140,3,0),COLOR9F46B4;DRAWTEXT(锤头王,140,'↙80% '),COLOR9F46B4;{9核心低点-81%}X_01:=O/HHV(C,30)<0.78;X_02:=C/MA(C,50)<0.78;X_03:=O=LLV(O,30);X_04:=C/SMA(C,13,1)-1;X_05:=REF(X_04,1)<-0.13;X_06:=REF(X_04,1)/X_04>1.1582;X_07:=REF(C,1)<=COST(5);X_08:=COUNT(H>L*1.05,5)>2;核心低点:X_01 AND X_02 AND X_03 AND X_05 AND X_06 AND X_07 AND X_08,COLORLIGREEN;STICKLINE(核心低点,0,130,3,0),COLORLIGREEN;DRAWTEXT(核心低点,130,'↙核心低点81%'),COLORLIGREEN;{10狗头金综75%}BIAS01:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS02:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS03:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,11)*100;老二:=IF(BIAS02<=-10,1,0);DIF3:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA3:=EMA(DIF3,9);MACD3:=(DIF3-DEA3)*2;爆发:=MACD3<0 AND MACD3>REF(MACD3 ,1) AND REF(MACD3 ,1)<REF(MACD3 ,2)AND REF(MACD3 ,2)<REF(MACD3 ,3)AND REF(MACD3 ,3)<REF(MACD3 ,4);VVAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VVAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VVAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VVAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VVAR5:=(VAR2+2*VVAR3+3*VVAR4)/6;VVAR6:=MA(VVAR5,3);大底:=VVAR6<=-10;VVAR11:=CLOSE/MA(CLOSE,20)*100<80;VVAR12:=CLOSE/MA(CLOSE,40)*100<78;VVAR13:=CLOSE/MA(CLOSE,60)*100<72;VVAR14:=HIGH>LOW*1.051;VVAR15:=VVAR14 AND COUNT(VVAR14,5)>1;中底:=VVAR15 AND (VVAR11 OR VVAR12 OR VVAR13);操盘:=EMA((CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);跟风:=EMA((CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);见到曙光:=CROSS(操盘,跟风) AND 操盘 <0 AND 跟风 <0;趋势线1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ;AAX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-30)AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-30,趋势线1),1) AND CROSS(趋势线1,-30)) OR 趋势线1=-30;砸盘:=IF(AAX,500,-30);BBX:=((REF(趋势线1,1)<REF(趋势线1,2) AND 趋势线1<-20 AND 趋势线1>-25) AND 趋势线1>=REF(趋势线1,1)) OR (REF(CROSS(-20,趋势线1),1) AND CROSS(趋势线1,-20));XG:=BBX;WW:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);MM:=DMA(CLOSE,WW);通道4:=(1-7/100)*MM;VAR84:=EXPMA(CLOSE,9);LDN:=EXPMA(VAR84*0.86,5);TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));TTRR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI:=DMP*100/TTRR;MDI:=DMM*100/TTRR;ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);买底:=C<=通道4 AND C<=LDN AND CCI<-100AND ADX>=60 AND MDI >= PDI AND CLOSE>OPEN;VAR82:=LLV(LOW,10);VAR83:=HHV(HIGH,25);能量:=EMA((CLOSE-VAR82)/(VAR83-VAR82)*4,4);底:=0.2;关注:=0.5;红色箭头:=FILTER(CROSS(能量,关注),20);XXG:=买底 OR 红色箭头;AX:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);BX:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);MBX:=SMA((BX-50)*2,3,1)+SMA((AX-50)*2,3,1)/2;狗头金:=MBX<-90;狗头金综: 狗头金AND COUNT(XG,5) AND COUNT(中底,3) AND NOT(COUNT(XXG,1)) AND NOT(COUNT(见到曙光,3)) AND COUNT(老二,3) AND 大底 AND 爆发,NODRAW,COLORFF7080;STICKLINE(狗头金综,0,120,3,0),COLORFF7080;DRAWTEXT(狗头金综,120,'↙☆☆狗头金75%'),COLORFF7080;{11高精抄底75%}DIF:=EMA(CLOSE,12)-EMA(CLOSE,150);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;VAR7:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);VAR8:=MACD<0 AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);VAR9:=MACD<0 AND REF(MACD,1)<REF(MACD,2);VAR10:=VAR7 OR VAR8 OR VAR9;D3:=VAR10;VAR016:=(VAR11 AND VAR12) OR (VAR12 AND VAR13) OR (VAR11 AND VAR13);D04:=VAR15 AND VAR16;趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;AA:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;BB:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-20 AND 趋势线>-25) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20));D5:=BB;SHYY:=D2 AND D3 AND COUNT(D04,3)>=1 AND COUNT(D5,5)>=1;高精抄底:BARSLASTCOUNT(SHYY)=1,COLORE55B35;STICKLINE(高精抄底,0,110,3,0),COLORE55B35;DRAWTEXT(高精抄底,110,'↙高精抄底75%'),COLORE55B35;{12吉祥低吸75%}VARR2:=(2*CLOSE+HIGH+LOW)/4;VARR4:=LLV(LOW,5);VARR5:=HHV(HIGH,4);吉:=EMA((VARR2-VARR4)/(VARR5-VARR4)*100,4);祥:=EMA(0.667*REF(吉,1)+0.333*吉,2);获利比:=(WINNER(C*125/100)-WINNER(C))*100<7.5;吉祥低吸:CROSS(吉,祥) AND 吉<30 AND 获利比,COLOR93CB3F;STICKLINE(吉祥低吸,0,100,3,0),COLOR93CB3F;DRAWTEXT(吉祥低吸,100,'↙高精抄底75%'),COLOR93CB3F;{13抄底深套盘76%}深套:WINNER(C)*100<10 AND (WINNER(C*1.25)-WINNER(C))*100<20AND C/REF(C,1)>1.0138 AND V/REF(V,1)<1,COLOR802391;STICKLINE(深套,0,100,3,0),COLOR802391;DRAWTEXT(深套,100,'↙深套75%'),COLOR802391;{14大红马75%}VARR10:=EMA(WINNER(C)*70,3);VAR20:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);VAR30:=C/MA(C,40)*100<76;VAR40:=C/MA(C,60)*100<74;VAR50:=H>L*1.051;VAR60:=VAR50 AND COUNT(VAR50,5)>1;VAR70:=(WINNER(C*125/100)-WINNER(C))*100<7.5;VAR80:=1;TZB:=-0.2*(VAR60 AND (VAR30 OR VAR40) AND VAR20<20 AND VARR10<20 AND VAR70 AND VAR80);DHM:=TZB<0 AND REF(TZB,1)=0;风险值:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)<=10;机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1);HJ_11:=CLOSE/MA(CLOSE,40);HJ_12:=CLOSE/MA(CLOSE,60)*100<71;大魔鬼:=CROSS(HJ_11,HJ_12) AND 风险值 AND 机会来临;大红马:DHM OR 大魔鬼,COLOR3369FF;STICKLINE(大红马,0,90,3,0),COLOR3369FF;DRAWTEXT(大红马,90,'↙大红马75%'),COLOR3369FF;{15逆市买入77%}VAR31A:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR32A:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR31:=(CLOSE-VAR31A)/VAR31A*100<-8;VAR32:=(VAR31A-VAR32A)/VAR32A*100<-21;VAR33:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05;VAR34:=COUNT(NOT(C=O),8)>=8;逆市买入:VAR31 AND VAR32 AND VAR33 AND VAR34,COLOR588500;STICKLINE(逆市买入,0,80,3,0),COLOR588500;DRAWTEXT(逆市买入,80,'↙逆市买入77%'),COLOR588500;{16短线黑马-76%}VAR1C:=DMA(C,VOL/MA(VOL,4)/4);VAR2C:=DMA(C,VOL/MA(VOL,33)/33);VAR3C:=(C-VAR1C)/VAR1C*100<-11;VAR4C:=(VAR1C-VAR2C)/VAR2C*100<-22.3;VAR5C:=VAR3C AND VAR4C AND COUNT(C<>O,7);VAR6C:=DMA(C,VOL/MA(VOL,3)/3);VAR7C:=DMA(C,VOL/MA(VOL,33)/33);VAR8C:=(C-VAR6C)/VAR6C*100<-5;VAR9C:=(VAR6C-VAR7C)/VAR7C*100<-18;VARDC:=VAR8C AND VAR9C AND (O-REF(C,1))/REF(C,1)>-0.05;VAREC:=VARDC AND COUNT(VARDC,2)=1;DXHM:=VAR5C OR VAREC;趋势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1);HMA:=CROSS(趋势,0.15);X_21:=(C-MA(C,25))/MA(C,45)*123;BAME:=CROSS(X_21,(-25)) AND C>REF(C,1);HJ_1:=C/MA(C,40);HJ_2:=C/MA(C,60)*100<71;MOGU:=CROSS(HJ_1,HJ_2);短线黑马:(DXHM AND HMA) OR (BAME AND MOGU),COLORF7A186;STICKLINE(短线黑马,0,70,3,0),COLORF7A186;DRAWTEXT(短线黑马,70,'↙短线黑马77%'),COLORF7A186;{17神剑出鞘-70%}T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;T2:=(C-EMA(C,58))/EMA(C,58)<-0.19; 买1:=T2 AND T1;T4:=(C-MA(C,2))/MA(C,2)*100;T5:=INDEXC;T6:=MA(T5,13);T7:=T6>1.050*T5;T8:=(C-REF(C,26))/REF(C,26)*10;T9:=T7;T10:=T8<-2.30;T11:=T4<-2.7;T12:=T9 AND T10 AND T11;T13:=CROSS(0.5,T12);T14:=CROSS(T13,0.5);T15:=BARSLAST(T14=1);T16:=T15<=5 AND C<REF(C,T15);买2:=T13 OR T16;T17:= (C-MA(C,2))/MA(C,2)*100;T18:=INDEXC;T19:=MA(T18,56);T20:=T18/T19<0.94;T21:=(C-REF(C,26))/REF(C,26)*10;T22:=T20;T23:=T21<-2.55;T24:=T17<-2.7;T25:=T22 AND T23 AND T24;T26:=CROSS(0.5,T25);T27:=CROSS(T26,0.5);T28:=BARSLAST(T27=1);T29:=T28<=5 AND C<1.02*REF(C,T28); 底4:=T26 OR T29;T30:= (C-MA(C,2))/MA(C,2)*100;T31:=INDEXC;T32:=MA(T31,13);T33:=T32>1.050*T31;T34:=(C-REF(C,26))/REF(C,26)*10;T35:=T33;T36:=T34<-2.69;T37:=T30<-3.09;T38:=T35 AND T36 AND T37;T39:=CROSS(0.5,T38);T40:=CROSS(T39,0.5);T41:=BARSLAST(T40=1);T42:=T41<=5 AND C<REF(C,T41);买3:=COUNT(T39 OR T42,4)=4;T43:=EMA(((C*1.1-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630))-(C*0.9-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630)))*80,5);T44:=INDEXC;T45:=MA(T44,5);T46:=MA(T44,20);T47:=MA(T44,30);T48:=T45>T44*1.03 AND T46>T44*1.13;T49:=T48;目标:=COUNT(T43<6 AND T49,3)>=3;新目标:=买3 OR 目标;SHYY1:=IF(((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 OR COUNT(买2 AND 底4,5)=5) OR 新目标),1,0);神剑出鞘:BARSLASTCOUNT(SHYY)=1,COLORFF0080;STICKLINE(神剑出鞘,0,60,3,0),COLORFF0080;DRAWTEXT(神剑出鞘,60,'↙神剑出鞘70%'),COLORFF0080;{18成功抄底-77%}AA1:=('999999$C'/REF('999999$C',20)-1)*100<-16 AND (C/REF(C,27)-1)*100<-35;A96:=FILTER(AA,3);VBR41:=1;VAR013:=V/CAPITAL;REC1:=REF(C,1);VBR42:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,50,0);VBR43:=(-100)*(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))+100;VBR44:=(-100)*(HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))+100;VBR45:=(-100)*(HHV(H,70)-C)/(HHV(H,70)-LLV(L,70))+100;VBR46:=((C-MA(C,34))/MA(C,34)*100+10)*5;VBR47:=((C-MA(C,50))/MA(C,50)*100+10)*5;VBR48:=((C-MA(C,70))/MA(C,70)*100+10)*5;VBR49:=(VBR43+VBR44+VBR45+VBR46+VBR47+VBR48)/6; VBR60:=EMA(VBR49,3);VBR61:=ABS(VBR46-VBR48);VBR62:=(VBR49+VBR61)/2;VBR50:=IF(VBR62<0 AND C=LLV(C,5) AND C/REC1>0.905 AND C/REC1<1.05 AND VAR13*100<5,-50,0);VBR53:=REF(C,2)*0.865;VBR54:=REF(C,13)*0.772;VBR55:=MIN(VBR53,VBR54);VBR56:=100*VAR013;VBR58:=IF((C-VBR55)/C<0.03 AND SUM(VBR56,5)/5<1.8,1,0);VBR59:=IF(VBR58>0 AND (VBR50<0 OR VBR42>0),100,0);VBR1F:=MA(C,80)-MA(C,10)/2.5;F98:=VBR59 AND C<VBR1F*VBR41;UAR13:=EMA(SLOPE(C,3)*20+C,66)*1;UAR14:=MA(C,80)-MA(C,10)/2.9;DQR1:=MA(C,80)-MA(C,13)/3;DQR2:=MA((C-DQR1)/DQR1,1);DQR3:=EMA(DQR2,12)*0.7;DQR4:=EMA(DQR2,3);底部将成:=IF(LLV(DQR4-DQR3,12)>0,0,-3);下降通道:=MA(C/2/(MA(C/2,30)*0.83),3)<1.045 AND REF(C,9)*0.8>O;ZAA1:=MA(C,18);ZAA2:=(C-ZAA1)/ZAA1*100;ZAA3:=MA(ZAA2,1);ZAA4:=BARSLAST(CROSS(-10,ZAA3)=1);信号滤:=IF(ZAA3<-10 AND ZAA4>=5,ZAA3,0)*1;DQSE:=(IF(WINNER(1.1*C)<0,0,WINNER(1.1*C))-IF(WINNER(0.9*C)<0,0,WINNER(0.9*C)))*100;DQS16:=IF(DQSE<0,0,DQSE);DQS17:=MA(C,35)-MA(C,5)/7;异动:=PWINNER(10,DQS16)<0.5 AND C<DQS17;C95:=C<UAR14 AND V/240>MA(V,5)/240 AND UAR13>REC1*1.08 AND UAR13<MA(UAR13,13)*1.91 AND 底部将成 AND 下降通道 AND 信号滤 AND 异动;成功抄底:A96 OR F98 OR C95,COLOR62B18A;STICKLINE(成功抄底,0,50,3,0),COLOR62B18A;DRAWTEXT(成功抄底,50,'↙成功抄底77%'),COLOR62B18A;{19MACD选股-77%}MA5:=MA(C,5);MA10:=MA(C,10);MA15:=MA(C,15);MA20:=MA(C,20);MA30:=MA(C,30);MA40:=MA(C,40);MA60:=MA(C,60);DIF2:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA2:=EMA(DIF2,9);MACD2:=(DIF2-DEA2)*2;上影线:=(H-MAX(C,O))/(MAX(C,O)-MIN(C,O));下影线:=(MAX(C,O)-L)/(MAX(C,O)-MIN(C,O));水上金叉:=REF(MACD2,3)=LLV(MACD2,10) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.5,1.8) AND EVERY(DEA2>=0,50) AND NOT(REF((O<MA20 AND C>MA5),2)) AND NOT(O=L) AND NOT(REF(O=L,2)) AND NOT(O>MA5 AND L<=MA5) AND NOT(REF(H=MA5,3)) AND REF(下影线<5.24,3)AND NOT(REF(C=L,3)) AND V>REF(V,1)*1.51 AND NOT(C<O) AND NOT(REF(CROSS(MA15,MA10),2)) AND NOT(REF(L<MA5 AND O>MA10 AND O>C,1)) AND NOT(REF(CROSS(MA10,MA5),2));水下金叉:=REF(MACD2,3)=LLV(MACD2,11) AND REF(MACD2<0,3) AND EVERY(MACD2>REF(MACD2,1),2) AND CROSS(DIF2,DEA2) AND EVERY(DEA2<0,14) AND BETWEEN(V,MA(V,10)*0.662,MA(V,10)*0.75)AND BETWEEN(HHV(MACD2,28)/ABS(LLV(MACD2,7)),0.8,1.9) AND NOT(CROSS(MA15,MA20)) AND NOT(C=O) AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(CROSS(MA20,MA10)) ANDNOT(H>MA10 AND CROSS(C,MA10)) AND NOT(H>MA20 AND L<MA5) AND NOT(REF(H>MA20 AND L<MA5,1)) ANDNOT(REF(CROSS(MA20,MA10),2)) AND 下影线<15.99 AND NOT(REF(CROSS(MA15,MA10),1)) AND NOT(O=L) AND REF(下影线<8.24,2) AND NOT(REF(L<MA5 AND CROSS(C,MA10),1)) AND REF(下影线<5.99,1);金叉:=水上金叉 OR 水下金叉;底0:=BETWEEN(LLV(MACD,30),-0.0002,-0.6) AND REF(CROSS(DIF,DEA) AND BETWEEN(V,MA(V,10)*0.35,MA(V,10)*0.75) ,3) AND CROSS(MA5,MA10) AND BETWEEN(V,REF(V,1)*0.6,REF(V,1)*1.2) AND NOT(O<MA30 AND C>MA30 AND C>MA20) AND NOT(L<MA5 AND L<MA30 AND C>MA5) AND NOT(CROSS(MA15,MA30)) AND NOT(CROSS(MA20,MA30)) AND C>O AND 下影线<3.27AND 上影线<7.74 AND NOT(H>MA20 AND O<MA15 AND MA20>MA15) AND NOT(CROSS(MA5,MA30) AND CROSS(MA5,MA20) AND CROSS(MA5,MA15)) AND NOT(C>MA40 AND L<MA30 AND MA40>MA30)AND NOT(REF(CROSS(MA10,MA5) AND C>MA60 AND L<MA60,4)) AND NOT(CROSS(MA5,MA30)) AND NOT(CROSS(MA20,MA40)) AND NOT(REF(V>REF(V,1)*2.22,1)) AND NOT(REF(C=O,3))AND NOT(REF(CROSS(MA5,MA15),1)) ;底1:=底0 AND NOT(REF(CROSS(MA20,MA10),3)) AND NOT(REF(CROSS(MA10,MA5),3)) AND NOT(REF(O>MA10 AND L<MA5 AND MA10>MA5 AND C<O,2))AND NOT(REF(H>MA20 AND O<MA15,1)) AND REF(下影线<22.99,1) AND NOT(REF(CROSS(C,MA10) AND CROSS(C,MA15),1)) AND REF(上影线<35.99,2);MACD选股:金叉 OR 底1,COLORFF00FF;STICKLINE(MACD选股,0,40,3,0),COLORFF00FF;DRAWTEXT(MACD选股,40,'↙MACD选股77%'),COLORFF00FF;{20大周期底部73%-满回塘}L40:=MA(C,40);L60:=MA(C,60);VVAR01:=CLOSE/L40*100<78;VVAR02:=CLOSE/L60*100<74;VVAR03:=HIGH>(LOW*1.051);VVAR04:=VAR03 AND COUNT(VAR03,5)>1;VVAR05:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100;DJH:=IF((REF(C,13)-CLOSE)/REF(C,13)*100*VVAR02>15AND SUM(VOL/CAPITAL,13)*100<18 AND VOL/CAPITAL*100<2.5AND (REF(C,1)-CLOSE)/REF(C,1)*100<8 AND VVAR05<=50 AND VVAR04AND (VVAR01 OR VVAR02),1,0);大周期底部:FILTER(DJH,6)NODRAW,COLORLICYAN;STICKLINE(大周期底部,0,30,3,0),COLORFF00FF;DRAWTEXT(大周期底部,30,'↙大周期底部73%'),COLORFF00FF;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【通达信】极品三色线(散户、庄家)-指标公式源码
EMA3:=EMA(C,3),COLORWHITE;
EMA5:=EMA(C,5),COLORYELLOW;
EMA10:=EMA(C,10),COLORFF00FF;
EMA20:=MA(C,20),COLORFFCC66;
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;
DRAWTEXT(CROSS(散户,庄家) AND 散户<3,L-0.05,'←低吸'),COLORLIRED; DRAWTEXT(CROSS(庄家,散户) AND 散户>5,H+0.05,'←高抛'),COLORGREEN; DRAWICON(CROSS(散户,庄家) AND 散户<10,L-0.05,1);
DRAWICON(CROSS(庄家,散户) AND 散户>20,H+0.05,2);
VAR9:=CLOSE-REF(CLOSE,5);
VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);
VARC:=EMA(EMA(VAR9,10),10)/EMA(EMA(ABS(VAR9),20),20);
卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);
DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,11)*10+CLOSE,22);
B1:IF(CROSS(买线,卖
线),L-0.05,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;
S1:IF(CROSS(20,RSI)*10,H+0.05,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELL OW;
VC:=((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100+(CLOSE-MA(CLOSE,20))/MA(CLOS E,20)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;
S2:=IF(VC>20 AND FILTER(VC<
REF(VC,1),5),H+0.05,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;
A0:=(L+H+C*2)/4;
A1:EMA(A0,5)COLORBLUE,LINETHICK2;
A2:=EMA(A0,10)COLORLIBLUE,LINETHICK2;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;
看多:IF(A1X>=0 AND
BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL ),COLORMAGENTA{,LINETHICK2};
逃顶:IF(A1X<0 AND
BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL ),COLORCYAN,{LINETHICK2};
买入持股:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK3;
卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK3; STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;
STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;
STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;
STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;
【通达信】极品三色线(散户、庄家)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档