【股票指标公式下载】-【通达信】殷保华变色MA(工作线、生命线)

合集下载

殷保华特色指标原码

殷保华特色指标原码

殷保华特色指标原码(江恩八线+4号箱体)(转录)2007年07月13日星期五21:55{公称名称: 保华均线}MA25:EMA(CLOSE,25);牛熊分水岭:EMA(CLOSE,905);STICKLINE((MA25 > 牛熊分水岭),MA25,牛熊分水岭,1,0),colorFF;STICKLINE((MA25 < 牛熊分水岭),MA25,牛熊分水岭,1,0),colorFF00;DRAWICON(CROSS(MA25,牛熊分水岭),(牛熊分水岭* 0.98),6);{公称名称: 保华提醒}VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100); 买入:(VAR1 AND VAR2),STICK,colorFF;卖出:CROSS(80,VAR4),STICK,colorFF00;{公称名称: 江恩八线}一号线:EMA(CLOSE,144);工作线:EMA(CLOSE,14),colorFF;二号线:EMA(CLOSE,25);三号线:EMA(CLOSE,318);生命线:EMA(CLOSE,453),LINETHICK2,colorFF;五号线:EMA(CLOSE,550);六号线:EMA(CLOSE,610);七号线:EMA(CLOSE,730);八号线:EMA(CLOSE,888);九号线:EMA(CLOSE,99),colorFF00;{公称名称: 买卖奇准}你:=MA(CLOSE,1);老:=(((LOW + HIGH) + CLOSE) / 3);板:=MA(老,5);好:=HHV(板,10);老板:=MA(老,5);买卖:=LLV(老板,10);急买奇准:IF(LLV((你< 买卖),5),50,0),colorFF;急卖奇准:IF(HHV((你< 好),5),100,50),colorFF0000;短买奇准:IF(LLV((你< 买卖),10),50,0),colorFFFFFF;短卖奇准:IF(HHV((你< 好),10),100,50),colorFF00;{公称名称: 四号箱体}HEPG:(EMA(CLOSE,450) * 2.14),colorFFFFFF;MA03:(EMA(CLOSE,450) * 2.01),colorFF00FF;MA02:(EMA(CLOSE,450) * 1.88),colorFF00;MA01:(EMA(CLOSE,450) * 1.75),colorFFFFFF;MA1:(EMA(CLOSE,450) * 1.66),colorFF0000;MA2:(EMA(CLOSE,450) * 1.5),colorFF00FF;MA3:(EMA(CLOSE,450) * 1.37),colorFFFF;MA4:(EMA(CLOSE,450) * 1.33),colorFF00FF;MA5:(EMA(CLOSE,450) * 1.25),colorFF00;MA6:(EMA(CLOSE,450) * 1.14),colorFFFFFF;MA7:(EMA(CLOSE,450) * 0.99),colorFFFFFF;MA8:(EMA(CLOSE,450) * 0.84),colorFFFFFF;工作线:EMA(CLOSE,14),colorFFFFFF;生命线:EMA(CLOSE,47),colorFFFF;{公称名称: 准备买入}n:=5;var1:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1),COLORYELLOW,linet hick0;var2:8,colorgreen,linethick0;上升在即: IF(CROSS(var1,var2),80,0),stick,COLOR0000cc,linethick2;专吸庄血: IF(var1<=8,25,0),stick,COLORwhite,linethick2;DRAWTEXT(CROSS(var1,var2),80,'准备买入'),COLOR00ffff;Varo5:=LLV(LOW,27);Varo6:=HHV(HIGH,34);Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;建仓区: IF((Varo7<10),80,100) ,color00ccff,linethick1;0,linethick2 ,colorffcc00⑴测算反弹的理论高度。

通达信指标公式源码生命线买卖— 副图源码

通达信指标公式源码生命线买卖— 副图源码

生命线:MA(CLOSE,26),COLORRED,LINETHICK2;STICKLINE(C>=生命线AND C>=O,C,O,7,0),COLORRED;STICKLINE(C>=生命线AND C>=O,H,L,0,0),COLORRED;DP:=IF(C=INDEXC,0,1);GJ:=AMOUNT/V/100 ;多头线:EMA(C,1.5),COLORYELLOW;空头线:EMA(C,5),COLOR00FF00;均衡线:EMA(空头线,5),COLORWHITE;VARF1:=COUNT(CROSS(多头线,均衡线),2)=1; VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;ZAI:=FILTER(VARF1 AND VARF2,2); DRAWTEXT(ZAI,均衡线*0.98,' 主力拉升'),COLOR00FF00;MTM:=CLOSE-REF(CLOSE,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF>9.8,O,C,6,0),COLORRED;STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE; VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),8);DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);DRAWTEXT(CROSS(VAR2,MA (VAR3,6)),(LOW * 0.984),'买'),COLOR4440FF;DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'卖'),COLORFFFF34;VARE1:=EMA(C,3);VARE2:=EMA(C,5);VARE3:=EMA(C,10);VAR4:=EMA(C,20);VAR5:=EM A(C,30);VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,1 5)*100;VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;VAR9:=EMA(VAR7,8);STICKLINE(VAR7<1*REF(VAR7,1),H,L,0.5,0),COLORBLUE; STICKLINE(VAR7<1*REF(VAR7,1),O,C,5,1),COLORBLUE;STICKLINE(VAR7>1*REF(VAR7,1),H,L,0.5,0),COLORRED;STICKLINE(VAR7>1*REF(VAR7,1),O,C,5,1) ,COLORRED;STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0.5,0),COLORGREEN;STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,5,1),COLORGREEN;买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);STICKLINE(买进条件,H,L,0.5,1),COLORWHITE,LINETHICK2; STICKLINE(买进条件,O,C,6,0),COLORWHITE,LINETHICK2;加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);STICKLINE(加码条件,H,L,0.5,1),COLORYELLOW,LINETHICK2; STICKLINE(加码条件,O,C,6,0),COLORYELLOW,LINETHICK;。

【股票指标公式下载】-【通达信】操盘组合系统(单线变色、抢反弹)

【股票指标公式下载】-【通达信】操盘组合系统(单线变色、抢反弹)

