第一篇:个人总结比较实用的通达信公式
条件选股公式:
N天前涨停个股
参数N
最小0
最大20
缺省0 Q:=BARSLAST(CLOSE/REF(CLOSE,1)>1.0985);AG:Q=N;
5日内涨停2次
COUNT(CLOSE>REF(CLOSE,1)*1.0985,5)>=2;
技术指标公式:
操盘BS买卖点(主图替换)N:=80;M:=3;{操盘手BS买卖} VAR1:=(100CLOSE))/(HHV(HIGH,14)((90 *(HHV(HIGH,14)LLV(LOW,14))));
VAR3:=(100CLOSE))/(HHV(HIGH,6)(LOW*0.02)),7);DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.02)),8);PT:=REF(H,1)-REF(L,1);CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;AH:=CDP+PT;AL:=CDP-PT;NH:=CDP*2-REF(L,1);NL:=CDP*2-REF(H,1);强:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;阻:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORBLUE;MM:=IF(AL VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;A10:=CROSS(控盘,0);VAR2:=100*WINNER(CLOSE*0.95); 高度控盘:IF(控盘>REF(控盘,1)AND 控盘>0,控盘,0),COLOR0000FF,NODRAW; 有庄控盘:IF(VAR2>50 AND COST(85) STICKLINE(控盘<0,控盘,0,2,0),COLORBLUE;STICKLINE(控盘>REF(控盘,3)AND 控盘>0,控盘,0,2,0),COLOR0000FF;STICKLINE(VAR2>50 AND COST(85) 主力追踪(副图) 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(MID,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*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;IF(主力>=REF(主力,1),主力,DRAWNULL),COLORRED,LINETHICK2;IF(主力<=REF(主力,1),主力,DRAWNULL),COLORGREEN,LINETHICK2; 捕捞季节(副图) WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=EMA(WY1001,2);WY1003:=EMA(WY1002,2);WY1004:=EMA(WY1003,2);XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;STICKLINE(XYS0>=0,XYS0,0,2,0),COLORRED;STICKLINE(XYS0<0,XYS0,0,2,0),COLORGREEN;PJGJ:=AMOUNT/VOL/100;SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13);SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);ZZX:0,COLORWHITE;STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2,0),COLORGREEN;STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0),COLORYELLOW;STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2,0),COLORCYAN;STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2,0),COLORBLUE;XYS1:EMA(XYS0,1);XYS2:EMA(XYS0,2); 智能辅助线(主图叠加) HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+ REF(HHJSJDA,20))/210,COLORYELLOW;HHJSJDC:MA(HHJSJDB,5),COLORRED; 星光灿烂(主图叠加) MA13:MA(C,13),COLORWHITE;MA34:MA(C,34),COLORFF00FF;MA55:MA(C,55),COLORFFCC66;LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;低吸:=CROSS(RSI,11);DRAWTEXT(低吸,L,'★'),COLORWHITE;DRAWTEXT(低吸,L-0.05,'低吸'),COLORWHITE;VAR7:=EMA(AMOUNT/VOL/100,3);VAR8:=EMA(VAR7,88);VAR9:=EMA(VAR7,88)*0.85;VARA:=VAR9*0.87;VARB:=LOW 粉进黄出(主图叠加) MA6:MA(C,6),COLOR0000FF;MA18:MA(C,18),COLOR0096FF;MA30:MA(C,30),COLOR00FF99;MA60:MA(C,60),COLORFF00FF;AAF:LLV(LOW,34),LINETHICK1,COLORFFFFCC;BBF:MA(AAF,4),LINETHICK1,COLORYELLOW;LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI),H*1.03,5);DRAWICON(CROSS(RSI,11),L*0.99,4);VAR27:=REF(CLOSE,1);VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;DRAWICON(IF(CROSS(76,VAR28),1,0),H*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 EMA(CLOSE,12)/LOW>1.15,5), LOW,'☆'),LINETHICK7 , COLORFF00FF; VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC)); AND VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);AA:=SMA(VARF,3,1);SS:=(REF(BIAS18,1)>=5)AND CROSS(VARJ,VARE)AND(AA>79);DRAWTEXT((REF(BIAS18,1)>=5)AND CROSS(VARJ,VARE)AND(AA>SS),H*1.02,'☆'),LINETHICK7,COLORGREEN; VAR1:=ZIG(3,10)REF(ZIG(3,10),2);{ZIG 有未来} VAR2:=ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1) 指标交流可以加群370877992 通达信股票公式 九阴真经 副图 VAR1:=REF(HIGH,1)*1.1; VAR2:=REF(HIGH,10)*1.1; VAR3:=HIGH*1.1; VAR4:=(VAR3*VOL+VAR2*(CAPITAL-VOL))/CAPITAL;VAR5:=REF(LOW,1)*0.9; VAR6:=LOW*0.9; VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;VAR8:=EMA(VAR7,30); VAR9:=EMA(VAR4,30); VARA:=VAR9-2; VARB:=IF(CLOSE<=VAR8,VARA,VAR9); 异动: VARB; 预警: VARA,COLORRED; DRAWICON(异动=预警,预警,6); 异动*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)); 【通达信】起跳点(住图)-指标公式源码 A1:MA(C,3);A2:MA(C,4);A3:MA(C,5);A4:=A2>A1&&(A3>A2);A5:=A1>A2&&(A1>A3);A:DRAWICON(A5=1&&(REF(A5,1)!=1)&&(BARSLAST(A4=1)<4),A3-0.1,1); 【通达信】起跳点(住图)-指标公式效果图 (文档来源:若水财经社区) 【通达信】长线趋势(副图)-指标公式源码 LC := REF(CLOSE,1);VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);RC :=(CLOSE-LC)*VID;LONG := SUM(RC,0);DIFF := SMA(LONG,10,1);DEA := SMA(LONG,20,1);LON : DIFF-DEA;LONMA : MA(LON,10);LONT : LON, COLORSTICK; {N,2,300,10} 【通达信】长线趋势(副图)-指标公式效果图 (文档来源:若水财经社区) 【通达信】精准选股90(选股)-指标公式源码 VAR1:=LLV(LOW,21);VAR2:=HHV(HIGH,21);AK1:=EMA((((CLOSEVAR1))* 100),5);AK:=EMA((((CLOSEVAR1))* 50),13);DD:=EMA(((0.667 * REF(AK1,1))+(0.333 * AK1)),2);VAR3:=LLV(LOW,55);VAR4:=HHV(HIGH,34);VAR5:=EMA((((CLOSEVAR3))* 100),3);VAR6:=((AK + VAR5)/ 2);VAR7:=EMA(((0.667 * REF(VAR5,1))+(0.333 * AK1)),2);VAR8:=EMA(VAR6,5);BB:=EMA(((0.667 * REF(VAR8,1))+(0.333 * VAR8)),2);AB:=CROSS(AK1,AK);BB1:=(CROSS(AK1,BB)AND(BB < 30));CD:=(BB1 * 0.6);MR:(AB = 1)and(CD = 0.6); 【通达信】精准选股90(选股)-指标公式效果图 (文档来源:若水财经社区)第二篇:通达信股票公式 九阴真经 副图
第三篇:【股票指标公式下载】-【通达信】起跳点(住图)
第四篇:【股票指标公式下载】-【通达信】长线趋势(副图)
第五篇:【股票指标公式下载】-【通达信】精准选股90(选股)