通信达极品公式
通达信成功率高的选股指标公式
通达信成功率高的选股指标公式代码集{逆势买入}Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);Var3b:=(CLOSE-Var1b)/Var1b*100<-8;Var4b:=(Var1b-Var2b)/Var2b*100<-21;逆势买入:if(V ar3b AND Var4b AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,col orf00ff0;drawtext(逆势买入,40,'逆势买入'),colorf0f000;============================{龙战四海:99%成功率,选股条件:龙战四海=65}Var1c:=REF(OPEN,1)<REF(OPEN,2);Var2c:=REF(CLOSE,1)<REF(CLOSE,2);Var3c:=REF(LOW,1)<REF(LOW,2);Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03; Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;Var7c:=CLOSE/MA(CLOSE,3)>=1.07 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);Var8c:=REF(CLOSE,1);Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5, 1)*100;VarA:=COUNT(Var9c<20,20)>=1;VarB:=Var7c AND VarA;龙战四海:if(VarB AND Var6c,65,0),colorf0f000;drawtext(龙战四海,55,'龙战四海'),colorf00ff0;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。
【指标公式源码下载】通达信看盘极品主图指标公式【多线】
通达信看盘极品主图指标公式【多线】MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;取舍线: (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MI D,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10) +9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*R EF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,LINETHICK1,COLORY ELLOW;生命线:MA(取舍线,6),LINETHICK1,COLORRED;五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;水平面:MA(CLOSE,60),CIRCLEDOT,COLORLIMAGENTA;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,30);MA4:=MA(CLOSE,60);WYA001:=(2*CLOSE+HIGH+LOW)/4;WYA002:=EMA(WYA001,4);WYA003:=EMA(WYA002,4);WYA004:=EMA(WYA003,4);WYA柱:=(WYA004-REF(WYA004,1))/REF(WYA004,1)*100;WYA线1:=MA(WYA柱,2);WYA线2:=MA(WYA柱,1);WY分时1线:=MA(CLOSE,1);WY分时21线:=MA(CLOSE,21);DRAWICON(WYA线1>0.25 AND WYA线2>0.25 AND CROSS(WYA线1,WYA线2),HIGH*1.0128,6);DRAWICON(WYA线1<0 AND WYA线2<0 AND CROSS(WYA线1,WYA线2),HIGH*1.0128,6);DRAWICON( CROSS(WY分时21线,WY分时1线),HIGH*1.0128,6) ;DRAWICON(WYA线1<-0.25 AND WYA线2<-0.25 AND CROSS(WYA线2,WYA线1),LOW*0.99,5);DRAWICON(WYA线1>0 AND WYA线2>0 AND CROSS(WYA线2,WYA线1),LOW*0.99,5),COLORYELLOW;DRAWICON(CROSS(WY分时1线,WY分时21线),LOW*0.99,5),COLORYELLOW;。
通达信有价值的经典指标公式
通达信有价值的经典指标公式以下是通达信有价值的经典指标公式(无源码的请下载附件导入)1 KDJ提前金叉N:=5;M1:=5;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,5,1);D:=SMA(K,M1,5);J:=3*K-2*D;VARB2:=(RSV/2+22)*1;量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);过滤:=((资金 /量) / 100);提纯:=(((CLOSE -过滤) / 过滤) * 100);黄金:=((提纯 < (0)) AND ZXNH);低买:=IF(黄金 AND RSV高卖:=IF(黄金 AND RSV>VARB2,80,120);上涨分界:=25;选股:(CROSS(上涨分界,低买));2 山沟涨停选股WA2:=(HHV(H,50)-L)/C>0.5;B2:=(HHV(H,8)-L)/C>0.25;A:=A2 AND B2;XG:COUNT(A,5)>=1 AND C/REF(C,1)>=1.095;3 抓牛启动点A:=LLV(HIGH,240);A2:=REF(LLV(CLOSE,480),1);A3:=REF(HHV(CLOSE,480),1);A4:=EMA(EMA(CLOSE,2)-EMA(CLOSE,150),100);A5:=2*(EMA(CLOSE,2)-EMA(CLOSE,150)-A4);A6:=POW(A5,3)*0.1+POW(A5,1);A7:=IF(A5>0.1,A6,0)*5;A8:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;CROSS(A8,A) AND CROSS(A8,A2) AND CROSS(A8,A3) AND CROSS(A7,A) AND CROSS(A7,A2) AND CROSS(A7,A3);4 低开长阳M:=4;N:=7;低开长阳:OPEN<= 1-M/100 AND CLOSE/OPEN>=1+N/100,COLORRED;DRAWICON(低开长阳,1.1,4);5 超级组合顶底N:=5;M1:=5;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,M1,5);J:=3*K-2*D;VARB2:=(RSV/2+22)*1;量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);过滤:=((资金 /量) / 100);提纯:=(((CLOSE -过滤) / 过滤) * 100);黄金:=((提纯 < (0)) AND ZXNH);低买:=IF(黄金 AND RSV高卖:=IF(黄金 AND RSV>VARB2,80,120);上涨分界:=25;选股:(CROSS(上涨分界,低买));VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED;STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00;底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(清仓,动力线),20),动力线+0.02,2);DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(阶段卖,动力线),20),动力线+0.02,2);界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;数值:=动力线,COLORA8A8A8;{希望之星买点}A3:=ABS(REF(C,2)-REF(O,2))/REF(O,2)<0.012;{前天星形}A2:=(REF(O,1)-REF(C,1))/REF(O,1)<0.008;{昨天星形}B1:=IF(REF(C,2)>REF(O,2),REF(O,2),REF(C,2));B2:=IF(REF(C,1)B3:=IF(C>O,O,C);B4:=B1>B2 AND B3>B2 AND REF(C,1)A1:=ABS(C-O)/O<0.012;{今天星形}星K:A3 AND A2 AND A1 AND B4;{准备上买点}VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区:=VARO7<10;TJ:=COUNT(建仓区,3);VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);上升:=CROSS(VAR1,8);准备上:(建仓区 OR REF(建仓区,0.5)) AND 上升;{出手买点}出手:FILTER((CROSS((EMA(CLOSE,2)-EMA(CLOSE,10)),EMA((EMA(CLOSE,2)-EMA(CLOSE,10)),2))AND EMA((EMA(CLOSE,2)-EMA(CLOSE,10)),2)<0 AND CROSS(C,MA(C,20))),90);{强势买点}D1:="WR.WR1"<5;D2:=CROSS("KDJ.K","KDJ.D") AND "KDJ.K"<50;D3:=CROSS("MACD.DIF","MACD.DEA");D4:="I">-100 AND "I"<-90;D5:=CROSS("RSI.RSI1","RSI.RSI2")AND "RSI.RSI1"<50;S1:=20;M2:=40;L1:=60;AAA:=CLOSE>OPEN;BBB:=AAA&&CLOSE>MA(CLOSE,S1)&&CLOSE>MA(CLOSE, M2)&&CLOSE>MA(CLOSE,L1);CCC:=BBB&&OPENXG1:=CCC&&(CLOSE-OPEN)>0.0618*CLOSE;AA1:=D1 AND D2;AA2:=D2 AND D3;AA3:=D1 AND D3;XG2:=AA1 OR AA2 OR AA3;强势:IF(XG1 AND XG2,1,0),COLORRED;{底部买点}WW:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);MM:=DMA(CLOSE,WW);通道4:= (1-7/100)*MM;VAR4:=EXPMA(CLOSE,9);LDN:=EXPMA(VAR4*0.86,5);TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));TTRR:=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&&HD>LD,HD,0),14);DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);PDI:=DMP*100/TTRR;MDI:=DMM*100/TTRR;ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);买底: C<=通道4 AND C<=LDN AND CCI<-100AND ADX>=60 AND MDI >= PDI AND CLOSE>OPEN;6 侯氏私募选股A01:=DYNAINFO(7);A02:=MA(((AMOUNT / VOL) / 100),(VOL / CAPITAL));A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=(DMA(A06,(VOL / CAPITAL)) * 100);A08:=IF((A02 > A01),(100 - A07),A07);A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);STICKLINE((A09 > 0),0,A09,5,0),COLORFF00FF;黄金线选股:IF(((CROSS(A09,0.009) AND (OPEN && LOW)) AND (CLOSE && LOW)),20,0),COLORFF00FF;私募黄金线:A09,LINETHICK2,COLOR00FFFF;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);MSD:EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORWHITE;风险区:80,COLORFF85FF;安全区:20,COLORYELLOW;天线:100,COLORFFFF00,LINETHICK2;地线:=0,LINETHICK2 COLOR6699FF;强弱线:50,COLORGREEN,POINTDOT;VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR3:=CLOSE-LLV(LOW,9);VAR4:=VAR2/VAR1*100-70;VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=SMA(VAR3/VAR1*100,3,1);VAR8:=LLV(LOW,34);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF(VAR9>100,VAR9-100,0);VAR11:=HHV(HIGH,34);VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);趋势值:VAR13,COLORRED;STICKLINE(VAR12-VAR13>0,VAR12,VAR13,8,0),COLORRED;STICKLINE(VAR12-VAR13<0,VAR12,VAR13,8,0),COLOR00FF0F;VARK1:=EMA(HHV(HIGH,500),21);VARK2:=EMA(HHV(HIGH,250),21);VARK3:=EMA(HHV(HIGH,90),21);VARK4:=EMA(LLV(LOW,500),21);VARK5:=EMA(LLV(LOW,250),21);VARK:=EMA(LLV(LOW,90),21);VARK7:=EMA((VARK4*0.96+VARK5*0.96+VARK*0.96+VARK 1*0.558+VARK2*0.558+VARK3*0.558)/6,21);VARK8:=EMA((VARK4*1.25+VARK5*1.23+VARK*1.2+VARK1* 0.55+VARK2*0.55+VARK3*0.65)/6,21);VARK9:=EMA((VARK4*1.3+VARK5*1.3+VARK*1.3+VARK1*0. 68+VARK2*0.68+VARK3*0.68)/6,21);VARKA:=EMA((VARK7*3+VARK8*2+VARK9)/6*1.738,21);VARKB:=REF(LOW,1);VARKC:=SMA(ABS(LOW-VARKB),3,1)/SMA(MAX(LOW-VARKB,0),3,1)*100;VARKD:=EMA(IF(CLOSE*1.35<=VARKA,VARKC*10,VARKC/10 ),3);VARKE:=LLV(LOW,30);VARKF:=HHV(VARKD,30);VARK10:=IF(MA(CLOSE,58),1,0);火焰山: EMA(IF(LOW<=VARKE,(VARKD+VARKF*2)/2,0),3)/618*VARK10;火焰: STICKLINE(火焰山>0,0,火焰山,4,1);今量: 火焰山;STICKLINE(火焰山>0,0,今量*1.2,8,0) COLOR0000FF; STICKLINE(火焰山>0,0,今量*0.8,8,0) COLOR0066FF; STICKLINE(火焰山>0,0,今量*0.6,8,0) COLOR0099FF; STICKLINE(火焰山>0,0,今量*0.4,8,0) COLOR00CCFF; STICKLINE(火焰山>0,0,今量*0.2,8,0) COLOR00FFFF;。
神式十大公式(通达信亲测可用)
神式十大公式一、神仙大趋势神仙大趋势H1:EMA(CLOSE,6);H2:EMA(神仙大趋势H1,18);H3:EMA(CLOSE,108),coloryellow;STICKLINE(神仙大趋势H1>H2,神仙大趋势H1,H2,1,1),colorred;STICKLINE(神仙大趋势H1<H2,神仙大趋势H1,H2,1,1),colorblue;二、神仙短线精灵VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(C LOSE,32))/MA(CLOSE,32)*100)/3;持币区域:VAR1,COLORFEDCBA;持股区域:IF(VAR1>0,VAR1,0),colorred;短顶:STICKLINE(VAR1>9AND FILTER(VAR1<REF(VAR1,1),5),VAR1+2,0,3,0),colorgreen;大顶:STICKLINE(VAR1>20AND FILTER(VAR1<REF(VAR1,1),5),VAR1+5,0,7,0),COLOR00FF00;VAR2:=HHV(VAR1>20,10);危险:STICKLINE(VAR2 ANDCROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,0,4,0);注意止损:STICKLINE(VAR2 AND FILTER(VAR1<REF(VAR1,1),6) ANDCROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0);短底:STICKLINE(VAR1<-9AND VAR1>REF(VAR1,1),VAR1-2,0,3,0),colorred;大底:STICKLINE(VAR1<-20AND FILTER(VAR1>REF(VAR1,1),5),VAR1-5,0,7,0),coloryellow;买入准备:VAR1<-9AND VAR1>REF(VAR1,1),colorwhite;三、神仙顶底先知CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;YJD:(EMA(CS,3)-50)*2;极弱:-80;强势:60;风险:80;弱势:-60;YJD,COLORSTICK;四、神式买卖点VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25); VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SUM(IF(VAR2>0AND VAR2>VAR3,VAR2,0),25);VAR5:=SUM(IF(VAR3>0AND VAR3>VAR2,VAR3,0),25);VAR6:=VAR4*100/VAR1;VAR7:=VAR5*100/VAR1;VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);VAR9:=(VAR8+REF(VAR8,15))/2;A:=(VAR7>VAR6 AND VAR7>25AND VAR6<25);B:ZIG(3,50/5)*100,colorwhite;G:MA(B,2),coloryellow;D:=CROSS(B,G)*1000,colorred;W:=CROSS(G,B)*1000,colorblue;E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);VAR10:=F AND F<8;VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR12:=SMA(VAR11,3,1);VAR13:=SMA(VAR12,3,1);VAR14:=VAR13 AND VAR13<20;MM:=A AND D AND VAR10 AND VAR14;DRAWTEXT(W=1000,B*1.05,'卖'),COLOR00FF00;DRAWTEXT(D=1000,B*1.05,'买'),colorred;五、神仙提款机尖顶买入:ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),colorred,LINETHICK2;尖顶卖出:ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),colorgreen,LINETHICK2;DRAWTEXT(尖顶买入=1,1,'入!'),colorred;DRAWTEXT(尖顶卖出=1,1,'出!'),colorgreen六、神仙建仓VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4;VAR3:=EMA(VAR2,13);VAR4:=LLV(LOW,34);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),colorred;七、神仙抄底VAR2:=TROUGHBARS(3,15,1)<10;VAR3:=PEAKBARS(3,15,1)<10;VAR4:=IF(VAR2=1,50,0);VAR5:=IF(VAR3=1,50,0);底部:=IF(VAR4=50,10,0);多头能量:0,colorwhite,LINETHICK2;买入:IF(底部=10AND REF(底部,1)=10AND REF(底部,2)=0,50,0),COLOR0000CC,LINETHICK2; 买入延迟线:底部,LINETHICK1 ,COLOR00CCFF;八、神仙敢死队R1:=150*WINNER(CLOSE*0.95);VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);VAR4:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;VAR5:=EMA(CLOSE,2)-EMA(CLOSE,120);VAR6:=EMA(VAR5,68);VAR7:=(VAR5+VAR6);敢死:=POW(VAR7,3)*0.1+POW(VAR7,1);九、神仙三线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)<B,B,MA(CLOSE,17)),coloryellow,LINETHICK2; 操作线:分水岭-(EMA(C,3)-分水岭),colorgreen,LINETHICK2;PM:MA(C,5),colorwhite,LINETHICK2;IF(PM>REF(PM,1),PM,DRAWNULL),colorred,LINETHICK2;IF(PM=REF(PM,1),PM,DRAWNULL),colorred;IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2;S:=(PM>操作线);DD:=分水岭<REF(分水岭,1);IF(DD,分水岭,DRAWNULL),coloryellow,LINETHICK2;IF(S,分水岭,DRAWNULL),coloryellow,POINTDOT,LINETHICK4; DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF"AND CROSS("MACD.DIF","MACD.DEA");DRAWTEXT(B1>0,L-0.02,'★M'),COLOR00FFFF;A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K"ANDCROSS("KDJ.K","KDJ.D");DRAWTEXT(B2,L-0.10,'◎K'),COLORFF00FF;A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1"AND CROSS("RSI.RSI1","RSI.RSI2");DRAWTEXT(B3>0,L-0.18,'◆R'),COLOR0000FF;C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF"ANDCROSS("MACD.DEA","MACD.DIF");DRAWTEXT(D1>0,H+0.16,'★M'),COLOR00FF00;C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K"AND CROSS("KDJ.D","KDJ.K");DRAWTEXT(D2>0,H+0.08,'◎K'),COLORFFFFCC;C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1"AND CROSS("RSI.RSI2","RSI.RSI1");DRAWTEXT(D3>0,H+0.04,'◆R'),COLORFF9900;十、神式阴线买入VAR11AA:=EMA(CLOSE,30)-EMA(CLOSE,17);VAR12AA:=EMA(VAR11AA,5);九:=TROUGHBARS(3,10,1)<1AND CROSS(VAR11AA,VAR12AA);DRAWICON(九>0,8,1);DRAWTEXT(九,99,'九'),COLOR000000;VAR2A:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100;VAR3A:=EMA(VAR2A,18);VAR4A:=VAR2A<-1;VAR5A:=VAR4A AND CROSS(VAR2A,VAR3A);追2:=VAR5A;追涨C:=IF(追2>0,0.8,0),STICK,coloryellow,LINETHICK4;XX:=EMA(CLOSE,30)-EMA(CLOSE,17);YY:=EMA(XX,13);短针2:TROUGHBARS(3,5,1)<1AND XX<YY;阴:=IF(短针2>0,0.4,0),STICK,COLORF0F000,LINETHICK4;DRAWICON(阴>0,8,1);DRAWTEXT(阴,85,'阴'),COLOR000000;N1:=30;N2:=17;N3:=5;N4:=6;VAR1X:=EMA(CLOSE,N1)-EMA(CLOSE,N2);VAR2X:=EMA(VAR1X,N3);剑:=CROSS(VAR1X,VAR2X) AND TROUGHBARS(3,7,1)<1;DRAWICON(剑>0,8,1);DRAWTEXT(剑,73,'剑'),COLOR000000;阴剑:九OR剑OR阴;。
通达信组合实战5个公式
通达信组合实战5个公式原文地址:通达信组合实战5个公式作者:金钱的价值通达信组合实战5个公式一:奥斯卡LC:=REF(CLOSE,1);RSI5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;WR10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));活跃度:RSI5-WR10,LINETHICK0,COLORFFFF00;STICKLINE(活跃度>0,0,活跃度,2,1),COLORFF00FF;STICKLINE(活跃度<0,0,活跃度,2,1),COLOR808080;STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,2,0),COLORFFFF00;STICKLINE(活跃度>78,0,活跃度,2,0),COLOR00FFFF;SC:100*(CLOSE-MA(CLOSE,20)),COLORRED;MAO:EMA(SC,6),COLORFFFF00;饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,10 0,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),COLORRED ,LINETHICK0;80,POINTDOT,COLOR00FF00;-100,POINTDOT,COLORFFFF00;活跃度出现黄色柱要当心金叉配合紫色柱是比较好的买点二:逃顶指标VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖出: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓卖出: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED;STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00;底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2);DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;数值:动力线,COLORA8A8A8;逃顶指标用法:用这个指标可以判断,个股逃顶数值在3.2以上,尤其是到达3.5以上,一旦在高位出现绿色柱状,就要及时卖出了,连续出现2个绿色柱状,说明下降通道打开了,更要逃命了,掌握住这点,你就是赢家。
通达信经典量柱主图指标公式
通达信经典量柱主图指标公式黄金柱:=V/REF(V,1)>=2.0;K1:=SUMBARS(黄金柱,1) ;K2:=SUMBARS(黄金柱,2);K3:=SUMBARS(黄金柱,3);K4:=SUMBARS(黄金柱,4);K5:=SUMBARS(黄金柱,5);K6:=SUMBARS(黄金柱,6);K7:=SUMBARS(黄金柱,7);K8:=SUMBARS(黄金柱,8);K9:=SUMBARS(黄金柱,9);K10:=SUMBARS(黄金柱,10);AA:STICKLINE(K1,REF(L,K1-1)*1.002,REF(L,K1-1),5,0),COLORYELLOW;{预定黄金柱}{预定黄金柱:=REF(V,2)>=REF(V,3)*1.99 AND REF(C,2)>REF(O,2)AND REF(V,2)=HHV(V,3) AND C/REF(C,2) >=1.0995 AND REF(L,2)=LLV(L,3);}{预定:STICKLINE(预定黄金柱,H,H,30,0),COLORRED;}{DRAWICON(预定黄金柱,H,19);}{将军柱中的五星上将黄金柱}T60:=V=HHV(V,60);T100:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;T3:=REF(C,1)/REF( O,1)<3;五星上将:=(T60 AND T2 AND T3) OR (T100 AND T2 AND T3);DRAWICON(五星上将,H,23);{量柱图}C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORWHITE;STICKLINE(涨停,H,L,0,0),COLORWHITE;DRAWICON(涨停,L-0.2,11);DRAWTEXT(涨停,L-0.2,' --涨停');跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;STICKLINE(跌停,H,L,0,1),COLORBLUE;DRAWICON(跌停,H+0.2,2);DRAWTEXT(跌停,H+0.2,' --跌停');{大阳线:=IF((C-C2)*100/C2>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;STICKLINE(大阳线,H,L,0,1),COLORRED;大阴线:=IF((C2-C)*100/C2>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;STICKLINE(大阴线,H,L,0,1),COLORGREEN;}{MA13:MA(CLOSE,13),COLORWHITE;MA34:MA(CLOSE,34),COLORYELLOW;MA55:MA(CLOSE,55),COLOR9933FF;}{MA4:MA(CLOSE,4),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA20:MA(CLOSE,20),COLOR9933FF;MA30:MA(CLOSE,30),COLORLIBLUE;MA60:MA(CLOSE,60),COLORWHITE;MA120:MA(CLOSE,120),COLORLIGREEN;}TY:=C;AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;{求位置坐标}PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3),IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3),IF(LLV(L,3)>=REF(O,3) AND REF(C,3)>REF(O,3),REF(O,3),REF(L,3))));{自动画量能平台}{NN 1 300 21}{NN:=21;TTJ:=BARSLAST(REF(倍量黄金柱,NN-1));K0:=TTJ=0;K1:=SUMBARS(K0,1);K2:=SUMBARS(K0,2);K3:=SUMBARS(K0,3);K4:=SUMBARS(K0,4);K5:=SUMBARS(K0,5);K6:=SUMBARS(K0,6);K7:=SUMBARS(K0,7);K8:=SUMBARS(K0,8);K9:=SUMBARS(K0,9);K10:=SUMBARS(K0,10);CCCC1:=REF(C,K1-1);}{在K线图上标示量柱类型}倍量:=DRAWICON((VOL>REF(V,1)*2.0 OR VOL=REF(V,1)*2.0) AND C>REF(C,1),H+0.2,26);低量:=DRAWICON(VOL<REF(LLV(VOL,13),1),H+0.1,2);地量:=DRAWICON(VOL<REF(LLV(VOL,100),1),H+0.1,12);平量:=DRAWICON(ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03,H+0.1,16);倍缩:=DRAWICON(VOL<=REF(V,1)*0.5,H+0.1,27);{画量柱标识:}{1.画倍量黄金柱标识--红箭头图标}倍量黄金柱:=DRAWICON((LLV(L,3)>REF(L,3) OR LLV(L,3)=REF(L,3)) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND REF(V,3)>=2*REF(V,4),H+0.2,1);{2.画梯量黄金柱标识--橘子图标}梯量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(V,5)>REF(V,6) AND REF(V,4)>REF(V,5) AND REF(V,3)>REF(V,4),H,17);{3.画平量黄金柱标识--苹果图标}平量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND ABS(REF(V,3)-REF(V,4))/REF(V,4)<=0.03,H,19);{4.画立桩量标识--顶部红箭头图标}N:=25;立桩量:=REF(V,3)/REF(MA(V,5),4)>(N/10) ANDREF(V,3)/REF(HHV(V,60),4)>1.5 AND LLV(L,3)>REF(L,3);STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW;倍量黄金线:STICKLINE(倍量黄金柱,PHD,PHD,30,0),COLORWHITE;DRAWICON(倍量黄金柱,PHD*1.008,12);DRAWTEXT(倍量黄金柱,PHD*1.010,' 标准黄金柱精准线'),COLORFF00FF;DRAWTEXT(倍量黄金柱,PHD,'================='),COLORWHITE;{平量黄金线:STICKLINE(平量黄金柱,PHD*1.002,PHD,100,0),COLORYELLOW;DRAWTEXT(平量黄金柱,PHD*1.015,'平量黄金线'),COLORLIGREEN ;梯量黄金线:STICKLINE(梯量黄金柱,PHD*1.002,PHD,100,0),COLORYELLOW;DRAWTEXT(梯量黄金柱,PHD*1.015,'梯量黄金线'),COLORFF00FF ;}立桩量标识:DRAWICON(立桩量,H*1.002,1);DRAWTEXT(立桩量,H*1.06,'立'),COLORRED;DRAWTEXT(立桩量,H*1.04,'桩'),COLORRED;DRAWTEXT(立桩量,H*1.02,'量'),COLORRED;{DA:STICKLINE(K4<=30,REF(C,K4-1)*1.002,REF(C,K4-1),10,0),COLORBLUE;EA:STICKLINE(K5<=30,REF(C,K5-1)*1.002,REF(C,K5-1),10,0),COLORBLUE;FA:STICKLINE(K6<=30,REF(C,K6-1)*1.002,REF(C,K6-1),10,0),COLORBLUE;GA:STICKLINE(K7<=30,REF(C,K7-1)*1.002,REF(C,K7-1),10,0),COLORBLUE;HA:STICKLINE(K8<=30,REF(C,K8-1)*1.002,REF(C,K8-1),10,0),COLORBLUE;IA:STICKLINE(K9<=30,REF(C,K9-1)*1.002,REF(C,K9-1),10,0),COLORBLUE;JA:STICKLINE(K10<=30,REF(C,K10-1)*1.002,REF(C,K10-1),10,0),COLORBLUE;}AAA:=CONST(HHV(H,90));TS1:=0+0.03;TS2:=TS1+0.03;TS3:=TS2+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS1),'<一>.量柱的阶段性拐点标志--空间转化原则:'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS2),' 1.平台起柱:在K线整理平台上突然起柱;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS3),' 2.凹口起柱:在K线逐步回调形成凹口时起柱.常见凹口倍量;'),COLORFF00FF ;TS4:=TS3+0.03;TS5:=TS4+0.03;TS6:=TS5+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS4),' 3.过顶起柱:过左峰起柱.常见过顶倍量;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS5),' 4.触底起柱:触前期谷底起柱.常见触底倍量.'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS6),'<二>.量柱的集合定性--组合量柱:'),COLORFF00FF ;TS7:=TS6+0.03;TS8:=TS7+0.03;TS9:=TS8+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS7),' 1.低量柱+倍量柱:后市必大涨!'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS8),' 2.倍量柱+倍量柱:主庄控盘良好,急于拉升!'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS9),' 3.缩倍柱+倍量柱:机会就在眼前!'),COLORFF00FF ;{============================}BBB:=CONST(HHV(H,190));TT1:=0+0.03;TT2:=TT1+0.03;TT3:=TT2+0.03;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT1),'<三>.量柱的三日定性--时间转化原则:'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT2),' 1.后三日价升量缩:转化为黄金柱;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT3),' 2.后三日量柱先阴后阳:该量柱官升一级;'),COLORFF00FF ;TT4:=TT3+0.03;TT5:=TT4+0.03;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT4),' 3.后三日量柱阴阳相间:量柱退化,走势面临调整;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT5),' 4.后三日量柱实体逐步缩小:力量将衰退,面临调整.'),COLORFF00FF ;{底部趋势拐点}VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);VOLUME:=VOL;AAG:=VOL>=REF(V,1)*1.91 AND C>REF(C,1);AA1G:=VOL<REF(LLV(VOL,21),1);AA2G:=VOL<REF(LLV(VOL,55),1);AA3G:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;MAVOL5:=MA(VOLUME,5);MAVOL35:=MA(VOLUME,35);MAVOL135:=MA(VOLUME,135);VOLUME5:=MA(VOLUME,5);VOLUME35:=MA(VOLUME,35);VOLUME135:=MA(VOLUME,135);买入:=CROSS(VOLUME5,VOLUME135);DRAWICON(买入,L,9);买入1:=CROSS(VOLUME35,VOLUME135);DRAWICON(买入1,L,5);买入2:=CROSS(VOLUME5,VOLUME35);DRAWICON(买入2,L,1);{非常棒}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,LIN ETHICK3,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,COLO RGREEN;A0:=(L+H+C*2)/4;A1B:EMA(A0,14),COLORBLUE,LINETHICK2;A2B:=EMA(A0,25),COLORLIBLUE,LINETHICK2;A1X:=(A1B-REF(A1B,1))/REF(A1B,1)*100,NODRAW;A2X:=(A2B-REF(A2B,1))/REF(A2B,1)*100,NODRAW;看多:IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1 X,0))),DRAWNULL),COLORMAGENTA{,LINETHICK2};逃顶:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A 1X))),DRAWNULL),COLORCYAN,{LINETHICK2};买入持股:IF(A1X>=0,A1B,DRAWNULL)COLORRED,LINETHICK3;卖出空仓:IF(A1X<0 AND A2X<0,A1B,DRAWNULL)COLORGREEN,LINETHICK3;{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;};。
通达信极品分时主图指标公式
通达信极品分时主图指标公式A1:=(VOL/CLOSE)/3;A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A6:=((A2+A3)+A4)+A5;A7:=IF((BARSTATUS=2),((100*A2)/A6),0);A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));机构买盘:=(A2),LINETHICK2;机构卖盘:=(A3),LINETHICK2;散户买盘:=(A4);散户卖盘:=(A5);DRAWTEXT_FIX(1,0.000,1-0.05,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),'万')),COLORRED;DRAWTEXT_FIX(1,0.250,1-0.05,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),'万')),COLOR00FF00;DRAWTEXT_FIX(1,0.500,1-0.05,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),'万')),COLORRED;DRAWTEXT_FIX(1,0.745,1-0.05,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),'万')),COLOR00FF00;突破:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-突破)/突破*100;多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL); 空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099;STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66;最新:CLOSE,LINETHICK1,COLORWHITE;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));BB:=BETWEEN(C/AA,C+H,C-H);DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT('涨▲',CON2STR(最新,2))),COLORMAGENTA;DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT('跌▼',CON2STR(最新,2))),COLOR00FF00;DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,DYBLOCK),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.08,0,GNBLOCK),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.14,0,FGBLOCK),COLORYELLOW; 均价:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;DXJP:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;FSZX:=(EMA(DXJP,3)-50)*2,COLORGRAY;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOS E*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))), (SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))));DRAWICON(FSZX<=-95,C,38);DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),C,'板'),COLORCYAN;DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),C,'追'),COLORYELLOW; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),C,17);H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:=L1+P1*7/8,COLORGREEN;支撑:=L1+P1*0.5/8,COLORMAGENTA;DRAWICON(LONGCROSS(支撑,C,2),C,5);DRAWICON(LONGCROSS(C,阻力,2),C,6);VARJ1:=EMA(EMA(CLOSE,13),13);控盘2:=(VARJ1-REF(VARJ1,1))/REF(VARJ1,1)*1000;STJ01:=控盘2<REF(控盘2,1) AND 控盘2>0.5;STJ02:=控盘2>0;BTJ2:=控盘2>REF(控盘2,1) AND 控盘2<-0.2;BTJ22:=控盘2>REF(控盘2,1) AND 控盘2<0 ;JJ:=DYNAINFO(11);P:=55;S:=8;M1:=3;能量:=(EMA(CLOSE,S)-EMA(C,P))*10;空头:=EMA(能量,M1),COLOR00FF00;BTJ1:=(CLOSE-JJ)/JJ<-0.005;BTJ11:=(CLOSE-JJ)/JJ<-0.03;BTJ12:=COUNT(JJ>=REF(JJ,1),5)>=4 AND (CLOSE-JJ)/JJ<0.005;STJ1:=(C-JJ)/JJ>0.005;BTJ3:=CROSS(能量,空头) AND 能量<-0.3;BTJ32:=CROSS(能量,空头) AND 能量<-0.1;STJ31:=CROSS(空头,能量);STJ32:=CROSS(空头,能量) AND 能量>1.618;A:=8;BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,A);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,A);BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,A);时长:=IF(HOUR>=9 AND HOUR<14 ,1,0);{9点至 14点}捡钱:=BTJ811 AND TIME>15 AND 时长;DRAWICON(捡钱,C,27);AYGB1:=(DVOL/C)/2,NODRAW;AYGB2:=SUM(IF(AYGB1>100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB3:=SUM(IF(AYGB1>100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB4:=SUM(IF(AYGB1<100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB5:=SUM(IF(AYGB1<100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB6:=AYGB2+AYGB3+AYGB4+AYGB5;机买:=(AYGB2/AYGB6)*100-100,LINETHICK1,COLORRED;机卖:=(AYGB3/AYGB6)*100-100,LINETHICK1,COLORGREEN;主力差:=机买-机卖;LQH:=主力差>0 AND REF(主力差,1)<=0;DRAWICON(LQH,C,25);JJXX:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0 ),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;JJXXH:=(JJXX*1.007 ),COLORFF6600;FFLL:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;HHPP:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE )))/CLOSE)<1;HHZZ:=HHPP AND FFLL AND (C>JJXXH);TTPP2:=FILTER(HHZZ,100);DRAWICON(TTPP2,C,26);ZS:=DYNAINFO(3);KP:=DYNAINFO(4);ZX:=DYNAINFO(7);ZG:=DYNAINFO(5);ZD:=DYNAINFO(6);分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW;昨高:='FSKY.ZH#DAY';昨低:='FSKY.ZL#DAY';。
通达信精准选的公式
通达信精准选的公式通达信精准选股公式需要根据个人投资理念和风险偏好进行定制,下面是一些常见的通达信选股公式供您参考:1. 多方炮选股公式:TJ1:=COANDC=H;TJ2:=VOLTJ4:=EVERY(MAX(C,O)MA(C,7),3)ANDCAPITAL;TJ3:=COANDC=H;XG:TJ1ANDREF(TJ2,1)ANDREF(TJ3,2)ANDTJ4。
2. 向上跳空缺口三天不回补选股公式:XSTK:=LOWREF(HIGH,1);TT1:=BARSLAST(XSTK)+1;HH:=REF(HIGH,TT1);不回补:=TT1=3ANDCOUNT(XSTK,TT1)=1ANDLOWHHANDLOW=(EXIST(CROSS(HH,LOW),TT1));COUNT(LOWREF(HIGH,1),3)0AND不回补。
3. 超级牛魔选股公式:VAR3:=1; VAR4:=MA(CLOSE,5);VAR5:=MA(CLOSE,10); VAR6:=MA(CLOSE,30); VAR7:=MA(CLOSE,60); VAR8:=EMA(COST(85),7); VAR9:=EMA(COST(15),7);VARA:=SUM(CLOSEVOL100,4)/SUM(VOL100,4);VARB:=INTPART(VARA100)/100;VARC:=SUM(CLOSEVOL100,7)/SUM(VOL100,7);VARD:=INTPART(VARC100)/100。
需要注意的是,这些公式仅供参考,并不能保证选出的股票一定符合预期。
在实际操作中,还需要结合市场走势、基本面分析和技术分析等多个因素进行综合考虑。
同时,也需要注意风险控制,合理配置资产,避免过度交易带来的风险。
通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标
通达信三个公式源码准确率90%以上超级指标精准买卖绝世指标1 超级指标指标公式:买卖提示非常明显(适合通达信)指标源码如下:M:3 100 60N 3 100 30散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;主力线:EMA(J,6),COLORYELLOW;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=IF(VAR8>100,100,VAR8);吸筹:STICKLINE(VAR9>-120,0,VAR9,2,5),COLORMAGENTA;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2;AA6:=SMA(AA3,21,8);买观注: STICKLINE(走势-AA6<-65,0,7,15,1);DRAWICON(FILTER(J>REF(J,1)AND 走势>=REF(走势,1)AND 走势<25 ,5),走势,4);卖观注: STICKLINE(走势-AA6>85,98,90,15,1),COLORFFFF00;DRAWICON(FILTER(J<REF(J,1)AND 走势<=REF(走势,1)AND J>85 ,5),J,5);DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K日:SMA(RSV1,3,1),COLORWHITE;D日:SMA(K日,3,1),COLORYELLOW;J日:3*K日-2*D日,COLORFF00FF;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J日,底部),底部,1);2 精准买卖支撑价:LLV(LOW,19),LINETHICK2 , COLOR00FF00;阻力价:HHV(HIGH,19),COLORBLUE, LINETHICK2;VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);VAR2:=EMA(VAR1,9);VAR3:=(CLOSE*2.5/100+CLOSE);VAR4:EMA(C,3);VAR5:=LLV(HIGH,240);VAR6:=100*(CLOSE-VAR5)/VAR5;VAR7:=REF(LLV(CLOSE,480),1);VAR8:=REF(HHV(CLOSE,480),1);VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;VARE:=VARC>98.5 OR VARD>98.5;VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;VAR13:=VARA=0 AND VARC=0 AND VAR6<0;VAR14:=VARA=100 AND VARC=100;VAR15:=VARB=0 OR VARD=0 AND VAR9<0;VAR16:=VARB=100 AND VARD=100;VAR17:=VAR6<0 AND VAR9<0;VAR18:=VAR13 AND VAR15;VAR19:=VAR14 AND VAR16;VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;VAR1D:=BARSCOUNT(CLOSE);VAR1E:=VAR1B<20 AND VAR1C<23 AND VAR1D>35;VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;VAR20:=REF(CLOSE,1);VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;VAR23:=BARSCOUNT(CLOSE);VAR24:=VAR21<20 AND VAR22<23 AND VAR23>35;VAR25:=VARA=0 AND VARF<1.2 AND VAR17;VAR27:=VAR18 AND VARF<1.2 AND VAR17;VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)<150;VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;买点:=VAR25 AND VAR2B;绝对卖点:=(VAR19 OR VARA)AND VARF>23 OR VARE ;VAR2D:=VAR1F AND VAR2C AND VAR25;股海万元户:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86 AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND CLOSE<20.45 ORCLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 AND CLOSE<6.28 OR CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));DRAWTEXT(FILTER(绝对卖点>0,3),H,'别贪'), COLOR00FF00;DRAWTEXT(股海万元户>0,L,'☆追涨'),COLORYELLOW ;DRAWICON(买点>0,L,4);DRAWTEXT(买点>0,L,'扫描神针'),COLORF00FF0;DRAWTEXT(VARF<0.7 AND VAR27 AND VAR25>0,L,'万元'),COLORYELLOW;STICKLINE(VAR2D>0,O,C,10,0), COLORRED;DRAWTEXT(VAR2D>0,L,'大方神针'),COLORRED;DRAWICON(COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.98,5);DRAWICON(FILTER(COUNT(VAR6<0,5)ANDCROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,1);DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)ANDVAR4<REF(VAR4,1)AND VARF>17 AND VAR1>VAR2,5),H,2);DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,15);DIF1:=EMA(CLOSE,7)-EMA(CLOSE,19),COLORWHITE;DEA1:=EMA(DIF1,9);MACD1:=(DIF1-DEA1)*100,COLORSTICK;STICKLINE(MACD1>REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORRED;STICKLINE(MACD1<=REF(MACD1,1) AND MACD1>0,0,MACD1,0,0),COLORYELLOW;STICKLINE(MACD1<REF(MACD1,1) AND MACD1<0,0,MACD1,0,0),COLOR00FF00;STICKLINE(MACD1>=REF(MACD1,1) ANDMACD1<0,0,MACD1,0,0),COLORMAGENTA;STICKLINE(C>0,0,0,50,1),COLORBLUE;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K日:SMA(RSV1,3,1),COLORWHITE;D日:SMA(K日,3,1),COLORYELLOW;J日:3*K日-2*D日,COLORFF00FF;底部:0,COLORF00FF0,LINETHICK2;DRAWICON(CROSS(J日,底部),底部,1);3 绝世指标GLL:-4;顶:80,COLORFFA500;大顶:100,COLORBLUE;VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;VAR2:=SMA(VAR1,10,1);慢速:SMA(VAR2,5,1),COLORRED;RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FATK:=SMA(RSV1,3,1);形态:SMA(FATK,3,1),COLORBB24DB;VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:=SMA(VARA,3,1);VARC:=SMA(VARB,3,1);加速: EMA(3*VARB-2*VARC,3),COLORYELLOW;底:6,COLOR00BF00;大底:-6,COLOR007300;VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;买入:=VAR11 AND VAR22,STICK,LINETHICK2,COLORRED;VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;卖出:=CROSS(80,VAR4),STICK,LINETHICK2,COLORGREEN;{波段介入点}A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;波段介入点:IF(A2<19,19,0)COLORWHITE;。
【股票指标公式下载】-【通达信】极品(布林极限、布林K值)
【通达信】极品(布林极限、布林K值)-指标公式源码布林极限:=100*(C-MA(C,20))/STD(C,20);布林K值:=EMA(布林极限,10);VAR2:=EMA(布林极限,5);VAR3:=EMA(布林K值,5);VAR1K:=(L+H+2*C)/4;VAR2K:=REF(VAR1K,1);VAR3K:=SMA(VAR1K-VAR2K,6,1)/SMA(ABS(VAR1K-VAR2K),6,1)*100;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:SMA(K,3,1),COLORWHITE;快速线:3*K-2*D,COLORYELLOW,LINETHICK3;零轴0:0,LINETHICK2;DRAWTEXT(CROSS(快速线,零轴0),快速线,'必买'),LINETHICK1,COLORYELLOW; VAR1:=(EMA(C,12)-EMA(C,26))*100+50;VAR4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VAR5:=SMA(VAR4,13,8);VAR6:=SMA(VAR3,21,8);VAR7:=MA(C,80)-MA(C,10)/7;VAR8:=EMA(C,5);VAR9:=MA((LLV(C,9))*1.1,14);VAR10:=2*VAR9-VAR8-C*0.1;VAR11:=IF(((VAR8-VAR10)*5>0),(POW((VAR8-VAR10)*5,2))/10,(-1*(POW((VAR 8-VAR10)*(5),2)))/(10));VAR12:=IF((VAR11>0),VAR11-0,12);VAR13:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;趋势:CEILING(SMA(VAR5,13,8)),LINETHICK3,COLOR0000FF;看底:IF((趋势-VAR6<(-65)),1,6),COLOR00FF00;顶峰:IF((趋势-VAR6>85),95,100),COLORF0F000;黄金区:DRAWICON(IF(VAR13<15,15,0),13,12),COLORYELLOW;操盘线:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LL V(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORBLUE; STICKLINE(FILTER(趋势<REF(趋势,1)AND 趋势>75 OR CROSS(趋势,操盘线)AND 趋势<REF(趋势,1)AND 操盘线>60,5),100,60,8,1),COLORFFFF00;STICKLINE(FILTER(CROSS(趋势,VAR12)AND 趋势<REF(趋势,2)AND C>REF(C,1) OR 趋势>REF(趋势,1)AND 趋势<35 AND C>REF(C,1),5),5,50,9,2);【通达信】极品(布林极限、布林K值)-指标公式效果图(文档来源:若水财经社区)。
通达信准确率90%以上选股公式
专买老鼠仓{老鼠仓}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。
根据本人的实践,使用指标时候要注意几点:1 该指标可以添加到任何一个主图里面去,比如MA均线什么的。
2 出现信号当天买进股票,第二天收阳继续持股,直到出阴为止。
3 第二天出阴考虑卖出,非常适合短线操作!老鼠仓(选股公式)AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;理想选股(选股公式)VAR1:=MA((LOW+HIGH+CLOSE)/3,5);VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);VAR4:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2);VAR5:=LOW<HHV(VAR1,13) AND HIGH>HHV(VAR1,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR6:=VAR5 AND COUNT(VAR4,2);VAR7:=VAR6 AND NOT(REF(VAR6,1));VAR8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR9:=EMA(MA(C,13),13);VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7) AND COUNT(VAR8<0,2) ANDCROSS(VAR8,MA(VAR8,2)))=1,5);VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR12:=FILTER(((CROSS(VAR11,0) OR CROSS(C,VAR9)) AND VAR10)=1,3);VAR13:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));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;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR12 OR VAR13) AND VAR10;买2:=(VAR12 OR VAR13) AND VAR3;买3:=(VAR12 OR VAR13) AND VAR2;买4:=(VAR2 AND VAR10) OR (VAR3 AND VAR10);买5:=(金叉AND VAR3) OR (金叉AND VAR2) OR (金叉AND VAR10);ST:=EXIST(C/REF(C,1)>1.06,50);输出:=(买1 OR 买2 OR 买3 OR 买4 OR 买5 OR VAR7) AND ST;MA5:=MA(C,5),COLORWHITE;X:=(3*C+L+O+H)/6;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*RE F(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,COLORFF00FF,LINETHICK1;AB:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),CO LORYELLOW;CROSS(MA5,多空线) and CROSS(C,AB) and 输出;点石成金(选股公式)KS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);Var1:=CLOSE/MA(CLOSE,40)*100<76;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) AND REF(KS13,1)>=10 AND REF(KS13,1)/KS13>=1.13 ANDCLOSE/REF(CLOSE,1)>=1.02;牛市绝底(选股公式)VAR1:=REF(CLOSE,1);VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100); VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) * 100);VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48));VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48));牛市绝底:VAR2 < 15 AND VAR3 < 20 AND (VAR2 + VAR3) > 20 AND VAR4 > 40 AND BARSCOUNT(CLOSE) > 47;通达信精准选股公式:条件选股公式源码:年认同价:=MA(C,240);价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));箱顶:=价格中枢*1.2;箱底:=价格中枢*0.8;毛利润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价*(1+毛利润率);收益价值:=年认同价+FINANCE(33);回调认同:=EMA(EXPMA(C,20),13);多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);回调条件:=COUNT(C<回调认同,5)>=3;回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头; 成长条件:=COUNT(C<成长价值,5)>=3;成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头; 收益条件:=COUNT(C<收益价值,5)>=3;收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头; 箱底条件:=COUNT(C<箱底,5)>=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;价格条件:=COUNT(C<价格中枢,5)>=3;价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头; 箱顶条件:=COUNT(C<箱顶,5)>=3;箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);飞弹一号(选股公式)var1:=c/ma(c,40)*100<78;var2:=c/ma(c,60)*100<74;var3:=h>=l*1.051;var4:=var3 and count(var3,5)>=2;xg:var4 and (var1 or var2) and count(h=l and c=o and c<ref(c,1),3)=0and hhv(v/capital,30)<0.8;牛魔无双(选股公式)A4:=(HIGH-LOW)/HIGH*100+(C-REF(C,1))/REF(C,1)*100;B4:=EMA(MA(A4,50),5);c4:=B4>LLV(B4,5)*1.01 AND REF(B4,1)<REF(LLV(B4,5),1)*1.01AND LLV(B4,50)=LLV(B4,5);d4:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5;xg:c4 AND d4;火牛神功(选股公式)Var1:=DMA(CLOSE,VOL/SUM(VOL,34));Var2:=DMA(CLOSE,VOL/SUM(VOL,13));Var3:=(CLOSE-Var1)/Var1*100;Var4:=(CLOSE-Var2)/Var2*100;Var4<=-12 AND Var3<=-19 ;跟庄建仓(选股公式)A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;机构建仓区:=(A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50));Var7:=LLV(LOW,30);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:=EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618;选股:火焰山>0 AND 机构建仓区>0 AND 趋势>REF(趋势,1) AND REF(趋势,1)<REF(趋势,2);跟庄建仓源码A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);Var2:=EMA(Var1,8);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;STICKLINE(趋势>80,趋势,80,5,0);DRAWICON(CROSS(趋势,0),0,1);STICKLINE((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50)),0,A09,6,0),colorFFff00;机构建仓区:0,LINETHICK0,colorFFFF00;Var4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;STICKLINE(趋势<=13,0,20,3,0),colorcc9900;DRAWTEXT(FILTER(趋势<=13,15),30,'准备现金'),colorcc9900;STICKLINE(趋势<=13 AND Var4>13,0,50,2,0),color0099ff;Var5:=FILTER((趋势<=13 AND Var4>13),10);DRAWTEXT(Var5,60,'买入'),color0099ff;STICKLINE(趋势>=90 AND Var4,0,30,3,0),colorgray;Var6:=FILTER((趋势>=90 AND Var4),10);DRAWTEXT(Var6,40,'清仓'),colorgray;Var7:=LLV(LOW,30);Var8:=HHV(HIGH,30);Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;STICKLINE(Var9>90,100,105,3,2),COLORRED;Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),88,'险'),Color00FF00; DRAWICON(CROSS(90,Var9),95,9);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618,COLORRED,linethick2;STICKLINE(火焰山>0,0 ,火焰山*1.2,4,0 ),COLORRED;Var13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;Var14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;趋势线: 趋势,colorff0000;Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200;Var17:=EMA(Var16,5);波浪峰:Var17,stick,colorff00ff;STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00;Var18:=MA(趋势线,8);if(CROSS(Var2,Var18) AND Var2<15,50,0),COLORRED;DRAWTEXT(CROSS(趋势线,Var2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,50,'追涨'),COLORff00ff;风险区:IF(趋势>80,趋势,80),colorff00ff;双信号"全仓"选股(选股公式)FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA2>0,MA2,MA2);MA5:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);{收盘价=4日内收盘价的最高值AND 昨收>=2日前的收盘价}VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);{收盘价=4日内收盘价的最高值AND 昨收=4日内收盘价的最低值}VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);{收盘价=4日内收盘价的最低值AND (昨收<2日前的收盘价}VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);{昨收=4日内收盘价的最低值AND 收盘价>=2日前的收盘价}VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) ANDREF(C,2)>=REF(C,4) AND C<REF(C,1);{昨收=4日内收盘价的最高值AND 收盘价<2日前的收盘价}VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);{今日V5向上形成拐点}VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND CROSS(VAR09,MA(VAR09,2)))=1,5);VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND CROSS(MA(VAR09,2),VAR09))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR08 AND NOT(REF(VAR08,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;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR04;买3:=(VAR14 OR VAR15) AND VAR02;买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);买5:=(金叉AND VAR04) OR (金叉AND VAR02) OR (金叉AND VAR11);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG11:=XG0 OR XG1;{以下波浪理论浪底重叠"买底"选股原码}PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;{以下二者结合共同选股}XG:=XG11 OR XG22;W18:EXIST(XG,1);涨停板敢死队(选股公式)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;通达信选股公式:超级牛魔VAR3:=1;VAR4:=MA(CLOSE,5);VAR5:=MA(CLOSE,10);VAR6:=MA(CLOSE,30);VAR7:=MA(CLOSE,60);VAR8:=EMA(COST(85),7);VAR9:=EMA(COST(15),7);VARA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VARB:=INTPART(VARA*100)/100;VARC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARD:=INTPART(VARC*100)/100;VARE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARF:=INTPART(VARE*100)/100;短线趋势:=EMA(CLOSE,5)-EMA(CLOSE,10);中线趋势:=EMA(短线趋势,30);VAR10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; VAR11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; VAR12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; VAR13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; VAR14:=REF(中线趋势,1);VAR15:=中线趋势;VAR16:=VAR15-VAR14;VAR17:=REF(短线趋势,1);VAR18:=短线趋势;VAR19:=VAR18-VAR17;VAR1A:=OPEN;VAR1B:=CLOSE;超级牛魔王:IF(VAR1A<=VAR4 AND VAR1A<=VAR5 AND VAR1A<=VAR6 ANDVAR1B>=VAR4 AND VAR1B>=VARF AND VAR16>0 AND VAR19>0 ANDVAR3=1,0.5,0);盘中参考VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2 *SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2* SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR27:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 关注:VAR27 AND COUNT(VAR27,30)=1;初升介入1V1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;V2:=SMA(V1,20,1);V3:=SMA(V2,15,1);V4:=(3*V2+2*V3)/4;V5:= REF(V4,1);RSA:=SMA(MAX(V4-V5,0),2,1)/SMA(ABS(V4-V5),2,1)*100;RSB:=MA(RSA,10);AA:=VOL/REF(VOL,1)>2;BB:=CLOSE/REF(CLOSE,1)>1.07;初升介入:IF(AA AND BB,CROSS(RSA,RSB),DRAWNULL);主力介入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);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;主力介入: CROSS(J,VARB) AND COUNT(VAR5<-16,4)>=1,COLORWHITE;旺狗出击旺狗出击:CROSS(C,MA(CLOSE,55) + 2*STD(CLOSE,55)) AND C>OAND VOL>1.6*REF(VOL,1) AND VOL>=2*MA(VOL,60) ANDEMA(WINNER(C)*70,3)>EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3)AND VOL>=1.6*MA(VOL,5) ;五线选股AVR1:=EMA(CLOSE,10);AVR2:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36;AVR3:=MA(CLOSE,9);AVR4:=MA(CLOSE,20);五线选股:IF(CROSS(AVR1,AVR4) AND CROSS(AVR3,AVR4) ANDCROSS(AVR4,AVR2),1,0);狂牛启动1VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAST(CROSS(SOLE,BUY )));选股1:BUY>SOLE AND REF(BUY,1)<REF(SOLE,1);狂牛启动2VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAST(CROSS(SOLE,BUY )));选股2:CROSS(BUY,SOLE) AND REF(SOLE,1)/REF(BUY,1)<=1.5 AND SOLE<64 AND SCCOUNT=1;狂牛启动3VAR2:=1;VAR3:=REF(HIGH,1)*1.1;VAR4:=HIGH*1.1;VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;VAR6:=REF(LOW,1)*0.9;VAR7:=LOW*0.9;VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;VAR9:=EMA(VAR8,30);VARA:=EMA(VAR5,30);VARB:=VARA-2;VARC:=IF(C<=VAR9,VARB,VARA);VARD:=MA(C,80)-MA(C,10)/17;准备:=STICKLINE(VARC-VARB=0 AND VAR2 ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)-RE F(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),50,0,5,0);选股3: FILTER(VARC-VARB=0 ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA( EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1 ))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),4);短线通道VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2-2*VAR3;VAR5:=LLV(LOW,5);VAR6:=HHV(HIGH,5);VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);VAR9:=3*VAR7-2*VAR8;VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARB:=POW(MA(LOW,5),2)+MA(LOW,5);VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;VARE:=SMA(VARD,3,1)*1.5-100;VARF:=SMA(VARE,3,1);VAR10:=3*VARE-2*VARF;VAR11:=(HIGH+LOW+CLOSE*2)/4;VAR12:=EMA(VAR11,13);VAR13:=STD(VAR11,13);VAR14:=(VAR11-VAR12)*100/VAR13;VAR15:=EMA(VAR14,5);VAR16:=EMA(VAR15,13);VAR17:=EMA(VAR15,13)+200-100;VAR18:=EMA(VAR17,10);VAR19:=3*VAR17-2*VAR18;VAR1A:=VAR2+VAR7+VARE+VAR17;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=(HIGH+LOW+CLOSE)/3;VAR1E:=AMOUNT/VOL/100;VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34)); VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;VAR23:=EMA(VAR22,24);VAR24:=STD(VAR22,24);VAR25:=(VAR22-VAR23)/VAR24*100;VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24)); VAR27:=EMA(VAR25,5);VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21)); VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90)); VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/5+165)/4; VAR2B:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;VAR2C:=(VAR2A+VAR2B)/2/1.1;短线:=VAR2C;MID:=MA(短线,26);UPPER:=MID+2*STD(短线,26);LOWER:=MID-2*STD(短线,26);{LCJ2:=IF(短线>MID,MID,短线); }{买点: DRAWICON(CROSS(短线,MID),MID*0.97,1); } {DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3); }{卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);MID, , COLORYELLOW;}{多头买入} ENTERLONG:CROSS(短线,MID) AND UPPER-MID>50;出手就赢1RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<30;出手就赢2RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<80;套利狐狸VAR1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR2:=REF(HIGH,10)/CLOSE>1.35;V3: (CLOSE-VAR1)/VAR1*100<-30 AND VAR2;乘胜追击1VAR1:=WINNER(CLOSE)-WINNER(OPEN);VAR2:=REF(CLOSE,1);VAR3:=SMA(MAX(CLOSE-VAR2,0),5,1)/SMA(ABS(CLOSE-VAR2),5,1)*100;VAR4:=CLOSE/MA(CLOSE,3)>=1.05;VAR5:=MA(VOL,8)/MA(VOL,45)>=2.5;VAR6:=WINNER(CLOSE)-WINNER(OPEN);VAR7:=REF(CLOSE,1);VAR8:=SMA(MAX(CLOSE-VAR7,0),5,1)/SMA(ABS(CLOSE-VAR7),5,1)*100;VAR9:=VAR6>=0.3 AND MA(VOL,6)/MA(VOL,26)>=1.9 AND VOL>REF(VOL,1) AND COUNT(VAR8<20,20)>=1 AND CLOSE/MA(CLOSE,3)>=1.07;VARA:=VAR1>=0.4 AND VAR5 AND COUNT(VAR3<20,20)>=1 AND VAR4 AND CLOSE>MA(CLOSE,85) AND VOL>REF(VOL,1);(VARA OR VAR9);逆势操作1VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) ORREF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) ORREF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) ORREF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) ORREF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) ORREF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) ORREF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1) >0.96 ;(VAR5 OR VARA) ;牛市专利1VAR1:=REF(CLOSE,3)*0.844;VAR2:=REF(CLOSE,13)*0.767;VAR3:=INDEXC;VAR4:=INDEXV;VAR5:=MIN(VAR1,VAR2);VAR6:=100*VOL/CAPITAL;VAR7:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;VAR8:=(CLOSE-VAR5)/CLOSE<0.07 AND SUM(VAR6,3)/3<2.345 ANDVAR3>MA(VAR3,450) AND MA(VAR4,61)/MA(VAR4,80)>0.923 ANDCLOSE>MA(CLOSE,190);VAR9:=VAR3>MA(VAR3,450) AND VAR7<-16.5 AND MA(VAR4,61)/MA(VAR4,80)>0.92 AND CLOSE>MA(CLOSE,215) AND (REF(OPEN,1)>REF(CLOSE,1) ORREF(OPEN,1)<REF(CLOSE,1)) AND (REF(OPEN,2)>REF(CLOSE,2) ORREF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) ORREF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) ORREF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) ORREF(OPEN,5)<REF(CLOSE,5)) AND VOL/CAPITAL<0.075;(VAR8 OR VAR9);同时金叉DIF:=EMA(CLOSE,9)-EMA(CLOSE,17);DEA:=EMA(DIF,8);MACD:=(DIF-DEA)*2;RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;选股:CROSS(DIF,DEA) AND CROSS(J,D) AND CROSS(RSI1,RSI3);带量突破VAR1:=EMA(COST(80),10);COUNT(CROSS(CLOSE,VAR1),2)>=1 AND VOL/CAPITAL>=0.1;攻击箱顶VAR1:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58);BETWEEN(CLOSE,VAR1*1.001,VAR1) AND REF(VAR1,3)=VAR1 ANDVOL>REF(VOL,2);果断介入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:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR7:=SMA(VAR6,3,1);VAR8:=SMA(VAR7,3,1);VAR9:=3*VAR7-2*VAR8;CROSS(VAR9,VAR8) AND COUNT(VAR5<-12 AND VAR5>-14,3)>=1;暴裂旋风VAR1:=ABS(HIGH-LOW);SUM(VAR1,7)/CLOSE>0.5 AND SUM(VAR1,7)/CLOSE<0.8 AND CLOSE>7 AND CLOSE<11;稳赢剑VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=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);VAR5:=CROSS(VAR4,10) AND VAR3<N;抄底:VAR5;领头羊白色:=SMA(HIGH,21,2)*1.05,;黄色:=SMA(LOW,21,2)*0.95;粉色:=SMA(LOW,5,1);绿色:=SMA(CLOSE,2,1),;波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色);领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色);领头羊>黄色OR 波段买入>粉色;天星踏浪VARC:=(2*CLOSE+HIGH+LOW)/4;VARD:=LLV(LOW,34);VARE:=HHV(HIGH,34);VARF:=LLV(LOW,13);VAR10:=HHV(HIGH,13);VAR11:=EMA((VARC-VARF)/(VAR10-VARD)*100,5);VAR12:=EMA((VARC-VARD)/(VARE-VARD)*100,8);金浪:= VAR11;AA:=EMA(VAR11,7);海浪:= VAR12;IF(CROSS(金浪,AA) AND AA<=25 ,1,0);黑马绝技EMA13:=EMA(C,13);EMA30:=EMA(C,30);EMA60:=EMA(C,60);EMA90:=EMA(C,90);EMA120:=EMA(C,120);EMA250:=EMA(C,250);F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 ANDEMA30-EMA120<330/1000;F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 ANDEMA60-EMA120<330/1000;F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 ANDEMA90-EMA120<330/1000;F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000;F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000;FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60);FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60);G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 ANDEMA60-EMA250<420/1000;G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 ANDEMA90-EMA250<420/1000;G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000;G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000;GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);FF1 OR FF2 OR FF3 OR GG1 OR GG2;黑马起步A1:=VOL=HHV(VOL,120);A2:=CLOSE/OPEN>1.05;TJ:=A1 AND A2;TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0);三底背离DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;蓄势待发V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSS(V0,EMA10);T4:=T1 AND T2 AND CROSS(V0,EMA30);M4 OR M5 OR T3 OR T4;突破指标{一是突破盘整;二是突破前高;三是突破平台}W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4 AND COUNT(W4,5)=1;四线粘合V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;拉升在即ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/ 25000,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));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;拉升在即:S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y);顶天立地VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1);人气:=SMA(趋势,3,1);出击:CROSS(趋势,人气) AND (趋势<30);{短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2; };主力进出ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/ 25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);。
绝无仅有的通达信技术指标公式
绝无仅有的通达信技术指标公式绝无仅有公式VAR1:=(C+H+O+L)/4;卖出:=XMA(VAR1,20)*(1+80/1000),POINTDOT,COLORGREEN,LINET HICK3;买入:=XMA(VAR1,32)*(1-100/1000),POINTDOT,COLORMAGENTA,LINETHICK3;幅度:=100*(卖出-买入)/买入,NODRAW;菩提:=买入+(卖出-买入)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底}; 般:=XMA(CLOSE,7);若:=MEMA(CLOSE,3);全绿K:=LONGCROSS(若,般,3) AND H>菩提;RSVL:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;KL:=SMA(RSVL,3,1);DL:=SMA(KL,3,1);KKL:=SMA(RSVL,3,1);DD:=SMA(KL,3,1);NL:=KKL+DD;买入L:=DRAWICON(CROSS(NL,50),50,1),COLORRED;卖出L:=DRAWICON(CROSS(160,NL),160,2),COLORGREEN;卖出K:=CROSS(160,NL);TM:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);T1M:=V;SL1M:=(TM/REF(TM,1)-1)*1000;趋势5:=XMA(XMA(XMA(SL1M,20),20),20),COLORYELLOW;趋势6:=XMA(XMA(XMA(SL1M,10),10),10),COLORMAGENTA;QA9:=趋势6-趋势5;QA10:=EMA(QA9,89);买入M:=(QA9-QA10)*2,COLORSTICK;M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34),COLORBLUE ,LINETHICK2;MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);VAR1A1H:=(REF(CLOSE,1)-REF(ATR,1));买线1:=REF(EMA(C,14),1)COLORWHITE,LINETHICK3;卖线1:=IF(MC1>MAX(MC2,MA4),MC1,IF(MC1低1:=REF(LLV(L,150),3);{STICKLINE(买线1>=卖线1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR001050; STICKLINE(买线1<卖线1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR404050;} STICKLINE(买入M>=0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1)COLORRED; STICKLINE(买入M<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1)COLORGREEN; STICKLINE(买入L,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,2,0)COLORYELLOW; STICKLINE(卖出K AND 买入M<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,2,0)COLORCYAN;多空趋势彩带:DRAWBAND(SMA(C,6.5,1),RGB(255,97,0),SMA(C,13.5,1),RGB(0 ,128,0));中线:=(卖出+买入)/2,POINTDOT,COLORWHITE,LINETHICK4;MA5:=MA(C,5),COLOR000099;MA10:=MA(C,10),COLOR006600;MA20:=MA(C,20),COLOR005555;ZB1:=EMA(C,34);{ 原为55或65 }长期趋势:EMA(ZB1,13),COLORRED,LINETHICK3;{原为34或55}STICKLINE(C>=REF(C,1),O,C,3,1),COLOR000000;STICKLINE(C<ref(c,1),o,c,3,1),color000000;< p="">AA3:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) ANDEMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) ANDEMA(CLOSE,11)>EMA(CLOSE,12)AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);AA2:= EMA(CLOSE,14)>EMA(CLOSE,15)AND EMA(CLOSE,15)>EMA(CLOSE,20) AND EMA(CLOSE,20)>EMA(CLOSE,30) ANDEMA(CLOSE,30)>EMA(CLOSE,60) AND EMA(CLOSE,60)>EMA(CLOSE,90)AND EMA(CLOSE,90)>EMA(CLOSE,120) AND EMA(CLOSE,120)>EMA(CLOSE,250);A1:= AA2 AND AA3;A2:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) ANDEMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) ANDEMA(CLOSE,11)>EMA(CLOSE,12)AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);B1:=IF(A1,1,2);VAR1MZ:=((CLOSE > REF(CLOSE,1)) AND (CLOSE >REF(CLOSE,2)));VAR2MZ:=((REF(VAR1MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR3MZ:=((REF(VAR2MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR4MZ:=((REF(VAR3MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR5MZ:=((REF(VAR4MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR6MZ:=((REF(VAR5MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR7MZ:=((REF(VAR6MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR8MZ:=((REF(VAR7MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR9MZ:=((REF(VAR8MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARAMZ:=((REF(VAR9MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARBMZ:=((REF(VARAMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARCMZ:=((REF(VARBMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); {红K}STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) ORVARCMZ),L,H,0,0),COLOR0000DD;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) ORVARCMZ),C,REF(C,1),3,0),COLOR000099;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) ORVARCMZ),C,REF(C,1),2,0),COLOR0000BB;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) ORVARCMZ),C,REF(C,1),1,0),COLOR0000DD;VARDMZ:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));VAREMZ:=((REF(VARDMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARFMZ:=((REF(VAREMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR10MZ:=((REF(VARFMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR11MZ:=((REF(VAR10MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR12MZ:=((REF(VAR11MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR13MZ:=((REF(VAR12MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR14MZ:=((REF(VAR13MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR15MZ:=((REF(VAR14MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR16MZ:=((REF(VAR15MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR17MZ:=((REF(VAR16MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR18MZ:=((REF(VAR17MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); {绿K}STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),3 ,0 ),COLOR00BB00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),2 ,0 ),COLOR00DD00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),1 ,0 ),COLOR00FF00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),H,L,0,0 ),COLOR00DD00;VAR19MZ:=(REF((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),1) AND VAR1MZ);VAR1AMZ:=(REF((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),1) AND VARDMZ);{粉红}STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),3 ,0 ),COLO RFF11FF;STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),2 ,0 ),COLO RFF44FF;STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),1 ,0 ),COLO RFF66FF;{黄色}STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00AAFF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),2,0),COLO R00CCFF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),1,0),COLO R00EEFF;FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<="" p="">V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1Q:=MEMA(CLOSE,5);MA2Q:=ATAN((MA1Q/REF(MA1Q,1)-1)*100)*180/3.1416;MA3Q:=IF(MA2Q>0,MA2Q,MA2Q);MA5Q:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) ANDREF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<="" p="" ref(c,1)REF(C,1)=LLV(C,4) AND C<="" or="" p="" ref(c,2)="LLV(C,4)"> REF(C,1)=HHV(C,4) AND C<="" or="" p="" ref(c,3)="LLV(C,4)">C<ref(c,2);<="" p="">VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)=REF(C,1);VAR05:=REF(C,1)=HHV(C,4) AND C<="" or="" p="">REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) ANDREF(C,2)>=REF(C,4) AND C<ref(c,1);< p="">VAR06:=V5>REF(V5,1) AND REF(V5,1)<ref(v5,2);< p="">VAR07:=LOWHHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN; VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) ANDCROSS(VAR09,MA(VAR09,2)))=1,5);VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) ANDCROSS(MA(VAR09,2),VAR09))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR08 AND NOT(REF(VAR08,1));RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSVQ,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR04;买3:=(VAR14 OR VAR15) AND VAR02;买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);买5:=(金叉AND VAR04) OR (金叉AND VAR02) OR (金叉AND VAR11);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG11:=XG0 OR XG1;PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<ref(pl5,1));< p="">走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<ref(pl10,1));< p="">走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<ref(pl20,1));< p="">走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<ref(pl10,1),count(en1,走弱2),0);< p="">DTJD5:=IF(PL10<ref(pl10,1),count(ex1,走弱2),0);< p="">ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<ref(pl20,1),count(en2,走弱3),0);< p="">DTJD10:=IF(PL20<ref(pl20,1),count(ex2,走弱3),0);< p="">TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;XGQ:=XG11 OR XG22;W18:=EXIST(XGQ,1);DRAWTEXT(XGQ,L-0.1,'●放心买'),COLORRED;SQX:=(C-MA(CLOSE,13))*100;DIFF:=EMA(MA(SQX,7),1),COLORWHITE;DEA:=EMA(DIFF,7),COLORYELLOW;MACD:=(DIFF-DEA)*2,COLORSTICK;奉献理想专用:IF((CROSS(DIFF,DEA) ANDDIFF<-0.1) ,L-0.2,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;低位金叉:=IF(CROSS(DIFF,DEA) ANDDIFF<-0.1,15,DRAWNULL),COLORMAGENTA,LINETHICK9,CROSSDOT;IF(CROSS(DIFF,DEA) AND DIFF<-0.1,L-0.2,DRAWNULL),COLORYELLOW,LINETHICK4,POINTDOT; {再上N 均线N 10 1 100 1}MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,21);破N:=REF(MA1,1)REF(MA2,1);试摸N:=C>MA(C,10) OR H>=MA2;再上N:=C>O AND REF(C,1)< MA(C,10) AND 试摸N AND 破N AND MA(C,21)<ma(c,10);< p="">有行情:=再上N AND (CROSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势)); DRAWTEXT(有行情,LOW-0.2,'●有行情'),COLORGREEN;VAR10B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11B:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12B:=ZIG(3,6)=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13B:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14B:=ZIG(3,22)=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15B:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16B:=ZIG(3,51)=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17B:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18B:=ZIG(3,72)=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19B:=EMA(CLOSE,2)-EMA(CLOSE,150);买1B:=VAR10B;买2B:=(VAR11B+VAR13B+VAR15B+VAR17B);BB:=IF(买1B>0 OR 买2B>0 ,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYE LLOW; 红买绿卖:IF(CROSS(BB,买1B),LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK5,COLORWHIT E; 牛节点:=CROSS(EMA(C,5),EMA(C,30))AND CROSS(EMA(C,10),EMA(C,20));DRAWICON(牛节点,L-0.1,13);CSAR:=SAR(10,2,20);持币:=IF(CSAR>=H,CSAR,0),CIRCLEDOT,COLORGREEN{持币};持股:=IF(CSAR<=L,CSAR,0),CIRCLEDOT,COLORRED{持股};生命线2:=EMA(SLOPE(C,21)*20+C,42),LINETHICK2,COLORYELLOW;{股价在上持,在下空仓}止损:=EMA(C,5),COLORYELLOW,LINETHICK1;{红持股绿持币黄观望}菩提B:=XMA(H,20);{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};参买:=IF(止损>=REF(止损,1),止损,DRAWNULL),LINETHICK2,COLORRED;{持股前提} DRAWICON(CROSS(L,CSAR) AND 参买>0 AND H<菩提B AND 持股>0AND H>长期趋势,(LOW- 0.1),5);VVAR1D:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);短底:=EMA(VVAR1D,5);支撑:=HHV(短底,60);MAN:=(SMA(HIGH,21,2) * 1.05);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1D:=EMA(中D,10);RSVD:=SMA(下档线,3,1);K大:=SMA(RSVD,3,1);D大:=((3 * RSVD) - (2 * K大));J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);RSV24:=SMA(J12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));压力位:=IF(CROSS(D24,D 大),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D大)))),COLORFFFFFF; 牛浮面:=CROSS(CLOSE,MA20) AND HIGH < 压力位AND OPEN < MA20AND HIGH < 支撑AND MAN - REF(MAN,1) > 0 AND X1D - REF(X1D,1)>0 ANDD大< 63 AND MA20 - REF(MA20,1) > 0,COLORWHITE;DRAWTEXT(牛浮面,L,'●牛浮面'),COLORWHITE;CO:=(C-O);绿K:=(卖出>LOW AND 卖出MIN(C,O) AND 卖出<low;<=""> {全绿K}全绿K2:=C>卖出OR (H>卖出AND O>C);STICKLINE(全绿K2,C,O,3,0),COLOR00BB00;STICKLINE(全绿K2,C,O,2,0),COLOR00DD00;STICKLINE(全绿K2,C,O,1,0),COLOR00FF00;</ma(c,10);<></ref(pl20,1),count(ex2,走弱3),0);<></ref(pl20,1),count(en2,走弱3),0);<></ref(pl10,1),count(ex1,走弱2),0);<></ref(pl10,1),count(en1,走弱2),0);<></ref(pl20,1));<></ref(pl10,1));<></ref(pl5,1));<></ref(v5,2);<></ref(c,1);<></ref(c,1),o,c,3,1),color000000;<>。
通达信指标公式源码极品主图(主图 源码)
PT := REF(HIGH,1)-REF(LOW,1);重心:(HIGH + LOW + CLOSE)/3,NODRAW;压力Ⅰ: 2*重心-LOW,NODRAW;压力Ⅱ:重心+ PT,NODRAW;支撑Ⅰ:2*重心-HIGH,NODRAW;支撑Ⅱ: 重心- PT,NODRAW;MA5:MA(C,5),COLOR888899;MA20:MA(C,20),COLOR0099FF;MA30:MA(C,30),COLORYELLOW;MA60:MA(C,60),COLOR00FF00;MA250:MA(C,250),COLOR0099FF;AAA:=CONST(HHV(H,90));R1:=MA(CLOSE,1);R2:=MA(CLOSE,3);R3:=(MA(R2,1)*1);R4:=(MA(R2,3)*1);DRAWTEXT(CROSS(R3,R4),(LOW-0.1),'B'),COLORBDB76B;X1:=(C+L+H)/3;DD:=TOTALCAPITAL;SS:=FINANCE(7);GG:=FINANCE(33);TH:=DYNAINFO(39);A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L ,55))/(HHV(H,55)-LLV(L,55))*100,5,1);LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'S'),COLORGREEN;双线持币:HHV(MA(HIGH,(3)),2),LINETHICK2,COLOR00FF00;单线持股:LLV(MA(HIGH,(3)),1),LINETHICK2,COLOR0000FF;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-2 0;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 ANDVAR14<200,10,0);VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 ANDVAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 ANDVAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,HIGH*1.02,'大笔出货'),LINETHICK1,COLORFFCC66;AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0;DRAWTEXT(老鼠仓,(LOW* 0.99),'老鼠仓'),COLOR40CCFF;A74:=MA(CLOSE,20);A75:=(CLOSE > MA(CLOSE,5));A76:=(MA(CLOSE,5) > MA(CLOSE,10));A77:=(CLOSE > MA(CLOSE,10));A78:=(MA(CLOSE,5) > MA(CLOSE,20));A79:=(CLOSE > MA(CLOSE,20));A710:=REF(A74,1);A711:=(A74 > A710);AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10))) + IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10))); DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T1:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T2:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T3:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)),1,0));T4:=CONST(IF(C<200 AND ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)),1,0));T5:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T6:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T7:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T8:=CONST(IF(C<200 AND ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T9:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND(V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T10:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T11:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND(V1 >= V2)) AND (DSLX < DSLX1)),1,0));T12:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T13:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));T14:=CONST(IF( C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));T15:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));T16:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));T17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));T19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 < V2)),1,0));T20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0));T21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 < V2)),1,0));T22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND(V1 >= V2)),1,0));T23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)),1,0));T24:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)),1,0));T25:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)),1,0));DRAWTEXT(T1=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'量能理想,明显走强,中线参与,仓位在2/3左右'),COLORFF00FF ; DRAWTEXT(T2=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'走势趋强,还显不足,短线进场,仓位在1/2左右'),COLORFF00FF ; DRAWTEXT(T3=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'量价良好,没有明显走强,短线进场,仓位1/2左右'),COLORFF00FF ; DRAWTEXT(T4=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右'),COLORFF00FF ; DRAWTEXT(T5=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'形态变坏,重仓者减持大半,清仓者观望'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=60,AAA*0.98,'随大盘一起下跌,明显缩量走势,考虑到风险,减持或清仓'),COLORFF00FF ; DRAWTEXT(T7=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'该股放量下跌,走势明显偏弱,离场观望'),COLORFF00FF ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=60,AAA-(AAA*0.03),'该股缩量下跌,走势偏弱,离场观望。
通达信极品量能指标公式
通达信极品量能指标公式TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(P ERIOD=4,60,IF(PERIOD=5,240,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNU LL),NODRAW;STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCO DE=1),VVOL,0,-1,-1),COLOR00C0C0;VOLUME:VOL,VOLSTICK,COLORRED;MAVOL5:MA(VOLUME,5)COLORWHITE;MAVOL10:MA(VOLUME,10)COLORYELLOW;MAVOL135:MA(VOLUME,135)COLORCYAN;换手:VOL/CAPITAL*100,NODRAW,COLORLIMAGENTA;涨幅:((C-REF(C,1))/REF(C,1))*100,NODRAW,COLORRED;月涨幅:SUM(涨幅,30),NODRAW,COLORYELLOW;月换手:SUM(换手,30),NODRAW,COLORYELLOW;现价:C,NODRAW,COLORRED;底部:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;底成本:=COST(底部),NODRAW,COLORCYAN;顶部:=100-(COST(95)-COST(5))/(COST(95)+COST(5))*100;顶成本:=COST(顶部),NODRAW,COLORWHITE;均值:=(底部+顶部)/2;均本:COST(均值),NODRAW,COLORYELLOW;价差:((现价-均本)/现价)*100,NODRAW,COLORCYAN;X1:=ABS(MA(C,60)/MA(C,120)-1)<0.025,COLORSTICK;粘天数:BARSLASTCOUNT(X1),NODRAW;放量:=VOLUME>REF(VOLUME,1)*2 AND V>MA(VOLUME,10) ANDC>O;STICKLINE(放量,V,O,2,0),COLORYELLOW;STICKLINE(C>O,VOLUME,O,2.6,0) ,COLOR000055;STICKLINE(C>O,VOLUME,O,2.5,0) ,COLOR000066;STICKLINE(C>O,VOLUME,O,2.4,0) ,COLOR000077;STICKLINE(C>O,VOLUME,O,1.8,0) ,COLOR000099;STICKLINE(C>O,VOLUME,O,1.7,0) ,COLOR0000BB;STICKLINE(C>O,VOLUME,O,1.3,0) ,COLOR0000DD;STICKLINE(C>O,VOLUME,O,0.2,0) ,COLOR0000FF;STICKLINE(C<=O,VOLUME,O,2.3,0),COLOR888800;STICKLINE(C<=O,VOLUME,O,2.0,0),COLOR999900;STICKLINE(C<=O,VOLUME,O,1.3,0),COLORAAAA00;STICKLINE(C<=O,VOLUME,O,1.0,0),COLORBBBB00;STICKLINE(C<=O,VOLUME,O,1.4,0),COLORCCCC00;STICKLINE(C<=O,VOLUME,O,1.1,0),COLORDDDD00;STICKLINE(C<=O,VOLUME,O,0.4,0),COLOREEEE00;STICKLINE(C<=O,VOLUME,O,0.1,0),COLORFFFF00;STICKLINE(放量,V,O,2.3,0),COLOR225588;STICKLINE(放量,V,O,2.0,0),COLOR226699;STICKLINE(放量,V,O,1.3,0),COLOR3377AA;STICKLINE(放量,V,O,1.0,0),COLOR3388BB;STICKLINE(放量,V,O,1.4,0),COLOR4499CC;STICKLINE(放量,V,O,1.1,0),COLOR44AADD;STICKLINE(放量,V,O,0.4,0),COLOR55BBEE;STICKLINE(放量,V,O,0.1,0),COLOR66CCFF;。
通达信经典公式集锦
通畅信经典公式集锦[复制链接 ]个交易日内 ,股价跌幅达到一半的股票:xg:(hhv(c,30)-c)/hhv(c,30)>;2,今日的量是 5 天均匀的 2 倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)<;3,两天内 ,累计下跌等于或超出20%选股 .xg:(ref(c,2)-c)/c>;4,股价是 25 天以来新低 .xg:c<ref(llv(c,25),1);5,选股: EXPMA 5日与 10 日金叉而且次日的收盘价在EXPMA 的 5 日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1)) and c>ema(c,5);6,请编买入公式:1. 将 BIAS 指标的参数设置为24 日,将 KD 指标的参数设置为9; 3; 3。
2.BIAS指标要小于 -6,这不过确认该股超跌的初选条件。
3.KD 指标产生黄金交错, K 线上穿 D 线。
4.KD 交错同时, KD 指标中的 D 值要小于 16。
BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colorff00ff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS3<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到 3 左右,涨幅 >7 个点。
xg:v/capital*100>3 and (c/ref(c,1)>;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9," 阴转阳 "的公式 (也就是昨天收阴线,今日收阳线 )xg:ref(c,1)<ref(o,1) and c>o;10,股价回抽20 日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11,一根大阳线 ,起码有 5 个点以上 ,再连着出现二根振幅不大于 5 的十字星或是小 K 线xg:(ref(c,3)-ref(c,4))/ref(c,3)> and count((h-l)/l<,2)=2;12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13,kdj 的 J从上向下穿越 O 轴发出信号 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW; J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价 4 天中有两天在10 日线上count(c>ma(c,10),4)=2;15,选出 10 天内出现了涨停的个股count(c/ref(c,1)>,10)>0;又:今涨停 :=C/REF(C,1)>;选股 :count( 今涨停 ,n);16,一阳上穿10, 20, 30日线,量能是前一天 3 倍。
通达信极品收费公式
通达信极品收费公式极品收费公式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,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA (SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(V ar5-MA(Var5,14))/(0.015*A VEDEV(Var5,14));Var7:=(V ar5-MA(Var5,70))/(0.015*A VEDEV(Var5,70));Var8:=IF(Var6>=150 AND V ar6<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,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20, 1),15,1);VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-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)*1 00;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);情报: Var3;天线: IF(VarB<90,VarB,100);红军: IF(Var1>0,Var1,0),colorred, LINESTICK;绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;导弹: Var20;预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60; STICKLINE(Var3>=REF(Var4,1),Var3,Var4,8,0);STICKLINE(Var3<ref(var4,1),var3,var4,8,0);< p="">Var21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);Var22:=CLOSE<ref(ma(close,20),1);<="" p="">Var23:=红军>50 AND 预警系统>60 AND 天线=100;Var24:=红军>48 AND 预警系统>60 AND 天线<100;Var25:=绿军>38 AND 预警系统<55;Var26:=导弹>50 AND 天线<90;Var27:=Var3REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var28:=Var3>=REF(Var4,1) AND CLOSE=REF(绿军,1) AND VarC<ref(vard,1);< p="">DRAWTEXT(V ar21 AND COUNT(Var21,30)=1,100,'上升通道,持股待长或高抛低吸!'); DRAWTEXT(V ar22 AND COUNT(Var22,30)=1,90,'下降通道,小心无量阴跌!'); DRAWTEXT(V ar23 AND COUNT(Var23,30)=1,70,'上涨过急,需要调整,短线先抛出!'); DRAWTEXT(V ar24 AND COUNT(Var24,30)=1,80,'庄家出货,大跌在即,中线抛出!'); DRAWTEXT(V ar25 AND COUNT(Var25,30)=1,50,'不必杀跌,应有小反弹,跌停除外!');</ref(vard,1);<></ref(var4,1),var3,var4,8,0);<>。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
通信达极品公式1、涨跌趋势RSV:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;K0:=SMA(RSV,3,1);D0:=SMA(K0,3,1);J:=3*K0-2*D0;100,POINTDOT,COLORFF00FF;50,POINTDOT,COLOR00DD00;0,POINTDOT,COLORFF00FF;STICKLINE(J>REF(J,1),HHV(J,3),LLV(J,3),0,0),COLOR00AAFF;STICKLINE(J>REF(J,1),J,REF(J,1),3,0),COLOR0044FF;STICKLINE(J>REF(J,1),J,REF(J,1),1.5,0),COLOR0088FF;STICKLINE(J>REF(J,1),J,REF(J,1),0,0),COLOR00AAFF;STICKLINE(J<REF(J,1),HHV(J,3),LLV(J,3),0,0),COLORFFAA00;STICKLINE(J<REF(J,1),J,REF(J,1),3,0),COLORFF4400;STICKLINE(J<REF(J,1),J,REF(J,1),1.5,0),COLORFF8800;STICKLINE(J<REF(J,1),J,REF(J,1),0,0),COLORFFAA00;K:K0;D:D0;使用方法:涨与跌一目了然绿色的柱子代表跌黄色代表涨,做多做空可以看到柱子上下有条细线。
什么时候是买入点,如果你想不被套,等它下跌到0 线以下出现第一个黄柱买入,几乎我就没亏过,如果行情好,在30 线以下绿转黄后也可以做短线,切忌莫贪。
具体这个看个人把握。
总之,只要你细心观察每根柱子的变化,你离财富绝对不会遥远。
2、辣妹子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;J1:=REVERSE(J);AA:二REF(MA(C,1),10)>REF(MA(C,60),10);买点:CR0SS(J,J1) ANDAA;STICKLINE(买点,0,30,12,0),COLOR0000FF;STICKLINE(买点,30,60,10,0),COLORWHITE;STICKLINE(买点,60,80,6,0),COLORYELLOW;DRAWTEX买点,40,'买'),COLORFF00FF;买卖方法:出现提示点买入,尽量不要选择那些年线向下的,避免行情不好的时候加大亏损,我一般选盘面小,跌的时候连续下跌,涨的时候连续上涨的股票,上个月7万变9万,这个月 1 1万了,一个公式在不同的人手里有不同的效果,希望大家用心去专研。
不要只是简单的用肉眼去看它历史的成功率,抓住它成功和失败的特点才能让你百战百胜。
3、在此爆发N:=9;M1:=3;M2:=3;P:=9;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1),COLORRED,LINETHICK2;D:=SMA(K,M2,1),COLOR00FF00;JJ:=P*(3*D-2*K),COLOR00FF00;J:=((3 * K) - (2 * D));MAIRU:= CROSS(K,D) AND K<20;MAICHU:= CROSS(D,K) AND D>80;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=IF(VAR8>100,100,VAR8);快线:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORFF9 37F;4、出手就赢VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2:=SUMBARS(VOL,CAPITAL);VAR3:=HHV(VAR1,VAR2);VAR4:=LLV(VAR1,VAR2);VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4);VAR6:=(VAR1-VAR4)/(VAR3-VAR4);VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60);VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9:=EMA(VAR8,7);VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100; VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+ 5; 波段买入: IF(VARA+VARB<A7NDCROSS(VAR8,VAR9A)NDVAR9<-18AND VAR9<VARB,60,50),COLORYELLOW , ;DRAWICO 波段买入=60,70,1),COLORRED;VARC:=HHV(HIGH,9)-LLV(LOW,9);VARD:=HHV(HIGH,9)-CLOSE;VARE:=CLOSE-LLV(LOW,9);VARF:=VARD/VARC*100-70;VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR11:=(2*CLOSE+HIGH+LOW)/4;VAR12:=SMA(VARE/VARC*100,3,1);VAR13:=LLV(LOW,34);VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);VAR15:=IF(VAR14>100,VAR14-100,0);VAR16:=HHV(HIGH,34);VAR17:EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8);巫修全制: VAR17, ,COLORYELLOW ;VAR18:=EMA(VAR17,5);STICKLINE(VAR17>0 AND VAR17-VAR18>=0,79,80,6,0), ,COLORRED ;STICKLINE(VAR17>0 ANDVAR17-VAR18<0,79,80,6,1), ,COLOR00FF00 ;STICKLINE(VAR17>0 AND VAR17-VAR18>=0,19,20,6,0),COLORRED, ;STICKLINE(VAR17>0 ANDVAR17-VAR18<0,19,20,6,1), ,COLOR00FF00 ;STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1), ,COLORRED ;STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1), ,COLOR00FF00 ; VAR22:=REF(LOW,1); VAR23:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*10 0;VAR24:=EMA(IF(CLOSE*1.3,VAR23*10,VAR23/10),3);VAR25:=LLV(LOW,30);VAR26:=HHV(VAR24,30);VAR27:=IF(MA(CLOSE,58),1,0);VAR28:=EMA(IF(LOW<=VAR25,(VAR24+VAR26*2)/2,0),3)/618*VAR27;VAR29:=IF(VAR28>100,100,VAR28);STICKLINE(VAR29>-150,0,VAR29,3,0), , COLORFF00FF; 底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;STICKLINE(CROSS底部吸筹指标,-24),100,0,6,0), , COLORFFFFFF;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升:IF(CROSS(底部吸筹指标,-24),1,0),, COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:二SMA(VARK3,3,1), , C0L0RRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELL0W,LINETHICK2;趋势线: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), ,COLORFF6666,LINETHICK2;卖:IF((CROSS(波段鬼,波段王)OR CROSS波段鬼,趋势线)OR CROSS波段王,趋势线))AND 波段鬼>65,90,0),STICK,,COLORFFFF00 ,LINETHICK3; RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1),COLORSTICK;出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0),STICK,COLORYELLOW;DRAWICO出手就赢>0,50 ,1);买点准备:IF(趋势线<=10,0,10), COLORFF9933,LINETHICK3;STICKLINE( CROSS趋势线,10),0,73,6,0), COLOR3366FF,;DRAWTEXT(IF(CROS趋势线,10),100,0),68,' 抄底'),COLORWHITE ; DRAWTEXT(IF(CROSS(趋势线),1,0), 10,'$ 备钱'),COLOR33FFCC,;{目前位置:对当前股票所处的技术位置进行评价,可对是否介入作出辅助判断}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;DRAWTEXT(REF(J,1)<0 AND J>0,50,短买'),COLORRED ;短线获利:STICKLINE(REF(J,1)<0 ANDJ>0,60,0,2,0),COLOR0000FF; 目前位置:K; 技术低位:20;技术中位:50,POINTDOT;技术高位:80;5、资金趋势M:=55;N:=34;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(85,RSI),75V'),COLORGREEN;VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1); VAR2:=REF(LOW,1)*VAR1;VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*V AR1;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1; VAR5:=LLV(LOW,30)*VAR1; VAR6:=HHV(VAR4,30)*VAR1;VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;低位吸筹:IF(VAR8>100,100,VAR8)*VAR1,COLORYELLOW;主力吸筹:STICKLINE(低位吸筹>-150,0,低位吸筹,1,0),COLOR YELLOW;散户资金:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN ,LINETHICK2; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D; 主力资金:EMA(J,6),COLORRED,LINETHICK2;DRAWTEXT(CRO主力资金,散户资金),主力资金,' ★')COLORYELLOW;换手:VOL/CAPITAL*100,POINTDOT COLORMAGENTA;A 股:CAPITAL/1000000,LINETHICK0,COLORWHITE;6、真实资金预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD测5,量,0,3.5,-1),COLORRED;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);主买2:=ABS(QJ0*(JJ-MIN(CLOSE,OPEN)));STICKLINE(主买2,0,主买2,3.3,0),COLORRED;主卖2:=ABS(QJ0*(MIN(OPEN,CLOSE)-LOW));STICKLINE(主卖2,0,-主卖2,3.3,0),COLORGREEN;散买2:=ABS(QJ0*(HIGH-MAX(OPEN,CLOSE)));STICKLINE散买2,主买2,主买2+散买2,3.3,0),COLORCBCOFF;散卖2:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ));STICKLINE(散卖2,-主卖2,-主卖2-散卖2,3.3,0),COLORCDOOOO; 资金异动:二VOL/MA(VOL,55)*100,COLORYELLOW;STICKLINE(资金异动>100 ,0,主买2+散买2,0.2,0),COLORYELLOW; 主买: 主买2,COLORRED,NODRAW;主卖:- 主卖2,COLORGREEN,NODRAW;KS t9)d3d>9 GNV (^9)d3d>9 GNV (t7t9)A_n=(£t9)d3d dO (^9)d3d>9 GNV (t/O)/\HH=(l/O)zBB GNV (t7t9)A_n=(S t9)d3d dO(S t9)d3d>9 GNV (廿0)/\11二(1/0)弓曰占dO ((£t9)d3d>(l,t9)d3dyO (S t9)d3d>(l,t9)d3dtlNV(t7t9)A_n=9=:0SdVA Kt7t9)A_n=(l,t9)d3d GNV (t7t9)AHH=9=:0l,dVA ^K((^t3SO_IO)VI/\l3-(9t3SO_l9)VI/\l3)=:d t9/(O+H+1+6£)=JX JMOIH 丄mN 门'OOO Z IO Z IBOIOO©乙XGCI)VI/\H£XCICI JMOIH 丄mN 门7V\OT□人占O1O0(I/£1XCICI)VI/\IS:乙XGCI J MOIH丄misnTc□占占OIO O(I/U XCI)VI/\ISJXCICI ◎©XGC D VIAI二:XG -1筆王+L ^=:XQQ NmmBO占O1OO0O「(乙涎獰+乙涎王)© 筆獰N筆王-)l£VV)3Nn>19l丄SKl,t(OOI,t_IOA)A_n)d3d>_IOA=:£VV qoooci6joio0((乙涎獰+乙涎王)© 筆獰N筆王-)t SVV)3Nn>19l丄S Kl,t(09t_IOA)A_n)d3d>_IOA=:SVV Mor□人占0100( I/8,「(乙涎獰+乙涎王)© 筆獰N筆王-)%VV)3Nn>19l丄S Kl,t(OS t_IOA)A_n)d3d>_IOA=:l,VV WdaoN^oddoodoioo t((S/A+O t(_|-H)^dVA-O t O>9)dl t((_|-0)+(9-H)kl,dVA-O t OO)dl=:l,WdaoN l a3dd 0_l09t((S/_l0A t((_|-9)+(0-H)kl,dVA t0>9)dl t(_|-H)^dVA t0O)dl=:l,K(O-9)SaV^(_|-H))/_IOA=:心v/\ :C□占占OlOOOfzlWdaoN^oooaodoioo?筆獰■:筆獰WdaoN^dooaodoioo?涎獰:涎獰VAR30:=REF(C,1)=LLV(C,4) ANDC>=REF(C,2)ORREF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3)ANDREF(C,2)<REF(C,4) ANDC>=REF(C,1);VAR40:=(20*X1+19*REF(X1,1)+18*REF(X1,2)+17*REF(X1,3)+16*REF (X1,4)+15*REF(X1,5)+14*REF(X1,6)+13*REF(X1,7)+12*REF(X1,8)+11*REF(X1,9)+10*REF( X1,10)+9*REF(X1,11)+8*REF(X1,12)+7*REF(X1,13)+6*REF(X1,14)+5*REF(X1,15)+4*REF(X1,16)+3*REF( X1,17)+2*REF(X1,18)+REF(X1,20))/210;MTM:=C-REF(C,1);DX1:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); CB:=EMA(VAR40,13);卖1:=HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND CROSS(MA(DX1,2),DX1);DRAWTEXT(FILTEJ t(仁1,1),(- 主卖2-散卖2)*1.08,' 卖'),COLOR00C800;买1:=LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) ANDCROSS(DX1,MA(DX1,2));DRAWTEXT(FILTER(DDX1>=DDX2 AND=1,5),(- 主卖2-散卖2)*1.08,'买'),COLOR YELLOW;ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);V5:=MA(V,5);V12:=MA(V,12);V34:=MA(V,34);C6:=MA(C,6);吸货:二CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975; DRAWTEXT吸货,(主买2+散买2)*1.26,' 吸'),COLORYELLOW;7、黄金阶梯高1:=REF(HHV(H,120),3);低1:=REF(LLV(L,120),3);H1:= 高1-( 高1- 低1)*0.191;H2:=高1-(高1-低1)*0.382;H3:=高1-(高1-低1)*0.5;H4:=高1-(高1-低1)*0.618;H5:=高1-(高1-低1)*0.809;突破:二REF(EMA(C,14),1);A1X:=(EMA(C,10)-突破”突破*100;基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CR0SS(A1X,0))+1),REF(E MA(C,10),BARSLAST(CROSS(0,A1X))+1));STICKLINE(A1X>=0基准,突破,10,0),C0L0R000099; STICKLINE(A1X<0基准,突破,10,0),C0L0R00CC66;DRAWKLINE(H,O,L,C);8、主力入货VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,38);VAR6:=HHV(VAR4,38);VAR7:=IF(LLV(LOW,90),1,0);VAR8:EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; STICKLINE(VAR8,0,VAR8,9,3),colorred;。