【通达信】操盘组合系统(单线变色、抢反弹)-指标公式源码VAR1:="KDJ.K#DAY"(9,3,3);VAR2:="KDJ.D#DAY"(9,3,3);RJ:="KDJ.J#DAY"(9,3,3);STICKLINE(RJ<REF(RJ,1),98,94,2,0),COLOR00AA00;STICKLINE(RJ>=REF(RJ,1),100,92,3,0),COLORFF00FF;STICKLINE(VAR1<=20,100,97,4,0),COLOR0000FF;STICKLINE(VAR1>VAR2,82 ,90 ,6 ,0 ),COLOR0000FF;STICKLINE(VAR1<VAR2,82 ,90 ,6 ,0 ),COLOR00FF00;DRAWTEXT(CURRBARSCOUNT=5,88,'日KDJ'),COLORFF0000;DRAWTEXT(CURRBARSCOUNT=5,98,'日J拐点'),COLORFFFF00;VAR3:="KDJ.K#WEEK"(9,3,3);VAR4:="KDJ.D#WEEK"(9,3,3);ZJ:="KDJ.J#WEEK"(9,3,3);STICKLINE(ZJ>=REF(ZJ,1),80,72,3,0),COLORDD00DD;STICKLINE(ZJ<REF(ZJ,1),74,78,2,0),COLOR00AA00;STICKLINE(VAR3>VAR4,70 ,62 ,6 ,0 ),COLOR0000DD;STICKLINE(VAR3<VAR4,70,62 ,6 ,0 ),COLOR00BB00;DRAWTEXT(CURRBARSCOUNT=5,68,'周KDJ'),COLORFFFF00;DRAWTEXT(CURRBARSCOUNT=5,78,'周J拐点'),COLORFFFF00;VAR5:="KDJ.K#MONTH"(9,3,3);VAR6:="KDJ.D#MONTH"(9,3,3);YJ:="KDJ.J#MONTH"(9,3,3);STICKLINE(YJ<REF(YJ,1),58,54,2,0),COLOR00AA00;STICKLINE(YJ>=REF(YJ,1),60,52,3,0),COLORBB00BB;STICKLINE(VAR5>VAR6,50 ,42 ,6 ,0 ),COLOR0000BB;STICKLINE(VAR5<VAR6,50,42 ,6 ,0 ),COLOR009900;DRAWTEXT(CURRBARSCOUNT=5,48,'月KDJ'),COLORFFFF00;DRAWTEXT(CURRBARSCOUNT=5,58,'月J拐点'),COLORFFFF00;STICKLINE( CLOSE>0,81,81 ,10 ,0 ),COLORBLACK;STICKLINE( CLOSE>0,61,61,10,0 ),COLORBLACK;VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:=MA(OBV,30);STICKLINE(OBV>=MAOBV,40,32,4,0),COLORFF00FF;STICKLINE(OBV<MAOBV,38,34,2,0),COLOR00AAAA;DRAWTEXT(CURRBARSCOUNT=5,38,'OBV'),COLORFFFF00;DX:=MA(MA(CLOSE,3),1);STICKLINE(C>0,28,24,2,0),COLOR00AAAA;STICKLINE(DX>=REF(DX,1),30,22,4,0),COLORDD00DD;DRAWTEXT(CURRBARSCOUNT=7,28,'单线变色'),COLORFFFF00;VARA1:=1;VARA2:=((((2*CLOSE)+HIGH)+LOW) / 4);VARA4:=LLV(LOW,5);VARA5:=HHV(HIGH,4);C1:=(EMA((((VARA2-VARA4)/(VARA5-VARA4))*100),4)*VARA1);C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VARA1);STICKLINE(C>0,18,14,2,0),COLOR00AAAA;STICKLINE(C1>C2,20,12,4,0),COLORAA00AA;DRAWTEXT(CURRBARSCOUNT=7,19,'抢反弹'),COLORFFFF00;VAR22:=(HIGH+LOW+CLOSE*2)/4;VAR32:=EMA(VAR22,7);VAR42:=STD(VAR22,7);VAR52:=(VAR22-VAR32)*100/VAR42;VAR62:=EMA(VAR52,3);WW:=(EMA(VAR62,5)+100)/2-3,COLORFF00FF,LINETHICK2;MM:=HHV(WW,3),COLORFF00FF,LINETHICK2;AAA:=MM,COLOR00FFFF,LINETHICK2;BBA:=WW,COLOR0000FF,LINETHICK2;STICKLINE(WW>=REF(WW,1) ,10,2,4,0),COLOR990099;STICKLINE(REF(WW,1)>WW,8,4,2,0),COLOR00AAAA;DRAWTEXT(CURRBARSCOUNT=7,8,'开天辟地'),COLORFFFF00;R1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*200;R2:=EMA((CLOSE-(LLV(LOW,5)))/((HHV(HIGH,5))-(LLV(LOW,5)))*100,4)*2; R3:=EMA(0.618*REF(R2,1)+0.382*R2,2);R4:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);R5:=POW(MA(LOW,5),2)+MA(LOW,5);R6:=POW(MA(HIGH,5),2)+MA(HIGH,5);R7:=(R4-LLV(R5,64))/(HHV(R6,64)-LLV(R5,64))*150+65-10;R8:=SMA((SMA(R7,3,1)*1.5-100),3,1);R9:=3*(SMA(R7,3,1)*1.5-100)-2*R8;R10:=(HIGH+LOW+CLOSE*2)/4;R11:=(R10-(EMA(R10,13)))*100/(STD(R10,13));R12:=EMA((EMA(R11,5)),13)+200-100;R13:=(SMA(R1,3,1))+R2+(SMA(R7,3,1)*1.5-100)+R12;R14:=(SMA((SMA(R1,3,1)),3,1))+R3+R8+(EMA(R12,10));R15:=(3*(SMA(R1,3,1))-2*(SMA((SMA(R1,3,1)),3,1)))+(3*R12-2*(EMA(R12,1 0)))+R9+(3*R12-2*(EMA(R12,10)));R16:=(HIGH+LOW+CLOSE)/3;R17:=(R16-MA(R16,34))/(0.015*AVEDEV(R16,34));R18:=(HIGH+LOW+CLOSE+R16)/4;R19:=(R18-(EMA(R18,24)))/(STD(R18,24))*100;R20:=(R16-MA(R16,24))/(0.015*AVEDEV(R16,24));R21:=(((EMA(R19,5))+R20+R17)/3+165)/4;R22:=(R13+R14+R15*30)/32/5-15;AA:=EMA(((R21+R22)/2/1.1),1);BB:=MA(AA,3);STICKLINE(C>0,-2,-6,2,0),COLOR00AAAA;STICKLINE(AA>=BB,0,-8,4,0),COLOR770077;STICKLINE(AA>=REF(AA,1),-3,-5,4,0),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=7,-2,'简洁操盘'),COLORFFFF00;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1),COLORFFFFFF,LINETHICK1;D:SMA(K,3,1),COLORYELLOW,LINETHICK1;J:(3*K-2*D),COLORFFFF00,LINETHICK2;IF(RJ>=REF(RJ,1),RJ,DRAWNULL),COLORFF0000,LINETHICK2;【通达信】操盘组合系统(单线变色、抢反弹)-指标公式效果图(文档来源:若水财经社区)。

[原创]殷保华均线MA(通达信指标)

[原创]殷保华均线MA(通达信指标)

[原创]殷保华均线MA(通达信指标)[原创]殷保华均线MA(通达信指标)本文来自:股票之声论坛 topic-56194.htm 作者:赢牛市一号线:EMA(CLOSE,144);工作线:EMA(CLOSE,14),COLORRED;二号线:EMA(CLOSE,25);三号线:EMA(CLOSE,318);生命线:EMA(CLOSE,453),COLORRED,LINETHICK2;五号线:EMA(CLOSE,550);六号线:EMA(CLOSE,610);七号线:EMA(CLOSE,730);八号线:EMA(CLOSE,888);九号线:EMA(CLOSE,99),COLORGREEN;DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));DEA:=EMA(DIFF,9);MACD:=0.90*(DIFF-DEA);TJ:=(DIFF>=DEA);TJ1:=(DIFF>=0);STICKLINE(TJ,H,L,0.5,0),COLORYELLOW;STICKLINE(TJ,O,C,4,0),COLORYELLOW;STICKLINE(TJ1 AND TJ,H,L,0.5,0),COLORF00FF0; STICKLINE(TJ1 AND TJ,O,C,4,1),COLORF00FF0; STICKLINE(DIFF<DEA,H,L,0.5,0),COLORF0F000; STICKLINE(DIFF<DEA,O,C,4,0),COLORF0F000;解说1.所有密码线突破后都等回抽买入,否则放弃。

