【股票指标公式下载】-【通达信】买点ABC(副图)

合集下载

【股票指标公式下载】-【通达信】拐点买卖(区域、正确买卖、趋势操盘、拐点)

【股票指标公式下载】-【通达信】拐点买卖(区域、正确买卖、趋势操盘、拐点)

【通达信】拐点买卖(区域、正确买卖、趋势操盘、拐点)-指标公式源码{区域}买线YGB:=EMA(C,2);卖线YGB:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(买线YGB>=卖线YGB,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR600020;STICKLINE(买线YGB<卖线YGB,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR404050; DRAWKLINE(H,O,L,C);指导线:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2); 界:=MA(CLOSE,27);B买:IF(CROSS(指导线,界) OR CROSS(买线YGB,卖线YGB),C,DRAWNULL),COLORMAGENTA,NODRAW;持仓:IF(买线YGB>=卖线YGB,C,DRAWNULL),COLORRED,NODRAW;S卖:IF(CROSS(界,指导线) OR CROSS(卖线YGB,买线YGB),C,DRAWNULL),COLORLIGRAY,NODRAW;空仓:IF(买线YGB<卖线YGB,C,DRAWNULL),COLORGREEN,NODRAW;{正确买卖}N1:=7;LC:=REF(CLOSE,1);X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW, LINETHICK1;魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;TJ0:=X=魔王;TJ1:=X=魔鬼;TJ2:=X<REF(X,1);TJ3:=X>REF(1,X);JRS1:=DRAWICON(TJ1 AND TJ2,X,1);JRS2:=DRAWICON(TJ0 AND TJ3,X,2);DRAWICON(FILTER(JRS1>0,1),L*0.97,1);DRAWICON(FILTER(JRS2>0,1),H*1.02,2);{趋势操盘}VAR4:=(LOW+HIGH+CLOSE)/3;操作: MA(VAR4,5);拉升: HHV(操作,13);压力: HHV(操作,60);买卖: LLV(操作,13);底部支撑: LLV(LOW,60)*1.02;顶部: HHV(HIGH,60)*0.98,COLORCYAN;{白买黄加}MA6:=MA(C,6),COLORWHITE,LINETHICK2;MA18:=MA(C,18),COLOR0099FF,LINETHICK2;MA55:=MA(C,55),COLORFF00FF;MA125:=MA(C,125),COLORFFCC66;MA250:=MA(C,250),COLORBLUE;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);A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);买进价:=((C-REF(MA6,1))/6+MA6)*1.004;买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);白K买进:IF(买进条件,L,H),COLORWHITE,POINTDOT;STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK1;STICKLINE(买进条件,O,C,4,1),COLORWHITE,LINETHICK1;加码价:=((C-REF(MA18,1))/18+MA18)*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);黄K加码:IF(加码条件,L,H),COLORYELLOW,POINTDOT;STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK1;STICKLINE(加码条件,O,C,4,1),COLORYELLOW,LINETHICK1;{拐点}YGB1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);YGB2:=REF(YGB1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB3:=REF(YGB2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB4:=REF(YGB3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB5:=REF(YGB4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB6:=REF(YGB5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB7:=REF(YGB6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB8:=REF(YGB7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB9:=REF(YGB8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGBA:=REF(YGB9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGBB:=REF(YGBA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGBC:=REF(YGBB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGBD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);YGBE:=REF(YGBD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGBF:=REF(YGBE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB10:=REF(YGBF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB11:=REF(YGB10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB12:=REF(YGB11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB13:=REF(YGB12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB14:=REF(YGB13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB15:=REF(YGB14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB16:=REF(YGB15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB17:=REF(YGB16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB18:=REF(YGB17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB19:=REF(YGBD OR YGBE OR YGBF OR YGB10 OR YGB11 OR YGB12 OR YGB13 OR YGB14 OR YGB15 OR YGB16 OR YGB17 OR YGB18,1) AND YGB1;YGB1A:=REF(YGB1 OR YGB2 OR YGB3 OR YGB4 OR YGB5 OR YGB6 OR YGB7 OR YGB8 OR YGB9 OR YGBA OR YGBB OR YGBC,1) AND YGBD;STICKLINE(YGB1A,O,O+(C-O)/2,2,0),COLORBLUE;【通达信】拐点买卖(区域、正确买卖、趋势操盘、拐点)-指标公式效果图(文档来源:若水财经社区)。

自-【股票指标公式】-【通达信】30分钟操盘(副图)

自-【股票指标公式】-【通达信】30分钟操盘(副图)

【通达信】30分钟操盘(副图)-指标公式源码根据《一位外汇高手的交易系统》编写的指标。

关键是操作纪律,源码没啥特别的。

MA144:MA(C,N4),COLORBLUE,LINETHICK2;NOTEXT144:IF(MA144>REF(MA144,1),MA144,DRAWNULL),COLORRED,LINETHICK2; MA55:MA(C,N3),COLORGREEN,LINETHICK2;NOTEXT55:IF(MA55>REF(MA55,1),MA55,DRAWNULL),COLORMAGENTA,LINETHICK2; MA21:MA(C,N2),COLORYELLOW;MA8:MA(C,N1),COLORWHITE;外汇不是以线的价位精准为主,而是以趋势型态为主,看图不是看点线的精准度,而是看MA线型的型态结构,来看出波浪、摆幅的大小。

图形参数:30分钟K,以8、21、55MA来看趋势的形成,144MA当作趋势线。

先从基本的一条移动平均做起:1.上升的MA,价位于MA之上,择机做多绝不做空。

2.上升的MA,价位于MA之下,做空宜短打。

3.下降的MA,价位在MA之下,择机做空绝不做多。

4.下降的MA,价位于MA之上,做多宜短打。

5.开始弯曲的第一次碰线、接近线,多是好的出击时机,停损设在穿越MA。

6.打平的MA,双面巴的机率高,观望为主。

一、144MA让你舍弃自我主观意识,接受最笨的方法就是好的方法1.144开始转上升,价格第一次压回碰线买多。

2.144开始转下降,价格第一次回升碰线卖空。

3.144约略打平,表示可能双面巴来巴去,新手还是观察。

出场时间随你高兴,算是练习进场的方法,没来碰线就不要做。

如此,可以让你学习中至少不会大赔,然后慢慢学习价格穿过144MA的各种型态、或是跌破144MA 的各种方式,以及碰线后上涨或下跌波段的各种型态。

多看看过去的图形,自然体会出来波浪。

【股票指标公式】-【通达信】主力动向(副图)

【股票指标公式】-【通达信】主力动向(副图)

【通达信】主力动向(副图)-指标公式源码主力动向副图(主买主卖副图)DRAWRECTREL(0,0,400,988,IF(120,RGB(10,0,0),0));超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;主买A:=ACTINVOL,COLORRED,NODRAW;主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:=主买A*100/(主买A+主卖A),NODRAW,COLORRED;主卖:=主卖A*100/(主买A+主卖A),NODRAW,COLORGREEN;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));【量能饱和】:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW,NODRAW;大宗净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW;主动买卖差:=(ACTINVOL-ACTOUTVOL),COLORMAGENTA,NODRAW;主力资金差:=((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1)))/10000,COLORCY AN,NODRAW;DRAWRECTREL(100,0,90+CONST(主买*300/100),40,RGB(230,65,0)); DRAWRECTREL(100,60,90+CONST(主卖*300/100),100,RGB(0,104,0)); DRAWRECTREL(100,120,390,160,RGB(0,0,100));DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0)); 大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;T1:=IF (大单动向>0 AND REF(大单动向,1)<0,1,0);T2:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)<0,2,T1);T3:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)<0,3,T2);T4:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)<0,4,T3);T5:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)<0,5,T4); T6:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)<0,6,T5);T7:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)<0,7,T6);T8:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)<0,8,T7);T9:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)<0,9,T8);T:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)>0,10,T9);D:=COUNT(大单动向>0,10),NODRAW;DRAWTEXT_FIX(1,0.005,0.01,0,STRCAT(STRCAT('【主买比】: ',CON2STR(主买,1)),' % ')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(STRCAT('【主卖比】: ',CON2STR(主卖,1)),' % ')),COLORGREEN;DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STRCAT('【量能饱和】: ',CON2STR(【量能饱和】,1)),' % ')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(STRCAT('【主力资金差】: ',CON2STR(主力资金差,1)),' 万元 ')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.19,0,STRCAT(STRCAT('【大宗净流入】: ',CON2STR(大宗净流入,1)),' 万元 ')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.25,0,STRCAT(STRCAT('【主力净买量】: ',CON2STR(主力净买量,1)),' 手')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.25,0,STRCAT(STRCAT('【主动买卖差】: ',CON2STR(主动买卖差,1)),' 手')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.31,0,STRCAT(STRCAT('【DDX 连红天数】:',CON2STR(T,0)),' 天 ')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.31,0,STRCAT(STRCAT('【DDX两周红天数】:',CON2STR(D,0)),' 天 ')),COLORYELLOW;PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));ZLL:=(VOL / CAPITAL);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15);攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22)); GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) +LLJX),0,3,0),COLOR00FFFF; STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) +LLJX),0,3,0),COLOR00FF00; 资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*0.4+LLJX)<0,(HSL*0.4+LLJX),DRAWNULL),COLOR00FF00; 资金进出:=(HSL*0.4+LLJX),LINETHICK0;万元:=AMOUNT/10000{0000},VOLSTICK,COLORFF00FF;资金净进出:IF((HSL*0.4+LLJX)>0,资金流入,资金流出),COLORWHITE,POINTDOT;进出比例%:IF((HSL*0.4+LLJX)>0,资金流入/万元*100,资金流出/万元*100),COLORYELLOW;连红天1:=BARSLASTCOUNT(资金净进出>0),,COLORA20FFD,NODRAW;连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1),,COLORA20FFD,NODRAW;连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2),,COLORA20FFD,NODRAW; 连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3),,COLORA20FFD,NODRAW; 近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),,COLORYELLOW,NODRAW; 最多连红天1:=MAX(REF(近期连红天,1),近期连红天),COLORYELLOW,NODRAW;最多连红天2:=MAX(最多连红天1,REF(近期连红天,2)),COLORYELLOW,NODRAW; 最多连红天3:=MAX(最多连红天2,REF(近期连红天,3)),COLORYELLOW,NODRAW; 最多连红天4:=MAX(最多连红天3,REF(近期连红天,4)),COLORYELLOW,NODRAW; 最多连红天5:=MAX(最多连红天4,REF(近期连红天,5)),COLORYELLOW,NODRAW; 最多连红天:MAX(最多连红天5,REF(近期连红天,6)),COLORYELLOW,NODRAW;三日资金:SUM(资金进出,3),COLORWHITE,NODRAW;五日资金:SUM(资金进出,5),COLORFF00FF,NODRAW;十日资金:SUM(资金进出,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量 > 0),资金流量,0,3,0),COLOR0000FF;STICKLINE((资金流量 < 0),资金流量,0,3,0),COLORFF3300;黄柱初出蓝:=REF(资金流出,1)<0 AND 资金流入>30 AND C>O AND C>REF(C,1) AND C>MA(C,3);X:=(3*C+2*L+O+H)/7;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5) +14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X ,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X, 18)+REF(X,20))/210;长黄柱:= 资金流入>300 AND CROSS(C,多空线);DRAWTEXT(黄柱初出蓝,-30,'★'),COLORFF00FF;DRAWTEXT(长黄柱 ,((HSL * 0.4) * 1.5)*1.4 ,'★'),COLORRED;ARE4:=MA(C,20); ARE5:=(C>MA(C,5)); ARE6:=(MA(C,5)>MA(C,10));ARE7:=(C>MA(C,10));ARE8:=(MA(C,5)>MA(C,20)); ARE9:=(C>MA(C,20)); ARE10:=REF(ARE4,1); ARE11:=(ARE4>ARE10);AVX:=(((((IF(ARE5,10,(0-10))+IF(ARE6,10,(0-10)))+IF(ARE7,10,(0-10)))+IF(ARE8,10,(0-10)))+IF(ARE9,10,(0-10)))+IF(ARE11,10,(0-10)));DSLX:=(C/INDEXC); DSLX1:=MA(DSLX,5); DSLX2:=MA(DSLX,10); VRE1:=MA(V,5); VRE2:=MA(V,10);阻力位:=IF((C>200),(C*1.01),(C*1.07)); 阻力位1:=IF((C<10),(C*1.05),阻力位);止损位:=IF((C>200),(C*0.99),(C*0.93)); 止损位1:=IF((C<10),(C*0.95),止损位);TJTS1:=ISLASTBAR AND C<500; TJTS2:=ISLASTBAR AND C>500;KDAT:=REFDATE(HHV(H,45)/0.097,DATE);{解盘位置}解盘1:=CONST(IF(TJTS1 AND ((CROSS(AVX,1) AND (VRE1 >= VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘2:=CONST(IF(TJTS1 AND ((CROSS(AVX,1) AND (VRE1 < VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘3:=CONST(IF(TJTS1 AND ((CROSS(AVX,1) AND (VRE1 > VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘4:=CONST(IF(TJTS1 AND ((CROSS(AVX,1) AND (VRE1 <= VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘5:=CONST(IF(TJTS1 AND ((CROSS(1,AVX) AND (VRE1 >= VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘6:=CONST(IF(TJTS1 AND ((CROSS(1,AVX) AND (VRE1 < VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘7:=CONST(IF(TJTS1 AND ((CROSS(1,AVX) AND (VRE1 >= VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘8:=CONST(IF(TJTS1 AND ((CROSS(1,AVX) AND (VRE1 < VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘9:=CONST(IF(TJTS1 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 >= VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘10:=CONST(IF(TJTS1 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 < VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘11:=CONST(IF(TJTS1 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 >= VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘12:=CONST(IF(TJTS1 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 < VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘13:=CONST(IF(TJTS1 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 >= VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘14:=CONST(IF(TJTS1 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 < VRE2)) AND (DSLX >= DSLX1)) ,1,0));解盘15:=CONST(IF(TJTS1 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 >= VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘16:=CONST(IF(TJTS1 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 < VRE2)) AND (DSLX < DSLX1)) ,1,0));解盘17:=CONST(IF(TJTS2 AND (CROSS(AVX,1) AND (VRE1 >= VRE2)) ,1,0)); 解盘18:=CONST(IF(TJTS2 AND (CROSS(AVX,1) AND (VRE1 >= VRE2)) ,1,0)); 解盘19:=CONST(IF(TJTS2 AND (CROSS(AVX,1) AND (VRE1 < VRE2)) ,1,0)); 解盘20:=CONST(IF(TJTS2 AND (CROSS(AVX,1) AND (VRE1 < VRE2)) ,1,0)); 解盘21:=CONST(IF(TJTS2 AND (CROSS(1,AVX) AND (VRE1 >= VRE2)) ,1,0)); 解盘22:=CONST(IF(TJTS2 AND (CROSS(1,AVX) AND (VRE1 < VRE2)) ,1,0)); 解盘23:=CONST(IF(TJTS2 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 >= VRE2)) ,1,0));解盘24:=CONST(IF(TJTS2 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (VRE1 < VRE2)) ,1,0));解盘25:=CONST(IF(TJTS2 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 >= VRE2)) ,1,0));解盘26:=CONST(IF(TJTS2 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (VRE1 < VRE2)) ,1,0));{}解盘文字1:=IF(解盘1=1,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右',IF(解盘2=1,'该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右',IF(解盘3=1,'该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右',IF(解盘4=1,'该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右',IF(解盘5=1,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望',IF(解盘6=1,'该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓',IF(解盘7=1,'该股放量下跌,走势明显偏弱,离场观望',IF(解盘8=1,'该股缩量下跌,走势偏弱,离场观望',IF(解盘9=1,'该股形态良好,强势明显,量能充足,可以继续持有',IF(解盘10=1,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险', IF(解盘11=1,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓',IF(解盘12=1,'该股走势趋弱,量能不足,减持大部分筹码',IF(解盘13=1,'该股形态不佳,注意成交量的变化,但目前不适合参与',IF(解盘14=1,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与',IF(解盘15=1,'该股有走强迹象,但量能不足,趋势不明,不适合操作',IF(解盘17=1,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右',IF(解盘19=1,'大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌 ', IF(解盘21=1,'大盘形态走坏,重仓者可以减去大部分仓位 ',IF(解盘22=1,'大盘缩量调整,注意风险,短线清仓观望',IF(解盘23=1,'大盘走势良好,量能理想,可以继续持有强势股',IF(解盘24=1,'大盘形态良好,但量能稍显不足,随时准备减仓',IF(解盘25=1,'大盘趋势不明,注意成交量变化,目前不适宜进场',IF(解盘26=1,'大盘趋势向下,量能萎缩,不适合进场',DRAWNULL)))))))))))))))))))))));解盘文字2:=IF(解盘16=1,'该股走势太弱,没有参与价值',IF(解盘18=1,' 如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎', IF(解盘20=1,' 可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入',DRAWNULL)));DRAWTEXT(CURRBARSCOUNT=70{位置} AND (解盘1=1 OR 解盘2=1 OR 解盘3=1 OR 解盘4=1 OR 解盘5=1 OR 解盘6=1 OR 解盘7=1 OR解盘8=1 OR 解盘9=1 OR 解盘10=1 OR 解盘11=1 OR 解盘12=1 OR 解盘13=1 OR 解盘14=1 OR 解盘15=1 OR 解盘17=1 OR解盘19=1 OR 解盘21=1 OR 解盘22=1 OR 解盘23=1 OR 解盘24=1 OR 解盘25=1 OR 解盘26=1),(KDAT*0.99),解盘文字1),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=70{位置} AND (解盘16=1 OR 解盘18=1 OR 解盘20=1),IF(解盘18=1 OR 解盘20=1,KDAT*0.98,KDAT*0.96),解盘文字2),COLOR00FFFF;TT:=240/FROMOPEN;比:=TT;促进指数MFL:=(HIGH-LOW)*1000000/(VOL*比),COLORRED;AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);AZ2:=EMA(AY2,9);LT2:=(AY2-AZ2);L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;ZGD:=HHV(H,80)*0.99;ZGD2:=CONST(ZGD);ZDD:=LLV(L211,80);ZDD2:=CONST(ZDD);YYA4:=MA(CLOSE,20);YYA5:=(CLOSE > MA(CLOSE,5));YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));YYA7:=(CLOSE > MA(CLOSE,10));YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));YYA9:=(CLOSE > MA(CLOSE,20));YYA10:=REF(YYA4,1);YYA11:=(YYA4 > YYA10);YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 - 10))) + IF(YYA11,10,(0 - 10)));YYV1:=MA(VOL,5);YYV2:=MA(VOL,10);J1:=CONST(IF( YYAVX > 0,200,100));J2:=CONST(IF( YYAVX > 0,00,100));J3:=CONST(IF( YYAVX > 0,100,100));WJ:=(H+L+C)/3;VV1:=IF(H=L,1,H-MAX(O,C));VV2:=IF(H=L,1,MAX(C,O)-WJ);VV3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));VV5:=VOL/IF(H=L,4,H-L);V6:=(VV1*VV5);V7:=(VV2*VV5);V8:=(VV3*VV5);V9:=(V4*VV5);买盘1:=DYNAINFO(23)*比;卖盘1:=DYNAINFO(22)*比;买盘2:=IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8));卖盘2:=IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7));买盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,买盘1,买盘2); 卖盘:=IF(ISLASTBAR AND PERIOD=5 AND C<300,卖盘1,卖盘2); {买卖差:=买盘-卖盘;}MFI:=(HIGH-LOW)*1000000/(VOL*比);绿灯:=MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1);M1:=CONST(绿灯);衰退:=MFI<REF(MFI,1)AND VOL*比<REF(VOL,1);M2:=CONST(衰退);伪装:=MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1);M3:=CONST(伪装);蛰伏:=MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1);M4:=CONST(蛰伏);量大:=(卖盘+买盘)/REF(VOL,1)>2;M5:=CONST(量大);量缩:=REF(VOL,1)/(卖盘+买盘)>1.5;M6:=CONST(量缩);卖量大:=(卖盘-买盘)/买盘>0.4;M7:=CONST(卖量大);买量大:=(买盘-卖盘)/卖盘>0.4;M8:=CONST(买量大);TS1:=IF(M1=1,1.99+4.99,0.91);TS2:=IF(M2=1,TS1+4.99,TS1);TS3:=IF(M3=1,TS2+4.99,TS2);TS4:=IF(M4=1,TS3+4.99,TS3);TS5:=IF(M5=1,TS4+4.99,TS4);TS6:=IF(M6=1,TS5+4.99,TS5);TS7:=IF(M7=1,TS6+4.99,TS6);TS8:=IF(M8=1,TS7+4.99,TS7);DRAWTEXT(M1 AND CURRBARSCOUNT=50,ZGD2-(ZGD2*TS1),'[绿灯]实计交易量增加。

【股票指标公式下载】-【通达信】成交额副图(流入亿、流出亿、净流)

【股票指标公式下载】-【通达信】成交额副图(流入亿、流出亿、净流)

【通达信】成交额副图(流入亿、流出亿、净流)-指标公式源码额:AMOUNT/100000000,VOLSTICK,COLORFF00FF;VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLO SE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR 1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLORMAGENTA,NODRAW;差亿:流入亿+流出亿,COLORFFFF00,NODRAW;净:=EMA(EMA(差亿,2),2),COLOR00FFFF,NODRAW;净1:=EMA(净,2);流:=EMA(净1,7);净流:=3*EMA(净1+流,2);STICKLINE(净流<0,0,净流,4,0),COLORFF6600;STICKLINE(净流<0,0,净流,3,0),COLORFF9900;STICKLINE(净流<0,0,净流,1.5,0),COLORFFCC00;STICKLINE(净流<0,0,净流,0.5,0),COLORCYAN;STICKLINE(净流>0,0,净流,4,0),COLOR000099;STICKLINE(净流>0,0,净流,3,0),COLOR0000CC;STICKLINE(净流>0,0,净流,1.5,0),COLOR0000FF;STICKLINE(净流>0,0,净流,0.5,0),COLORCC66FF;STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,4,0),COLOR009900; STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,3,0),COLOR00BB00; STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,2,0),COLOR00DD00; STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,1,0),COLOR00FF00; STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,4,0),COLOR000099; STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,3,0),COLOR0000BB; STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,1.5,0),COLOR0000DD; STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,0.5,0),COLOR0000FF; DRAWTEXT(CROSS(净流,0),0,'买'),COLORFF00FF;DRAWTEXT(CROSS(REF(净流,3),净流),净流,'卖'),COLOR00FFFF; DRAWTEXT(CROSS(0,净流),0,'空'),COLOR00FFFF;【通达信】成交额副图(流入亿、流出亿、净流)-指标公式效果图(文档来源:若水财经社区)。

通达信指标公式源码精准波段买卖副图指标

通达信指标公式源码精准波段买卖副图指标

通达信指标公式源码精准波段买卖副图指标Z1:=STRCAT('【',STRCAT(CODE,STKNAME));Z2:=STRCAT(' ⾏业:',HYBLOCK);Z3:=STRCAT(' 地域:',DYBLOCK);Z4:=STRCAT(STRCAT(' 概念:',GNBLOCK),'】');Z5:=STRCAT(Z1,Z2);Z6:=STRCAT(Z3,Z4);Z7:=STRCAT(Z5,Z6);DRAWTEXT_FIX(1,0,0.0,0,Z7),COLOR00EEEE;DRAWTEXT_FIX(1,0,0.06,0,STRCAT('【风格:',STRCAT(FGBLOCK,'】'))),COLOREEEE00;EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←观望'),COLORLIRED; DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'←吃饱离场'),COLORGREEN; DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; VC:=((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;S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN; A0:=(L+H+C*2)/4;A1:EMA(A0,14)COLORBLUE,LINETHICK2;A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;DRAWTEXT(CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),(LOW*0.99),'加点仓准备吃⾁'),LINETHICK3,COLORF00FF0;DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2)),(HIGH* 1.01),'↓猪⼋戒背媳妇跑'),LINETHICK3,COLORFFFFFF;STICKLINE((EMA(CLOSE,2) >=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLOR0000FF; STICKLINE((EMA(CLOSE,2)>=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLOR0000AA; STICKLINE((EMA(CLOSE,2) >=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLOR0000CC; STICKLINE((EMA(CLOSE,2) <EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLORCCCC00; STICKLINE((EMA(CLOSE,2) <EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLORAAAA00; STICKLINE((EMA(CLOSE,2) <EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLORFFFF00;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),LOW,HIGH,0.1,0),COLOR00FFFF;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,3,0),CO LOR00AAAA; STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,2,0),CO LOR00CCCC;MAA5:MA(C,5),COLORFF00FF,LINETHICK5;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;。

【股票指标公式】-【通达信】绝密量能 绝密买点 突破量价 倍量选股(副图)

【股票指标公式】-【通达信】绝密量能 绝密买点 突破量价 倍量选股(副图)

【通达信】绝密量能绝密买点突破量价倍量选股(副图)-指标公式源码CV:=CLOSE;BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;UPR:=BBIBOLL+6*STD(BBIBOLL,11);DWN:=BBIBOLL-6*STD(BBIBOLL,11);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE -LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN ,0-QJJ*(HIGH-LOW),0-VOL/2)));HSL:=(XVL/3)/1.15;攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));LLJX:=EMA(攻击,3);B1:=IF(SUM(LLJX,1)>REF(MA(SUM(LLJX,1),1),1),SUM(LLJX,1),DRAWNULL);B2:=IF(SUM(LLJX,2)>REF(MA(SUM(LLJX,2),1),1),SUM(LLJX,2),DRAWNULL);B3:=IF(SUM(LLJX,3)>REF(MA(SUM(LLJX,3),1),1),SUM(LLJX,3),DRAWNULL);B4:=IF(SUM(LLJX,4)>REF(MA(SUM(LLJX,4),1),1),SUM(LLJX,4),DRAWNULL);B5:=IF(SUM(LLJX,5)>REF(MA(SUM(LLJX,5),1),1),SUM(LLJX,5),DRAWNULL);B6:=IF(SUM(LLJX,6)>REF(MA(SUM(LLJX,6),1),1),SUM(LLJX,6),DRAWNULL);B7:=IF(SUM(LLJX,7)>REF(MA(SUM(LLJX,7),1),1),SUM(LLJX,7),DRAWNULL);B8:=IF(SUM(LLJX,8)>REF(MA(SUM(LLJX,8),1),1),SUM(LLJX,8),DRAWNULL);B9:=IF(SUM(LLJX,9)>REF(MA(SUM(LLJX,9),1),1),SUM(LLJX,9),DRAWNULL); {}B10:=IF(SUM(LLJX,10)>REF(MA(SUM(LLJX,10),1),1),SUM(LLJX,10),DRAWNULL) ;XG:B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9AND B10 AND (CLOSE-OPEN)>=(UPR-BBIBOLL) AND V/REF(V,1)>=1.9;【通达信】绝密量能绝密买点突破量价倍量选股(副图)-指标公式效果图(文档来源:好股票网)。

【股票指标公式下载】-【通达信】牛股预警(副图)

【股票指标公式下载】-【通达信】牛股预警(副图)

【通达信】牛股预警(副图)-指标公式源码A00:=SUM(IF((CLOSE>REF(CLOSE,1.000)),VOL,IF((CLOSE<REF(CLOSE,1.000)),(0-VOL),0)),0);A01:=SUMBARS(VOL,CAPITAL);A02:=IF((CLOSE>LLV(CLOSE,A01)),1.000,(0-1.000))*IF((A00 >LLV(A00,A01) ),1.000,(0-1.000));A03:=(COUNT((IF((A02=(0-1.000)),1.000,0)=1.000),8.000)>2.000);A04:=((CLOSE-DMA((((3.000 * HIGH + LOW)+OPEN)+2.000 *CLOSE)/7.000,VOL/SUM(AMOUNT,13.000)/AMOUNT/VOL/100.000/100.000))/DMA((((3.000*HIGH+LOW)+OPEN)+2.000*CLOSE )/7.000,VOL/SUM(AMOUNT,13.000)/AMOUNT/VOL/100.000/100.000)*100.000<(0-18.000));A05:=((CLOSE-MIN(REF(CLOSE,5.000)*0.865,REF(CLOSE,21.000)*0.772))/CLO SE<0.009);A06:=((A03 AND A04) AND A05);A07:=(((((OPEN < EMA(CLOSE,5.000)) AND (CLOSE=HIGH)) AND(CLOSE/OPEN>=1.105)) AND (VOL/CAPITAL>=0.019)) AND (VOL/CAPITAL<=0.200));A08:=(A07 AND (COUNT(A07,5.000)=1.000));A09:=((((((((((((MA(CLOSE, 3.000)>REF(MA(CLOSE,3.000),1.000)) AND (MA(CLOSE, 5.000)>REF(MA(CLOSE,5.000),1.000))) AND(MA(CLOSE,10.000)>REF(MA(CLOSE,10.000),1.000))) AND(VOL/240.000>REF(VOL,30.000)*1.200/240.000*1.500)) AND(CLOSE>LOW*1.059)) AND (CLOSE>REF(MA(CLOSE,3.000),1.000))) AND REF(CLOSE,1.000)) AND(MA(CLOSE,5.000)>REF(MA(CLOSE,5.000),1.000))) AND (MA(CLOSE,10.000)>REF(MA(CLOSE,10.000),1.000))) AND (MA(CLOSE,20.000)>REF(MA(CLOSE,20.000),1.000))) AND(MA(VOL,5.000)>REF(MA(VOL,5.000),1.000))) AND ((MA(CLOSE,5.000)-MA (CLOSE,10.000))<= 0.579));A0A:=FILTER(A09,5.000);牛股:((A06 OR A07)ANDA0A);【通达信】牛股预警(副图)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】买卖副图1(主力、游资、警戒线)

【股票指标公式下载】-【通达信】买卖副图1(主力、游资、警戒线)

【通达信】买卖副图1(主力、游资、警戒线)-指标公式源码A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),NODRAW,COLOR00FFFF;游资:MA(A,8),NODRAW,COLOR00FF00;大户:MA(A,16),NODRAW,COLOR0000FF;散户:MA(A,32),NODRAW,COLORFFFF00;主动参与比例:ROUND(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FFFF;游资参与比例:ROUND(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FF00;大户参与比例:ROUND(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR0000FF;散户参与比例:ROUND(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLORFFFF00;警戒线:MA(A,180),COLORFF00FF;STICKLINE((主力 > 0),0,主力,3,0),COLOR0000FF;STICKLINE((主力 > 0),0,主力,2.7.5,0),COLOR001BFF;STICKLINE((主力 > 0),0,主力,2.4,0),COLOR0035FF;STICKLINE((主力 > 0),0,主力,2.1,0),COLOR0050FF;STICKLINE((主力 > 0),0,主力,1.8,0),COLOR0062FF;STICKLINE((主力 > 0),0,主力,1.5,0),COLOR007AFF;STICKLINE((主力 > 0),0,主力,1.2,0),COLOR0089FF;STICKLINE((主力 > 0),0,主力,0.9,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,0.6,0),COLOR00C0FF;STICKLINE((主力 > 0),0,主力,0.3,0),COLOR00EAFF;STICKLINE((游资 > 0),0,游资,3,0),COLOR007F00;STICKLINE((游资 > 0),0,游资,2.7,3),COLOR008B00;STICKLINE((游资 > 0),0,游资,2.4,0),COLOR009500;STICKLINE((游资 > 0),0,游资,2.1,0),COLOR00A300;STICKLINE((游资 > 0),0,游资,1.8,0),COLOR00AF00;STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00C000;STICKLINE((游资 > 0),0,游资,1.2,0),COLOR00CA00;STICKLINE((游资 > 0),0,游资,0.9,0),COLOR00DB00;STICKLINE((游资 > 0),0,游资,0.6,0),COLOR00FF00;STICKLINE((大户 > 0),0,大户,3,0),COLOR102088;STICKLINE((大户 > 0),0,大户,2.7,0),COLOR102099;STICKLINE((大户 > 0),0,大户,2.4,0),COLOR1020AA;STICKLINE((大户 > 0),0,大户,2.1,0),COLOR1020BB;STICKLINE((大户 > 0),0,大户,1.8,0),COLOR1020CC;STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;STICKLINE((大户 > 0),0,大户,1.2,0),COLOR1020EE;STICKLINE((大户 > 0),0,大户,0.9,0),COLOR1020FF;STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;STICKLINE((散户 > 0),0,散户,2.7,0),COLORFF8800;STICKLINE((散户 > 0),0,散户,2.4,0),COLORFF9900;STICKLINE((散户 > 0),0,散户,2.1,0),COLORFFAA00;STICKLINE((散户 > 0),0,散户,1.8,0),COLORFFBB00;STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFCC00;STICKLINE((散户 > 0),0,散户,1.2,0),COLORFFDD00;STICKLINE((散户 > 0),0,散户,0.9,0),COLORFFEE00;【通达信】买卖副图1(主力、游资、警戒线)-指标公式效果图(文档来源:若水财经社区)。

通达信精准抄底副图指标公式

通达信精准抄底副图指标公式

M:=-15;P:=-20;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)*80,STICK,COLORFFFFFF;R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;R2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;R3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;R4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;R5:=(R2+2*R3+3*R4)/6;R6:=MA(R5,3);VAR1A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2A:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3A:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5A:=(VAR2A+2*VAR3A+3*VAR4A)/6;VAR6A:=MA(VAR5A,3);绿白出现可以买: STICKLINE(VAR6A<=P,60,0,2,0),COLORGREEN;BIAS := (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;ENTERLONG:=CROSS(-14,BIAS);青白出现可以买:STICKLINE(ENTERLONG,0,99,1,0),COLORCYAN;MID := MA(CLOSE,26);LOWER:= MID - 2*STD(CLOSE,26);EN:=CROSS(CLOSE,LOWER);紫白出现可追涨:STICKLINE(EN,0,40,4,0),COLORFF00FF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;黄白出现可追涨:IF((MB1),90,0),STICK,COLORYELLOW;VAD1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAD2:=INDEXC;VAD3:=INDEXC;VAD4:=CLOSE/MA(CLOSE,50)<0.74;VAD5:=(CLOSE/MA(CLOSE,40)<0.78 OR CLOSE/MA(CLOSE,60)<0.74) AND HIGH>LOW*1.049;VAD6:=EMA(WINNER(CLOSE)*70,3);VAD7:=CLOSE/MA(CLOSE,40);VAD8:=MA(VAD2,6);VAD9:=MA(VAD3,6);VAD10:=HIGH>LOW*1.048;VAD11:=MA(CLOSE,27)/CLOSE>1.169 AND MA(CLOSE,17)/CLOSE>1.158 ANDCLOSE/COST(5)<=0.8;VAD12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);VAD13:=LOW*1.051<HIGH;VAD14:=MA(VAD2,24);VAD15:=MA(VAD3,24);VAD16:=VAD10 AND COUNT(VAD10,4)>2;VAD17:=EMA(CLOSE,30);VAD18:=CLOSE/MA(CLOSE,40)*100<76;VAD19:=VAD13 AND COUNT(VAD13,5)>1;VAD20:=MA(VAD2,32);VAD21:=MA(VAD3,32);VAD22:=VAD16 AND (VAD4 OR VAD4);VAD23:=VAD5 AND VAD11 AND VAD17;VAD24:=CLOSE/MA(CLOSE,60)*100<74;VAD25:=INDEXC;VAD26:=MA(VAD2,62);VAD27:=MA(VAD3,62);VAD28:=DMA(EMA(CLOSE,10),SUM(VOL,5)/3/CAPITAL);VAD29:=HIGH>LOW*1.051;VAD30:=MA(VAD25,5);VAD31:=MA(VAD2,105);VAD32:=MA(VAD3,105);VAD33:=REF(HIGH,10)/CLOSE>1.26;VAD34:=VAD29 AND COUNT(VAD29,5)>1;VAD35:=MA(VAD25,20);VAD36:=VAD26<REF(VAD26,1) AND VAD31<REF(VAD31,1) AND VAD26<VAD31*0.98; VAD37:=VAD27<REF(VAD27,1) AND VAD32<REF(VAD32,1) AND VAD27<VAD32*0.98; VAD38:=CLOSE/VAD28<0.65 AND VAD33;VAD39:=VAD34 AND (VAD18 OR VAD24) AND VAD12<20 AND VAD6<20 AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;VAD40:=(VAD1<6 AND VAD7<0.76 AND VAD19)*70;VAD41:=VAD20>VAD8*1.11 AND VAD14>VAD8*1.095;VAD42:=VAD21>VAD9*1.11 AND VAD15>VAD9*1.095;VAD43:=REF(CLOSE,8);VAD44:=VAD8>VAD2*0.95;VAD45:=VAD9>VAD3*0.95;VAD46:=VOL/CAPITAL;VAD47:=VAD36 AND VAD41 AND VAD44 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)); VAD48:=CLOSE/MA(CLOSE,48)*100<67;VAD49:=(EMA(CLOSE,28)-EMA(CLOSE,13))/EMA(CLOSE,28);VAD50:=CLOSE/MA(CLOSE,50)*100<69;VAD51:=CLOSE/VAD43<0.79 AND MA(VAD46,5)<0.02 AND VAD49>0.06;VAD52:=HIGH>LOW*1.078;VAD53:=VAD22 AND (VAD38 OR VAD51);VAD54:=VAD52 AND COUNT(VAD52,4)>2;VAD55:=VAD54 AND (VAD48 OR VAD50) OR VAD37 AND VAD42 AND VAD45 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));AA:=VAD23 OR VAD39 OR VAD40 OR VAD47 OR VAD53 OR VAD55 OR (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<-15 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100>0.1 AND MA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100,5)<60;STICKLINE(AA,0,99,1,0),COLORCYAN;VAR1B:=INDEXC;VAR2B:=MA(VAR1B,6);VAR3B:=MA(VAR1B,24);VAR4B:=MA(VAR1B,32);VAR5B:=MA(VAR1B,62);VAR6B:=MA(VAR1B,105);VAR7B:=VAR5B<REF(VAR5B,1) AND VAR6B<REF(VAR6B,1) AND VAR5B<VAR6B*0.98; VAR8B:=VAR4B>VAR2B*1.11 AND VAR3B>VAR2B*1.095;VAR9B:=VAR2B>VAR1B*0.95;中:=VAR7B AND VAR8B AND VAR9B AND CLOSE/COST(10)<=1 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));VAR1N:=MA(CLOSE,5);VAR2N:=MA(CLOSE,10);VAR3N:=(VAR1N-CLOSE)/CLOSE>3/100;VAR4N:=(VAR2N-VAR1N)/VAR1N>0.03;VAR5N:=LLV(CLOSE,30)=LLV(CLOSE,120);部:=VAR3N AND VAR4N AND VAR5N;{绿白出现可以买}门:=中=1 AND 部=1 ;STICKLINE(门,60,0,2,0),COLORGREEN;底部:IF(R6<M,20,0),LINETHICK1 , COLORWHITE;。

