【股票指标公式下载】-【通达信】测底密码(生命线、低位转强、开始拉升、极低涨)
【股票指标公式下载】-【通达信】波段之星(拉升力、做空周期、波峰波谷、空头)
【通达信】波段之星(拉升力、做空周期、波峰波谷、空头)-指标公式源码拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE; 拉升力A:=SMA(拉升力,6.3,1);波峰波谷:SMA(拉升力A,3,1),COLORFF00FF;拉升力B:=3*拉升力A-2.1*波峰波谷;空方:=3*波峰波谷-1* 拉升力A;做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00;做空周期:HHV(做空,21),COLORBLUE,LINETHICK2;多头:IF(做空>=REF(做空,1) ,做空,DRAWNULL),COLORRED,LINETHICK3; DRAWICON(做空>=REF(做空,1) AND REF(做空,1)<REF(做空,2),做空,23);空头:IF(做空<REF(做空,1),做空,DRAWNULL),COLORGREEN,LINETHICK3; {DRAWICON(做空<=REF(做空,1) AND REF(做空,1)>REF(做空,2),做空,19);} 短线:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;蓝柱:SMA(中线,3,1),COLORSTICK,COLORFFFF00;{红柱}STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,2,0),COLOR888800; STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,1.5,0),COLORAAAA00; STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,0.8,0),COLORDDDD00; STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,0.3,0),COLORFFFF00; STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,2,0),COLOR000088; STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,1.5,0),COLOR0000AA; STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,0.8,0),COLOR0000DD; STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,0.3,0),COLOR0000FF; STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,2,0),COLOR008800; STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,1,0),COLOR00AA00; STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,0.8,0),COLOR00DD00; STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,0.3,0),COLOR00FF00; {蓝柱}STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLOR880088; STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,1.5,0),COLORAA00AA; STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,0.8,0),COLORDD00DD;STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,0.3,0),COLORFF00FF; STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLOR888800; STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,1.5,0),COLORAAAA00; STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,0.8,0),COLORDDDD00; STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,0.3,0),COLORFFFF00; STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,2,0),COLOR009999; STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,1.5,0),COLOR00BBBB; STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,0.8,0),COLOR00DDDD; STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,0.3,0),COLOR00FFFF; 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,5,0,4,0),COLOR770077;STICKLINE(A1,5,0,3,0),COLOR990099;STICKLINE(A1,5,0,2,0),COLORBB00BB;STICKLINE(A1,5,0,1,0),COLORDD00DD;STICKLINE(A1,5,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,5.2,'全仓'),COLORRED;CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);CYS:(CLOSE-CYC13)/CYC13*100;DRAWTEXT("ZXNH.ZXNH"=1 AND CYS<=-2,CYS,'B'),COLORRED;DRAWTEXT("ZXNH.ZXNH"=1 AND CYS>2,CYS,'S'),COLORGREEN;【通达信】波段之星(拉升力、做空周期、波峰波谷、空头)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】测底密码(生命线、低位转强、开始拉升、极低涨)
【通达信】测底密码(生命线、低位转强、开始拉升、极低涨)-指标公式源码VA1:=HHV(HIGH,9)-LLV(LOW,9);VA2:=HHV(HIGH,9)-CLOSE;VA3:=CLOSE-LLV(LOW,9);VA4:=VA2/VA1*100-70;VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VA6:=(2*CLOSE+HIGH+LOW)/4;VA7:=SMA(VA3/VA1*100,3,1);VA8:=LLV(LOW,34);VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);VARA:=IF(VA9>100,VA9-100,0);VARB:=HHV(HIGH,34);VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(IND EXC,1))/INDEXC,8,1)*100-25;VARF:=MA(VARE,3);生命线:EMA(VARD,1), COLORFF00FF;VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR3:=CLOSE-LLV(LOW,9);VAR4:=((VAR2)/(VAR1))*(100)-70;VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);VAR8:=LLV(LOW,34);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF((VAR9>100),VAR9-100,0);VAR11:=HHV(HIGH,34);B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);B2:EMA(B1,5),COLORFF7000;STICKLINE(B1-B2>0,B1,B2,2,0),COLORRED;STICKLINE(B1-B2<0,B1,B2,2,0),COLOR00FF00;V1:=MA(C,5)=HHV(MA(C,5),20);V2:=MA(C,5)>MA(C,10);V3:=MA(V,5)>MA(V,40)*1.01;V4:=COUNT(MA(C,1)>REF(C,1),2)=2;VV:=V1 AND V2 AND V3 AND V4;STICKLINE(V1 AND V2 AND V3 AND V4,100,110,2,0),COLORRED;A1:=EMA(CLOSE,8);A2:=EMA(A1,20);A3:=CROSS(A1,A2);A4:=A1<EMA(CLOSE,120);STICKLINE(A3 AND A4,100,110,2,0),COLOR00FF00;A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2* SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1) ;安全位:=20;低位转强:IF(CROSS(A5,安全位),50,0),COLORRED,STICK,LINETHICK4;开始拉升:IF(CROSS(VARC,生命线) AND VARC>VARD AND VARC<55 ANDC>O,50,0),COLORFF00FF,STICK,LINETHICK4;A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);极低涨:IF(A6,50,0),COLORYELLOW,STICK,LINETHICK4;【通达信】测底密码(生命线、低位转强、开始拉升、极低涨)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】散人线(生命线、轻仓、获利、走熊、犹豫、压力)
【通达信】散人线(生命线、轻仓、获利、走熊、犹豫、压力)-指标公式源码生命线:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),45),COLORYELLOW,LINETHICK2; IF(C<生命线,生命线,DRAWNULL),COLORGREEN,LINETHICK2;AAA:=CONST(HHV(H,90));R1:=MA(CLOSE,1);R2:=MA(CLOSE,3);R3:=(MA(R2,1)*1);R4:=(MA(R2,3)*1);DRAWTEXT(CROSS(R3,R4),(LOW-0.1),'B'),COLORRED;X1:=(C+L+H)/3;DD:=TOTALCAPITAL;SS1:=FINANCE(7);GG:=FINANCE(33);TH:=DYNAINFO(39);A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV( L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(88,RSI),(HIGH * 1.002),'S'),COLORGREEN;双线持币:HHV(MA(HIGH,(3)),2),LINETHICK1,COLOR00FF00;单线持股:LLV(MA(HIGH,(3)),1),LINETHICK1,COLOR0000FF;轻仓:IF(单线持股>=双线持币 AND 双线持币<生命线,单线持股,DRAWNULL),COLORYELLOW,LINETHICK1;减弱:IF(单线持股<双线持币,单线持股,DRAWNULL),COLORYELLOW,LINETHICK1; 走熊:IF(单线持股<双线持币 AND 单线持股<生命线,单线持股,DRAWNULL),COLORGREEN,LINETHICK1;获利%:WINNER(CLOSE)*100,NODRAW,COLORRED;VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2:=CROSS(VAR1,0.9);VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4:=CROSS(VAR3,0.9);STICKLINE(VAR2,HIGH,HIGH*1.0001,1,0),COLORGREEN;STICKLINE(VAR4,LOW,LOW*0.9999,1,0),COLORRED;VAR5:=IF(VAR2,HIGH,IF(VAR4,LOW,0));PLOYLINE(VAR5,VAR5),COLORMAGENTA;VAR6:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW<REF(LOW,1) ANDHIGH<REF(HIGH,1),1);VAR7:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW>REF(LOW,1) ANDHIGH>REF(HIGH,1),1);VAR8:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND HIGH<REF(HIGH,1) AND LOW>REF(LOW,1)AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2),1);VAR9:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW>REF(LOW,1) ANDHIGH>REF(HIGH,1),1);VARA:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW<REF(LOW,1) ANDHIGH<REF(HIGH,1),1);VARB:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND HIGH<REF(HIGH,1) ANDLOW>REF(LOW,1)AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2),1);坚定: STICKLINE(CROSS(VAR6,0.9),HIGH,HIGH*1.0001,0,0),COLORRED; STICKLINE(CROSS(VAR9,0.9),LOW,LOW*0.9999,0,0),COLORRED;犹豫: STICKLINE(CROSS(VAR7,0.9),HIGH,HIGH*1.0001,0,0),COLORYELLOW; STICKLINE(CROSS(VARA,0.9),LOW,LOW*0.9999,0,0),COLORYELLOW;等待: STICKLINE(CROSS(VAR8,0.9),HIGH,HIGH*1.0001,0,0),COLORGREEN; STICKLINE(CROSS(VARB,0.9),LOW,LOW*0.9999,0,0),COLORGREEN;压力: REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLORRED;STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),3,0 ),COLORRED;支撑: REF(LOW,BARSLAST(VAR4)), POINTDOT,COLORMAGENTA;STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4)),REF(LOW,BARSLAST(VAR4)),3,0), COLORMAGENTA;现价:CLOSE,POINTDOT,COLORWHITE;VAR11:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(VAR11,13)-EMA(VAR11,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,'短线'),COLORFF66FF;} 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,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,2,0),LINETHICK3,COLORRED;转向:SAR(4,2,20),LINETHICK0;H均线:=(5*H+4*REF(H,1)+3*REF(H,2)+2*REF(H,3)+1*REF(H,4))/(5+4+3+2+1);L均线:=(5*L+4*REF(L,1)+3*REF(L,2)+2*REF(L,3)+1*REF(L,4))/(5+4+3+2+1); WHK涨跌分离线:=IF(C>REF(H均线,1),L均线,IF(C<REF(L均线,1),H均线,L均线));看多就买:C>WHK涨跌分离线,NODRAW,COLOR0000FF;看空全抛:C<=WHK涨跌分离线,NODRAW,COLOR00FF00;看空周期:=BARSLAST(看多就买);看多周期:=BARSLAST(看空全抛);开始试买:看多周期=1,COLOR00FFFF,NODRAW;全部抛掉:看空周期=1,COLORBLUE,NODRAW;A2:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));B2:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:IF(MA(CLOSE,17)<B2,B2,MA(CLOSE,17)),COLORMAGENTA,NODRAW;操作线:分水岭-(EMA(C,3)-分水岭),COLORGREEN,NODRAW;STICKLINE(C>WHK涨跌分离线,H,L,0,0),COLORRED;STICKLINE(C>WHK涨跌分离线,O,C,0.5,0),COLORRED;STICKLINE(C>WHK涨跌分离线 AND C<O,O,C,0.5,1),COLORRED;STICKLINE(C<=WHK涨跌分离线,H,L,0,0),COLOR00FF00;STICKLINE(C<=WHK涨跌分离线,O,C,0.5,0),COLOR00FF00;STICKLINE(C<=WHK涨跌分离线 AND C>O,O,C,0.5,1),COLOR00FF00; STICKLINE(开始试买,O,(C+O)/2,2,0),COLOR00FFFF;STICKLINE(全部抛掉,O,(C+O)/2,2,0),COLORBLUE;VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1) ;VAR22:=8;SS:=CROSS(VAR21,VAR22);DRAWTEXT(SS,L*0.999,'买'),COLORRED;【通达信】散人线(生命线、轻仓、获利、走熊、犹豫、压力)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】顶底主图(攻击线、操盘线、生命线)
【通达信】顶底主图(攻击线、操盘线、生命线)-指标公式源码攻击线5:MA(C,5)LINETHICK1;操盘线10:MA(C,10)LINETHICK1;生命线30:MA(C,30)LINETHICK1;决策线60:MA(C,60)LINETHICK1;DRAWTEXT(CROSS(攻击线5,操盘线10),LOW*0.95,'攻抄金叉'),COLORRED; DRAWTEXT(CROSS(生命线30,决策线60),LOW*0.95,'生决金叉'),COLORMAGENTA; N:=20;M:=30;P1:=80;P2:=100;VAR101:=(C+H+O+L)/4;卖出:XMA(VAR101,N)*(1+P1/1000),COLORRED,LINETHICK2;买入:XMA(VAR101,M)*(1-P2/1000),COLORLIRED,LINETHICK2;幅度:=100*(卖出-买入)/买入,NODRAW;MA1:=MA(VAR101,3);STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN; STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA; STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'买'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'卖'),COLORGREEN;MA20:=MA(CLOSE,20);MA120:=MA(CLOSE,120);MA30:=MA(CLOSE,37);MAP:=MA(CLOSE,8);AA5:=MA(CLOSE,21);AA10:=MA(CLOSE,8),COLORFF0000;AA12:=MA(CLOSE,12),COLORFF0000;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR01:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);中期大底:=LLV(LOW,30),;短期底部0:=LLV(HIGH,30);短底:=EMA(VAR01,5);支撑:=HHV(短底,60);压力1:=HHV(LOW,20),COLORFAABEC;压力:=SMA(LOW,5,1);中线:=MA(CLOSE,3);DRAWTEXT(FILTER(((((HIGH > 支撑) AND (CLOSE < 支撑)) AND ((CLOSE / OPEN) > (0 - 1.06))) AND (CLOSE < OPEN)),5),(HIGH + 0.02),'逃'),COLORFFFF00;中轨道:=(MA(HIGH,15) * 1.05);天:=(MA(LOW,15) * 0.985);人:=(MA(LOW,15) * 0.96);地:=(((HIGH + LOW) + CLOSE) / 3);B1:=HHV(地,(4 * 15));B6:=LLV(地,(4 * 15));B7:=(B1 - B6);B8:=(MA(((地 - B6) / B7),2) * 80);VAR1:=(((CLOSE - LLV(LOW,100)) / (HHV(HIGH,100) - LLV(LOW,100))) * 200); 飞龙顶底线1:=SMA(VAR1,3,1);VAR2:=SMA(飞龙顶底线1,3,1);VAR3:=((3 * 飞龙顶底线1) - (2 * VAR2));VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,5);VAR6:=(EMA((((CLOSE - VAR4) / (VAR5 - VAR4)) * 100),4) * 2);VAR7:=EMA(((0.667 * REF(VAR6,1)) + (0.333 * VAR6)),2);VAR8:=((3 * VAR6) - (2 * VAR7));VAR9:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));VARA:=(POW(MA(LOW,5),2) + MA(LOW,5));VARB:=(POW(MA(HIGH,5),2) + MA(HIGH,5));VARC:=(((((VAR9 - LLV(VARA,64)) / (HHV(VARB,64) - LLV(VARA,64))) * 150) + 65) - 10);VARD:=((SMA(VARC,3,1) * 1.5) - 100);VARE:=SMA(VARD,3,1);VARF:=((3 * VARD) - (2 * VARE));VAR10:=(((HIGH + LOW) + (CLOSE * 2)) / 4);VAR11:=EMA(VAR10,13);VAR12:=STD(VAR10,13);VAR13:=(((VAR10 - VAR11) * 100) / VAR12);VAR14:=EMA(VAR13,5);VAR15:=EMA(VAR14,13);VAR16:=((EMA(VAR14,13) + 200) - 100);VAR17:=EMA(VAR16,10);VAR18:=((3 * VAR16) - (2 * VAR17));VAR19:=(((飞龙顶底线1 + VAR6) + VARD) + VAR16);VAR1A:=(((VAR2 + VAR7) + VARE) + VAR17);VAR1B:=(((VAR3 + VAR8) + VARF) + VAR18);VAR1C:=(((HIGH + LOW) + CLOSE) / 3);VAR1D:=((AMOUNT / VOL) / 100);VAR1E:=((SUM(AMOUNT,5) / SUM(VOL,5)) / 100);VAR1F:=((VAR1C - MA(VAR1C,34)) / (0.015 * AVEDEV(VAR1C,34)));VAR21:=((((HIGH + LOW) + CLOSE) + VAR1C) / 4);VAR22:=EMA(VAR21,24);VAR23:=STD(VAR21,24);VAR24:=(((VAR21 - VAR22) / VAR23) * 100);VAR25:=((VAR1C - MA(VAR1C,24)) / (0.015 * AVEDEV(VAR1C,24)));VAR26:=EMA(VAR24,5);VAR27:=((VAR1D - MA(VAR1D,21)) / (0.015 * AVEDEV(VAR1D,21)));VAR28:=((VAR1E - MA(VAR1E,90)) / (0.015 * AVEDEV(VAR1E,90)));VAR29:=(((((((VAR28 + VAR27) + VAR26) + VAR25) + VAR1F) / 5) + 165) / 4);VAR2A:=(((((VAR19 + VAR1A) + (VAR1B * 30)) / 32) / 5) - 15);VAR2B:=(((VAR29 + VAR2A) / 2) / 1.1);VAR2C:=VAR2B;短线:=MA(VAR2C,26);MID:=(短线 + (2 * STD(VAR2C,26)));UPPER:=(短线 - (2 * STD(VAR2C,26)));LOWER:=IF((VAR2C > 短线),短线,VAR2C);XY:=MA(CLOSE,5);M80:=MA(CLOSE,80);短期底部:=(LLV(HIGH,30) * 0.93);MA80:=LLV(HIGH,30);短期底部2:=SMA(CLOSE,2,1);趋势:=(MA(LOW,10) * 0.96);趋:=(EMA(OPEN,107) * 0.897);超跌位2:=MA(CLOSE,15);GF:=MA(CLOSE,10);MAN:=(SMA(HIGH,21,2) * 1.05);上1:=(HHV(短底,60) * 0.92);压力2:=(SMA(HIGH,21,2) * 1.035);阻挡线:=(SMA(LOW,21,2) * 0.96);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); RSV:=SMA(下档线,3,1);K:=SMA(RSV,3,1);D:=((3 * RSV) - (2 * K));J:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR2P:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR3P:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR4P:=(((J + (2 * VAR2P)) + (3 * VAR3P)) / 6);VAR5P:=MA(VAR4P,3);VAR6P:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100); RSV12:=SMA(VAR6P,3,1);K12:=SMA(RSV12,3,1);D12:=((3 * RSV12) - (2 * K12));J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); RSV24:=SMA(J12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));压力位:=IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D))));支撑位:=IF((CLOSE >= MA(CLOSE,20)),80,50);U2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);L2L:=IF(((D < 支撑位) AND (REF(D,1) >= 支撑位)),HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),BARSLAST(((D < 支撑位) AND REF(D,1)))));RH1:=IF((HIGH > L2L),LOW,REF(LOW,BARSLAST((HIGH > L2L))));RH4:=IF((HIGH > L2L),D,REF(D,BARSLAST((HIGH > L2L))));RH42:=IF((((HIGH > RH1) AND (D < RH4)) AND (D <D24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH1) AND (D < RH4)) AND (D <D24)))));RH5:=IF(((D > U2L) AND (REF(D,1) <= U2L)),LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),BARSLAST(((D > U2L) AND REF(D,1))))); RL1:=IF((LOW < RH5),HIGH,REF(HIGH,BARSLAST((LOW < RH5))));RL4:=IF((LOW < RH5),D,REF(D,BARSLAST((LOW < RH5))));RL42:=IF((((LOW < RL1) AND (D > RL4)) AND (D >D24)),LOW,REF(LOW,BARSLAST((((LOW < RL1) AND (D > RL4)) AND (D > D24))))); 长期底部:=LLV(HIGH,30);DRAWTEXT(FILTER(((((RL42 = J24) AND (CLOSE > OPEN)) AND (CLOSE > 长期底部)) AND (LOW <= J24)),20),(LOW - 0.12),'底成'),COLOR0EABFF;RL5:=(SMA(HIGH,5,2) * 1.05);上:=(SMA(LOW,5,2) * 0.96);下:=SMA(LOW,2,1);中:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1:=EMA(中,10);X2:=REF(X1,1);X3:=((REF(HIGH,1) + REF(LOW,1)) / 2);X4:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));X5:=REF(CLOSE,1);X6:=((SMA(MAX((CLOSE - X5),0),7,1) / SMA(ABS((CLOSE - X5)),7,1)) * 100);X7:=CROSS(79,X6);X8:=FILTER(X7,4);X9:=MA(CLOSE,115);VAR001:=EMA(CLOSE,8);飞龙顶底线:=EMA(VAR001,20);VAR002:=CROSS(VAR001,飞龙顶底线);VAR003:=(VAR001 < MA(CLOSE,20));VAR004:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100); VAR005:=SMA(VAR004,5,1);VAR006:=SMA(VAR005,8,1);VAR007:=(CROSS(VAR005,VAR006) AND (VAR006 < 5));VAR008:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR007); VAR009:=IF((CLOSE > 1000),VAR007,VAR008);VAR00F:=CROSS(X1,X2);MA115:=VAR00F;低买:=(VAR002 AND VAR003);黑马起步:=VAR009;DRAWTEXT(X8,(HIGH * 1.03),'出货'),COLOR9000F5;DRAWTEXT((黑马起步 > 0),(HIGH * 1.04),'逃命'),COLORFF0000;逃遁:=(SMA(HIGH,21,2) * 1.05);阻挡:=(SMA(LOW,21,2) * 0.94);DRAWTEXT(FILTER(((((((((CLOSE / OPEN) > 1.03) AND ((超跌位2 - REF(超跌位2,1)) > 0)) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (HIGH < 压力1)) AND (CLOSE < 压力1)) AND ((压力2 - REF(压力2,1)) > 0)) AND (CLOSE < MAN)),3),LOW,'出击'),COLOR646E69;DRAWTEXT((((((低买 > 0) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 压力位)) AND (HIGH < X9)) AND ((X2 - REF(X2,1)) > 0)),LOW,'黑马'),COLOR00FF00; DRAWTEXT((((CROSS(VAR2C,UPPER) AND (HIGH < 压力1)) AND ((XY -REF(XY,1)) > 0)) AND (HIGH < 支撑)),LOW,'买'),COLORFFFFFF; DRAWTEXT(FILTER((((((MA115 AND (CLOSE < 压力位)) AND ((人 - REF(人,1)) >0)) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 上1)) AND ((CLOSE / OPEN) >1.03)),5),LOW,'●买'),COLOR93EE7D;DRAWTEXT(((((LOW <= 上) AND (HIGH >= 短期底部)) AND (CLOSE >= 长期底部)) AND ((CLOSE / OPEN) > 1.03)),(LOW - 0.08),'★抄底'),COLOR0000FF;DRAWTEXT(FILTER((((((LOW <= 阻挡线) AND ((MA20 - REF(MA20,1)) > 0)) AND (OPEN <= 上1)) AND (HIGH > 上1)) AND (CLOSE > 阻挡线)),5),LOW,'涨10%'),COLORFFFFFF;DRAWTEXT(FILTER((((((B8 <= 1) AND (LOW <= 阻挡)) AND (CLOSE > OPEN)) AND (LOW <= 中期大底)) AND (CLOSE >= 长期底部)),3),(LOW - 0.08),'短抄E'),COLORA100FF;DRAWTEXT(FILTER((((CROSS(趋势,趋) AND (HIGH < M80)) AND (HIGH < 压力1)) AND LLV(LOW,0)),10),LOW,'果断买'),COLOR668800;DRAWTEXT(FILTER(((CROSS(中线,人) AND (LOW <= 人)) AND (CLOSE >= 人)),4),(LOW - 0.06),'买'),COLOR00FF00;DRAWTEXT(FILTER((((((((MA20 - REF(MA20,1)) > 0) AND (HIGH < 支撑)) AND ((AA10 - REF(AA10,1)) > 0)) AND (HIGH < 压力1)) AND (VOL >= REF(VOL,1))) AND CROSS(CLOSE,MA20)),57),LOW,'突破生命线'),COLOR0000FF;DRAWTEXT(FILTER(((((LOW <= MA80) AND (CLOSE > MA80)) AND (CLOSE > OPEN)) AND (短期底部2 <= MA80)),8),LOW,'底'),COLORFFFF00;DRAWTEXT(((CROSS(MA20,压力位) AND (LOW <= MA20)) AND ((MA20 -REF(MA20,1)) > 0.02)),(LOW - 0.03),'●绝佳买点'),COLORAFA0AF; DRAWTEXT((((((((CROSS(CLOSE,MA20) AND (HIGH < 压力位)) AND (OPEN < MA20)) AND (HIGH < 支撑)) AND ((MAN - REF(MAN,1)) > 0)) AND ((X1 - REF(X1,1)) > 0)) AND (D < 63)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.05),'●大牛浮水'),COLOR73777F;DRAWTEXT(CROSS(中期大底,短期底部),(LOW - 0.02),'短线买');短趋势线:=MA(CLOSE,13);中趋势线1:=MA(CLOSE,33),LINETHICK1;中趋势线:=MA(CLOSE,55);涨:=IF(短趋势线>REF(短趋势线,1),短趋势线,DRAWNULL),COLORRED,LINETHICK3;平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK3;跌:=IF(短趋势线<REF(短趋势线,1),短趋势线,DRAWNULL),COLORGREEN,LINETHICK3;STICKLINE(CROSS(MA(CLOSE,13),C) AND MA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) ANDMA(CLOSE,13)>MA(CLOSE,55) ,L,L*0.98,3,0),COLORYELLOW;DRAWTEXT(CROSS(MA(CLOSE,13),C) AND INDEXC>MA(INDEXC,13) ANDMA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) ANDMA(CLOSE,13)>MA(CLOSE,55) ,L*0.95,'买'),COLORRED,LINETHICK2;VAR011:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA( CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;VAR012:=HHV(VAR011>20,10);DRAWTEXT(VAR011<-20 AND INDEXC<MA(INDEXC,13) AND FILTER(VAR011>REF(VAR011,1),5),L*0.93,'抄底'),COLORYELLOW,LINETHICK2;VAR013:=IF(MA(CLOSE,13)>REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL); DRAWTEXT((IF(CLOSE>MA(CLOSE,13) ANDOPEN<CLOSE,-0.1,0))AND((C-REF(C,1))/(REF(C,1))>0.061)AND(MA(CLOSE,13)=VAR013) AND (MA(CLOSE,1),MA(CLOSE,13)) AND(VOL>REF(HHV(VOL,3),1)*2),L*0.98,'主力介入'),COLORMAGENTA;X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);【通达信】顶底主图(攻击线、操盘线、生命线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】兄弟操盘(五日乖离率、动力线、牛熊线、生命线)
【通达信】兄弟操盘(五日乖离率、动力线、牛熊线、生命线)-指标公式源码动力线:MA(C,5),LINETHICK3,COLOR00CCFF;牛熊线:MA(C,13),CIRCLEDOT,COLORYELLOW;生命线:MA(C,34),CIRCLEDOT,COLORMAGENTA;MA05:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);五日乖离率:=(C-MA05)/MA05*100;BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED; BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN; 三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) ANDMA30>REF(MA30,1);VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) ANDMA30<REF(MA30,1);BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDMA10<REF(MA10,1),10);DRAWTEXT(加仓 ,LOW*0.98,'◆加二'),COLORYELLOW;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDMA10>REF(MA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30; 买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'◆风险'),COLORCYAN;DRAWTEXT(买入,LOW*0.96,'◆买二'),COLORYELLOW;DRAWTEXT(清仓 ,HIGH*1.00,'◆清仓'),COLORGREEN;VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;{彩色K线}TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);TYX4:=MA((C+L+O+H)/4,13);TYX5:=EMA((C+L+O+H)/4,21);{空心红}STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED;STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED;{深绿}STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700;STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500;STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600;STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700;{蓝}STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44;STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700;STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22;STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44;{黄}STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF;STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF;STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF;STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;{粉红}STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA;STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF;STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF;STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;{亮灰}STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999;STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555;STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777;STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999;{深红}STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD;STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099;STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB;STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;{涨跌停K线}STICKLINE(HIGH=LOW AND CLOSE=OPEN AND(CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,3,0) ,COLORRED;STICKLINE(HIGH=LOW AND CLOSE=OPEN AND(REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,3,0) ,COLOR00FF00;{突破}STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 ANDC>O,C,O,1,0),COLOR00CCFF;{买卖主图}MA18:=MA(CLOSE,18);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)); DRAWTEXT(FILTER(买=1,5),LOW,'★买一'),COLORRED;加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);DRAWTEXT(加1,LOW*0.99,'★加一'),COLORCC66FF;卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX); DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★卖一'),COLORGREEN;{牛熊通吃}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,LOW*0.99,'老鼠仓'),COLOR4080FF;{预测明天}XXS:=MA(LOW,5)*(1-5/100);XXS1:=MA(HIGH,5)*(1+5/100);均线:=C,COLORGREEN;AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) ANDC>REF(C,1),LINETHICK0 ;DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED;BBAA:=CROSS(XXS1,C);DRAWTEXT(CROSS(XXS1,C),H,'开盘逃'),COLORWHITE;DDDD:=CROSS(C,XXS1);DRAWTEXT(DDDD,H,'明日走'),COLORYELLOW;{兄弟指标}AAA:=MA(LOW,5)*(1-5/100);BBB:=(HHV(AAA,5)+LLV(AAA,5))/2;DRAWTEXT(CROSS(BBB,L) AND BBB>REF(BBB,1),L*0.98,'←兄弟回马枪'),COLORWHITE;{天河指标}DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);DRAWTEXT(REF(CROSS(DEA,DIF),1) AND CROSS(DIF,DEA),L*0.97,'←天河回马抢'),COLORMAGENTA;{见好就收}VSR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VSR3:=SMA(VSR2,4,1);VSR4:=SMA(VSR3,2,1);DRAWTEXT(VSR4>82 AND VSR3>89,HHV(C,30)*1.02,'收'),COLORGREEN;【通达信】兄弟操盘(五日乖离率、动力线、牛熊线、生命线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】绝对主升(清仓、出货、高抛、低吸)
【通达信】绝对主升(清仓、出货、高抛、低吸)-指标公式源码清仓:=1.66*MA(FORCAST(CLOSE,2),40),COLORRED;出货:=1.36*MA(FORCAST(CLOSE,2),40),COLOR08FFFF;高抛:=1.16*MA(FORCAST(CLOSE,2),40),COLORFF82FF;低吸:=0.82*MA(FORCAST(CLOSE,2),40),COLORF7E300;满仓:=0.72*MA(FORCAST(CLOSE,2),40),COLORGREEN;强通1:=清仓>REF(清仓,1),;强通2:=出货>REF(出货,1),;强通3:=高抛>REF(高抛,1),;强通4:=低吸>REF(低吸,1),;强通5:=满仓>REF(满仓,1),;上升通道:=强通1 AND 强通2 AND 强通3 AND 强通4 AND 强通5,; MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10),;MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);五强:=MA5>REF(MA5,1),;十强:=MA10>REF(MA10,1),;二十强:=MA20>REF(MA20,1),;三十强:=MA30>REF(MA30,1),;六十强:=MA60>REF(MA60,1),;小均强:=五强 AND 十强,;均强:=十强 AND 二十强 AND 三十强,;大均强:=十强 AND 二十强 AND 三十强 AND 六十强,;JJD:=(H+L+C)/3;强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) /3),8),60),COLORRED,LINETHICK2;强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) /3.18),8),20),COLORWHITE,LINETHICK2;强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) /3.258),8),10),COLORYELLOW,LINETHICK2;强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) /3.08),80),13),COLORLIMAGENTA,LINETHICK2;开始走强1:=强势线1>REF(强势线1,1),;开始走强2:=强势线2>REF(强势线2,1),;开始走强3:=强势线3>REF(强势线3,1),;开始走强4:=强势线4>REF(强势线3,1),;双强1:=开始走强1 AND 开始走强2,;双强2:=开始走强2 AND 开始走强3,;双强3:=开始走强2 AND 开始走强3,;双强4:=开始走强3 AND 开始走强4,;三强:=开始走强1 AND 开始走强2 AND 开始走强3,;四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4,;强势为王:=双强1 OR 双强2 OR 双强3 OR 双强4 OR 三强 OR 四强,; VV:=(C+L+H)/3;DSA:=SMA(XMA(VV,15),2,1)LINETHICK3;顶部1:=DSA*1.0888,COLORMAGENTA,LINETHICK1;顶部2:=DSA*1.158,COLORBROWN,LINETHICK1;顶部3:=DSA*1.218,COLORRED,LINETHICK1;底部1:=DSA*0.9518,COLORLICYAN,LINETHICK1;底部2:=DSA*0.888,COLORLIMAGENTA,LINETHICK1;底部3:=DSA*0.8,COLORGREEN,LINETHICK1;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,60);五日走强:=MA1>REF(MA1,1),;十日走强:=MA2>REF(MA2,1),;二十日走强:=MA3>REF(MA3,1),;六十日走强:=MA4>REF(MA4,1),;低位主升:=五日走强 AND 十日走强 AND 六十日走强,;主升浪:=五日走强 AND 十日走强 AND 二十日走强,;大主升浪:=十日走强 AND 二十日走强 AND 六十日走强,;大主升浪2:=五日走强 AND 十日走强 AND 二十日走强 AND 六十日走强,; 总主升:=主升浪 AND 大主升浪 AND 大主升浪2,;总主升浪:=低位主升 OR 主升浪 OR 大主升浪 OR 大主升浪2 OR 总主升,;强势主升低买:L<底部1 AND 总主升浪 AND 强势为王 ANDC<DSA,COLORYELLOW,LINETHICK2;猎股小王:L<底部1 AND C<DSA AND 强势为王,COLORMAGENTA,LINETHICK2,LINESTICK;DRAWICON(猎股小王>0,1.1,1);猎股大王出击:=强势主升低买 AND 猎股小王 AND H<DSA,COLORRED,;;A:=MA(C,30);A1:=A*1.1;A4:=A*0.9;A2:=A1-(A1-A4)*0.191;持仓:=IF(HIGH*1.01>A2 ORREF(HIGH,1)>REF(A2,1),A1,A4),LINETHICK3,COLORRED;生命线:=IF(HIGH*1.01>A2 ORREF(HIGH,1)>REF(A2,1),A2,A4),LINETHICK3,COLORFFFFFF;主升持仓:=持仓>生命线,;主升1:=持仓>REF(持仓,1),;主升2:=生命线>REF(生命线,1),;主升:=主升1 AND 主升2,;主升猎股王:=(猎股大王出击 AND 主升持仓 AND 主升) OR (猎股小王 AND 主升持仓 AND 主升),;绝对的主升:(主升猎股王 AND 小均强) OR (猎股小王 AND 小均强),COLORYELLOW,LINETHICK4,STICK;DRAWICON(绝对的主升>0,1.1,1);DRAWICON(绝对的主升>0,1.1,1);DRAWICON(绝对的主升>0,0.6,9);DRAWICON(绝对的主升>0,0.3,9);【通达信】绝对主升(清仓、出货、高抛、低吸)-指标公式效果图(文档来源:若水财经社区)。
【指标公式源码下载】通达信看盘极品主图指标公式【多线】
通达信看盘极品主图指标公式【多线】MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;取舍线: (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MI D,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10) +9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*R EF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,LINETHICK1,COLORY ELLOW;生命线:MA(取舍线,6),LINETHICK1,COLORRED;五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;水平面:MA(CLOSE,60),CIRCLEDOT,COLORLIMAGENTA;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,30);MA4:=MA(CLOSE,60);WYA001:=(2*CLOSE+HIGH+LOW)/4;WYA002:=EMA(WYA001,4);WYA003:=EMA(WYA002,4);WYA004:=EMA(WYA003,4);WYA柱:=(WYA004-REF(WYA004,1))/REF(WYA004,1)*100;WYA线1:=MA(WYA柱,2);WYA线2:=MA(WYA柱,1);WY分时1线:=MA(CLOSE,1);WY分时21线:=MA(CLOSE,21);DRAWICON(WYA线1>0.25 AND WYA线2>0.25 AND CROSS(WYA线1,WYA线2),HIGH*1.0128,6);DRAWICON(WYA线1<0 AND WYA线2<0 AND CROSS(WYA线1,WYA线2),HIGH*1.0128,6);DRAWICON( CROSS(WY分时21线,WY分时1线),HIGH*1.0128,6) ;DRAWICON(WYA线1<-0.25 AND WYA线2<-0.25 AND CROSS(WYA线2,WYA线1),LOW*0.99,5);DRAWICON(WYA线1>0 AND WYA线2>0 AND CROSS(WYA线2,WYA线1),LOW*0.99,5),COLORYELLOW;DRAWICON(CROSS(WY分时1线,WY分时21线),LOW*0.99,5),COLORYELLOW;。
【股票指标公式下载】-【通达信】乘风V神(最高、最低、百万测底、趋势)
【通达信】乘风V神(最高、最低、百万测底、趋势)-指标公式源码换手:IF(CAPITAL>0,V/CAPITAL*100,V),LINETHICK0;HS:=换手;HLP:=SMA(WINNER(C)*100,3,1),COLOR2588FF,LINETHICK0;NN:=250;HH:=HHV(V,NN);LL:=LLV(V,NN);最高:=HH;最低:=LL;RCC:=最高*0.9-(最高-最低)*0.5;RHL:=RCC;HLMAX:=MAX(最高,最低);HLMIN:=MIN(最高,最低);HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=HLMAX-HLMIN;HLMN3:=(100-0)/2*1.3;HLMN4:=(100-0)/1*1.3;限制显示K线面积:=1;DRAWBAND(((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(55,55,55),((80-HLMN3 )*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);DRAWBAND(((HLP-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(150,100,150),((80-HL MN3)*HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);DRAWBAND(((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,RGB(55,55,55),((0-HLMN3)* HLMN2/HLMN4+HLMN1)+RHL,DRAWNULL);((100-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;((80-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;((50-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR888888;((25-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR333333;{最佳买入时机}LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);PDI:=((DMP * 100) / TR1);MDI:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10);最佳买入:=(AV + NEWVOL);STICKLINE(CROSS(最佳买入,0),((85-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3)*HLMN2/HLMN4+HLM N1)+RHL,2.8,0),COLORRED;{百万测底}趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINET HICK2,COLORRED;准备:IF(趋势线<=5,((65-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3)*HLMN2/HLMN4+HLMN1 )+RHL),COLORFFFFFF;VARA2:=LLV(MA(LOW,3),3);VARA3:=HHV(MA(HIGH,3),3);KK:=EMA((CLOSE-VARA2)/(VARA3-VARA2)*100,4)*0.7+20,COLORFF00FF,LINETHI CK2;DD:=EMA(0.667*REF(KK,1)+0.333*KK,2)*0.7+20,COLORFFFF00;KK2:=EMA(ABS(VARA2-CLOSE)/ABS(VARA2-VARA3)*100,4)*0.7+20;DD2:=EMA(0.667*REF(KK2,1)+0.333*KK2,2)*0.7+20;提示:IF((KK2-KK)*2.5>35,((75-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3) *HLMN2/HLMN4+HLMN1)+RHL),LINETHICK2,COLORFF00FF;XXJJ:=LLV("KDJ.J",2)=LLV("KDJ.J",8);时机: IF(CROSS("KDJ.J",1) ANDREF(XXJJ,1),((90-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((100-HLMN3)*HLMN2/HLM N4+HLMN1)+RHL),LINETHICK2,COLORYELLOW;地量买点:=CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0);STICKLINE(地量买点,((0-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,((20-HLMN3)*HLMN2/HLMN4+HLMN1)+R HL,3,0),COLORFF0080;SJ:=240;预测额:IF(ISLASTBAR,(V/SJ*240),V),COLOR00FFFF,LINETHICK0; STICKLINE(ISLASTBAR,0,预测额,2,1),COLOREEEEFF;地量:=IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),换手<MA(换手,SUMBARS(V,CAPITAL))/3) ,LINETHICK0;极地量:IF(换手<MA(换手,SUMBARS(VOL,CAPITAL))/4,1,0),LINETHICK0;连续地量:=COUNT(地量,3)>=3 AND COUNT(极地量,3)>=1;一字涨板:=C>=REF(C,1)*1.01 AND C=O AND H=L;一字跌板:=C*1.1>=REF(C,1) AND C=O AND H=L;无一字板:=NOT(一字涨板 OR 一字跌板);STICKLINE(地量 AND 无一字板 AND(C-MA(C,5))/MA(C,5)*100<0,V,0,2.8,0),COLORFF0080;STICKLINE(地量 AND 无一字板 AND(C-MA(C,5))/MA(C,5)*100<0,V,0,2.5,0),COLOR00FFFF;STICKLINE(C>O,V,0,2,1),COLORRED;STICKLINE(C<=O,V,0,2,1),COLORFFF333;AA:=VOL>=REF(V,1)*1.91 AND C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1) AND 无一字板;AA2:=VOL<REF(LLV(VOL,55),1) AND 无一字板;AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05 AND 无一字板;STICKLINE(AA,0,V,2,0),COLORRED;STICKLINE(AA1,0,V/2,2,0),COLORGREEN;STICKLINE(AA2,0,V/2,2,0),COLORFF00FF;STICKLINE(AA3,0,V,1,0),COLORWHITE;地线:HHV(V,60)/6,COLOR00FF00,LINETHICK2;((HLP-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR0000FF,LINETHICK1,POINTDOT;(("KDJ.K"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLORFFF111;(("KDJ.D"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLOR00FF00;(("KDJ.J"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL,COLORFF1111;MV35:MA(V,35),COLORFFFFFF;MV10:MA(V,10),COLOR00FFFF;MV5:MA(V,5),COLORFF00FF;【通达信】乘风V神(最高、最低、百万测底、趋势)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】底部尽现(均线流、超跌、井喷)
【通达信】底部尽现(均线流、超跌、井喷)-指标公式源码VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;VAR6:=(VAR3+VAR4+VAR5)/3; VAR7:=EMA(VAR6,5);VAR8:=IF(VAR6<=-20,10,0); VAR9:=HHV(VAR8,10);STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND VARA>10;VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND(REF(ZIG (3,5),2)<=REF(ZIG(3,5),3)); VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)>=REF(ZIG(3,5),3));STICKLINE((VARC=1),(-14),0,4,0),COLOR0000FF;DRAWTEXT((VARC=1),(-14),'买'),COLOR0000FF;STICKLINE((VARD=1),14,0,4,0),COLOR00FF00;DRAWTEXT((VARD=1),18,'卖'),COLOR00FF00;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20 ,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20 ,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 ANDVAR14>-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17); VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 ANDVAR13<=-150,-15,VAR16))+60; VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100; VAR59:=1/WINNER(CLOSE);VAR33:=MA(CLOSE,13);VAR34:=100-ABS((CLOSE-VAR33)/VAR33*100);VAR35:=LLV(LOW,75);VAR36:=HHV(HIGH,75);VAR37:=(VAR36-VAR35)/100;VAR38:=SMA((CLOSE-VAR35)/VAR37,20,1);VAR39:=SMA((OPEN-VAR35)/VAR37,20,1);VARA3:=3*VAR38-2*SMA(VAR38,15,1);VARB3:=3*VAR39-2*SMA(VAR39,15,1);VARC3:=100-VARB3;VARE3:=REF(LOW,1)*0.9;VARF3:=LOW*0.9;VAR40:=(VARF3*VOL+VARE3*(CAPITAL-VOL))/CAPITAL;VAR41:=EMA(VAR40,30);VAR42:=CLOSE-REF(CLOSE,1);VAR43:=MAX(VAR42,0);VAR44:=ABS(VAR42);VAR45:=SMA(VAR43,7,1)/SMA(VAR44,7,1)*100;VAR46:=SMA(VAR43,13,1)/SMA(VAR44,13,1)*100;VAR47:=BARSCOUNT(CLOSE);VAR48:=SMA(MAX(VAR42,0),6,1)/SMA(ABS(VAR42),6,1)*100;VAR49:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR3A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR3B:=SMA((SMA(VAR3A,4,1)-50)*2,3,1);VAR3C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR3D:=SMA(VAR3C,4,1);VAR3E:=SMA(VAR3D,3,1);VAR3F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR50:=VAR48<=25 AND VAR49<-95 AND VAR3F>20 AND VAR3B<-30 AND VAR3E<30 AND VAR41-CLOSE>=-0.25 AND VAR45<22 AND VAR46<28 AND VAR47>50;VAR51:=(HIGH+LOW+CLOSE)/3;VAR52:=(VAR51-MA(VAR51,14))/(0.015*AVEDEV(VAR51,14));VAR53:=(VAR51-MA(VAR51,70))/(0.015*AVEDEV(VAR51,70));VAR54:=IF(VAR52>=150 AND VAR52<200 AND VAR53>=150 AND VAR53<200,10,0); VAR55:=IF(VAR52<=-150 AND VAR52>-200 AND VAR53<=-150 ANDVAR53>-200,-10,VAR54);VAR56:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VAR57:=REVERSE(VAR56);VAR58:=SMA(VAR56,3,1);VARFF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,2 0,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20, 1),15,1);VAR199:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,2 0,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1 ),15,1);VAR20:=VARF<REF(VAR199,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); VAR1:=(CLOSE*2+HIGH+LOW)/4*10;VAR2:=EMA(VAR1,13)-EMA(VAR1,34);VAR333:=EMA(VAR2,5);VAR444:=2*(VAR2-VAR333)*5.5;VAR555:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;VAR666:=EMA(3*VAR55-2*SMA(VAR55,18,1),5);VAR777:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;VAR888:=(INDEXC*2+INDEXH+INDEXL)/4;VAR999:=EMA(VAR888,13)-EMA(VAR888,34);VARAA:=EMA(VAR999,3);VARBBB:=(VAR999-VARAA)/2;VAREE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR100:=(HIGH+LOW+CLOSE)/3;VAR11:=(VAR100-MA(VAR100,14))/(0.015*AVEDEV(VAR100,14));VAR122:=(VAR100-MA(VAR100,70))/(0.015*AVEDEV(VAR100,70));VAR133:=IF(VAR11>=150 AND VAR11<200 AND VAR122>=150 ANDVAR122<200,10,0);VAR144:=IF(VAR11<=-150 AND VAR11>-200 AND VAR122<=-150 ANDVAR122>-200,-10,VAR133);VAR155:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;VAR166:=100-ABS(VAR155);VAR177:=IF(VAR166<90,VAR166,100);VAR1AA:=IF(VAREE>0,VAREE,0);VAR1BB:=IF(VAR122>=200 AND VAR11>=150,15,IF(VAR122<=-200 ANDVAR11<=-150,-15,VAR14))+60;VAR1CC:=VAR1AA>48 AND VAR1BB>60 AND VAR177<100;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);MA65:=MA(CLOSE,65);MA250:=MA(CLOSE,250);均线流:(((((MA5 > MA65) AND (MA10 > MA65)) AND (MA30 > MA65)) AND (MA5 < MA30)) * 7),POINTDOT,LINETHICK3;PL1:=(((CLOSE - MA60) / MA60) < 0.1);PL2:=(((CLOSE - MA250) / MA250) < 0.3);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);MACD超跌:=(COUNT((DIFF < DEA),10) = 10);MACD:(MACD超跌 *"MACD.MACD"(26,12,9))*(-1),STICK,LINETHICK2,COLORFFFF00;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;VAR27A:=REF(CLOSE,1);VAR28A:=SMA(MAX(CLOSE-VAR27A,0),5.5,1)/SMA(ABS(CLOSE-VAR27A),6,1)*100 ;VARA1:=((AMOUNT)/(VOL))/(100);VARB1:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC1:=((SUM(AMOUNT,7))/(VARA1))/(100);VARD1:=DMA(VARB1,(VOL)/(VARC1));VARE1:=((CLOSE-VARD1)/(VARD1))*(100);VARF1:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ1:=MA(VARE1,20)+STD(VARE1,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);AA1:=SMA(VARF1,3,1);SS1:=(REF(BIAS18,1)>=5) AND CROSS(VARJ1,VARE1) AND (AA1>79);VAR1AAA:=ZIG(3,10)<REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 有未来}VAR2AAA:=ZIG(3,10)>REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)<REF(ZIG(3,10),2);果断买入:IF(VAR2AAA ANDCOUNT(VAR2AAA,3)=1,-15,0),STICK,LINETHICK1,COLORFF00FF;STICKLINE(VAR2AAA,0,-25,4,0),COLORFF00FF;VAR91:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); VAR92:=SMA(VAR91,3,1);VAR93:=SMA(VAR92,3,1);VAR94:=((3 * VAR92) - (2 * VAR93));VAR95:=(VAR92 + VAR93);VAR96:=(VAR95 < 55);VAR97:=(VAR95 < 60);VAR98:=CROSS(MA(CLOSE,10),MA(CLOSE,15));VAR99:=CROSS(MA(CLOSE,10),MA(CLOSE,19));VAR4A:=(REF(VAR96,3) AND (((((REF(VAR96,18) OR REF(VAR96,27)) ORREF(VAR96,76)) OR REF(VAR96,87)) OR REF(VAR96,99)) OR REF(VAR96,212))); VAR4B:=(REF(VAR96,23) AND (REF(VAR96,78) OR REF(VAR96,132)));VAR4C:=(SARTURN(2,3,30) = 1);VAR4D:=(REF(VAR96,8) AND (REF(VAR96,132) OR REF(VAR96,76)));VAR4E:=((REF(VAR97,18) AND REF(VAR97,88)) AND REF(VAR97,90));VAR4F:=((CLOSE / REF(CLOSE,1)) >= 1.099);VAR1000:=((OPEN = LOW) AND (HIGH = CLOSE));VAR101:=((VOL < MA(VOL,5)) AND (VOL < REF(VOL,1)));VAR102:=(((VAR4F AND VAR1000) AND VAR101) AND (COUNT(((VAR4F AND VAR1000) AND VAR101),20) = 1));(VAR102 AND (((((((VAR98 OR VAR99) OR VAR4A) OR VAR3B) OR VAR4C) OR VAR4D) OR VAR4E) OR (VAR95 < 38)));DRAWTEXT(VAR102 AND COUNT(VAR102,20)=1,60,'井★喷'),LINETHICK2,COLOR00FF00;井喷:IF(VAR102 ANDCOUNT(VAR102,20)=1,50,0),STICK,LINETHICK2,COLOR00FF00;ZYX1:="DMI.PDI"(12,6);ZYX2:="DMI.MDI"(12,6);ZYX3:=ZYX1>65 AND ZYX1>REF(ZYX1,1);ZYX4:=LLV(ZYX1,0);ZYX5:=BARSLAST(ZYX4=ZYX1);ZYX6:=(0-REF(ZYX2,4))/(ZYX4-REF(ZYX2,ZYX5))>2;ZYX7:=ZYX1>REF(ZYX1,1);ZYX8:=VOL>2*MA(VOL,30);ZYX9:="DMI.ADX"(12,6);ZYXA:="DMI.ADXR"(12,6);ZYXB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;ZYXC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);ZYXD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLO SE,10),MA(CLOSE,5)));{ZYXE:=0-"MACD.DIFF"(7,21,3);}ZYXF:=TROUGHBARS(3,15,1)<4;ZYX10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);ZYX11:=IF(ZYXF=1,50,0);ZYX12:=CROSS(ZYX2,ZYX1) AND CROSS(ZYXA,ZYX9);ZYX13:=CROSS(ZYX2,ZYX1) AND CROSS(ZYX9,ZYXA);ZYX14:=ZYXB AND ZYXC AND ZYXD AND ZYX10 AND ZYX6 AND ZYX7 AND ZYX8*50; ZYX15:=BARSLAST(CROSS(ZYX2,ZYX1)=1);ZYX16:=BARSLAST(CROSS(ZYX1,ZYX2)=1);ZYX17:=HHV(ZYX1,ZYX16);ZYX18:=BARSLAST(ZYX1=ZYX17);STICKLINE(FILTER(ZYXF=1,5),50,0,10,0),COLORRED;ZYX19:=ZYX3 OR ZYX12 OR ZYX13*100;ZYX1A:=ZYX13*100;DRAWICON(FILTER(ZYXF=1,3),80,1);DRAWTEXT(FILTER(ZYXF=1,3),60,'铁底'),COLORYELLOW;X5:=EXPMA(CLOSE,3);X10:=EXPMA(CLOSE,7);X20:=EXPMA(CLOSE,20);五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHITE;XX5:=XMA(五日斜率,4),LINETHICK2,COLORYELLOW;XX10:=XMA(十日斜率,7),LINETHICK2,COLORBLUE;XX200:=XMA(二十斜率,20);AA11:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX200 AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;XX202:=XMA(二十斜率,22);AA2:=XX202>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX202 AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;XX204:=XMA(二十斜率,24);AA3:=XX204>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX204 AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;XX206:=XMA(二十斜率,26);AA4:=XX206>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX206 AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;XX207:=XMA(二十斜率,20);AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)AND CROSS(REF(XX5,1),REF(XX207,1));XX2071:=XMA(二十斜率,23);AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)AND CROSS(REF(XX5,1),REF(XX2071,1));XX2072:=XMA(二十斜率,26);AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)AND CROSS(REF(XX5,1),REF(XX2072,1));XX208:=XMA(二十斜率,20);AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)AND CROSS(XX5,XX208);XX2081:=XMA(二十斜率,23);AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)AND CROSS(XX5,XX2081);XX2082:=XMA(二十斜率,26);AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)AND CROSS(XX5,XX2082);AA1 OR AA2 OR AA3 OR AA4 OR AA7 OR AA71 OR AA72 OR AA8 OR AA81 OR AA82; DRAWTEXT(AA1=1,H/2,'AA1'),COLORRED;DRAWTEXT(AA2=1,H/2.5,'AA2'),COLORRED;DRAWTEXT(AA3=1,H/3,'AA3'),COLORRED;DRAWTEXT(AA4=1,H/3.5,'AA4'),COLORRED;DRAWTEXT(AA7=1,H/4,'AA7'),COLORRED;DRAWTEXT(AA71=1,H/1.88,'AA71'),COLORRED;DRAWTEXT(AA72=1,H/2.98,'AA72'),COLORRED;DRAWTEXT(AA8=1,H/3.18,'AA8'),COLORRED;DRAWTEXT(AA81=1,H/1.58,'AA81'),COLORRED;DRAWTEXT(AA82=1,H/2.78,'AA82'),COLORRED;【通达信】底部尽现(均线流、超跌、井喷)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】神奇操盘线(行情线、黄金线)
【通达信】神奇操盘线(行情线、黄金线)-指标公式源码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;【通达信】神奇操盘线(行情线、黄金线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】寻底彩带(基本超跌线、猎熊K线)
【通达信】寻底彩带(基本超跌线、猎熊K线)-指标公式源码绝对A:=40/100,COLORLIMAGENTA,LINETHICK1,;绝对B:=30/100,COLORCYAN,LINETHICK1,;绝对C:=50/100,LINETHICK1,;VAR1:=HHV(HIGH,N);猎熊HIGH:=(VAR1-LOW)/VAR1;猎熊OPEN:=(VAR1-OPEN)/VAR1;猎熊LOW:=(VAR1-HIGH)/VAR1;猎熊CLOSE:=(VAR1-CLOSE)/VAR1;南熊线:=猎熊HIGH,COLORLIGREEN,LINETHICK2;阻力线:=MA(LLV(猎熊LOW,N),21),LINETHICK3,COLORCYAN;TR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1) -LOW)),N);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/TR;MDI:= DMM*100/TR;ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);基本超跌线:= MA(HHV(猎熊LOW,N),21),LINETHICK3,COLORYELLOW;GD1:=MAX(CONST(HHV(南熊线,90)),CONST(HHV(基本超跌线,90)));GD2:=MAX(CONST(HHV(GD1,90)),CONST(HHV(EMA((MA(DMP,3)-MA(DMM,3)),3)/3+ 0.125,90)));GD:=MAX(CONST(HHV(GD2,90)),CONST(基本超跌线*(1+0.382))); DRAWBAND(GD,RGB( 0,100,100),0,RGB(0,0,0));西熊线:=EMA(COUNT(CLOSE>REF(CLOSE,1),12),3 )/24,COLORCYAN,LINETHICK2; 北熊线:=ADX*HHV(南熊线,60)/HHV(ADX,60),LINETHICK2,COLORMAGENTA;反弹线:(基本超跌线*(0.618+1)/2+基本超跌线)/2,POINTDOT,LINETHICK4,COLORLIGREEN;减持线:基本超跌线*(0.382+0.191)/2,POINTDOT,LINETHICK4,COLORRED;六一八线:基本超跌线*0.618,POINTDOT,LINETHICK4,COLORLIBLUE;超跌上线1:基本超跌线*(1+0.191),POINTDOT,LINETHICK4,COLORWHITE;超跌上线2:基本超跌线*(1+0.382),POINTDOT,LINETHICK4,COLORGRAY; DRAWBAND(基本超跌线,RGB(0,80,50),0,RGB(0,0,0));DRAWBAND(反弹线,RGB(0,60,40),0,RGB(0,0,0));DRAWBAND(六一八线,RGB(0,40,30),0,RGB(0,0,0));DRAWBAND(减持线,RGB(0,30,20),0,RGB(0,0,0));0.125,COLORYELLOW;T:=ABS(IF(北熊线+南熊线-西熊线*2>0,北熊线+南熊线-西熊线*2,0));点熊线:=EMA(T,3),COLORLIGREEN;点熊辅线:=(SLOPE (点熊线,7)+1)*REF(点熊线,1),COLORBROWN;STICKLINE(点熊线>0 ,0,点熊线,1,0),COLORRED;STICKLINE(点熊辅线>0 ,0,点熊辅线,2,0),COLORYELLOW;DRAWBAND(EMA((MA(DMP,3)-MA(DMM,3))*1.1,3)/2+0.125,RGB(255,00,00),EMA( (DMP-DMM)*1.1,3)/2+0.125,RGB(0,255,255));猎熊K线:DRAWKLINE( 猎熊HIGH,猎熊OPEN,猎熊LOW,猎熊CLOSE);完美理想:DRAWICON(猎熊LOW >=0.5 AND 基本超跌线>=0.5 AND 猎熊LOW >基本超跌线 ,阻力线+0.1,13),COLORCYAN;第一理想:DRAWICON(完美理想=0 AND 猎熊LOW>绝对A AND 基本超跌线>绝对A AND 猎熊LOW>基本超跌线,阻力线+0.05,23),COLORCYAN;残缺理想:DRAWICON(猎熊LOW>0.3 AND 基本超跌线>0.3 AND猎熊LOW>基本超跌线 AND 第一理想=0 AND 完美理想=0,阻力线,1),COLORCYAN;DRAWICON(北熊线=南熊线, 南熊线,2);点熊成金:DRAWICON(点熊线>基本超跌线 AND CROSS(点熊辅线,点熊线)AND 点熊辅线>REF(点熊辅线,1),点熊线+0.04,9);捕获小熊:DRAWICON(CROSS(点熊线,0.125),点熊线+0.04,14);EMA((MA(DMP,3)-MA(DMM,3))*1.1,3)/2+0.125;EMA((DMP-DMM)*1.1,3)/2+0.125;【通达信】寻底彩带(基本超跌线、猎熊K线)-指标公式效果图(文档来源:若水财经社区)。
指标公式_通达信指标——底部密钥
指标公式_通达信指标——底部密钥LC:=REF(CLOSE,1);//LC赋值:昨收RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;//输出RSI1:收盘价-LC和0的较大值的N1日[1日权重]移动平均/收盘价-LC的绝对值的N1日[1日权重]移动平均×100RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;//输出RSI2:收盘价-LC和0的较大值的N2日[1日权重]移动平均/收盘价-LC的绝对值的N2日[1日权重]移动平均×100W1:=V*100/CAPITAL;//W1赋值:成交量(手)×100/当前流通股本(手)W1>REF(W1,1);//W1>昨日W1W2:=DYNAINFO(23)-DYNAINFO(22);//W2赋值:外盘-内盘W2>REF(W2,1);//W2>昨日W2BU:=CROSS(RSI1,RSI2);//BU赋值:RSI1上穿RSI2BU1:=RSI2>50;//BU1赋值:RSI2>50BU2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*1000/5;//BU2赋值:收盘价-LC和0的较大值的N2日[1日权重]移动平均/收盘价-LC的绝对值的N2日[1日权重]移动平均×1000/5BU2>REF(RSI2,1);//BU2>昨日RSI2STICKLINE(BU,OPEN,CLOSE,3.2,0),COLORYELLOW;//当满足条件BU时,在开盘价和收盘价位置之间画柱状线,宽度为3.2,0不为0则画空心柱,颜色为黄色DRAWICON(CROSS(RSI1,RSI2),RSI1,1);//当满足条件RSI1上穿RSI2时,在RSI1位置画1号图标SM:=(OPEN+HIGH+CLOSE+LOW)/4;//SM赋值:(开盘价+最高价+收盘价+最低价)/4 SMID:=MA(SM,D);//SMID赋值:SM的D日简单移动平均IM:=(INDEXO+INDEXH+INDEXL+INDEXC)/4; //IM赋值:(开盘价+最高价+最低价+收盘价)/4 IMID:=MA(IM,D);//IMID赋值:IM的D日简单移动平均SI1:=(SMID-REF(SMID,1))/SMID;//SI1赋值:(SMID-昨日SMID)/SMIDII:=(IMID-REF(IMID,1))/IMID;//II赋值:(IMID-昨日IMID)/IMIDRADER1:SUM((SI1-II)*2,S)*100;//输出RADER1:(SI1-II)×2的S日累和×100 RADERMA:=SMA(RADER1,M,1);//RADERMA赋值:RADER1的M日[1日权重]移动平均XG:W1>REF(W1,1) AND REF(W2,1) AND REF(RSI2,1) AND BU AND BU1 ;//输出XG:W1>昨日W1 AND 昨日W2 AND 昨日RSI2 AND BU AND BU1VAR01:=(HIGH+LOW+CLOSE)/3;//VAR01赋值:(最高价+最低价+收盘价)/3VAR02:=(VAR01-MA(VAR01,14))/(0.015*AVEDEV(VAR01,14));//VAR02赋值:(VAR01-VAR01的14日简单移动平均)/(0.015×VAR01的14日平均绝对偏差)BB: EMA(VAR02,2);//输出布林极限: VAR02的2日指数移动平均VAR03:=MA(VOL,5);//VAR03赋值:成交量(手)的5日简单移动平均VAR04:=MA(VOL,10);//VAR04赋值:成交量(手)的10日简单移动平均VAR05:=MA(VOL,60);//VAR05赋值:成交量(手)的60日简单移动平均VAR06:=MA(CLOSE,5);//VAR06赋值:收盘价的5日简单移动平均VAR07:=MA(CLOSE,8);//VAR07赋值:收盘价的8日简单移动平均VAR08:=MA(CLOSE,25);//VAR08赋值:收盘价的25日简单移动平均VAR09:=MA(CLOSE,60);//VAR09赋值:收盘价的60日简单移动平均VARA0:=CROSS(VAR02,BB) AND VAR02>80 AND VOL>VAR03 AND VOL>VAR04 AND VOL>VAR05 AND VAR06>VAR09 AND VAR07>VAR09 AND VAR08>VAR09 AND OPEN<VAR06 AND CLOSE>VAR06;//VARA0赋值:VAR02上穿BB AND VAR02>80 AND 成交量(手)>VAR03 AND 成交量(手)>VAR04 AND 成交量(手)>VAR05 AND VAR06>VAR09 AND VAR07>VAR09 AND VAR08>VAR09 AND 开盘价<VAR06 AND 收盘价>VAR06DRAWTEXT(VARA0,120,' 探测点!'),COLORYELLOW;//当满足条件VARA0时,在120位置书写文字,颜色为黄色STICKLINE(VARA0,130,-100,1,0),COLORRED;//当满足条件VARA0时,在130和-100位置之间画柱状线,宽度为1,0不为0则画空心柱,颜色为红色底部:=CROSS(BB,-100);//底部赋值:BB上穿-100DRAWICON(底部,-100,1);//当满足条件底部时,在-100位置画1号图标。
【股票指标公式下载】-【通达信】自由组图(下档线、压力、底部)
【通达信】自由组图(下档线、压力、底部)-指标公式源码{n 2 300 6k 2 300 12p 2 300 24}下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); RRRSV:=SMA(下档线,3,1);KKK:=SMA(RRRSV,3,1);DDDDD:=((3 * RRRSV) - (2 * KKK));JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); RSV24:=SMA(JJ12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COL ORFFFFFF;底部:=LLV(HIGH,30),COLOR00FF00;VAR1:=CLOSE>REF(CLOSE,1) ANDCLOSE>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 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED; 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 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),3,0),COLORCYAN;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,0),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,0),COLORMAGENTA; TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE ,1)-LOW)));ATR:=MA(TLAMSENR,13);VAR1AA:=(REF(CLOSE,1)-REF(ATR,1));生命线:(HHV(VAR1AA,12)),LINETHICK2,COLOR0080FF;阻力:REFDATE(REF(HHV(H,22),1),DATE),COLORGRAY,LINETHICK2;底:REFDATE(REF(LLV(L,22),1),DATE),COLORGRAY,LINETHICK2;BG:=BARSCOUNT(C)+2;NB:=IF(BG<N,BG,N);KB:=IF(BG<K,BG,K);PB:=IF(BG<P,BG,P);MN:=SUM(C,NB)/SUM(1,NB);MN2:=SUM(C*C,NB)/SUM(1,NB);MK:=SUM(C,KB)/SUM(1,KB);MK2:=SUM(C*C,KB)/SUM(1,KB);MP:=SUM(C,PB)/SUM(1,PB);MP2:=SUM(C*C,PB)/SUM(1,PB);MA_S:=IF(CLOSE>0,POW(MN*MK*MP,1/3),(MN+MK+MP)/3);XZN:=NB/(NB-1);XZK:=KB/(KB-1);XZP:=PB/(PB-1);SD1:=(MN2-MN*MN)*XZN;SD2:=(MK2-MK*MK)*XZK;SD3:=(MP2-MP*MP)*XZP;SD:=SQRT((SD1+SD2+SD3)/3);天:MA_S+2*SD,LINETHICK2;平:MA_S,LINETHICK2;地:MA_S-2*SD,LINETHICK2;YTYH1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;YTYH2:=SMA(YTYH1,3,1);YTYH3:=SMA(YTYH2,9,1);YTYH4:=CROSS(YTYH3,YTYH2);YTYH5:=YTYH3>80 OR YTYH2>80;YTYH6:=YTYH4 AND YTYH5;YTYH7:=EMA(AMOUNT/VOL/100,3);YTYH8:=EMA(YTYH7,89);YTYH9:=EMA(YTYH7,89)*0.8;VRA:=YTYH9*0.8;VRB:=LOW<VRA AND CLOSE>REF(CLOSE,1)*1.02;{DRAWICON(YTYH6,HIGH*1.01,2)ALIGN2;};QWX4:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);QWX6:=CONST((1+7/100)*(DMA(CLOSE,QWX4)));阻:IF(PERIOD=5,IF(BARSLAST(CURRBARSCOUNT=8),QWX6,DRAWNULL),DRAWNULL), COLORYELLOW;高A:=REFDATE(HHV(H,180),DATE);低A:=REFDATE(LLV(L,180),DATE);HA:=高A-(高A-低A)*0.191;H2:=高A-(高A-低A)*0.382,COLORFF6198;H3:=高A-(高A-低A)*0.5,COLORFFFFFF;H4:=高A-(高A-低A)*0.618;H5:=高A-(高A-低A)*0.809;STICKLINE(CURRBARSCOUNT=13,高A,高A,100,-1),COLORGREEN;STICKLINE(CURRBARSCOUNT=13,HA,HA,100,-1),COLORCYAN;STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORCCCCCC;DRAWTEXT(CURRBARSCOUNT=1,高A,' 高A'),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=1,HA,' 809'),COLORCYAN;DRAWTEXT(CURRBARSCOUNT=1,H2,' 618'),COLORFFFFFF;DRAWTEXT(CURRBARSCOUNT=1,H3,' 中'),COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=1,H4,' 382'),COLORLIRED;DRAWTEXT(CURRBARSCOUNT=1,H5,' 191'),COLORMAGENTA;DRAWTEXT(CURRBARSCOUNT=1,低A,' 低A'),COLORRED;STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;STICKLINE(CURRBARSCOUNT=13,低A,低A,100,-1),COLORRED;K:=(C+H+L)/3;D:=MA(K,4);DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.05, '*-卖'),COLORRED;DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '*-买'),COLORRED; VARAA:=IF(CLOSE>150,91.3,0.913);下:INTPART(CLOSE/VARAA )*VARAA,POINTDOT,LINETHICK4,COLOR5B6EE0; 上:下+VARAA,POINTDOT,LINETHICK4,COLOR00FF00 ;中:(下+上)/2,POINTDOT,COLORWHITE,LINETHICK4;CBFB:=COSTEX(C,REF(C,1));JL:=IF(C>CBFB,V,0);CL:=IF(C<CBFB,V,0);JLH:=SUM(JL,4);CLH:=SUM(CL,4);LHB:=CLH/JLH;TJ1:=IF(HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O,1,0);DRAWICON(TJ1,L*0.96,9);买线:=EMA(C,9);卖线:=EMA(SLOPE(C,34)*10+C,33);DRAWTEXT(CROSS(买线,卖线),L-0.5,'*←加仓'),COLORRED;AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF; DRAWTEXT(老鼠仓,L*0.99,'老鼠仓'),COLOR0099FF;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★大胆搏'),COLOR00FFFF;VAR6D:=REF(C,1);VAR7D:=SMA(MAX(C-VAR6D,0),6,1)/SMA(ABS(C-VAR6D),6,1)*100; DRAWTEXT(CROSS(82,VAR7D),H*1.01,'▼逃顶'),COLORYELLOW;【通达信】自由组图(下档线、压力、底部)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】股市黑客(私募进场、
【通达信】股市黑客(私募进场、私募洗盘、升跌临界)-指标公式源码STICKLINE(100,90,0,5,0),COLOR666600;XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1); XIAO3:=EMA(XIAO2,10);XIAO4:=LLV(LOW,33);XIAO5:=EMA(IF(LOW<=XIAO4,XIAO3,0),3);STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,3,0 ),COLOR000055; STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.6,0 ),COLOR000077; STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.1,0 ),COLOR000099; STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,1.5,0 ),COLOR0000BB; STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.9,0 ),COLOR0000DD; STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.3,0 ),COLOR0000FF; STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,3,0),COLOR005500; STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.6,0),COLOR007700; STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.1,0),COLOR009900; STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,1.5,0),COLOR00BB00; STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.9,0),COLOR00DD00; STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.3,0),COLOR00FF00;私募进场:IF(XIAO5>REF(XIAO5,1),XIAO5,0),COLORRED,NODRAW;私募洗盘:IF(XIAO5<REF(XIAO5,1),XIAO5,0),COLORGREEN,NODRAW;B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;B2:=SMA(B1,9,1)+100;B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;观望期:=IF(B6>60,B6-60,0);T1:=STICKLINE(REF(观望期,1)<观望期,观望期,REF(观望期,1),9,0),COLORYELLOW;T2:=STICKLINE(REF(观望期,1)>观望期,观望期,REF(观望期,1),9,0),COLORCYAN;TAI1:=MA(C,1)/MA(REF(C,13),8)*100;TAI2:=MA(FORCAST(TAI1,21),3);TAI3:=REF(TAI1,1);TAI4:=REF(TAI1,2);邰1:=LLV(LOW,8);邰2:=HHV(HIGH,13);股市黑客:= EMA((CLOSE-邰1)/(邰2-邰1)*100,5),COLORRED;升跌临界:= EMA(0.667*REF(股市黑客,1)+0.333*股市黑客,2),COLORGREEN; VAR1:=(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;DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) ANDCROSS(DIFF,DEA);顶背离:=REF(CLOSE,A2+1)< CLOSE AND REF(DIFF,A2+1)>DIFF ANDCROSS(DEA,DIFF);①:IF(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04 AND 观望期=0 AND C> REF(C,1),1),44,0),LINETHICK3,COLORCYAN;②:IF(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 ANDTAI3> TAI4,34,0),LINETHICK3,COLOR0000FF;③:IF(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF(MA(C,55),1)>REF(MA(C,55),2)&& (VAR19 OR REF(VAR19,1)),23,0),COLORBLUE;④:IF(底背离,57,0),LINETHICK3,COLORBROWN;DRAWTEXT(底背离,54,'←MACD 底背离'),COLORWHITE;DRAWICON(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF(MA(C,55),1)>REF(MA(C,55),2)&&(VAR19 OR REF(VAR19,1)),25,23); DRAWICON(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04 AND 观望期=0 AND C>REF(C,1),1),46,23);DRAWICON(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 ANDTAI3>TAI4,36,23),COLORYELLOW;【通达信】股市黑客(私募进场、私募洗盘、升跌临界)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】趋势指标(神偷线、辅助线、底部关注)
【通达信】趋势指标(神偷线、辅助线、底部关注)-指标公式源码买:=MA(CLOSE,1);卖:=(LOW+HIGH+CLOSE)/3;奇:= MA(卖,5);准:= HHV(奇,10);TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TR);辅助线:=((DMM * 100) / TR);XXX:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3)); 奇准:= MA(卖,5);买卖:=LLV(奇准,10);底部关注:=IF(((XXX > 88) AND (神偷线 < 5.8)),95,50);STICKLINE(底部关注=95,10,15,2,0),COLORFF00CC;急买奇准:=IF(LLV((买<买卖),5),75,50);STICKLINE(急买奇准=75,5,10,2,0),COLORBLUE;短买奇准:=IF(LLV((买<买卖),10),85,50);STICKLINE(短买奇准=85,0,5,2,0),COLORYELLOW;VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);VAR03:=CROSS(VAR02,VAR01);VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);VAR05:=COUNT(VAR03,7)>0 AND VAR04;VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);VAR08:=EMA(VAR07,10);VAR09:=EMA(C,5);VAR10:=LLV(LOW,33);VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);STICKLINE(VAR12>0.5,-10,-5,2,0),COLORWHITE;STICKLINE(VAR05 AND COUNT(VAR05,5)=1,-10,0,2,0),COLORRED;Z_1:=C-REF(C,1);空:=EMA(EMA(Z_1,6),6)/EMA(EMA(ABS(Z_1),6),6)*20,LINETHICK0,COLOR00FF0 0;多:=(空*2-FORCAST(空,9)),LINETHICK0,COLORFF59FF;{警报}J1:=IF(多<=空,多,DRAWNULL);J2:=IF(多<=空,多,REF(J1,1));J3:=IF(多<=空,多,REF(J2,1));J4:=IF(多<=空,多,REF(J3,1));J5:=IF(多<=空,多,REF(J4,1));J6:=IF(多<=空,多,REF(J5,1));J7:=IF(多<=空,多,REF(J6,1));J8:=IF(多<=空,多,REF(J7,1));J9:=IF(多<=空,多,REF(J8,1));J10:=IF(多<=空,多,REF(J9,1));J11:=IF(多<=空,多,REF(J10,1));J12:=IF(多<=空,多,REF(J11,1));J13:=IF(多<=空,多,REF(J12,1));J14:=IF(多<=空,多,REF(J13,1));J15:=IF(多<=空,多,REF(J14,1));JJ_1:=IF(多<=空,多,REF(J15,1));JJ1:=IF(多>空,空,DRAWNULL);JJ2:=IF(多>空,空,REF(JJ1,1));JJ3:=IF(多>空,空,REF(JJ2,1));JJ4:=IF(多>空,空,REF(JJ3,1));JJ5:=IF(多>空,空,REF(JJ4,1));JJ6:=IF(多>空,空,REF(JJ5,1));JJ7:=IF(多>空,空,REF(JJ6,1));JJ8:=IF(多>空,空,REF(JJ7,1));JJ9:=IF(多>空,空,REF(JJ8,1));JJ10:=IF(多>空,空,REF(JJ9,1));JJ11:=IF(多>空,空,REF(JJ10,1));JJ12:=IF(多>空,空,REF(JJ11,1));JJ13:=IF(多>空,空,REF(JJ12,1));JJ14:=IF(多>空,空,REF(JJ13,1));JJ15:=IF(多>空,空,REF(JJ14,1));JJ_2:=IF(多>空,空,REF(JJ15,1));K1:=IF(多>空,1,IF(多<空,-1,0));KJ1:=IF(K1!=0,K1,DRAWNULL);KJ2:=IF(K1!=0,K1,REF(KJ1,1));KJ3:=IF(K1!=0,K1,REF(KJ2,1));KJ4:=IF(K1!=0,K1,REF(KJ3,1));KJ5:=IF(K1!=0,K1,REF(KJ4,1));KJ6:=IF(K1!=0,K1,REF(KJ5,1));KJ7:=IF(K1!=0,K1,REF(KJ6,1));KJ8:=IF(K1!=0,K1,REF(KJ7,1));KJ9:=IF(K1!=0,K1,REF(KJ8,1));KJ10:=IF(K1!=0,K1,REF(KJ9,1));KJ11:=IF(K1!=0,K1,REF(KJ10,1));KJ12:=IF(K1!=0,K1,REF(KJ11,1));KJ13:=IF(K1!=0,K1,REF(KJ12,1));KJ14:=IF(K1!=0,K1,REF(KJ13,1));KJ15:=IF(K1!=0,K1,REF(KJ14,1));K2:=IF(K1!=0,K1,REF(KJ15,1));警报:IF(K2>0,JJ_1,JJ_2),COLOR00B4FF;{-----------------【图解模板】---------------------}DRAWBAND(空,RGB(0,158,0),多,RGB(180,0,0));RSV:=(C-LLV(L,3))/(HHV(H,3)-LLV(L,3))*100;K:=SMA(RSV,2,1); D:=SMA(K,2,1); J:=3*K-2*D; 引力:=SMA(J,2,1)-SMA(J,3,1),COLORSTICK;{画各线}空头:空,COLOR00FF00;多头:多,COLORFF59FF;{近台比}JT_B1:=(O+L+H+C*3)/6;WMA:=(5*JT_B1+4*REF(JT_B1,1)+3*REF(JT_B1,2)+2*REF(JT_B1,3)+1*REF(JT_B 1,4))/(5+4+3+2+1);JT_B2:=REVERSE(JT_B1)+2*WMA;JT_B3:=3*JT_B2-2*SMA(JT_B2,2,1);JTB4:=IF(BARSLAST(C>JT_B3),JT_B3,DRAWNULL);JT_B4:=IF(BARSLAST(C>JT_B3),JT_B3,REF(JTB4,1));JTB5:=IF(BARSLAST(C<=JT_B3),JT_B3,DRAWNULL);JT_B5:=IF(BARSLAST(C<=JT_B3),JT_B3,REF(JTB5,1));JT_B6:=IF(C<=JT_B3,JT_B4,JT_B5);近台比:(C-JT_B6)/JT_B6*100,NODRAW,COLORYELLOW;0,POINTDOT,LINETHICK3;R:=RSI;MAR:=MA(R,3);F:=100*(C-REF(C,1))/REF(C,1);HHH:=EMA(R,25)+6,COLORBLUE;JIN:STICKLINE(REF(R,2)>REF(R,3) AND REF(R,2)>REF(R,1) AND R>REF(R,1) AND MAR>REF(MAR,1)+1 AND REF(MAR,2)-REF(MAR,1)>-1AND REF(R,1)-3AND REF(R,1)<38 AND R<HHH AND F<8,-15,15,1,0);【通达信】趋势指标(神偷线、辅助线、底部关注)-指标公式效果图(文档来源:若水财经社区)。
【精选指标】通达信绝密顶底指标公式和评测
【精选指标】通达信绝密顶底指标公式和评测VAR1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;VAR2:=SMA(VAR1,2,1);VAR3:=SMA(VAR2,2,1);VAR4:=SMA(VAR3,3,1);波: VAR3;段: VAR4;VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;DRAWTEXT(FILTER(VAR6,10)=1,-10,'抄底'),LINETHICK3 , ;买入:CROSS(VAR3,VAR4) AND VAR3<20,COLORFFBBFF;STICKLINE(买入=1,20,30,5,0),COLORYELLOW;DRAWTEXT(买入=1,40,'买'),COLORYELLOW;STICKLINE(FILTER(VAR6,10)=1,0,10,5,0),COLORGREEN , ;VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;卖出:CROSS(VAR4,VAR3) AND VAR3>80,COLORRED;STICKLINE(卖出=1,70,80,5,1),COLORRED;DRAWTEXT(卖出=1,60,'卖'),COLORRED;评测公式绝密顶底1.条件设置买入等于 12.评测品种剔除未交易的股票和ST股票,共计3510只。
3.评测时间段 2018年4月26日至2019年4月26日。
4.平仓原则亏损10%平仓。
5.目标周期开仓20周后,无论涨跌都平仓。
6.初始资金一百万。
净利润 82613299.21元。
5.评测结果综合胜率 47.47% 综合收益率 2.36% 胜率 50%以上共计2051只。
经测试绝密顶底综合胜率47.47% ,虽高于抄底买入指标综合胜率 47.43%,但综合收益率 2.36%,低于抄底买入综合收益率 5.02% .是目前自编指标中胜率也比较高的一个了。
【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】
通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】工作线:(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、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】测底密码(生命线、低位转强、开始拉升、极低涨)-指标公式源码VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(2*CLOSE+HIGH+LOW)/4;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VARA:=IF(VA9>100,VA9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(IND EXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
生命线:EMA(VARD,1), COLORFF00FF;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
B2:EMA(B1,5),COLORFF7000;
STICKLINE(B1-B2>0,B1,B2,2,0),COLORRED;
STICKLINE(B1-B2<0,B1,B2,2,0),COLOR00FF00;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
STICKLINE(V1 AND V2 AND V3 AND V4,100,110,2,0),COLORRED;
A1:=EMA(CLOSE,8);
A2:=EMA(A1,20);
A3:=CROSS(A1,A2);
A4:=A1<EMA(CLOSE,120);
STICKLINE(A3 AND A4,100,110,2,0),COLOR00FF00;
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2* SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1) ;
安全位:=20;
低位转强:IF(CROSS(A5,安全位),50,0),COLORRED,STICK,LINETHICK4;
开始拉升:IF(CROSS(VARC,生命线) AND VARC>VARD AND VARC<55 AND
C>O,50,0),COLORFF00FF,STICK,LINETHICK4;
A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
极低涨:IF(A6,50,0),COLORYELLOW,STICK,LINETHICK4;
【通达信】测底密码(生命线、低位转强、开始拉升、极低涨)-指标公式效果图
(文档来源:若水财经社区)。