2.任何价位均线都是逐条突破,没有规律的放弃。

3.25日线突破四天不破可阴线时买入(越接近均线越好),操盘线一样。

其它均线回抽不破就可买。

(股价当天同时突破25天平均线和1号操盘线.4. 使用乾隆金典版软件,日线要用“不除权”。

(可以参考000725京东方除权后正好在453天均线受阻)重要提示:线指平均线(任何一条)买入后有赢利也要卖出。

通达信指标公式源码 变色k线主图指标

通达信指标公式源码 变色k线主图指标

DRAWGBK(O>C,RGB(360,0,10),RGB(10,0,1),0,'01',0);CC:IF(CURRBARSCOUNT<18,CONST(REF(C,1)),DRAWNULL),COLOR000000; 止赢:1.05*CC,COLORFFFFFF,LINETHICK2;止损:0.97*CC,COLORFFFFFF,LINETHICK2;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK1,COLORCC66FF;阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK1,COLORGREEN;涨幅:100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORWHITE;最大涨幅:100*(H-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORYELLOW; 最大跌幅:100*(L-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORYELLOW;实体幅:ABS(100*(CLOSE-OPEN)/OPEN),NODRAW,COLORRED;上影幅:IF(CLOSE>OPEN,100*(H-C)/C,100*(H-O)/O),NODRAW,COLORYELLOW; 下影幅:IF(CLOSE>OPEN,100*(O-L)/L,100*(C-L)/L),NODRAW,COLORWHITE; X:=(3*C+L+O+H)/6;AH1:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*RE F(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*R EF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*RE F(X,18)+REF(X,20))/210;CP:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/ 12);AH2:=EXPMEMA(CP,25);持股线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; VAR2M:=CLOSE*VOL;VAR3M:=EMA((EXPMA(VAR2M,3)/EXPMA(VOL,3)+EXPMA(VAR2M,6)/EXPMA(V OL,6)+EXPMA(VAR2M,12)/EXPMA(VOL,12)+EXPMA(VAR2M,24)/EXPMA(VOL,2 4))/4,13);SDN:=VAR3M*0.94;涨停B:=CLOSE>1.1*REF(CLOSE,1)-0.005 AND H>L;首个涨停:=BARSLAST(涨停B);大阳:=100*(H-REF(C,1))/REF(C,1)>7;DRAWICON((C>SDN AND 100*(L-持股线)/持股线<1.5 AND100*(L-((MIN(AH2,AH1)+MIN(持股线,AH2)+MIN(持股线,AH1))/2.95))/((MIN(AH2,AH1)+MIN(持股线,AH2)+MIN(持股线,AH1))/2.95)<1.5 AND (COUNT(大阳{ OR 倍量},13)>=2 OR 首个涨停<13) AND BARSLAST(大阳)>0 AND 涨幅<=2),L*0.98,1);DRAWTEXT(CLOSE>1.1*REF(CLOSE,1)-0.005,CLOSE*1.02,'停,'),COLORCYAN; DRAWTEXT(CLOSE<0.9*REF(CLOSE,1)+0.005,L*0.98,'停,'),COLORCCCCCC; VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;火:=BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1));CRXP:=((REF(上影幅,1)>3 AND REF(下影幅,1)<1.15))AND ((下影幅>3 AND 上影幅<1.55)) AND 涨幅<8;JM:=(3*SMA(SMA(VAR32,2,1),2,1)-2*SMA(SMA(SMA(VAR32,2,1),2,1),3,1)); 强势回调:=(首个涨停<14 OR (首个涨停<26 AND 首个涨停>19));搓揉:=((强势回调AND CRXP) OR (CRXP AND (JM>REF(JM,1) OR (火>0 AND JM<7))));DRAWTEXT_FIX(1,0.85,0,0,''),COLORCYAN;DRAWTEXT(搓揉,L*0.96,'★搓揉买入,'),COLORFFFFFF;回调搓合承受价:(MIN(AH2,AH1)+MIN(BBI,AH2)+MIN(BBI,AH1))/2.95,NODRAW;大盘短期生命线:EMA(((SLOPE(INDEXC,22)*23)+INDEXC),48),COLORYELLOW,LINETHICK3, NODRAW;DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);DA:=IF(CURRBARSCOUNT>DA1,0,DA1);HI:=REFDATE(HHV(H,DA),DATE);LO:=REFDATE(LLV(L,DA),DATE);C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);GZ:=EXP(LN(HI/LO)/10);LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);LH10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);L1:=REFDATE(HHV(LH1,DA),DATE);L2:=REFDATE(HHV(LH2,DA),DATE);L3:=REFDATE(HHV(LH3,DA),DATE);L4:=REFDATE(HHV(LH4,DA),DATE);L5:=REFDATE(HHV(LH5,DA),DATE);L6:=REFDATE(HHV(LH6,DA),DATE);L7:=REFDATE(HHV(LH7,DA),DATE);L8:=REFDATE(HHV(LH8,DA),DATE);L9:=REFDATE(HHV(LH9,DA),DATE);L10:=REFDATE(HHV(LH10,DA),DATE);SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0 ),,COLOR181818,LINETHICK3;STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*99/10 0,HI/POW(GZ,2),9,0),COLOR181818,LINETHICK3;STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*99/10 0,HI/POW(GZ,3),9,0),COLOR181818,LINETHICK3;STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*99/10 0,HI/POW(GZ,4),9,0),COLOR181818,LINETHICK3;STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*99/10 0,HI/POW(GZ,5),9,0),COLOR181818,LINETHICK3;STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*99/10 0,HI/POW(GZ,6),9,0),COLOR181818,LINETHICK3;STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*99/10 0,HI/POW(GZ,7),9,0),COLOR181818;STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*P OW(GZ,3)*99/100,9,0),COLOR181818,LINETHICK3;STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*P OW(GZ,2)*99/100,9,0),COLOR181818,LINETHICK3;STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)* 99/100,9,0),COLOR181818,LINETHICK3;DRAWKLINE(H,O,L,C);DRAWKLINE(H,O,L,C);DRAWTEXT(CURRBARSCOUNT=98,LOW*0.88,'☆压力越大暗条越长,做多越短越好★'),COLORYELLOW;N:=10;T1:=CONST(HHVBARS(V,10)),COLOR0000FF,LINETHICK1;量能平台:IF(CURRBARSCOUNT<=N+15,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL) ,COLOR4080FF,LINETHICK3;新量能点:IF(CURRBARSCOUNT=T1+1,量能平台,DRAWNULL),CIRCLEDOT,COLORFFFFFF,LINETHICK9;DRAWTEXT(ISLASTBAR,量能平台,' 量能平台'),COLOR00F0F0;JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,10);B:=REF(A,1);持股区域:STICKLINE(A>B,A,B,2,0),COLORYELLOW;持币区域:STICKLINE(A<B,A,B,2,0),COLORBLUE;。

