通达信主图公式
更新时间:2024-02-02 06:29:01 阅读量: 教育文库 文档下载
- 通达信主图叠加指标推荐度:
- 相关推荐
通达信主图公式:上出下买+三背离
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:IF(MA(CLOSE,17)
IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2; IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;
IF(PM操作线);
DD:=分水岭 IF(DD,分水岭,DRAWNULL),COLOR00FF00,LINETHICK2; IF(S,分水岭,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4; DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);{买入红箭头} A1:=BARSLAST(REF(CROSS(\ B1:=REF(C,A1+1)>C AND REF(\CROSS(\ DRAWTEXT(B1>0,L-0.02,'★M'),COLOR00FFFF;{MACD底背离} A2:=BARSLAST(REF(CROSS(\ B2:=REF(C,A2+1)>C AND REF(\DRAWTEXT(B2,L-0.10,'◎K'),COLORFF00FF;{KDJ底背离} A3:=BARSLAST(REF(CROSS(\ B3:=REF(C,A3+1)>C AND REF(\CROSS(\ DRAWTEXT(B3>0,L-0.18,'◆R'),COLOR0000FF;{RSI底背离} C1:=BARSLAST(REF(CROSS(\ D1:=REF(C,C1+1) DRAWTEXT(D1>0,H+0.16,'★M'),COLOR00FF00;{MACD顶背离} AND AND AND C2:=BARSLAST(REF(CROSS(\ D2:=REF(C,C2+1) D3:=REF(C,C3+1) DRAWTEXT(D3>0,H+0.04,'◆R'),COLORFF9900;{RSI顶背离} AND 条件选股公式: macd,RSi,kdj底背离 KDJ_K:=\买1:=CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D<26); 买2:=CROSS(\买3:=CROSS(\买0:=买1+买2+买3; 买:IF(买0>1,买0,0); 副图公式,无为买卖 VAR1:=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)-50)*1.032+50),COLORRED; VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR3:=LLV(LOW,34); VAR4:=HHV(HIGH,34); SK: EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13)*VAR1,COLORWHITE; SD: EMA(SK,3),COLORYELLOW; VAR5:=EMA(CLOSE,12)-EMA(CLOSE,26); VAR6:=EMA(VAR5,9); VAR7:=VAR1*CLOSE*1.236 VARD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5); 买:IF( VAR1*VAR7 AND VAR8 AND VAR9 AND VARC<25 AND CLOSE<8 AND VARA<114 AND VARB<=0.23*40,55,0),COLORRED; VARE:=SLOPE(CLOSE,40); VARF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90); VAR10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100; VAR11:=STD(CLOSE,63)*10; VAR12:=(MA(CLOSE,76)-MA(CLOSE,13)/3); VAR13:=MA((CLOSE-VAR12)/VAR12,1); VAR14:=MA(CLOSE,5); VAR15:=MA(CLOSE,10); VAR16:=MA(CLOSE,20); VAR17:=MA(CLOSE,30); VAR18:=MA(CLOSE,60); VAR19:=MA(CLOSE,150); VAR1A:=MA(CLOSE,250); VAR1B:=VOL/CAPITAL*100; VAR1C:=(CLOSE-VAR1A)/VAR1A*100; VAR1D:=(CLOSE/REF(CLOSE,1)-1)*100; VAR1E:=PWINNER(1,CLOSE); VAR1F:=IF(VAR1>0.75 AND VAR1<0.901,0.618,1); 牛: IF(VAR14>VAR15 AND VAR15>VAR16 AND VAR16>VAR17 AND VAR16>VAR18 AND VAR19>VAR1A AND (VAR1E>=0.9 OR VAR1E>0.76 AND VAR1E<0.901 AND VAR1D>5 AND VAR1B>5) AND VAR1D>1.8 AND VAR1C<40 AND CLOSE>3 AND (CLOSE-VAR18)/VAR18<0.25 AND VAR1B<=6 AND VAR4*VAR1B>=1 AND CLOSE<18.5,35,0), COLORF00F00; VAR20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; VAR21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; VAR22:=VAR1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4; VAR23:=VAR1*MA(CLOSE,250); VAR24:=MA(CLOSE,125); VAR25:=CLOSE/MA(CLOSE,3)>=1.05 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); VAR26:=REF(CLOSE,1); VAR27:=SMA(MAX(CLOSE-VAR26,0),5,1)/SMA(ABS(CLOSE-VAR26),5,1)*100; VAR28:=VAR1*COUNT(VAR27<25,20)>=1; VAR29:=(HIGH-LOW)/HIGH*100+(CLOSE-VAR26)/VAR26*100; VAR2A:=EMA(MA(VAR29,41),6); VAR2B:=VAR2A>LLV(VAR2A,6)*1.02 AND REF(VAR2A,1) VAR2C:=VAR1*LLV(LOW,6)=LLV(LOW,41) AND LLV(LOW,6) 涨势确立: VAR1*(VAR2C>0 AND VAR2D*16+81.5)*VAR1,COLOR80FFFF ; 买入:IF(CROSS(趋势线,21),50,18.5),LINETHICK1,COLORAAA0FF; 卖出:IF(CROSS(87,趋势线),60,81.5 ),COLORFFAA00; DRAWTEXT(VAR2C>0 AND VAR2D,88,'↑'),COLORWHITE; VAR2E:=IF(CROSS(SK,SD),25,18.5); VAR2F:=IF(CROSS(SD,SK),75,81.5); 卖线:=VAR2F, COLORWHITE; 买线:=VAR2E,COLORRED; VAR13<0.06*(-10)+81.5,COLORWHITE; VAR30:0-SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; STICKLINE(VAR30<-2,0,VAR30,1.5,1); DRAWTEXT(买入>VAR2E,61,' 短买'),COLORAAAAFF; DRAWTEXT(卖出 六,副图公式:理财专家 {理财专家} {参数 D:34,90,72} VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR2:=2*ABS(VAR1); VAR3:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1); VAR4:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1); VAR5:=(HIGH+LOW+CLOSE)/3; VAR6:=(VAR5-MA(VAR5,14))/(0.015*AVEDEV(VAR5,14)); VAR7:=(VAR5-MA(VAR5,89))/(0.015*AVEDEV(VAR5,89)); VAR8:=IF(VAR6>=150 AND VAR6<200 AND VAR7>=150 AND VAR7<200,10,0); VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200,-10,VAR8); VARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VARB:=100-ABS(VARA); VARC:=3*SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA ((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1); VARD:=3*SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA ((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1); VARE:=REF(LOW,1)*0.9; VARF:=LOW*0.9; VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL; VAR11:=EMA(VAR10,30); VAR12:=VAR11-CLOSE; VAR13:=REF(CLOSE,1); VAR14:=SMA(MAX(CLOSE-VAR13,0),7,1)/SMA(ABS(CLOSE-VAR13),7,1)*100; VAR15:=SMA(MAX(CLOSE-VAR13,0),13,1)/SMA(ABS(CLOSE-VAR13),13,1)*100; VAR16:=BARSCOUNT(CLOSE); VAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100; VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2; VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; VAR1A:=(SMA(VAR19,4,1)-50)*2; VAR1B:=SMA(VAR1A,3,1); VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C,4,1); VAR1E:=SMA(VAR1D,3,1); VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; VAR20:=IF(VAR17<=25 AND VAR18<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR12>=-0.25 AND VAR14<22 AND VAR15<28 AND VAR16>50,80,0); 活筹OAMV: VAR3,COLORFF00FF; OX: IF(VARB<90,VARB,100),COLORFFCC66; VAR21:=IF(VAR1>0,VAR1,0); 核能: IF(VAR1<0,VAR2,0), LINESTICK; 牛角: VAR20,COLORYELLOW; 预警: IF(VAR7>=200 AND VAR6>=150,15,IF(VAR7<=-200 AND VAR6<=-150,-15,VAR9)) +60,COLOR00FF00; VAR22:=100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)); VAR23:=MA(VAR22,3); VAR24:=EMA(AMOUNT/VOL/100,5); VAR25:=EMA(AMOUNT/VOL/100,13); VAR26:=VAR24-VAR25; 势能: IF(1000*VAR26/VAR24>0,1000*VAR26/VAR24,0),COLORRED,LINETHICK2; STICKLINE(VAR3>=REF(VAR4,1),VAR3,VAR4,8,1),COLORRED; STICKLINE(VAR3 VAR27:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1); VAR28:=CLOSE VAR2D:=VAR3REF(VOL,1) AND CLOSE>REF(CLOSE,1); VAR2E:=VAR3>=REF(VAR4,1) AND CLOSE=REF(核能,1) AND VARC DRAWTEXT(VAR27 AND COUNT(VAR27,30)=1,90,'持股待涨'),COLORFF00FF; DRAWTEXT(VAR28 AND COUNT(VAR28,30)=1,10,'出局为佳'),COLOR00FF00; DRAWTEXT(VAR29 AND COUNT(VAR29,30)=1,70,'上涨过急,需要调整'),COLORWHITE; DRAWTEXT(VAR2A AND COUNT(VAR2A,30)=1,80,'拉升在即狂牛!'),COLORYELLOW; DRAWTEXT(VAR2B AND COUNT(VAR2B,30)=1,20,'不必杀跌有反弹 '),COLORWHITE; DRAWTEXT(VAR2C AND COUNT(VAR2C,30)=1,30,'角斗士,阶段底部 '),COLORYELLOW; DRAWTEXT(VAR2D AND COUNT(VAR2D,30)=1,60,'大资金进场'),COLOR0099FF; DRAWTEXT(VAR2E AND COUNT(VAR2E,30)=1,40,'高点回落'),COLORFFCC66; 五,副图公式:MACD背离 DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA : EMA(DIFF,M); MACD : 2*(DIFF-DEA), COLORSTICK,COLOR5454FF; DD:=C=HHV(C,180); EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1; CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1; 上升背离:(CC AND EE)*DEA,COLOR00FFFF; 顶背离:(DD AND EE AND DEA< HHV(DEA,180))*DEA,STICK,LINETHICK3,COLORGREEN; FF:=C=LLV(C,180); GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1; LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1; 下降背离:(LL AND GG)*DEA,COLORMAGENTA; 底背离:(FF AND GG AND DEA> LLV(DEA,180))*DEA,STICK,LINETHICK3,COLORRED; MM:=IF(MACD< 0,MACD,0); JJ:=MM> REF(MM,1); ZZ:=REF(JJ,1)=1; 介入区:(JJ AND ZZ)*DEA,POINTDOT,COLORRED;{MACD蓝柱缩短---指今日比昨天短} STICKLINE(介入区=DEA,DEA,DIFF,3,0),COLORRED; DRAWTEXT(CROSS(DIFF,DEA ),0,'金\\N叉'),COLORCYAN; DRAWTEXT(CROSS(DEA,DIFF ),0,'死叉'),COLORGREEN; 三,副图公式:买卖奇准 买:=MA(CLOSE,1); 卖:=(LOW+HIGH+CLOSE)/3; 奇:= MA(卖,5); 准:= HHV(奇,10); 急卖奇准:IF(HHV((买<准),5),100,50),COLORFF6699; 短卖奇准:IF(HHV((买<准),10),100,50),COLORGREEN; 奇准:= MA(卖,5); 买卖:=LLV(奇准,10); 急买奇准:IF(LLV((买<买卖),5),50,0),COLORRED; 短买奇准:IF(LLV((买<买卖),10),50,0),COLORWHITE; 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); 动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3)); ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2); VAR1:=MA(LOW,1); VAR2:=MA(HIGH,2); VAR3:=MA(CLOSE,2); VAR7:=REF(VAR3,1); 【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100); 底部关注:( IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),80,0)),LINETHICK3,COLORFF00FF; 二,陈氏抄底 BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖离:=MA(BIAS,3); 抄底:IF(乖离<-12 AND 乖离>=-18,-4,0), COLORCYAN,LINETHICK1; STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,0) , COLORCYAN; 抄底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1; STICKLINE(乖离<-18,3,0,6,0),COLORFF35FF; 抄底三:IF(乖离<-6,5,0),COLORRED,LINETHICK1; STICKLINE(乖离<-6,5,3,2,1),COLORRED; 抄底四:IF(乖离<-4.5,0,0),COLOR00FFFF,LINETHICK1; STICKLINE(乖离<-4.5,0,1,3,1),COLOR00FFFF; VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31); VAR3:=(CLOSE-VAR1)/VAR1*100<-10; VAR4:=(VAR1-VAR2)/VAR2*100<-16; VAR5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23; VAR6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16; VAR7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27)); VAR8:=INDEXC; VAR9:=MA(VAR8,6); VARA:=MA(VAR8,24); VARB:=MA(VAR8,32); VARC:=VARB>VAR9*1.11 AND VARA>VAR9*1.095; SSS:=(VAR3 AND VAR4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VAR5 AND VAR6 AND CROSS(VAR7,79) OR VARC AND CLOSE/COST(8)<=0.8)*100; 抄底王:SSS>0,COLORWHITE,LINETHICK1; STICKLINE(SSS>0,0,6,6,0),COLORWHITE; 一, 乖离出入 VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; VAR4:=(VAR1+2*VAR2+3*VAR3)/6; VAR5:=MA(VAR4,3)-STD(VAR4,3); VAR6:=STICKLINE(VAR5<-4 AND VAR5>-6,-17,-30,5,0); VAR7:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50; VAR8:=EMA(VAR7,9); VAR9:=2*(VAR7-VAR8); VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:SMA(VARA,3,1),COLORYELLOW; VARB:=SMA(K,3,1); J:3*K-2*VARB,COLORGREEN; 试探介入: IF(CROSS(J,VARB) AND COUNT(VAR5<-9,4)>=1,65,-15),LINETHICK2,COLOR6ACCFF; 果断介入: IF(CROSS(J,VARB) AND COUNT(VAR5<-12,3)>=1,95,1),COLORMAGENTA; 主力介入: IF(CROSS(J,VARB) AND COUNT(VAR5<-16,4)>=1,40,-15),COLORWHITE; VARC:=DRAWICON(CROSS(J,1),1,1); 98; 乖离36: STICKLINE(VAR5<-36,125,110,6,0),COLOR95FBDD; 乖离28: STICKLINE(VAR5<-28 AND VAR5>-36,115,100,6,0),COLORMAGENTA ; 乖离24: STICKLINE(VAR5<-24 AND VAR5>-28,105,85,6,0),COLORYELLOW; 乖离20: STICKLINE(VAR5<-20 AND VAR5>-24,95,65,6,0),COLORRED; 乖离18: STICKLINE(VAR5<-18 AND VAR5>-20,85,55,6,0),COLORDDAA78 ; 乖离16: STICKLINE(VAR5<-16 AND VAR5>-18,75,45,6,0),COLORFFE0C0; 乖离14: STICKLINE(VAR5<-14 AND VAR5>-16,65,35,6,0); 乖离12: STICKLINE(VAR5<-12 AND VAR5>-14,50,20,5,0),COLORGREEN; 乖离9: STICKLINE(VAR5<-9 AND VAR5>-12,35,5,5,0),COLORAAAE5D; 乖离6: STICKLINE(VAR5<-6 AND VAR5>-9,-2,-15,5,0),COLORWHITE; 请教年线前180日向下然后走平向上的选股公式 通达信可用: NDAY(REF(MA(C,250),2),REF(MA(C,250),1),180) AND MA(C,250)>REF(MA(C,250),1); 奉献一个自己发财了的短线指标 奉献一个自己发财了的短线指标!10次9次赚钱! 一个普通指标:一个指标关键不是在好坏,而是看你怎么运用,怎么把握时机!简洁为上,多验为准,且进出只能机械性进出,就更能减少错误操作! YJD到-80以下进场,特别是下午进场特稳,90%第二天有赚,(跌停板勿去抢)自己验证,注意,信号发生时第二根线买进,要是下行就在快收线时买进,要是上行就马上抢进,如果前根线收下影线更要果断抢进,下50%资金,准确率可达95%,万一再下探5%再进50%资金,想亏都难罗!!多顶,好用多加分哦!(本指标最适合下跌中选股了,还有反弹和上涨专用的哦,哈哈) 多验证哦,熟悉了再用!包你不怕大跌了,赚也别贪,快进快出! 多顶多加分,到时再给个出仓的好东东大家!买的好不如卖的好! 名称:揭底专用 (用法:YJD<-80,S1>S2时择低进场!最好下半场找机会进场更无一失!) 正负100涵数是含未来的.不过没事放心用,无任何影响,因为指标极限只设到正负100,超过了就钝化走平了,也就是指标躺在-100不动了,偶尔会在-95-100之间波动!我门用的是大概值,在-80至-99就可以了,越低越好哦! 源码: CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; YJD: (EMA(CS,3)-50)*2; 极弱:-80; 强势:60; 风险:80; 弱势:-60; VAR4:=(1.1)*CLOSE; VAR5:=(0.9)*CLOSE; VAR6:=100*(WINNER(VAR4)-WINNER(VAR5)); S1:2*EMA(100-VAR6,1),COLORYELLOW; S2:EMA(S1,9); S3:=MA(S2,9); 条件:=CROSS(YJD,极弱) AND S1>S2; 条件0:=CROSS(强势,YJD) AND S1 [通达信] 优化KD指标 通过三组不同的KD数值来精确判断顶底,三组线都接近100了必是顶点,三组线都在20下面必是低点!!!无未来,可放心使用~~~~~本指标也是我千辛万苦在众多指标中挑出来 的 VAR13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; K1:SMA(VAR13,3,1),COLORFFFFFF; D1:SMA(K1,3,1),COLORFFFFFF,LINETHICK2; VAR21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K2:SMA(VAR21,3,1),COLOR0000FF; D2:SMA(K2,3,1),COLOR0000FF,LINETHICK2; VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K3:SMA(VAR34,3,1),COLORFF8800; D3:SMA(K3,3,1),COLORFF8800,LINETHICK2; VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; K55:=SMA(VAR55,3,1),COLOR00FF00; D55:=SMA(K55,3,1),COLOR008000; DIBU:= K1<20 AND D1<20 AND K2<20 AND D2<20 AND K3<20 AND D3<20 AND D55<20; STICKLINE(DIBU=1,-2,5,1,0),COLORRED; TOBU:= K3>80 AND K2>80 ; STICKLINE(TOBU=1,100,95,1,0) ,COLORGREEN; DD:=-10; 四线粘合一线金叉选黑马公式 四线粘合一线金叉选黑马公式四线粘合一线金叉选黑马绝技 短线黑马绝技.\四线粘合,一线金叉\如果能发现一只这样的股票,一般都能有百分之30到50的涨幅.也就是说如果能找到一只这样的股票,那末就可以在一只 股上完成一年的任务. {一线金叉} EMA30:EMA(C,30),COLORWHITE,LINETHICK2; EMA60:EMA(C,60),COLORFF00FF; EMA90:EMA(C,90),COLORYELLOW; EMA120:EMA(C,120),COLORFFCC66; EMA250:EMA(C,250),COLORBLUE; ss:=cross(EMA30,EMA60) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 or cross(EMA30,EMA120) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 or cross(EMA60,EMA90) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 or cross(EMA30,EMA90) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 {AND CROSS(EMA30,EMA120)}; DRAWICON(SS,L-0.04,1); DD:=cross(EMA60,EMA90) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 or cross(EMA60,EMA250) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 or cross(EMA90,EMA120) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 or cross(EMA60,EMA120) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA30,EMA250); {DD:=CROSS(EMA30,EMA250);} DRAWICON(DD,L-0.04,3); {\四线粘合,一线金叉\释义 1.四线粘合有两种情况,一种是30.60.90.120粘合.一是指60.90.120.250粘合. 一线金叉是指30均线金叉上面的两种粘合. 2.原理:均线粘合一般表示有主力在吸筹,而一线金叉则表示该股要拉升. 3.切记:有一线金叉,肯定也有一线死叉,一旦是一线死叉则可能引起暴跌.所以 在使用该法时一定要记住是30均线一定是在朝上走时.一旦30线拐头向下则要 抛 出. A.该方法不但适合日线,也通样适合周线.5.15.30.60分钟K线图.只是选择的周 期越 短则持股的时间越短. B.买点在股价上破30均线天线时,卖点是当高位有效跌破30线时(跌破30线两 天内 不能重新站上时为有效跌破 本人自行研究的目前唯一用成交量判断趋势的指标 筹码空间:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK; TX80:80,POINTDOT, COLORYellow; DX20:20,POINTDOT, COLORGREEN; VAR1:=LLV(LOW,21); VAR2:=HHV(HIGH,21); K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED; D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN; VAR3:=LLV(LOW,55); VAR4:=HHV(HIGH,34); VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3); VAR6:=(K+VAR5)/2; VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2); VAR8:=EMA(VAR6,5); VAR9:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2); DRAWICON(LONGCROSS(D,K,0.1),D,2),COLORRED; DRAWICON(LONGCROSS(K,D,0.1),K,1),COLORGREEN; 通达信选股公式一:黄金启动点 GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); HUANGJIN1:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3; HUANGJIN2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; HUANGJIN1 AND HUANGJIN2; 通达信选股公式二:均线条件选股公式 版本一(基础版本): ma4:=ma(close,4); ma10:=ma(close,10); ma20:=ma(close,20); ma62:=ma(close,62); var1:=slope(ma20,3)>0; var2:=abs(slope(ma62,3))<0.19; var3:=slope(ma62,3)>ref(slope(ma62,3),1); var4:=ref(ma4,4)>ma20; var5:=ref(ma20=ma62; absvol:=(ma4-ma20); var6:=slope(ma4,2)>=ref(slope(ma4,2),1) and absvol>=ref(absvol,1) and ref(absvol,2)>=ref(absvol,1); var41:=ref(ma4>ma20,3); absvol1:=abs(ma4-ma10); var61:=ref(absvol1,2)>ref(absvol1,1) and absvol1>ref(absvol1,1) and slope (ma4,2)<0 and slope(ma4,2)>ref(slope(ma4,2),1); con:=var1 and var2 and var3 and (var41 or var4) and var5 and (var6 or var61) ; not(ref(con,4))and not(ref(con,3))and not(ref(con,1))and not(ref(con,2)) and con; 版本二(优化版本):Var1:=EMA(CLOSE,12)-EMA(CLOSE,26); {MACD指标中的DIFF} Var2:=EMA(Var1,9); {MACD中的DEA} Var3:=Var1-Var2; Var4:=MA(CLOSE,4); Var5:=MA(CLOSE,20); Var6:=MA(CLOSE,62); Var7:=LLVBARS(Var4,4);{四天内4天线最低值到现在几天} Var8:=LLVBARS (Var6,30); {30天内62天线最低值到现在几天} Var9:=COUNT(Var7=1,10);{四天内第三天刚刚创新低即回调的情况在十天内有几次发生了几次} 选股:3< Var8<29 AND Var7=1 AND Var4>Var5 AND Var5>Var6 AND Var3>-0.022 AND Var9=1 AND SLOPE(Var6,5)<0.035;{首次回调又稍稍回升 ,以最优回归斜率0.035为参考}; 简单讲,就是按照您的设定的条件用电脑帮助您完成一些太多太复杂的挑选--比如您有一些好的心得和方法,可使有1000多只股,您就是有100双眼睛有时也不一定可以看得过来,如何条件选股,这时电脑就派上用场了! 几种实用的条件选股公式 条件选股公式:D!HMCSF (黑马草上飞) 缺省周期:日线 LCZ:=(C-MA(C,60))/MA(C,60)*100; A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95; A2:=COUNT(LCZ<20,100)>95; A4:=C/REF(C,1)>1.04; A5:=V/CAPITAL*100>2.8; ZTJ:=A1 AND A2 AND A3 AND A4 AND A5; ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0); 黑马草上飞: 1、60日价格均线平稳上扬。 2、日K线按照60日均线斜率震荡上行。 3、经过大半年的震荡向上,终于向上突破。 操作: 发出信号后逢低积极介入。 条件选股公式:D!LYT (老鸭头) 缺省周期:日线 MA5 := MA(close,5); MA10 := MA(close,10); MA60 := MA(close,60); pday1 := barslast(cross(ma5,ma60));{5日均线上穿60日均线} pday2 := barslast(cross(ma10,ma60));{10日均线上穿60日均线,至此形成鸭颈部} pday3 := barslast(high=hhv(high,pday2));{形成头部,要下跌} pday4 := barslast(cross(ma10,ma5));{下跌后,5日均线和10日均线死叉} pday5 := barslast(cross(ma5,ma10));{回落不久,5日均线和10日均线形成金叉,形成嘴部} a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5<5; a2:= count(cross(ma10,ma5),pday2)=1; A1 AND A2; 老鸭头: (1)采用5、10和60周期的价格平均线。当5日、10日均线放量上穿60日平均线后,形成鸭颈部。 (2)股价回落时形成的高点形成鸭头部。 (3)当股价回落不久,5日、10日均线再次金叉向上形成鸭嘴部。 操作: (1)在5日、10日均线放量上穿60日平均线形成鸭颈部时买入。 (2)在鸭嘴部附近成交量芝麻点一带逢低买入。 (3)当股价放量冲过鸭头顶瞬间时介入。 条件选股公式:D!QLQS (青龙取水) 缺省周期:日线 A1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10)); A2:=MIN(MA(C,5),MA(C,10))/MA(C,60)<1.05; A3:=COUNT(V6; A1 AND A2 AND A3; 青龙取水: 1、在5日、10日、60日均线图上,5、10日均线起伏不定,日K线在60日均线上逶迤。 2、龙头回到60日均线附近,犹如青龙取水,同时成交量萎缩 3、然后大涨。 操作:待龙头形成,成交量萎缩又放大后,逢低介入。 条件选股公式:D!QSGT (轻松过头) 缺省周期:日线 nday := hhvbars(high,120); {120日内最高价的周期数} nday1:= nday-10; {最高点之后10日} nday2:= nday+10; {庄家应该在nday1--nday2之间吸纳大部分筹码} a1 := nday>=30;{确保高点出现的周期数大于30} a2 := ref(sum(vol,20),nday1) > finance(7) * 0.4; {吸纳40%} VMA:=MA(Vol,40);{40日量均线} A3:=COUNT(Vol0.9;{成交量呈现芝麻点} A4:=Close>=hhv(high,120);{股价在冲击前高位} A5:=COUNT(Vol<(MA(vol,10)*1.3),10)>8;{近期无明显放量} A1 AND A2 AND A3 AND A4 AND A5; 轻松过头: (1)前一个头部下方的成交量巨大,股价筑头后开始回档。 (2)回档完毕后成交量呈量芝麻点,股价再次上扬冲击前一头部。 (3)轻松冲过前一头部并未明显放量。 操作: (1)在前一头部成交量巨大时跟进。 (2)在回档完毕后成交量呈现芝麻点时逢低吸纳。 (3)最经济、最大利润化的方法是在轻松过头前的一瞬间迅速介入。 (4)前头部价格一般是上升浪的腰部。 最新推出涨停板敢死队,当今最好的选股公式 Lx1:=(EMA((AMOUNT/10000000),1) /3); Lx2:=(WINNER(C)/0.3); Lx3:=IF(c<0,Lx1,V); Lx4:=IF(c<0,Lx2,V); Lx5:=IF((BARSCOUNT(C)>100),Lx3,Lx4); 量:=Lx5/1000; 动量:=(EMA(量,13)*1.5); A01:=IF((量>动量),量,0); A02:=BARSLAST((A01>0)); A03:=REF(量,A02); 趋势:=IF((量<=A01),量,A03); 突破:=IF(((((量=趋势) and (C>REF(C,1))) and (量>REF(量,1))) and (REF(A02,2)>0)),888,0); 量价突破:FILTER(突破 ,5 )*6; 抓住中线刚启动的大黑马的绝佳选股和预警公式 抓住中线刚启动的大黑马的绝佳选股和预警公式 这里一律使用周周期:采用KDJ刚刚上穿,CCI要求本周大于50,上周小于50,CCI向上运动,但CCI不要到100以上,同时CCI必须满足一定的陡峭度上升,陡峭度参数自己设定,可以取50--100之间,选出的股票陡峭度越陡越好。按周周期持股,抛出时候按周周期结合日周期抛出。 通达信源码如下:(也可以适用大智慧) 参数N 最小值:1 最大值:1000,缺省值:50 注明:缺省值可设在50--100之间,设90如果选不到,可以通过调节参数N ,把数值降下来。 TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); 陡峭度:=CCI-REF(CCI,1)/1; 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;
正在阅读:
通达信主图公式02-02
幼儿健康状况分析及干预措施01-19
浙江省2004年10月高等教育自学考试 药剂学试题 课程代码0302909-16
三基考试(康复科答案)09-29
落叶伴蝶飞作文600字07-15
学做菜作文400字06-28
小学数学四年级习题汇总10-12章04-24
介绍自己的作文06-15
追求理想与享受生活不矛盾 四辩04-17
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- 达信
- 公式
- 湖南省2011年对口升学考试英语试题
- Noip初赛复习指南、题目分类解析
- 企业职工总体情况说明及科技人员名单
- 英美概况复习资料
- 第6章 软件设计流程和方法 SOPC技术与应用
- 蒋洁敏同志在集团公司直属机关党的第九次代表大会结束时的讲话
- 数控车工技师理论知识试题 - 图文
- 乡镇综合体项目可行性研究报告 - 图文
- 年产万吨碳酸饮料工厂设计毕业设计
- 婊ㄥ窞瀛﹂櫌2015灞婃瘯涓氱敓濂栧?閲戣幏濂栧悕鍗
- 含硫化氢油气井井下作业推荐作法6610-2005 - 图文
- Lesson One The Time Message课文解释,练习答案,语法讲解,历年试题
- 行政法与行政诉讼法习题
- 技术改造管理办法
- 双闭环控制的异步电动机串级调速系统的设计
- 师范学院关于开展2013-2014年度先进个人先进集体和奖学金评定通知
- 七年级英语下册 Unit 1 Dream homes课课练 牛津版
- DCF、NAV、PE三种估值方法介绍
- 2016年第一季度总结(二季度计划)
- 第2章 教育的基本规律