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

    正文概述    2024-05-04 04:15:40  

    通达信公式源码概况:指标类别:通达信公式授权方式: 免费版指标评级: ★★★★★指标分类: 策略画线方法: 副图1、打压洗盘在股价上升过程中,主力采取向下打压洗盘的方式最能达到洗筹目的。由于股价下跌,跟风盘由于害怕到手的利润失去,甚至害怕会因此反遭套牢,常常会恐慌性地抛出筹码。对于主力来说,这就是这种洗盘方式最大的优点。这表明的是主力在攻击普通投资者的心理弱点。这种情况一般出现在主力初次拉高后,或者控盘能力较强时间比较充足的情况下。在k线图形上显示为三角形缩量下跌,主要是以日线为主,因为如果时间太长的话,会被看作是股价内在的运行规律,很难达到洗盘的效果,多数人不把它当作洗盘看待,也就是不买主力的账。打压洗盘方式举例:2、横向振荡洗盘。主力对股价拉到一定程度后展开横盘振荡而不再拉升,由于跟风盘害怕失去到手的利润,再加上对股价后市运行方向无法把握,已经盈利的投资者多数会采取落袋为安的操作策略,没有获利的投资者微亏出局不想浪费时间而抛出筹码。这种方式一般在优质股票或者热门题材股票中,因为主力一旦向下打压股价,很可能打压出去的股票变成肉包子打狗——有去无回的局面,因此只好通过以时间换空间的方式洗盘,进行横向振荡是此时最好的策略了。3、边拉边洗主力如果控盘不足或者实力较弱,或者发动行情时间比较紧迫,便有可能采取边拉边洗的方式洗盘。主力每天采取盘中大幅振荡的方式,吓出胆小的跟风者,同时采取阴阳相间的k线组合形态,不断抬高底部,吓出胆子较小的跟风者,从而边拉边洗或边增仓。其图形表现为均线系统不断多头发散,K线阴阳交错,成交量有规则缩放。边拉边洗最具迷惑性,对普通投资者技术分析水平要求也更高了。黄金柱洗盘公式最大的好处就是让你很方便的选出当天或者以前任意一天出现黄金柱的股票。使用说明:1、下降趋势时,黄线柱会比较多,都不需要关注,唯有在下降趋势改变时,在最后一根黄线柱买入。2、上升趋势时,没有上车的,在出现黄线柱时可关注买入,黄线出现,就是加油站。公式源码如下: {参数: N:0/150/20 N1:0/150/7 N2:0/1100/79 } JJ:=(CLOSE+HIGH+LOW)/3; A:=EMA(JJ,10); B:=REF(A,1); STICKLINE(A B,A,B,5,0),COLORYELLOW; STICKLINE(A B,A,B,5,0),COLORBLUE; M1:EMA(CLOSE,3); M2:EMA(CLOSE,8); M3:EMA(M2,13); M4:EMA(M2,55); VAR1:=EMA(M3,55); M5:EMA(M4,81); M6:EMA(VAR1,144),COLORRED,LINETHICK2; VAR2:=(REF(HIGH,1)+REF(LOW,1))/2; VAR3:=MA(CLOSE,N)+2*STD(CLOSE,N); 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),N1,1)/SMA(ABS(CLOSE-VAR4),N1,1)*100; VAR6:=CROSS(N2,VAR5); VAR7:=FILTER(VAR6,4); DRAWICON(VAR7,HIGH*1.035,2); DRAWTEXT(VAR7,HIGH*1.02, 卖出 ),COLORGREEN; A7:=(2*C+H+L)/4; VAR10:=LLV(LOW,34); VAR11:=HHV(HIGH,34); SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7); SD:=EMA(0.667*REF(SK,1)+0.333*SK,5); DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),8)/8 6/10ANDVOL =1.5*MA(VOL,5)AND COUNT(SK =SD,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW, ●买进 ),COLORRED; DRAWTEXT(IF(COUNT(CLOSE REF(CLOSE,1),13)/13 6/10AND COUNT(SK SD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE =OPEN,4)AND REF(CLOSE OPEN,3)ANDREF(CLOSE OPEN,2)ANDREF(OPEN CLOSE,1)AND OPEN REF(CLOSE,1),1,0),LOW, ●买进 ),COLORRED; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(IF(CLOSE DANDVOL/240 MA(VOL,5)/240ANDCLOSE REF(CLOSE,1)*1.08 ANDCLOSE MA(CLOSE,13)*1.3,1,0),LOW, ●抄底 ),COLORRED; STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,1),COLORRED; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,3.1,0),COLOR000033; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLOR000066; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLOR000099; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLOR0000CC; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLOR0000FF; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORCC66FF; STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,1),COLORCYAN; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,3.1,0),COLOR990000; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLORCC0000; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLORFF4400; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORFF8800; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORFFCC00; STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORCYAN; STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,1),COLORWHITE; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,3.1,0),COLOR555555; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLOR777777; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLOR999999; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORBBBBBB; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORDDDDDD; STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORFFFFFF; R3:=SMA(R2,3,1); R4:=3*R2-2*R3; R5:=LLV(LOW,5); R6:=HHV(HIGH,5); R7:=EMA((CLOSE-R5)/(R6-R5)*100,4)*2; R8:=EMA(0.667*REF(R7,1)+0.333*R7,2); R9:=3*R7-2*R8; RA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); RB:=POW(MA(LOW,5),2)+MA(LOW,5); RC:=POW(MA(HIGH,5),2)+MA(HIGH,5); RD:=(RA-LLV(RB,64))/(HHV(RC,64)-LLV(RB,64))*150+65-10; RE:=SMA(RD,3,1)*1.5-100; RF:=SMA(RE,3,1); R10:=3*RE-2*RF; R11:=(HIGH+LOW+CLOSE*2)/4; R12:=EMA(R11,13); R13:=STD(R11,13); R14:=(R11-R12)*100/R13; R15:=EMA(R14,5); R17:=EMA(R15,13)+200-100; R18:=EMA(R17,10); R19:=3*R17-2*R18; R1A:=R2+R7+RE+R17; R1B:=R3+R8+RF+R18; R1C:=R4+R9+R10+R19; R1D:=(HIGH+LOW+CLOSE)/3; R20:=(R1D-MA(R1D,34))/(0.015*AVEDEV(R1D,34)); R22:=(HIGH+LOW+CLOSE+R1D)/4; R23:=EMA(R22,24); R24:=STD(R22,24); R25:=(R22-R23)/R24*100; R26:=(R1D-MA(R1D,24))/(0.015*AVEDEV(R1D,24)); R27:=EMA(R25,5); R2A:=((R27+R26+R20)/3+165)/4; R2C:=(R1A+R1B+R1C*30)/32/5-15; R2E:=(R2A+R2C)/2/1.1*0.6+20;{为了压缩显示彩带高度*0.6+20,LMH} 超短:EMA(R2E,3),COLORRED,LINETHICK4; 短线:EMA(超短,5); {财神敲门的吸} 吸:=XLPL.NOTEXT吸,COLORMAGENTA,CIRCLEDOT,LINETHICK3; {吸筹:=吸!=DRAWNULL;}{判断“吸”是否无效值,LMH} {STICKLINE(吸,9,10,4,0),COLORYELLOW;} {洗盘} VA1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VA2:=SMA(ABS(LOW-VA1),13,1)/SMA(MAX(LOW-VA1,0),10,1); VA3:=EMA(VA2,10); VA4:=LLV(LOW,33); VA5:=EMA(IF(LOW =VA4,VA3,0),3); 资金建仓:=IF(VA5 REF(VA5,1),1,0),COLORRED,NODRAW; 洗盘:=IF(VA5 REF(VA5,1),1,0),COLORCYAN,NODRAW; 建仓洗盘:资金建仓OR洗盘; {STICKLINE(VA5 REF(VA5,1),50,VA5+50,3,0),COLORYELLOW; STICKLINE(VA5 REF(VA5,1),50,VA5+50,3,0),COLOR000055; STICKLINE(VA5 REF(VA5,1),50,VA5+50,2.6,0),COLOR000077; STICKLINE(VA5 REF(VA5,1),50,VA5+50,2.1,0),COLOR000099; STICKLINE(VA5 REF(VA5,1),50,VA5+50,1.5,0),COLOR0000BB; STICKLINE(VA5 REF(VA5,1),50,VA5+50,0.9,0),COLOR0000DD; STICKLINE(VA5 REF(VA5,1),50,VA5+50,0.3,0),COLOR0000FF;} {至尊筹码} X_1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); X_2:=(X_1-LLV(X_1,27))/(HHV(X_1,27)-LLV(X_1,27))*4*25; X_3:=(X_1-LLV(X_1,9))/(HHV(X_1,9)-LLV(X_1,9))*4*25; X_11:=EMA(WINNER(CLOSE)*70,3); X_12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3); X_14:=X_11/(X_11+X_12)*100; {暂不要黄金坑} {STICKLINE(X_14 REF(X_14,1)ANDX_14 20,X_14,0,0.1,0),COLORRED; STICKLINE(X_14 =REF(X_14,1)ANDX_14 20,X_14,0,2.5,0),COLORAA0000; STICKLINE(X_14 =REF(X_14,1)ANDX_14 20,X_14,0,1.5,0),COLORCC0000; STICKLINE(X_14 =REF(X_14,1)ANDX_14 20,X_14,0,0.5,0),COLORBLUE; STICKLINE(X_14 =10,X_14,0,5,0),COLORYELLOW;} 慢线:X_2,COLORFFFF00,LINETHICK2; 快线:X_3,LINETHICK1,COLORWHITE; 多:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,COLORGREEN; 选股:吸AND建仓洗盘AND多 30{AND快线 25AND短线  STICKLINE(选股,5,50,3,0),COLORYELLOW; DRAWBAND(短线,RGB(0,255,255),超短,RGB(240,128,128)); DRAWICON(CROSS(90,快线),90,9); RC1:=REF(C,1); 大阴线:=C 0.96*OORC =RC1*0.96ORC 1000ANDC =RC1*0.98; 大阴T:=BArslAst(FILTER(大阴线,3));{调整显示密度} 大阴实顶:REF(O,大阴T),COLORLIGREEN,POINTDOT;{显示大阴k线的开盘价O}; 大阴二一:REF((L+H)/2,大阴T),NODRAW; DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块} DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块} DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块}; AA:=(C-REF(C,1))/REF(C,1)*100; ZS:=(NAMELIKE( ST )ORNAMELIKE( *ST )ORNAMELIKE( S ))ANDAA =4.945; DS:=(NAMELIKE( ST )ORNAMELIKE( *ST )ORNAMELIKE( S ))ANDAA =-4.945; 涨停价:IF(ZS,REF(C,1)*1.05,REF(C,1)*1.1),NODRAW; 跌停价:IF(DS,REF(C,1)*0.95,REF(C,1)*0.9),NODRAW; {元帅主图} 比系数:=1.3; 金线:=1; 临界点:=0; ma5:=MA(C,5); MA10:=MA(C,10); MA20:=MA(C,20); 均线:=MA5 REF(MA5,1)ANDMA10 REF(MA10,1)ANDMA20 REF(MA20,1); RV1:=REF(V,1); RV2:=REF(V,2); RV3:=REF(V,3); RC2:=REF(C,2); RC3:=REF(C,3); RC4:=REF(C,4); RO1:=REF(O,1); RO2:=REF(O,2); RO3:=REF(O,3); RO4:=REF(O,4); 不破价顶:=C =RC3ANDRC1 =RC3ANDRC2 =RC3; 不破价底:=L RO3ANDREF(L,1) RO3ANDREF(L,2)  均价:=AMOUNT/vol/100; RJ1:=REF(均价,1); RJ2:=REF(均价,2); 阳柱:=C =OOR(C OAND均价 RC1); 三日二阳:=COUNT(阳柱,3)  基价柱阳:=RC3  价渐升:=(均价 =RJ1ORC RC1)AND(RJ1 =RJ2ORRC1 =RC2); 均价升:=(C+RC1+RC2)/3  量渐升:=V RV1ANDRV1  量渐减:=V =RV1ANDRV1 =RV2; 均量减:=(V+RV1+RV2)/3 =RV3ANDNOT(量渐升); 日价量比:=C/V; 日价量比升:=日价量比 =REF(日价量比,1)ANDREF(日价量比,1) =REF(日价量比,2); 均价升幅:=(C+RC1+RC2)/3/RC3; 均量升幅:=(V+RV1+RV2)/3/RV3; 价量比:=比系数*均价升幅/均量升幅  基前跳空:=RO3 RC4ANDRC4  黄金柱1T:=基价柱阳AND价渐升AND量渐减AND不破价顶AND不破价底AND基前跳空; BacKSET101T:=BACKSET(黄金柱1T,5); FILTER101T:=FILTER(BACKSET101T,4); 黄金柱1:=基价柱阳AND价渐升AND量渐减AND不破价顶AND不破价底; BACKSET101:=BACKSET(黄金柱1,4); FILTER101:=FILTER(BACKSET101,3); 黄金柱11:=黄金柱1ANDREF(黄金柱1,1); BACKSET1011:=BACKSET(黄金柱11,4); FILTER1011:=FILTER(BACKSET1011,3); 黄金柱12:=黄金柱1ANDREF(黄金柱1,2); BACKSET1012:=BACKSET(黄金柱12,4); FILTER1012:=FILTER(BACKSET1012,3); 黄金柱13:=黄金柱1ANDREF(黄金柱1,3); BACKSET1013:=BACKSET(黄金柱13,4); FILTER1013:=FILTER(BACKSET1013,3); 黄金柱2T:=基价柱阳AND价渐升AND均量减ANDNOT(量渐升)AND不破价顶AND不破价底AND基前跳空ANDNOT(黄金柱1)ANDNOT(黄金柱1T); BACKSET201T:=BACKSET(黄金柱2T,5); FILTER201T:=FILTER(BACKSET201T,4); 黄金柱2:=基价柱阳AND价渐升AND均量减ANDNOT(量渐升)AND不破价顶AND不破价底ANDNOT(黄金柱1)ANDNOT(黄金柱1T); BACKSET201:=BACKSET(黄金柱2,4); FILTER201:=FILTER(BACKSET201,3); 黄金柱21:=黄金柱2ANDREF(黄金柱2,1); BACKSET2011:=BACKSET(黄金柱21,4); FILTER2011:=FILTER(BACKSET2011,3); 黄金柱22:=黄金柱2ANDREF(黄金柱2,2); BACKSET2012:=BACKSET(黄金柱22,4); FILTER2012:=FILTER(BACKSET2012,3); 黄金柱23:=黄金柱2ANDREF(黄金柱2,3); BACKSET2013:=BACKSET(黄金柱23,4); FILTER2013:=FILTER(BACKSET2013,3); 黄金柱3T:=基价柱阳AND均价升AND量渐减AND不破价顶AND不破价底AND基前跳空ANDNOT(黄金柱1)ANDNOT(黄金柱2)ANDNOT(黄金柱1T)ANDNOT(黄金柱2T); BACKSET301T:=BACKSET(黄金柱3T,5); FILTER301T:=FILTER(BACKSET301T,4); 黄金柱3:=基价柱阳AND均价升AND量渐减AND不破价顶AND不破价底ANDNOT(黄金柱1)ANDNOT(黄金柱2)ANDNOT(黄金柱1T)ANDNOT(黄金柱2T); BACKSET301:=BACKSET(黄金柱3,4); FILTER301:=FILTER(BACKSET301,3); 黄金柱31:=黄金柱3ANDREF(黄金柱3,1); BACKSET3011:=BACKSET(黄金柱31,4); FILTER3011:=FILTER(BACKSET3011,3); 黄金柱32:=黄金柱3ANDREF(黄金柱3,2); BACKSET3012:=BACKSET(黄金柱32,4); FILTER3012:=FILTER(BACKSET3012,3); 黄金柱33:=黄金柱3ANDREF(黄金柱3,3); BACKSET3013:=BACKSET(黄金柱33,4); FILTER3013:=FILTER(BACKSET3013,3); 黄金柱4T:=基价柱阳AND均价升AND均量减AND不破价顶AND不破价底AND基前跳空ANDNOT(黄金柱1)ANDNOT(黄金柱1T)ANDNOT(黄金柱2)ANDNOT(黄金柱2T)ANDNOT(黄金柱3)ANDNOT(黄金柱3T); BACKSET401T:=BACKSET(黄金柱4T,5); FILTER401T:=FILTER(BACKSET401T,4); 黄金柱4:=基价柱阳AND均价升AND均量减AND不破价顶AND不破价底ANDNOT(黄金柱1)ANDNOT(黄金柱2)ANDNOT(黄金柱3)ANDNOT(黄金柱1T)ANDNOT(黄金柱2T)ANDNOT(黄金柱3T); BACKSET401:=BACKSET(黄金柱4,4); FILTER401:=FILTER(BACKSET401,3); 黄金柱41:=黄金柱4ANDREF(黄金柱4,1); BACKSET4011:=BACKSET(黄金柱41,4); FILTER4011:=FILTER(BACKSET4011,3); 黄金柱42:=黄金柱4ANDREF(黄金柱4,2); BACKSET4012:=BACKSET(黄金柱42,4); FILTER4012:=FILTER(BACKSET4012,3); 黄金柱43:=黄金柱4ANDREF(黄金柱4,3); BACKSET4013:=BACKSET(黄金柱43,4); FILTER4013:=FILTER(BACKSET4013,3); 黄金柱5T:=基价柱阳AND均价升AND价量比AND不破价顶AND不破价底AND基前跳空ANDNOT(黄金柱1)ANDNOT(黄金柱2)ANDNOT(黄金柱3)ANDNOT(黄金柱4)ANDNOT(黄金柱1T)ANDNOT(黄金柱2T)ANDNOT(黄金柱3T)ANDNOT(黄金柱4T); BACKSET501T:=BACKSET(黄金柱5T,5); FILTER501T:=FILTER(BACKSET501T,4); 黄金柱5:=基价柱阳AND均价升AND价量比AND不破价顶AND不破价底ANDNOT(黄金柱1)ANDNOT(黄金柱2)ANDNOT(黄金柱3)ANDNOT(黄金柱4)ANDNOT(黄金柱1T)ANDNOT(黄金柱2T)ANDNOT(黄金柱3T)ANDNOT(黄金柱4T); BACKSET501:=BACKSET(黄金柱5,4); FILTER501:=FILTER(BACKSET501,3); 黄金柱51:=黄金柱5ANDREF(黄金柱5,1); BACKSET5011:=BACKSET(黄金柱51,4); FILTER5011:=FILTER(BACKSET5011,3); 黄金柱52:=黄金柱5ANDREF(黄金柱5,2); BACKSET5012:=BACKSET(黄金柱52,4); FILTER5012:=FILTER(BACKSET5012,3); 黄金柱53:=黄金柱5ANDREF(黄金柱5,3); BACKSET5013:=BACKSET(黄金柱53,4); FILTER5013:=FILTER(BACKSET5013,3); 黄金柱6T:=基价柱阳AND均价升AND日价量比升AND不破价顶AND不破价底AND基前跳空ANDNOT(黄金柱1)ANDNOT(黄金柱2)ANDNOT(黄金柱3)ANDNOT(黄金柱4)ANDNOT(黄金柱5)ANDNOT(黄金柱1T)ANDNOT(黄金柱2T)ANDNOT(黄金柱3T)ANDNOT(黄金柱4T)ANDNOT(黄金柱5T); BACKSET601T:=BACKSET(黄金柱6T,5); FILTER601T:=FILTER(BACKSET601T,4); 黄金柱6:=基价柱阳AND均价升AND日价量比升AND不破价顶AND不破价底ANDNOT(黄金柱1)ANDNOT(黄金柱2)ANDNOT(黄金柱3)ANDNOT(黄金柱4)ANDNOT(黄金柱5)ANDNOT(黄金柱1T)ANDNOT(黄金柱2T)ANDNOT(黄金柱3T)ANDNOT(黄金柱4T)ANDNOT(黄金柱5T); BACKSET601:=BACKSET(黄金柱6,4); FILTER601:=FILTER(BACKSET601,3); 黄金柱61:=黄金柱6ANDREF(黄金柱6,1); BACKSET6011:=BACKSET(黄金柱61,4); FILTER6011:=FILTER(BACKSET6011,3); 黄金柱62:=黄金柱6ANDREF(黄金柱6,2); BACKSET6012:=BACKSET(黄金柱62,4); FILTER6012:=FILTER(BACKSET6012,3); 黄金柱63:=黄金柱6ANDREF(黄金柱6,3); BACKSET6013:=BACKSET(黄金柱63,4); FILTER6013:=FILTER(BACKSET6013,3); ma3:MA(C,3),colorwhite; ma5:MA(C,5),colorgreen; ma10:MA(C,10),colorred; ma20:MA(C,20),colorblue; ma30:MA(C,30),coloryellow; Var1:=EMA(C,3); Var2:=EMA(C,5); Var3:=EMA(C,10); Var4:=EMA(C,20); Var5:=EMA(C,30); Var6:=(Var2+Var3+Var4+Var5)/4; Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*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,8,0),COLORBLUE; STICKLINE(Var7 1*REF(Var7,1),h,l,0.5,0),COLORRED;STICKLINE(Var7 1*REF(Var7,1),o,c,8,0),COLORRED; STICKLINE(Var7 1*REF(Var7,1)ANDVar9 1*REF(Var9,1),h,l,0.5,0),COLORGREEN;STICKLINE(Var7 1*REF(Var7,1)ANDVar9 1*REF(Var9,1),o,c,8,0),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,8,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,8,0),coloryellow,linethick2; FIL1:=(FILTER101ANDNOT(REF(FILTER101,4)))OR(FILTER1011ANDNOT(REF(FILTER1011,4)))OR(FILTER1012ANDNOT(REF(FILTER1012,4)))OR(FILTER1013ANDNOT(REF(FILTER1013,4))); FIL2:=(FILTER201ANDNOT(REF(FILTER201,4)))OR(FILTER2011ANDNOT(REF(FILTER2011,4)))OR(FILTER2012ANDNOT(REF(FILTER2012,4)))OR(FILTER2013ANDNOT(REF(FILTER2013,4))); FIL3:=(FILTER301ANDNOT(REF(FILTER301,4)))OR(FILTER3011ANDNOT(REF(FILTER3011,4)))OR(FILTER3012ANDNOT(REF(FILTER3012,4)))OR(FILTER3013ANDNOT(REF(FILTER3013,4))); FIL4:=(FILTER401ANDNOT(REF(FILTER401,4)))OR(FILTER4011ANDNOT(REF(FILTER4011,4)))OR(FILTER4012ANDNOT(REF(FILTER4012,4)))OR(FILTER4013ANDNOT(REF(FILTER4013,4))); FIL5:=(FILTER501ANDNOT(REF(FILTER501,4)))OR(FILTER5011ANDNOT(REF(FILTER5011,4)))OR(FILTER5012ANDNOT(REF(FILTER5012,4)))OR(FILTER5013ANDNOT(REF(FILTER5013,4))); FIL6:=(FILTER601ANDNOT(REF(FILTER601,4)))OR(FILTER6011ANDNOT(REF(FILTER6011,4)))OR(FILTER6012ANDNOT(REF(FILTER6012,4)))OR(FILTER6013ANDNOT(REF(FILTER6013,4))); FIL:=FIL1ORFIL2ORFIL3ORFIL4ORFIL5ORFIL6; STICKLINE(FILANDNOT(REF(FIL,4)),OPEN,CLOSE,3,0),COLOR0099FF; DRAWTEXT(FILANDNOT(REF(FIL,4)),LOW*0.986, ↖黄金柱 ),COLOR0099FF; K1:=SUMBARS(FIL,1); STICKLINE(K1AND金线=1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR8822FF; EMA250:=MA(C,250); EMA6:=MA(C,6); EMA18:=MA(C,18); EMA55:=MA(C,55); EMA144:=MA(C,144); EMA288:=MA(C,288); 中线【买入】:=COUNT(CLOSE EMA18,5)=4AND CLOSE/EMA18 1.004ANDCROSS(CLOSE,EMA18)ANDEMA18 = REF(EMA18,1); IF(中线【买入】,40,0); DRAWTEXT(中线【买入】,40, 中线【买入】 ),COLORRED; VL:=REF(LOW,1); VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100; VAR14:=MA(VAR12,13); VAR15:=LLV(LOW,34); VAR18:=EMA(IF(LOW =VAR15,VAR14,0),3); VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1); VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9; T:=FILTER(IF(VAR111 =VAR110ANDVAR18 REF(VAR18,1),VAR18*8,0),20); IF(T,50,0); DRAWTEXT(T,50, ←洗盘结束 ),COLORFF00FF; DRAWTEXT(T,50, | ),COLORFF00FF; VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR22:=SMA(VAR21,3,1); VAR23:=SMA(VAR22,3,1); VAR24:=SMA(VAR23,3,1); VAR25:=CROSS(VAR23,VAR24)ANDVAR23 20; IF(FILTER(VAR25,10)=1,50,0); DRAWTEXT(FILTER(VAR25,10)=1,60, ←抄底 ),COLORRED; DRAWTEXT(FILTER(VAR25,10)=1,50, | ),COLORRED; VAR29:=CROSS(VAR24,VAR23)ANDVAR23 80; IF(FILTER(VAR29,5)=1,80,100); DRAWTEXT(FILTER(VAR29,5)=1,80, ←逃顶 ),COLORBLUE; DRAWTEXT(FILTER(VAR29,5)=1,80, | ),COLORBLUE; FIL1T:=(FILTER101TANDNOT(REF(FILTER101T,5))); FIL2T:=(FILTER201TANDNOT(REF(FILTER201T,5))); FIL3T:=(FILTER301TANDNOT(REF(FILTER301T,5))); FIL4T:=(FILTER401TANDNOT(REF(FILTER401T,5))); FIL5T:=(FILTER501TANDNOT(REF(FILTER501T,5))); FIL6T:=(FILTER601TANDNOT(REF(FILTER601T,5))); FILT:=FIL1TORFIL2TORFIL3TORFIL4TORFIL5TORFIL6T; STICKLINE(FILTANDNOT(REF(FILT,5)),OPEN,CLOSE,3,0),COLOR0000FF; DRAWTEXT(FILTANDNOT(REF(FILT,5)),LOW*0.978, ↖元帅柱 ),COLOR0000FF; K2:=SUMBARS(FILT,1); STICKLINE(K2AND金线=1,REF(C,K2-1),REF(C,K2-1),10,0),COLOR8822FF; 黄金柱LJ:=(黄金柱1OR黄金柱2OR黄金柱3OR黄金柱4OR黄金柱5OR黄金柱6)AND均线AND临界点; BACKSET10LJ:=BACKSET(黄金柱LJ,4); FILTER10LJ:=FILTER(BACKSET10LJ,3); STICKLINE(FILTER10LJANDNOT(REF(FILTER10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF; DRAWTEXT(FILTER10LJANDNOT(REF(FILTER10LJ,4)),LOW*0.958, ↖临界点 ),COLOR0099FF; 黄金柱LJT:=(黄金柱1TOR黄金柱2TOR黄金柱3TOR黄金柱4TOR黄金柱5TOR黄金柱6T)AND均线AND临界点; BACKSET10LJT:=BACKSET(黄金柱LJT,5); FILTER10LJT:=FILTER(BACKSET10LJT,5); STICKLINE(FILTER10LJTANDNOT(REF(FILTER10LJT,4)),OPEN,CLOSE,3,0),COLOR0099FF; DRAWTEXT(FILTER10LJTANDNOT(REF(FILTER10LJT,4)),LOW*0.958, ↖临界点 ),COLOR0099FF; 成交额:=AMOUNT/100000000,volstICK; ma5:=MA(成交额,5),COLORWHITE; MA40:=MA(成交额,40),COLORGREEN,LINETHICK1; 大阳:=(C-REF(C,1))*100/REF(C,1) =3.2ANDH-L  倍量阳:=成交额 =REF(成交额,1)*2ANDC =OAND大阳; 倍量阴:=成交额 =REF(成交额,1)*2ANDC =OANDMA(C,5) =MA(C,20)ANDMA(C,5) =MA(C,60)ANDMA(C,20) =MA(C,60); STICKLINE(倍量阳,0,成交额,10,0),COLORYELLOW; STICKLINE(倍量阴,0,成交额,10,0),COLORGREEN; C2:=REF(C,1); 涨停:=IF((C-C2)*100/C2 =(10-0.01*100/C2),1,0); STICKLINE(涨停,OPEN,CLOSE,2,0),COLORFF00FF; STICKLINE(涨停,H,L,0,0),COLORFF00FF; 跌停:=IF((C2-C)*100/C2 =(10-0.01*100/C2),1,0); STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN; STICKLINE(跌停,H,L,0,1),COLORGREEN;N:=10; [源码注释]通达信公式动态公式解读输出XG: 随机指标KD的K 随机指标KD的D上穿0.5 AND 随机指标KD的K 随机指标KD的D上穿0.5的上次随机指标KD的K 20上穿0.5距今天数+1日累和=1

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