【股票指标公式下载】-【通达信】四色彩带(绿带、红带、买点)

【股票指标公式下载】-【通达信】四色彩带(绿带、红带、买点)

【通达信】四色彩带(绿带、红带、买点)-指标公式源码LG:=C-REF(C,1);AA1:=LG-REF(LG,7);AA2:=LG-REF(LG,18);AA3:=LG-REF(LG,29);AA4:=LG-REF(LG,47);AA5:=LG-REF(LG,76);AA6:=LG-REF(LG,123);AA7:=LG-REF(LG,199);BB1:=(AA1+AA2+AA3+AA4+AA5+AA6+AA7);U:=BB1-REF(BB1,1);BB2:=SMA(U,5,1);YY1:=BB1-REF(BB1,1);绿带1:EMA(EMA(EMA(YY1,8),8),14),COLOR00FA00,LINETHICK4;绿带2:EMA(EMA(绿带1,3),3),COLORFFFF00,LINETHICK3;红带1:EMA(EMA(绿带2,3),3),COLORRED,LINETHICK3;红带2:EMA(红带1,11),COLORFF00FF,LINETHICK3;BB3:=REF(MA(H,1),15)>REF(MA(H,60),15) AND 绿带2<0;DD1:=MA(红带1,1)>REF(MA(红带1,1),1);DD2:=MA(绿带2,1)>REF(MA(绿带2,1),1);DD3:=MA(绿带1,1)>REF(MA(绿带1,1),1);DD4:=MA(红带2,1)>REF(MA(红带2,1),1);DRAWBAND(红带2,RGB(0,0,220),红带1,RGB(252,10,265));DRAWBAND(绿带1,RGB(255,255,0),绿带2,RGB(50,100,10));DRAWTEXT(FILTER(CROSS(绿带1,绿带2),5),绿带1-0.04,'买'),COLORFF00FF; DRAWTEXT(FILTER(CROSS(绿带2,绿带1),5),绿带1+0.04,'卖'),COLORWHITE; 买点:FILTER(CROSS(绿带1,绿带2),5)*0.01,COLOR808080;【通达信】四色彩带(绿带、红带、买点)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】中线波段(主力、散户、新庄)

【股票指标公式下载】-【通达信】中线波段(主力、散户、新庄)

【通达信】中线波段(主力、散户、新庄)-指标公式源码VAR1:=1;VAR2:=1/WINNER(CLOSE);VAR3:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);VARA:=3*VAR8-2*SMA(VAR8,15,1);VARB:=3*VAR9-2*SMA(VAR9,15,1);VARC:=100-VARB;主力: (100-VARA)*VAR1,COLOR0099FF;散户: MA(WINNER(CLOSE*0.95)*100,3)*VAR1,COLORYELLOW;新庄:(100-IF(VAR2>5,IF(VAR2<100,VAR2,VAR4-10),0))*VAR1,COLORGREEN,LINETHIC K1,POINTDOT ;VARD:=散户>VAR4;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=CLOSE-REF(CLOSE,1);VAR13:=MAX(VAR12,0);VAR14:=ABS(VAR12);VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;VAR17:=BARSCOUNT(CLOSE);VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50; STICKLINE(VARD,VAR4,散户,5,0),COLORWHITE;STICKLINE(1,新庄,100,1,0),COLORGREEN;STICKLINE(VAR20,0,80,5,0),COLORRED,LINETHICK3 ;100,COLORGREEN ,LINETHICK2 ;0,COLORYELLOW ,LINETHICK2 ;中线: 15,COLORBLUE ,LINETHICK2 ;【通达信】中线波段(主力、散户、新庄)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】神奇操盘线(行情线、黄金线)

【股票指标公式下载】-【通达信】神奇操盘线(行情线、黄金线)

【通达信】神奇操盘线(行情线、黄金线)-指标公式源码A:=AMOUNT/V/100;VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);QQ:=EMA(((VARA/10)+EMA(A,13)),0);行情线:=MA(A,1);重心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2 .382;【操盘线】:EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK4;【黄金线】:IF(重心>=【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK2; 【空仓线】:IF(重心<【操盘线】,【操盘线】,DRAWNULL),COLORCYAN,LINETHICK2; {DRAWTEXT(ISLASTBAR,【操盘线】,'【操盘线】'),COLORRED;}{引:EMA(CLOSE,2),LINETHICK1,COLORMAGENTA;探:MA(CLOSE,5),LINETHICK1;}变:EMA(CLOSE,5),LINETHICK2,COLORYELLOW;金:IF(变>REF(变,1),变,DRAWNULL),COLORRED,LINETHICK2;空:IF(变<REF(变,1),变,DRAWNULL),COLORGREEN,LINETHICK2;{DRAWTEXT(ISLASTBAR,变,'【雷达线】'),COLORRED;}{顶底信号}DA:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4;DB:=EMA(REF(HHV(H,25),1),2),COLORGREEN,LINETHICK1;{DRAWTEXT(CROSS(DB,DA),DB,'←险'),COLORGREEN,LINETHICK1;} DRAWTEXT(CROSS(DA,【操盘线】),【操盘线】-0.5,'★B'),COLORYELLOW,LINETHICK1;{涨跌停显示}涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0); STICKLINE(涨停,O,C,3,0),COLORYELLOW;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN;DA9:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;DB9:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;DRAWTEXT(CROSS(DA9-DB9,0),L*0.98,'B'),COLORYELLOW;JH9:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;DRAWTEXT(CROSS(84,JH9),H*1.02,'☆S'),COLORGREEN;【通达信】神奇操盘线(行情线、黄金线)-指标公式效果图(文档来源:若水财经社区)。

通达信指标公式源码工作线 主图源码

通达信指标公式源码工作线 主图源码

公式名称:分析家操盘线公式说明:线上操作,线下休息。

红色操作,绿色休息。

线上阴线买,线下阳线卖。

{JSXGWGZX}七天线:MA(C,7),COLORGRAY;工作线:(EMA(C,14)),POINTDOT,LINETHICK4,COLORYELLOW;生命线:(MA(C,25)),LINETHICK2,COLORMAGENTA;{不惑线:(MA(C,40)),COLORCYAN; }姊妹线:(EMA(C,56)),POINTDOT,COLORWHITE;A3:=EMA((((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);A5:=REF(C,2);A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);A8:=LLV(L,21);A9:=HHV(H,21);A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);A13:=LLV(L,55);A14:=HHV(H,34);A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);A16:=(A11 + A15) / 2;A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);A18:=EMA(A16,5);A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);A20:=CROSS(A10,A11);A21:=(CROSS(A10,A19)) AND (A19 < 30);A22:=A21 * 0.6;A23:=((C + L) + H) / 3;A24:=EMA(A23,6);A25:=EMA(A24,5);A26:=CROSS(A24,A25);DRAWICON(A26,(LOW / 1.015),1),LINETHICK2,COLORMAGENTA; DRAWTEXT(CROSS(A4,A3),L*0.9,'线上阴线买|线下阳线卖|黑马'),LINETHICK4,COLORYELLOW;STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED; STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED; STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED; STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED; STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN; STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN; STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN; STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.05,1,1,DYBLOCK),COLORYELLOW; 所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.06,1,0,HYBLOCK),COLORYELLOW; DRAWTEXT_FIX(1,0.11,1,0,EXTERNSTR(0,6)),COLORYELLOW; DRAWTEXT_FIX(1,0.12,1,0,EXTERNSTR(0,1))COLORYELLOW; DRAWTEXT_FIX(1,0.006,0.82,0,'主营业务')COLORFF00FF;DRAWTEXT_FIX(1,0.06,0.82,0,EXTERNSTR(0,2))COLORFF00FF; DRAWTEXT_FIX(1,0.006,0.71,0,'主题概念')COLORFF88FF;DRAWTEXT_FIX(1,0.06,0.71,0,EXTERNSTR(0,3))COLORFF88FF;。