通达信指标:主力动向ABC

通达信指标:主力动向ABC

通达信指标:主力动向ABC(自创:主力动向+主升浪+组合买点)指标简介:1主力动向明确知道主力进出、主力买卖、主力轨迹等,波浪曲线底顶和升降用不同颜色标出一看便知。

2.主升浪:图中下面的粗黄柱,表示主升浪部分。

3组合买点:有选股买点、组合买、黑马线等。

4主力动向ABC:集主力动向,主升浪,组合买点为一体。

源码:V AR1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3); STICKLINE(V AR1>20 AND V AR1<80,V AR1,V AR1,10,1),COLORRED;STICKLINE(V AR1<REF(V AR1,1),V AR1,V AR1,10,1),COLORFFCC66;STICKLINE(V AR1>80,V AR1,V AR1,8,1),COLOR00FF00;STICKLINE(V AR1<20,V AR1,V AR1,8,1),COLORYELLOW;ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/250 00,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));MTGJ:=C-REF(C,1);ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);MAZL:=MA(ZLGJ,5);A:=((VOL)/(CAPITAL))*(100);S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);V2:=REF(V1,1);V3:=MAX(V1-V2,0);V4:=ABS(V1-V2);V5:=SMA(V3,10,1);V6:=SMA(V4,10,1);V8:=COUNT(((V5)/(V6)<0.2),5);V9:=COUNT((LLV(V1,10)=V1),10);主力进出:IF((MMS>REF(MMS,1) AND ZLGJ>REF(ZLGJ,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1)),65,0),COLORWHITE,POINTDOT;主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(ZLGJ,MAZL);STICKLINE(主力进出OR 主进主轨,65,0,2,1),COLORWHITE;精准买卖:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2);短线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);中线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);主进主买:=ABV>M2 AND ZLGJ>MAZL AND CROSS(MMS,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);短中精:=精准买卖OR 短线买点OR 中线买点OR 主进主买;主力买卖:IF(短中精,60,0),COLORFF00FF,POINTDOT;STICKLINE(主力买卖,60,0,2,1),COLORFF00FF;主力轨迹:IF(ABV>M2 AND MMS>MML AND CROSS(ZLGJ,MAZL) AND ZLGJ>REF(ZLGJ,1) AND MAZL>REF(MAZL,1),55,0),COLORFFCC66,POINTDOT; STICKLINE(主力轨迹,55,0,2,1),COLORFFCC66;拉升在即:IF(S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y),50,0),COLORYELLOW,POINTDOT;STICKLINE(拉升在即,50,0,2,1),COLORYELLOW;底部构成:IF(V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND VOL>REF(VOL,1) AND ABV>M2 AND ZLGJ>MAZL,45,0),COLOR00FF00,POINTDOT;STICKLINE(底部构成,45,0,2,1),COLOR00FF00;ROC:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;HSL:=100*VOL/CAPITAL;冲击波:IF(CROSS(ROC,16) AND HSL>3.5,40,0),COLOR0099FF,POINTDOT;STICKLINE(冲击波,40,0,2,1),COLOR0099FF;主升浪:IF(WINNER(C*0.9)*100-V/CAPITAL*100>=25,10,0),COLORYELLOW,POINTDOT; STICKLINE(主升浪,10,0,1,1),COLORYELLOW;V AR3:=LLV(HIGH,240);V AR4:=100*(CLOSE-V AR3)/V AR3;V AR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;V AR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;V AR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)* 100;V AR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1) *100;V ARA:=BARSCOUNT(CLOSE);V ARB:=V AR8<20 AND V AR9<23 AND V ARA>35;V ARC:=V ARB AND COUNT(V ARB,1)=1;V ARD:=EMA(CLOSE,21)-EMA(CLOSE,8);V ARE:=EMA(V ARD,5);V ARF:=TROUGHBARS(3,6,1)<4 AND CROSS(V ARD,V ARE);V AR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);V AR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);V AR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);V AR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);V AR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);V AR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);V AR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);V AR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);V AR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);V AR19:=EMA(CLOSE,2)-EMA(CLOSE,150);V AR1A:=EMA(V AR19,100);V AR1B:=2*(VAR19-V AR1A);V AR1C:=POW(V AR1B,3)*0.1+POW(V AR1B,1);V AR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));V AR1E:=EMA(V AR1D*0.97,3);V AR1F:=(HIGH+LOW+CLOSE)/3;V AR20:=(V AR1F-MA(V AR1F,14))/(0.015*A VEDEV(V AR1F,14));V AR21:=CROSS(V AR1E,LOW);选股买点: V AR10, , COLORYELLOW;组合买: (V AR11+V AR13+V AR15+V AR17), , COLORRED;组合卖: (V AR12+V AR14+V AR16+VAR18), , COLORGREEN;黑马线: IF(MONTH<2008 AND V AR1B>0.1,V AR1C,0)*1, , COLOR6699CC;黑马信号介入点: 选股买点AND V ARF AND V ARC AND V AR21 AND V AR4<0 ANDV AR5<2 AND V AR6=0, , COLORFFFF99;DRAWTEXT(V AR13,0.6,'●'), ,COLORRED;DRAWICON(组合买,组合买,1);DRAWICON(组合卖,组合卖,9);DRAWTEXT(黑马信号介入点>0,4.5,'●我的黑马介入点'), , COLORRED;DRAWICON(选股买点>0,4.2,1);DRAWTEXT(选股买点AND V ARF AND V ARC,2.8,' 30%下单莫错过!'), , COLORMAGENTA;DRAWTEXT(V AR18,3,'空仓'), , COLORGREEN;DRAWTEXT(V AR20<-110 AND 选股买点>0,2,'选股买点'), ,COLORYELLOW; DRAWTEXT(V AR17,1.3,'发现黑马'), , COLORFF6600;DRAWTEXT(选股买点AND V AR20<-100 AND V ARF AND V ARC>0,4.1,'★组合5分钟线选股思路获利5%以上'), , COLORRED;-10;。