【股票指标公式下载】-【通达信】红绿极限(吸筹、主力控盘)

【股票指标公式下载】-【通达信】红绿极限(吸筹、主力控盘)

【通达信】红绿极限(吸筹、主力控盘)-指标公式源码STICKLINE(C>0,0,100,15,0),COLOR7C221C;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=IF(VAR8>100,100,VAR8);吸筹:STICKLINE(VAR9>-120,0,VAR9,6,1),COLORF00FF0;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100,COLORYEL LOW,LINETHICK1;黄买:FILTER((REF(CLOSE,2)<CLOSE AND RSI<25),7),COLORYELLOW; STICKLINE(黄买,0,18,10,1),COLORYELLOW;黄卖:=FILTER((REF(CLOSE,2)>CLOSE AND RSI>80),7);STICKLINE(黄卖,100,82,10,1),COLORYELLOW;红买:FILTER(CROSS(RSI,11),7),COLORRED;STICKLINE(红买,0,12,6,1),COLORRED;红卖:=FILTER(CROSS(89,RSI),7);STICKLINE(红卖,100,88,6,1),COLORRED;绿买:FILTER(CROSS(RSI,20),7),COLOR00FF00;STICKLINE(绿买,0,6,6,1),COLOR00FF00;绿卖:=FILTER(CROSS(80,RSI),7);STICKLINE(绿卖,100,94,6,1),COLOR00FF00;★遵守纪律★:100,COLORRED;★交易之魂★:100,COLORRED;ZLC:= EMA((WINNER(CLOSE) * 70),3);SHC:= EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3); 主力控盘: ((ZLC / (ZLC+ SHC)) * 100),COLOR00FFFF,LINETHICK2;上限: HHV(主力控盘,20),COLORGREEN,LINETHICK2;下限: LLV(主力控盘,20),COLORRED,LINETHICK2;中线:(上限 + 下限)/2,COLORYELLOW,POINTDOT,LINETHICK2;60,LINETHICK4,POINTDOT,COLORYELLOW;10,LINETHICK4,POINTDOT,COLORFF00FF;VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;STICKLINE(A1,30,0,4,0),COLOR770077;STICKLINE(A1,30,0,3,0),COLOR990099;STICKLINE(A1,30,0,2,0),COLORBB00BB;STICKLINE(A1,30,0,1,0),COLORDD00DD;STICKLINE(A1,30,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,36,'满仓'),COLORRED;【通达信】红绿极限(吸筹、主力控盘)-指标公式效果图(文档来源:若水财经社区)。

通达信指标公式源码(MA均线)主图指标

通达信指标公式源码(MA均线)主图指标

(MA均线)主图指标M5:MA(C,5),COLORWHITE;M10:MA(C,10),COLORYELLOW;M20:MA(C,20),COLORCYAN;M60:MA(C,60),COLORGREEN,LINETHICK2;M120:MA(C,120),COLORRED,LINETHICK2;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);前期高位:REF(C,BARSLAST(HD)),COLOR8000FF,POINTDOT;STICKLINE(C,前期高位,前期高位,8,0),COLOR8000FF;JRH:=HHV(C,2);JRL:=LLV(C,2);VAR01:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR02:=(REF(VAR01,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR03:=(REF(VAR02,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR04:=(REF(VAR03,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR05:=(REF(VAR04,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR06:=(REF(VAR05,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR07:=(REF(VAR06,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR08:=(REF(VAR07,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR09:=(REF(VAR08,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARA:=(REF(VAR09,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)); VAR010:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR011:=(REF(VAR010,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR012:=(REF(VAR011,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR013:=(REF(VAR012,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR014:=(REF(VAR013,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR015:=(REF(VAR014,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR016:=(REF(VAR015,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR017:=(REF(VAR016,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR018:=(REF(VAR017,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR019:=((REF(VARD OR VARE OR VARF OR VAR010 OR VAR011 OR VAR012 OR VAR013OR VAR014 OR VAR015 OR VAR016 OR VAR017 OR VAR018,1)) AND VAR01);VAR1A:=((REF(VAR01 OR VAR02 OR VAR03 OR VAR04 OR VAR05 OR VAR06 OR VAR07 OR VAR08 OR VAR09 OR VARA OR VARB OR VARC,1)) AND VARD);红色持股:=VAR01 OR VAR02 OR VAR03 OR VAR04 OR VAR05 OR VAR06 OR VAR07 OR VAR08 OR VAR09 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;青色观望:=VARD OR VARE OR VARF OR VAR010 OR VAR011 OR VAR012 OR VAR013 OR VAR014 OR VAR015 OR VAR016 OR VAR017 OR VAR018,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);今离场价:REF(离场,1),COLOR0000FF,NODRAW;明进场价:=进,COLOR33AACC,NODRAW;今进场价:REF(明进场价,1),COLORGREEN,NODRAW;上涨家数:INDEXADV,COLOR0080FF,NODRAW;下跌家数:INDEXDEC,COLORGREEN,NODRAW;DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR00FFFF;DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR00FFFF;DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLOR00FFFF;超B:=L2_AMO(0,2)/10000.0;大B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;小B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;大S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;小S:=L2_AMO(3,3)/10000.0;TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0); 主力进:=(超B)+(大B),NODRAW;主力出:=(超S)+(大S),NODRAW;小散进:=(中B)+(小B),NODRAW;小散出:=(中S)+(小S),NODRAW;DAZHIV:=CONST(MAX(ABS(主力进),MAX(ABS(主力出),MAX(ABS(小散进),ABS(小散出))))),NODRAW;DRAWRECTREL(0,CONST(940-(ABS(主力进)*250/DAZHIV)),30,960,IF(CONST(主力进>0),RGB(255,0,0),RGB(23,125,255)));DRAWRECTREL(32,CONST(940-(ABS(主力出)*250/DAZHIV)),62,960,IF(CONST(主力出>0),RGB(23,125,255),RGB(255,0,0)));DRAWRECTREL(70,CONST(940-(ABS(小散进)*250/DAZHIV)),100,960,IF(CONST(小散进>0),RGB(255,0,0),RGB(23,125,255)));DRAWRECTREL(102,CONST(940-(ABS(小散出)*250/DAZHIV)),132,960,IF(CONST(小散出>0),RGB(23,125,255),RGB(255,0,0)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0001,0.9,0,STRCAT('',CON2STR(主力进/10,0))),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.033,0.9,0,STRCAT('',CON2STR(主力出/10,0))),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.07,0.9,0,STRCAT('',CON2STR(小散进/10,0))),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.101,0.9,0,STRCAT('',CON2STR(小散出/10,0))),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,1,0,'(X10万元)'),COLOR00FFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0,1,0,'主进出'),COLORCYAN;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.09,1,0,'散进出'),COLORCYAN;主力买力度:=LARGEINTRDVOL*1000/VOL;主力卖力度:=LARGEOUTTRDVOL*1000/VOL;AAD:=CONST(MAX(ABS(主力买力度),ABS(主力卖力度)))*4,NODRAW; DRAWRECTREL(0,515,CONST(ABS(主力买力度)*500/AAD),568,IF(CONST(主力买力度)>0,RGB(255,0,0),RGB(0,50,0)));DRAWRECTREL(0,570,CONST(ABS(主力卖力度)*500/AAD),623,IF(CONST(主力卖力度)>0,RGB(0,50,0),RGB(255,0,0)));DRAWTEXT_FIX(1,0,0.524,0,STRCAT('主买力度:',CON2STR(主力买力度,0))),COLORYELLOW;DRAWTEXT_FIX(1,0,0.576,0,STRCAT('主卖力度:',CON2STR(主力卖力度,0))),COLORYELLOW;VAR111:=ZIG(3,13);STICKLINE((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 <REF(VAR111,1)),CLOSE,OPEN,3,0),COLOR66FF00;DRAWTEXT_FIX(STICKLINE((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 < REF(VAR111,1)),CLOSE,OPEN,5,0),0.00,0.11,0,''),COLOR00FF00,LINETHICK1;VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20)))); VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20)))); VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) -LLV(LOW,5))),34));F:IF(CROSS(VAR200,MA(VAR300,5)),LOW *0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLOREE00EE;年:MA(CLOSE,22),LINETHICK2,COLORWHITE;MAA5:MA(C,5),COLORFF00FF,LINETHICK2;MAA10:=MA(C,10);MAA30:MA(C,30),COLORRED;KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖跟党走'),COLORYELLOW; STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95,100,0),COLORWHITE; DRAWNUMBER(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95);。

殷保华特色指标原码

殷保华特色指标原码

殷保华特色指标原码(江恩八线+4号箱体)(转录)2007年07月13日星期五21:55{公称名称: 保华均线}MA25:EMA(CLOSE,25);牛熊分水岭:EMA(CLOSE,905);STICKLINE((MA25 > 牛熊分水岭),MA25,牛熊分水岭,1,0),colorFF;STICKLINE((MA25 < 牛熊分水岭),MA25,牛熊分水岭,1,0),colorFF00;DRAWICON(CROSS(MA25,牛熊分水岭),(牛熊分水岭* 0.98),6);{公称名称: 保华提醒}VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100); 买入:(VAR1 AND VAR2),STICK,colorFF;卖出:CROSS(80,VAR4),STICK,colorFF00;{公称名称: 江恩八线}一号线:EMA(CLOSE,144);工作线:EMA(CLOSE,14),colorFF;二号线:EMA(CLOSE,25);三号线:EMA(CLOSE,318);生命线:EMA(CLOSE,453),LINETHICK2,colorFF;五号线:EMA(CLOSE,550);六号线:EMA(CLOSE,610);七号线:EMA(CLOSE,730);八号线:EMA(CLOSE,888);九号线:EMA(CLOSE,99),colorFF00;{公称名称: 买卖奇准}你:=MA(CLOSE,1);老:=(((LOW + HIGH) + CLOSE) / 3);板:=MA(老,5);好:=HHV(板,10);老板:=MA(老,5);买卖:=LLV(老板,10);急买奇准:IF(LLV((你< 买卖),5),50,0),colorFF;急卖奇准:IF(HHV((你< 好),5),100,50),colorFF0000;短买奇准:IF(LLV((你< 买卖),10),50,0),colorFFFFFF;短卖奇准:IF(HHV((你< 好),10),100,50),colorFF00;{公称名称: 四号箱体}HEPG:(EMA(CLOSE,450) * 2.14),colorFFFFFF;MA03:(EMA(CLOSE,450) * 2.01),colorFF00FF;MA02:(EMA(CLOSE,450) * 1.88),colorFF00;MA01:(EMA(CLOSE,450) * 1.75),colorFFFFFF;MA1:(EMA(CLOSE,450) * 1.66),colorFF0000;MA2:(EMA(CLOSE,450) * 1.5),colorFF00FF;MA3:(EMA(CLOSE,450) * 1.37),colorFFFF;MA4:(EMA(CLOSE,450) * 1.33),colorFF00FF;MA5:(EMA(CLOSE,450) * 1.25),colorFF00;MA6:(EMA(CLOSE,450) * 1.14),colorFFFFFF;MA7:(EMA(CLOSE,450) * 0.99),colorFFFFFF;MA8:(EMA(CLOSE,450) * 0.84),colorFFFFFF;工作线:EMA(CLOSE,14),colorFFFFFF;生命线:EMA(CLOSE,47),colorFFFF;{公称名称: 准备买入}n:=5;var1:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1),COLORYELLOW,linet hick0;var2:8,colorgreen,linethick0;上升在即: IF(CROSS(var1,var2),80,0),stick,COLOR0000cc,linethick2;专吸庄血: IF(var1<=8,25,0),stick,COLORwhite,linethick2;DRAWTEXT(CROSS(var1,var2),80,'准备买入'),COLOR00ffff;Varo5:=LLV(LOW,27);Varo6:=HHV(HIGH,34);Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;建仓区: IF((Varo7<10),80,100) ,color00ccff,linethick1;0,linethick2 ,colorffcc00⑴测算反弹的理论高度。

通达信牛股变色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;。

【指标公式源码下载】飞狐殷保华操盘线主图指标公式【动态底部、阻力价、老庄线、筹码锁定】

【指标公式源码下载】飞狐殷保华操盘线主图指标公式【动态底部、阻力价、老庄线、筹码锁定】

飞狐殷保华操盘线主图指标公式【动态底部、阻力价、老庄线、筹码锁定】阻力价:HHV(HIGH,19),COLORGREEN,LINETHICK1;VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);VAR2:=EMA(VAR1,9);VAR3:=(CLOSE*2.5/100+CLOSE);VAR4:=EMA(C,3);VAR5:=LLV(HIGH,240);VAR6:=100*(CLOSE-VAR5)/VAR5;VAR7:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;VAR8:=SLOPE(CLOSE,10);DRAWTEXT(FILTER(VAR7>23,8),H,'别贪'), COLOR00FF00;DRAWICON(COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.98,4);DRAWICON(FILTER(COUNT(VAR6<0,5)AND CROSS(VAR6,0)AND VAR7>REF(VAR7,1)AND VAR8>REF(VAR8,1)AND C>O,3),L,1);DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)AND VAR4<REF(VAR4,1)AND VAR7>17 AND VAR1>VAR2,5),H,2);DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,5); input: N(5,1,9999),p1(14,1,9999);老庄线:ma(c,n),colorred;{比半年线146大一些}var1:=4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1);VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-Var2)/(Var3-Var2)*4,4)*25;VAR5:=REF(C,2)*0.865;VAR6:=REF(C,13)*0.772;DSY:=100*vol/CApitAl;注意买:=IF((Var4<10),80,100) ,color00ccff,linethick1;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;超跌:=IF(J<0,10,0),COLORFFFF00;BDDD:=LLV(J,2)=LLV(J,8);买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0);少买:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND BETWEEN(J,20,60),1,0);BDGD:=HHV(J,2)=HHV(J,8) AND J>80;DRAWTEXT(少买AND 注意买=100,low,'☆'),COLORFF00FF;DRAWTEXT(买入AND 注意买=100 AND 超跌=0,low,'买★入'),COLORred; DRAWTEXT(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),high+0.02{*1.02},'◇'),COLORwhite;DRAWTEXT(cross(100,var1),high+0.05,'卖◆出'),color00FFFF;DRAWTEXT(CROSS(var1,110) or CROSS(var1,120),high+0.07,'偏※高'),color00FF00; DRAWTEXT(CROSS(var1,35) and注意买=100,low,'☆'),colorFF00FF;DRAWTEXT((C-MIN(VAR5,VAR6))/C<0.1 AND SUM(DSY,5)/5<1.8,low-0.05,'抄底'),color00ff00;主筹估算:=EMA(WINNER(c)*70,3);散筹估算:=EMA((WINNER((c)*1.1)-WINNER((c)*0.9))*70,3);筹码锁定:=散筹估算-主筹估算;动态底部:=EMA(IF(L<=LLV(l,60),SMA(ABS(L-REF(L,1)),60,1)/SMA(MAX(L- REF(l,1),0),99,1),0)*5,3);涨:=CROSS(主筹估算,筹码锁定);强:=CROSS(主筹估算,散筹估算);STICKLINE(涨,O,C,8,0),COLORYELLOW;STICKLINE(涨,O,H,0,0),COLORYELLOW;STICKLINE(涨,L,C,0,0),COLORYELLOW;STICKLINE(强, O,C,8,0),colormagenta;STICKLINE(强,O,H,0,0),colormagenta;STICKLINE(强,L,C,0,0),colormagenta;A1:=ref(h,N)=hhv(h,2*N+1);B1:=filter(A1,N);C1:=backset(B1,N+1);D1:=filter(C1,n);{高点}A2:=ref(l,N)=llv(l,2*N+1);B2:=filter(A2,N);C2:=backset(B2,N+1);D2:=filter(C2,N);{低点}E1:=(ref(llv(l,2*N),1)+ref(hhv(h,2*N),1))/2;E2:=(h+l)/2;{高低点出现在同一K线上时可作取舍}H1:=(D1 AND not(D2 AND E1>=E2)) ORbarstatus=2 OR barscount(c)=1;L1:=(D2 AND not(D1 AND E1<E2)); H2:=D1 AND not(D2 AND E1>=E2); X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)>0,llvbars (if(L1,l,10000),X1));G1:=F1>ref(F1,1);I1:=backset(G1,2); LD:=I1>ref(I1,1);{过滤后低点}L2:=LD OR barstatus=2 OR barscount(c)=1;X2:=ref(barslast(L2),1)+1; F2:=backset(L2 ANDcount(H2,X2)>0,hhvbars(if(H2,h,0),X2));G2:=F2>ref(F2,1);I2:=backset(G2,2);HD:=I2>ref(I2,1);{过滤后高点}R1:=backset(barstatus=2,barslast(HD)+1);S1:=R1>ref(R1,1); {前一高}T1:=backset(barstatus=2,barslast(LD)+1);U1:=T1>ref(T1,1); {前一低}R2:=backset(S1,ref(barslast(HD),1)+2);S2:=R2>ref(R2,1); {前二高}T2:=backset(U1,ref(barslast(LD),1)+2);U2:=T2>ref(T2,1); {前二低}T3:=backset(U2,ref(barslast(LD),1)+2);U3:=T3>ref(T3,1); {前三低}T4:=backset(U3,ref(barslast(LD),1)+2);U4:=T4>ref(T4,1); {前四低}R3:=backset(S2,ref(barslast(HD),1)+2);S3:=R3>ref(R3,1); {前三高}R4:=backset(S3,ref(barslast(HD),1)+2);S4:=R4>ref(R4,1);{前四高}drawline(S2,h,S1,h,1),Coloryellow;drawline(U2,l,U1,l,1),Colorblue;drawline(S3,h,S2,h,1),Colorblue;drawline(U3,l,U2,l,0),Coloryellow;drawline(S4,h,S3,h,1),Coloryellow;drawline(U4,l,U3,l,0),Coloryellow;DRAWICON(S1,H*1.01,10);DRAWICON(S2,H*1.01,10);DRAWICON(S3,H*1.01,10);DRAWICON(S4,H*1.01,10);DRAWICON(U1,L*0.99,9);DRAWICON(U2,L*0.99,9);DRAWICON(U3,L*0.99,9);DRAWICON(U4,L*0.99,9);varC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,varC),HIGH,2);var6:=REF(C,1);var7:=SMA(MAX(C-var6,0),6,1)/SMA(ABS(C-var6),6,1)*100;DRAWTEXT(CROSS(84,var7),H*1.01,'▲逃庄'),COLORGREEN;Var32:=CLOSE/REF(CLOSE, 1)>=1.062 AND HIGH/CLOSE<1.005 AND MA(CLOSE, 90)/CLOSE>=1.150;Var33:=Var32 AND COUNT(Var32, 20)=1;Var34:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);Var35:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);Var36:=IF(Var34>0.010, 0.900, 1) AND IF(Var34>(-0.025), 1,1.200);Var37:=Var36*(Var35-Var34)*100;Var38:=SUM(Var37,10);Var39:=SMA(Var38, 40,1);Var310:=Var38>20;Var311:=CROSS(CLOSE, MA(CLOSE*1.055, 3)) AND CLOSE>OPEN*1.060 AND VOL>=REF(VOL, 1)*1.5 AND CLOSE>=MA(CLOSE,10);Var312:=Var310 AND Var311 ;Var313:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH, 3)-LLV(LOW, 3));Var314:= CROSS(Var313, (-87)) ANDOPEN=1.090*REF(CLOSE, 1) AND INDEXC>0.980*REF(INDEXC, 1) ANDCLOSE<=1.470*LLV(CLOSE, 58);Var315:=EMA(CLOSE, 12)-EMA(CLOSE,26);Var316:=EMA(Var315,9);Var317:=2*(Var315-Var316);Var318:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH,9)-LLV(LOW, 9))*100;Var319:=SMA(Var318, 3,1);Var320:=SMA(Var319, 3,1);Var321:=EMA(IF(Var316>REF(Var316, 1), 1, (-1)),14)*14;Var322:=EMA(IF(Var320>REF(Var320, 1), 1, (-1)),14)*14*2;Var323:=(MA(CLOSE, 5)/MA(CLOSE,70)-1)*100;Var324:=(Var323+Var322+Var321)/3;Var325:=MA(CLOSE, 80)-MA(CLOSE, 10)/3;Var326:=IF(CLOSE and MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 ANDCLOSE,88,0);{Var38>Var39;}Var327:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND Var326>0, 91, 0);Var328:=IF(Var324>REF(Var324, 1) AND REF(Var324, 1)<REF(Var324, 2) AND (Var33 OR Var312 OR Var314) OR Var326>0 OR Var327>0, 85, 0);Var329:=IF(Var327>0 ,95,0), STICK,LINETHICK2;Var330:=IF(Var326>0 or var327>0,91,0), STICK,LINETHICK2;Var331:=IF(Var328>0 or var327>0 or var326>0,88,0), STICK,LINETHICK2;Var332:=100*(CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42)),LINETHICK1,colorg reen;Var333:=COUNT(MA(CLOSE,3)>REF(MA(CLOSE,3),1),1)=1;Var334:=(Var332<93 AND Var333 and MAX(MAX(Var329, Var330), Var331))*100;。