通达信指标公式源码强龙买点参考副图源码

通达信指标公式源码强龙买点参考副图源码

通达信指标公式源码强龙买点参考副图源码强龙买点参考副图源码仅供参考改编时⽤,内容丰富,信号杂乱,有待优化。

{强龙买点参考F}装逼: DRAWGBK(1,RGB(36,38,40),RGB(24,16,51),0,1,0);VAR1B := (100 * (EMA(EMA(C - REF(C,1),6),6))) / (EMA(EMA(ABS(C - REF(C,1)),6),6)); 抄底红箭:= ((LLV(VAR1B,2) = LLV(VAR1B,7)) AND (COUNT(VAR1B < 0,2))) AND CROSS(VAR1B,MA(VAR1B,2));量能:= IF((MA((VOL - REF(VOL,1)) / REF(VOL,1),10)) = DRAWNULL,EMA((VOL -REF(VOL,1)) / REF(VOL,1),10),MA((VOL - REF(VOL,1)) / REF(VOL,1),10));股价:= IF(((CLOSE - MA(CLOSE,22)) / MA(CLOSE,22)) = DRAWNULL,(CLOSE -EMA(CLOSE,22)) / EMA(CLOSE,22),(CLOSE - MA(CLOSE,22)) / MA(CLOSE,22));主⼒量能:= IF(((股价* (100 + 量能)) - (MA(股价* (100 + 量能),7))) = DRAWNULL,(股价* (100 + 量能)) - (EMA(股价* (100 + 量能),7)),(股价* (100 + 量能)) - (MA(股价* (100 + 量能),7)));量能⾦叉:= CROSS(主⼒量能,0);TYP := ((HIGH + LOW) + CLOSE) / 3;CCI := (TYP - MA(TYP,14)) / (0.015 * AVEDEV(TYP,14));CCI⾦叉:= CROSS(CCI,-100);A1 := EMA(C,14);A1X := ((A1 - REF(A1,1)) / REF(A1,1)) * 100;出击A := IF(A1X >= 0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0)) + 1),DRAWNULL);出击A⾦叉:= CROSS(A1X,0);DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);MACD⾦叉:= CROSS(DIFF,DEA);MTR := EXPMEMA(MAX(MAX(HIGH - LOW,ABS(HIGH - REF(CLOSE,1))),ABS(REF(CLOSE,1) - LOW)),14);HD := HIGH - REF(HIGH,1);LD := REF(LOW,1) - LOW;DMP := EXPMEMA(IF((HD > 0) AND (HD > LD),HD,0),14);DMM := EXPMEMA(IF((LD > 0) AND (LD > HD),LD,0),14);PDI := (DMP * 100) / MTR;MDI := (DMM * 100) / MTR;ADX := EXPMEMA(((ABS(MDI - PDI)) / (MDI + PDI)) * 100,6);ADXR := EXPMEMA(ADX,6);X1 := MAX(C,O);X2 := MIN(C,O);X := ((REF(C > O,2)) AND (REF(X1,2) >= HHV(X1,2))) AND (REF(X2,2) <= LLV(X2,2));B := BARSLAST(X) + 2;A := ((REF(X1,B) >= HHV(X1,B)) AND (REF(X2,B) <= LLV(X2,B))) AND (EVERY(V <= REF(V,1),B));⾁夹馍:= (((REF(A,1) AND (C > O)) AND (C > REF(HHV(H,B),1))) AND (V >REF(HHV(V,B),1))) AND (EVERY(MA(C,5) > MA(C,10),B + 1));平台起飞: IF(((LAST(((H - L) / REF(C,1)) < 0.1,5,0)) AND (VOL > (REF(VOL,1) * 2))) AND(C > (REF(C,1) * 1.05)),1,DRAWNULL),NODRAW,COLOR6060A0;NH := 18;LOWV := LLV(LOW,NH);HIGHV := HHV(HIGH,NH);MAV := MA(V,3);横盘:= ((HIGHV - LOWV) / NH) < 0.15;放量1 := V >= (1.8 * MAV);今天⼤阳:= ((C - REF(C,1)) / REF(C,1)) >= 0.05;启动: IF((横盘AND 放量1) AND 今天⼤阳,1,DRAWNULL),NODRAW,COLOR4080FF;A☆:= DMA(((H + L) + (C * 2)) / 4,0.9);B☆:= VOL / (((H - L) * 2) - (ABS(C - O)));C☆☆:= (IF(C > O,B☆* (H - L),IF(C < O,B☆* ((H - O) + (C - L)),VOL / 2))) + (IF(C > O,0 - (B☆* ((H - C) + (O - L))),IF(C < O,0 -(B☆* (H - L)),0 - (VOL / 2))));A☆☆:= (C☆☆/ 20) / 1.15;攻击流量:= ((A☆☆* 0.618) + (REF(A☆☆,1) * 0.382)) + (REF(HSL.HSL,2) * 0.168); B☆☆:= EMA(攻击流量,3);流量:= IF(B☆☆> REF(B☆☆,1),1,0);AA☆:= ((MAX(C,O) - MIN(C,O)) / MIN(C,O)) < 0.00618;BB☆:= ((H - MAX(C,O)) / MAX(C,O)) > 0.00382;DD☆:= ((MIN(C,O) - L) / L) > 0.00382;EE☆:= ((ABS(BB☆- DD☆)) / C) < 0.00618;星☆星:= ((AA☆AND BB☆) AND DD☆) AND EE☆;星线选:= ((((星☆星= 1) AND (流量= 1)) AND (C > O)) AND ((ABS((C - MA(C,20)) / MA(C,20))) > 0.0382)) AND ((H -MAX(C,O)) <= (MIN(C,O) - L));星线确认: IF(((IF((REF(星线选,1) = 1) AND (C >= REF(C,1)),1,0)) AND (C > O)) AND (((C - REF(C,1)) / REF(C,1)) >0.00618),1,DRAWNULL),NODRAW,COLORFF3399;⼀阳穿三线: IF(((((CROSS(PDI,MDI) AND CROSS(PDI,ADX)) AND CROSS(PDI,ADXR)) AND (CLOSE > OPEN)) AND ((C / REF(C,1)) > 0.5)) AND (VOL > (MA(VOL,5) *1.5)),1,DRAWNULL),NODRAW,COLOR800080;T31 := (REF(C,1) / REF(C,2)) >= 1.095;T32 := (O > REF(C,1)) AND (C > O);T33 := ((H > C) AND (O > L)) AND (L >= REF(C,1));T34 := V > REF(V,1);涨停螺旋: IF(((T31 AND T32) AND T33) ANDT34,1,DRAWNULL),NODRAW,COLOR002080;RSV := ((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100;K := SMA(RSV,3,1);D := SMA(K,3,1);J := (3 * K) - (2 * D);KD⾦叉:= CROSS(K,D);A1B := EMA(((L + H) + (C * 2)) / 4,14);A1XB := ((A1B - REF(A1B,1)) / REF(A1B,1)) * 100;出击B := IF((A1XB >= 0) AND (BARSLAST(CROSS(A1XB,0)) > 0),REF((C + O) /2,BARSLAST(CROSS(A1XB,0))),DRAWNULL);出击B⾦叉:= CROSS(出击B,0);WMTM := CLOSE - REF(CLOSE,12);动量⾦叉:= CROSS(WMTM,0);VAR1 := (CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2));VAR2 := (REF(VAR1,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR3 := (REF(VAR2,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VAR4 := (REF(VAR3,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR5 := (REF(VAR4,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2)); VAR6 := (REF(VAR5,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR7 := (REF(VAR6,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VAR8 := (REF(VAR7,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR9 := (REF(VAR8,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VARA := (REF(VAR9,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VARB := (REF(VARA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VARC := (REF(VARB,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VARD := (CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2));VARE := (REF(VARD,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VARF := (REF(VARE,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR10 := (REF(VARF,1) AND (CLOSE >=REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));VAR11 := (REF(VAR10,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2));VAR12 := (REF(VAR11,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));VAR13 := (REF(VAR12,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2));VAR14 := (REF(VAR13,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));VAR15 := (REF(VAR14,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2));VAR16 := (REF(VAR15,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));VAR17 := (REF(VAR16,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2));VAR18 := (REF(VAR17,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));K线⾦底:= (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;下跌:= ((((((((((VARD OR VARE) OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18;K线银底:= (下跌AND (C > O)) AND (C > REF(C,1));⾦银K线:= REF(K线银底,1) AND K线⾦底;HLC := REF(MA(((HIGH + LOW) + CLOSE) / 3,10),1);HV := EMA(HHV(HIGH,10),3);LV := EMA(LLV(LOW,10),3);麦克⽀撑压⼒:= EMA((HLC * 2) - LV,3);短线突击:= EMA((C + REF(C,1)) / 2,3);PSY := ((COUNT(CLOSE > REF(CLOSE,1),12)) / 12) * 100;PSYMA := MA(PSY,6);预选安全区域:= (C <= 麦克⽀撑压⼒) AND (C >= 短线突击);做空衰歇:= CROSS(ADX,MDI);做多⾦叉:= CROSS(PDI,MDI);拉升⾦叉:= CROSS(ADX,ADXR) AND (PDI > MDI);初选量能⾦叉:= 量能⾦叉AND (⾦银K线OR 抄底红箭);初选基础池:= (预选安全区域AND (((⾦银K线OR 抄底红箭) OR 动量⾦叉) OR (做空衰歇OR 做多⾦叉))) AND ((初选量能⾦叉OR CCI⾦叉) OR 出击A⾦叉);动量⾦叉确认:= (动量⾦叉OR (REF(动量⾦叉,1) AND (拉升⾦叉OR 做多⾦叉))) OR (做多⾦叉AND 做空衰歇);出击B⾦叉确认:= 出击B⾦叉AND ((REF(CCI⾦叉OR KD⾦叉,1)) OR 做空衰歇);做多⾦叉确认:= 做多⾦叉OR (做空衰歇AND 拉升⾦叉);MACD⾦叉确认:= MACD⾦叉AND REF(量能⾦叉,1);KD⾦叉确认:= KD⾦叉AND (REF((⾦银K线OR 抄底红箭) OR 做空衰歇,1));稳操胜券: IF((REF(初选基础池,1) AND ((动量⾦叉确认OR 出击B⾦叉确认) OR 启动)) AND ((做多⾦叉确认OR MACD⾦叉确认) OR KD⾦叉确认),1,DRAWNULL),COLORA000FF; 追涨: IF(((((⾁夹馍OR 平台起飞) OR 启动) OR ⼀阳穿三线) OR 星线确认) OR 涨停螺旋,1,DRAWNULL),COLORRED;关注:= ((((((((⾦银K线+ 抄底红箭) + 量能⾦叉) + CCI⾦叉) + CROSS(出击A,0)) + CROSS(出击B,0)) + 拉升⾦叉) + 做多⾦叉) + KD⾦叉) + MACD⾦叉;DRAWBAND(关注,RGB(51,32,64),0,RGB(255,96,96));STICKLINE(稳操胜券,0,9.0,0.8,0),COLORLIMAGENTA;STICKLINE(涨停螺旋,0,4.0,0.3,0),COLOR002080;STICKLINE(星线确认,0,3.5,0.0,0),COLORFF0080;STICKLINE(⾁夹馍,0,3.0,1.3,0),COLORRED;STICKLINE(⼀阳穿三线,0,2.5,1.8,0),COLORB040B0;STICKLINE(启动,0,2.0,2.3,0),COLOR0080FF;STICKLINE(平台起飞,0,1.5,2.8,0),COLOR6060A0;追涨显⽰条件:= ((((⾁夹馍OR 平台起飞) OR 启动) OR ⼀阳穿三线) OR 星线确认) OR 涨停螺旋;⾦K线显⽰条件:= ((REFX(稳操胜券OR 追涨显⽰条件,1)) OR 初选基础池) OR ((CURRBARSCOUNT <= 2) AND 初选基础池);银K线显⽰条件:= (REFX(K线⾦底AND ⾦K线显⽰条件,1)) OR ((CURRBARSCOUNT <= 2) AND 初选基础池); STICKLINE(K线银底AND 银K线显⽰条件,0,0.5,3.5,0),COLORLIGRAY;STICKLINE(⾦银K线AND ⾦K线显⽰条件,0,1.0,3.3,0),COLOR006060;图标显⽰:= ((REFX(稳操胜券,1) OR 稳操胜券) OR 追涨显⽰条件) OR ((CURRBARSCOUNT <= 2) AND 初选基础池); DRAWICON(抄底红箭AND 图标显⽰,0.3,1);DRAWICON(出击A⾦叉AND 图标显⽰,1.0,16);DRAWICON(出击B⾦叉AND 图标显⽰,2.0,17); DRAWICON(CCI⾦叉AND 图标显⽰,3.0,25); DRAWICON(量能⾦叉AND 图标显⽰,4.0,26); DRAWICON(KD⾦叉AND 图标显⽰,5.0,27); DRAWICON(MACD⾦叉AND 图标显⽰,6.0,34); DRAWICON(做多⾦叉AND 图标显⽰,7.0,13); DRAWICON(做空衰歇AND 图标显⽰,6.5,14); DRAWICON(拉升⾦叉AND 图标显⽰,8.0,23); DRAWICON(动量⾦叉AND 图标显⽰,9.5,30);。

【股票指标公式下载】-【通达信】综合副图(跟庄买卖、MACD、准备买入、财神)

【股票指标公式下载】-【通达信】综合副图(跟庄买卖、MACD、准备买入、财神)

【通达信】综合副图(跟庄买卖、MACD、准备买入、财神)-指标公式源码P:=13;S:=5;M:=1;DIFF:EMA(C,S)-EMA(C,P);DEA:EMA(DIFF,M),COLORRED;MACD:2*(DIFF-DEA),COLORSTICK;P1:=P;S1:=S;DIFF1:EMA(C,S1)-EMA(C,P1);DEA1:EMA(DIFF,M),COLORRED;MACD1:=2*(DIFF1-DEA1),COLORSTICK;MACD2:=DEA;STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2*50,3,0 ),COLOR00AAFF; STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2>0,0,MACD2*50,1.8,0 ),COLOR00BBFF;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2>0,0,MACD2*50,1.3,0 ),COLOR00CCFF;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2>0,0,MACD2*50,1.2,0 ),COLOR00DDFF;STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2*50,1,0 ),COLOR00EEFF; STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2>0,0,MACD2*50,0.5,0 ),COLOR00FFFF;STICKLINE(MACD2>REF(MACD2,1)ANDMACD2>0,0,MACD2*50,3.4,0 ),COLOR0000AA;STICKLINE(MACD2>REF(MACD2,1)ANDMACD2>0,0,MACD2*50,3.2,0),COLOR0011BB;STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2*50,3,0),COLOR0022CC; STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2*50,2,0),COLOR0033DD; STICKLINE(MACD2>REF(MACD2,1)AND MACD2>0,0,MACD2*50,1,0),COLOR0044EE; STICKLINE(MACD2>REF(MACD2,1)ANDMACD2>0,0,MACD2*50,0.5,0),COLOR0055FF;STICKLINE(MACD2>REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,3.4,0),COLORAA00BB;STICKLINE(MACD2>REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,3.2,0),COLORBB11BB;STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2*50,3,0),COLORCC22BB; STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2*50,2,0 ),COLORDD33BB; STICKLINE(MACD2>REF(MACD2,1)AND MACD2<=0,0,MACD2*50,1,0),COLOREE44BB; STICKLINE(MACD2>REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,0.5,0 ),COLORFF55BB;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,3,0 ),COLORFF7700;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,1.5 ,0 ),COLORFF8811;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,1.2,0 ),COLORFFAA22;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,1.0 ,0 ),COLORFFBB33;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,0.8 ,0 ),COLORFFDD44;STICKLINE(MACD2<=REF(MACD2,1)ANDMACD2<=0,0,MACD2*50,0.5 ,0 ),COLORFFFF55;VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLOSE,58),1,0);VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;VARH:=IF(VARG>28,28,VARG);吸筹:STICKLINE(VARH>-120,0,VARH,6,1),COLOR0FFFFF;备钱:IF(吸筹,1,0),COLOR0FFFFF;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);买入时机: IF(CROSS(J,3),65,0),COLORFF00FF,LINETHICK3;DRAWTEXT(买入时机,70.1,' 跟庄'),COLOR00FF00;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SM A(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),CO LOR00FFFF;秘密买点: IF(趋势<=3,20,0),COLOR00FF00,LINETHICK3;机构建仓: IF(趋势<5,40,0),COLORFFFFFF,LINETHICK3;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,LINETHICK0;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;J1:=REVERSE(J);AA:=REF(MA(C,1),10)>REF(MA(C,60),10);买点:CROSS(J,J1) AND AA;STICKLINE(买点,0,-30,-12,0),COLOR0000FF;STICKLINE(买点,-20,-30,-10,0),COLORWHITE;STICKLINE(买点,-20,-30,-6,0),COLORYELLOW;DRAWTEXT(买点,-35,'财神'),COLORFF00FF;【通达信】综合副图(跟庄买卖、MACD、准备买入、财神)-指标公式效果图(文档来源:若水财经社区)。

通达信指标公式源码强龙买点参考副图 源码

通达信指标公式源码强龙买点参考副图 源码

强龙买点参考副图源码仅供参考改编时用,内容丰富,信号杂乱,有待优化。

{强龙买点参考F}装逼: DRAWGBK(1,RGB(36,38,40),RGB(24,16,51),0,1,0);VAR1B := (100 * (EMA(EMA(C - REF(C,1),6),6))) / (EMA(EMA(ABS(C - REF(C,1)),6),6)); 抄底红箭:= ((LLV(VAR1B,2) = LLV(VAR1B,7)) AND (COUNT(VAR1B < 0,2))) AND CROSS(VAR1B,MA(VAR1B,2));量能:= IF((MA((VOL - REF(VOL,1)) / REF(VOL,1),10)) = DRAWNULL,EMA((VOL -REF(VOL,1)) / REF(VOL,1),10),MA((VOL - REF(VOL,1)) / REF(VOL,1),10));股价:= IF(((CLOSE - MA(CLOSE,22)) / MA(CLOSE,22)) = DRAWNULL,(CLOSE -EMA(CLOSE,22)) / EMA(CLOSE,22),(CLOSE - MA(CLOSE,22)) / MA(CLOSE,22));主力量能:= IF(((股价* (100 + 量能)) - (MA(股价* (100 + 量能),7))) = DRAWNULL,(股价* (100 + 量能)) - (EMA(股价* (100 + 量能),7)),(股价* (100 + 量能)) - (MA(股价* (100 + 量能),7)));量能金叉:= CROSS(主力量能,0);TYP := ((HIGH + LOW) + CLOSE) / 3;CCI := (TYP - MA(TYP,14)) / (0.015 * AVEDEV(TYP,14));CCI金叉:= CROSS(CCI,-100);A1 := EMA(C,14);A1X := ((A1 - REF(A1,1)) / REF(A1,1)) * 100;出击A := IF(A1X >= 0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0)) + 1),DRAWNULL);出击A金叉:= CROSS(A1X,0);DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);MACD金叉:= CROSS(DIFF,DEA);MTR := EXPMEMA(MAX(MAX(HIGH - LOW,ABS(HIGH - REF(CLOSE,1))),ABS(REF(CLOSE,1) - LOW)),14);HD := HIGH - REF(HIGH,1);LD := REF(LOW,1) - LOW;DMP := EXPMEMA(IF((HD > 0) AND (HD > LD),HD,0),14);DMM := EXPMEMA(IF((LD > 0) AND (LD > HD),LD,0),14);PDI := (DMP * 100) / MTR;MDI := (DMM * 100) / MTR;ADX := EXPMEMA(((ABS(MDI - PDI)) / (MDI + PDI)) * 100,6);ADXR := EXPMEMA(ADX,6);X1 := MAX(C,O);X2 := MIN(C,O);X := ((REF(C > O,2)) AND (REF(X1,2) >= HHV(X1,2))) AND (REF(X2,2) <= LLV(X2,2));B := BARSLAST(X) + 2;A := ((REF(X1,B) >= HHV(X1,B)) AND (REF(X2,B) <= LLV(X2,B))) AND (EVERY(V <= REF(V,1),B));肉夹馍:= (((REF(A,1) AND (C > O)) AND (C > REF(HHV(H,B),1))) AND (V >REF(HHV(V,B),1))) AND (EVERY(MA(C,5) > MA(C,10),B + 1));平台起飞: IF(((LAST(((H - L) / REF(C,1)) < 0.1,5,0)) AND (VOL > (REF(VOL,1) * 2))) AND(C > (REF(C,1) * 1.05)),1,DRAWNULL),NODRAW,COLOR6060A0;NH := 18;LOWV := LLV(LOW,NH);HIGHV := HHV(HIGH,NH);MAV := MA(V,3);横盘:= ((HIGHV - LOWV) / NH) < 0.15;放量1 := V >= (1.8 * MAV);今天大阳:= ((C - REF(C,1)) / REF(C,1)) >= 0.05;启动: IF((横盘AND 放量1) AND 今天大阳,1,DRAWNULL),NODRAW,COLOR4080FF;A☆:= DMA(((H + L) + (C * 2)) / 4,0.9);B☆:= VOL / (((H - L) * 2) - (ABS(C - O)));C☆☆:= (IF(C > O,B☆* (H - L),IF(C < O,B☆* ((H - O) + (C - L)),VOL / 2))) + (IF(C > O,0 - (B☆* ((H - C) + (O - L))),IF(C < O,0 - (B☆* (H - L)),0 - (VOL / 2))));A☆☆:= (C☆☆/ 20) / 1.15;攻击流量:= ((A☆☆* 0.618) + (REF(A☆☆,1) * 0.382)) + (REF(HSL.HSL,2) * 0.168); B☆☆:= EMA(攻击流量,3);流量:= IF(B☆☆> REF(B☆☆,1),1,0);AA☆:= ((MAX(C,O) - MIN(C,O)) / MIN(C,O)) < 0.00618;BB☆:= ((H - MAX(C,O)) / MAX(C,O)) > 0.00382;DD☆:= ((MIN(C,O) - L) / L) > 0.00382;EE☆:= ((ABS(BB☆- DD☆)) / C) < 0.00618;星☆星:= ((AA☆AND BB☆) AND DD☆) AND EE☆;星线选:= ((((星☆星= 1) AND (流量= 1)) AND (C > O)) AND ((ABS((C - MA(C,20)) / MA(C,20))) > 0.0382)) AND ((H - MAX(C,O)) <= (MIN(C,O) - L));星线确认: IF(((IF((REF(星线选,1) = 1) AND (C >= REF(C,1)),1,0)) AND (C > O)) AND (((C - REF(C,1)) / REF(C,1)) > 0.00618),1,DRAWNULL),NODRAW,COLORFF3399;一阳穿三线: IF(((((CROSS(PDI,MDI) AND CROSS(PDI,ADX)) AND CROSS(PDI,ADXR)) AND (CLOSE > OPEN)) AND ((C / REF(C,1)) > 0.5)) AND (VOL > (MA(VOL,5) *1.5)),1,DRAWNULL),NODRAW,COLOR800080;T31 := (REF(C,1) / REF(C,2)) >= 1.095;T32 := (O > REF(C,1)) AND (C > O);T33 := ((H > C) AND (O > L)) AND (L >= REF(C,1));T34 := V > REF(V,1);涨停螺旋: IF(((T31 AND T32) AND T33) ANDT34,1,DRAWNULL),NODRAW,COLOR002080;RSV := ((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100;K := SMA(RSV,3,1);D := SMA(K,3,1);J := (3 * K) - (2 * D);KD金叉:= CROSS(K,D);A1B := EMA(((L + H) + (C * 2)) / 4,14);A1XB := ((A1B - REF(A1B,1)) / REF(A1B,1)) * 100;出击B := IF((A1XB >= 0) AND (BARSLAST(CROSS(A1XB,0)) > 0),REF((C + O) /2,BARSLAST(CROSS(A1XB,0))),DRAWNULL);出击B金叉:= CROSS(出击B,0);WMTM := CLOSE - REF(CLOSE,12);动量金叉:= CROSS(WMTM,0);VAR1 := (CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2));VAR2 := (REF(VAR1,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR3 := (REF(VAR2,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VAR4 := (REF(VAR3,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR5 := (REF(VAR4,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VAR6 := (REF(VAR5,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR7 := (REF(VAR6,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VAR8 := (REF(VAR7,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR9 := (REF(VAR8,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VARA := (REF(VAR9,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VARB := (REF(VARA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VARC := (REF(VARB,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VARD := (CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2));VARE := (REF(VARD,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)); VARF := (REF(VARE,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)); VAR10 := (REF(VARF,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));VAR11 := (REF(VAR10,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2));VAR12 := (REF(VAR11,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));VAR13 := (REF(VAR12,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2));VAR14 := (REF(VAR13,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));VAR15 := (REF(VAR14,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2));VAR16 := (REF(VAR15,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));VAR17 := (REF(VAR16,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >=REF(CLOSE,2));VAR18 := (REF(VAR17,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <=REF(CLOSE,2));K线金底:= (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;下跌:= ((((((((((VARD OR VARE) OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18;K线银底:= (下跌AND (C > O)) AND (C > REF(C,1));金银K线:= REF(K线银底,1) AND K线金底;HLC := REF(MA(((HIGH + LOW) + CLOSE) / 3,10),1);HV := EMA(HHV(HIGH,10),3);LV := EMA(LLV(LOW,10),3);麦克支撑压力:= EMA((HLC * 2) - LV,3);短线突击:= EMA((C + REF(C,1)) / 2,3);PSY := ((COUNT(CLOSE > REF(CLOSE,1),12)) / 12) * 100;PSYMA := MA(PSY,6);预选安全区域:= (C <= 麦克支撑压力) AND (C >= 短线突击);做空衰歇:= CROSS(ADX,MDI);做多金叉:= CROSS(PDI,MDI);拉升金叉:= CROSS(ADX,ADXR) AND (PDI > MDI);初选量能金叉:= 量能金叉AND (金银K线OR 抄底红箭);初选基础池:= (预选安全区域AND (((金银K线OR 抄底红箭) OR 动量金叉) OR (做空衰歇OR 做多金叉))) AND ((初选量能金叉OR CCI金叉) OR 出击A金叉);动量金叉确认:= (动量金叉OR (REF(动量金叉,1) AND (拉升金叉OR 做多金叉))) OR (做多金叉AND 做空衰歇);出击B金叉确认:= 出击B金叉AND ((REF(CCI金叉OR KD金叉,1)) OR 做空衰歇);做多金叉确认:= 做多金叉OR (做空衰歇AND 拉升金叉);MACD金叉确认:= MACD金叉AND REF(量能金叉,1);KD金叉确认:= KD金叉AND (REF((金银K线OR 抄底红箭) OR 做空衰歇,1));稳操胜券: IF((REF(初选基础池,1) AND ((动量金叉确认OR 出击B金叉确认) OR 启动)) AND ((做多金叉确认OR MACD金叉确认) OR KD金叉确认),1,DRAWNULL),COLORA000FF; 追涨: IF(((((肉夹馍OR 平台起飞) OR 启动) OR 一阳穿三线) OR 星线确认) OR 涨停螺旋,1,DRAWNULL),COLORRED;关注:= ((((((((金银K线+ 抄底红箭) + 量能金叉) + CCI金叉) + CROSS(出击A,0)) + CROSS(出击B,0)) + 拉升金叉) + 做多金叉) + KD金叉) + MACD金叉;DRAWBAND(关注,RGB(51,32,64),0,RGB(255,96,96));STICKLINE(稳操胜券,0,9.0,0.8,0),COLORLIMAGENTA;STICKLINE(涨停螺旋,0,4.0,0.3,0),COLOR002080;STICKLINE(星线确认,0,3.5,0.0,0),COLORFF0080;STICKLINE(肉夹馍,0,3.0,1.3,0),COLORRED;STICKLINE(一阳穿三线,0,2.5,1.8,0),COLORB040B0;STICKLINE(启动,0,2.0,2.3,0),COLOR0080FF;STICKLINE(平台起飞,0,1.5,2.8,0),COLOR6060A0;追涨显示条件:= ((((肉夹馍OR 平台起飞) OR 启动) OR 一阳穿三线) OR 星线确认) OR 涨停螺旋;金K线显示条件:= ((REFX(稳操胜券OR 追涨显示条件,1)) OR 初选基础池) OR ((CURRBARSCOUNT <= 2) AND 初选基础池);银K线显示条件:= (REFX(K线金底AND 金K线显示条件,1)) OR ((CURRBARSCOUNT <= 2) AND 初选基础池);STICKLINE(K线银底AND 银K线显示条件,0,0.5,3.5,0),COLORLIGRAY;STICKLINE(金银K线AND 金K线显示条件,0,1.0,3.3,0),COLOR006060;图标显示:= ((REFX(稳操胜券,1) OR 稳操胜券) OR 追涨显示条件) OR ((CURRBARSCOUNT <= 2) AND 初选基础池);DRAWICON(抄底红箭AND 图标显示,0.3,1);DRAWICON(出击A金叉AND 图标显示,1.0,16);DRAWICON(出击B金叉AND 图标显示,2.0,17); DRAWICON(CCI金叉AND 图标显示,3.0,25); DRAWICON(量能金叉AND 图标显示,4.0,26); DRAWICON(KD金叉AND 图标显示,5.0,27); DRAWICON(MACD金叉AND 图标显示,6.0,34); DRAWICON(做多金叉AND 图标显示,7.0,13); DRAWICON(做空衰歇AND 图标显示,6.5,14); DRAWICON(拉升金叉AND 图标显示,8.0,23); DRAWICON(动量金叉AND 图标显示,9.5,30);。

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