殷保华特色指标原码

殷保华特色指标原码

殷保华特色指标原码(江恩八线+4号箱体)(转录){公称名称: 保华均线}MA25:EMA(CLOSE,25);牛熊分水岭:EMA(CLOSE,905);STICKLINE((MA25 > 牛熊分水岭),MA25,牛熊分水岭,1,0),colorFF;STICKLINE((MA25 < 牛熊分水岭),MA25,牛熊分水岭,1,0),colorFF00;DRAWICON(CROSS(MA25,牛熊分水岭),(牛熊分水岭* 0.98),6);{公称名称: 保华提醒}VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100); 买入:(VAR1 AND VAR2),STICK,colorFF;卖出:CROSS(80,VAR4),STICK,colorFF00;{公称名称: 江恩八线}一号线:EMA(CLOSE,144);工作线:EMA(CLOSE,14),colorFF;二号线:EMA(CLOSE,25);三号线:EMA(CLOSE,318);生命线:EMA(CLOSE,453),LINETHICK2,colorFF;五号线:EMA(CLOSE,550);六号线:EMA(CLOSE,610);七号线:EMA(CLOSE,730);八号线:EMA(CLOSE,888);九号线:EMA(CLOSE,99),colorFF00;{公称名称: 买卖奇准}你:=MA(CLOSE,1);老:=(((LOW + HIGH) + CLOSE) / 3);板:=MA(老,5);好:=HHV(板,10);老板:=MA(老,5);买卖:=LLV(老板,10);急买奇准:IF(LLV((你< 买卖),5),50,0),colorFF;急卖奇准:IF(HHV((你< 好),5),100,50),colorFF0000;短买奇准:IF(LLV((你< 买卖),10),50,0),colorFFFFFF;短卖奇准:IF(HHV((你< 好),10),100,50),colorFF00;{公称名称: 四号箱体}HEPG:(EMA(CLOSE,450) * 2.14),colorFFFFFF;MA03:(EMA(CLOSE,450) * 2.01),colorFF00FF;MA02:(EMA(CLOSE,450) * 1.88),colorFF00;MA01:(EMA(CLOSE,450) * 1.75),colorFFFFFF;MA1:(EMA(CLOSE,450) * 1.66),colorFF0000;MA2:(EMA(CLOSE,450) * 1.5),colorFF00FF;MA3:(EMA(CLOSE,450) * 1.37),colorFFFF;MA4:(EMA(CLOSE,450) * 1.33),colorFF00FF;MA5:(EMA(CLOSE,450) * 1.25),colorFF00;MA6:(EMA(CLOSE,450) * 1.14),colorFFFFFF;MA7:(EMA(CLOSE,450) * 0.99),colorFFFFFF;MA8:(EMA(CLOSE,450) * 0.84),colorFFFFFF;工作线:EMA(CLOSE,14),colorFFFFFF;生命线:EMA(CLOSE,47),colorFFFF;{公称名称: 准备买入}n:=5;var1:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1),COLORYELLOW,linet hick0;var2:8,colorgreen,linethick0;上升在即: IF(CROSS(var1,var2),80,0),stick,COLOR0000cc,linethick2;专吸庄血: IF(var1<=8,25,0),stick,COLORwhite,linethick2;DRAWTEXT(CROSS(var1,var2),80,'准备买入'),COLOR00ffff;Varo5:=LLV(LOW,27);Varo6:=HHV(HIGH,34);Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;建仓区: IF((Varo7<10),80,100) ,color00ccff,linethick1;0,linethick2 ,colorffcc00⑴测算反弹的理论高度。

【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】

【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】

通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】工作线:(EMA(C,14)),POINTDOT,LINETHICK3,COLOR22ACDE;生命线:(MA(C,25)),LINETHICK1,COLORMAGENTA;不惑线:(MA(C,40)),COLORCYAN,LINETHICK1;姊妹线:(EMA(C,56)),POINTDOT,COLOR33CCDD,LINETHICK1;A3:=EMA((((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);A5:=REF(C,2);A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);A8:=LLV(L,21);A9:=HHV(H,21);A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);A13:=LLV(L,55);A14:=HHV(H,34);A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);A16:=(A11 + A15) / 2;A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);A18:=EMA(A16,5);A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);A20:=CROSS(A10,A11);A21:=(CROSS(A10,A19)) AND (A19 < 30);A22:=A21 * 0.6;A23:=((C + L) + H) / 3;A24:=EMA(A23,6);A25:=EMA(A24,5);A26:=CROSS(A24,A25);DRAWICON(A26,(L/1.015),1),LINETHICK2,COLORMAGENTA;DRAWTEXT(CROSS(A4,A3),L,'线上阴线买停板'),LINETHICK4,COLOR22ACDE; STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED;STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED;STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;七天线:MA(C,7),COLORGRAY,LINETHICK2; 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);STICKLINE(涨停,O,C,1,0),COLORYELLOW;ZDF:=(C-REF(C,1))/REF(C,1)*100;VAR2S:=(2*CLOSE+HIGH+LOW)/4;VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4);散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←吸'),COLORRED;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);DRAWICON(VAR7,HIGH*1.035,2);DRAWTEXT(VAR7,HIGH*1.02,'卖出'), COLORGREEN;。

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

【通达信】殷保华变色MA(工作线、生命线)-指标公式源码
MA5:EMA(C,5),COLORWHITE;
工作线:EMA(C,14),COLORF00FF0,LINETHICK1;
二号线:EMA(C,25),COLOR00FF00,LINETHICK1;
九号线:EMA(CLOSE,99),LINETHICK1;
MA120:EMA(CLOSE,120),LINETHICK1;
生命线:EMA(CLOSE,453),LINETHICK1,COLORRED;
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
DEA:=EMA(DIFF,9);
MACD:=0.90*(DIFF-DEA);
TJ:=(DIFF>=DEA);
TJ1:=(DIFF>=0);
STICKLINE(TJ,H,L,0.5,0),COLORYELLOW;
STICKLINE(TJ,O,C,4,0),COLORYELLOW;
STICKLINE(TJ1 AND TJ,H,L,0.5,0),COLORF00FF0;
STICKLINE(TJ1 AND TJ,O,C,4,1),COLORF00FF0;
STICKLINE(DIFF<DEA,H,L,0.5,0),COLORF0F000;
STICKLINE(DIFF<DEA,O,C,4,0),COLORF0F000;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR
C/REF(C,1)>0.035)) ,L*0.99,'短线'),COLORGREEN;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR
C/REF(C,1)>0.035)),H,L,0.5,0),COLORRED;
STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )
OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR
C/REF(C,1)>0.035)),O,C,10,1),LINETHICK3,COLORRED;
【通达信】殷保华变色MA(工作线、生命线)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档