《通达信精买买卖指标公式.docx》由会员分享,可在线阅读,更多相关《通达信精买买卖指标公式.docx(22页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、通达信精买买卖指标公式_正点财经价差12:=IF(F1REF(F1,1),-5,105);STICKLINE(价差12-80,价差12,0,4,0),COLOR662290,LINETHICK1;F2:=ZIG(3,6);价差6:=IF(F2REF(F2,1),-5,105);STICKLINE(价差6-80,价差6,0,4,0),COLOR993300,LINETHICK1;VAR11:=(HHV(INDEXH,27)-INDEXC)/(HHV(INDEXH,27)-LLV(INDEXL,27)*100;大盘线:SMA(VAR11,3,1)*(-1)+100,COLORRED,LINETHI
2、CK1;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(趋势DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF0ANDCROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(
3、A1,0);笑傲江湖:=SSS-SSB=2ANDSSSREF(SSS,1),COLORWHITE;VAR51:=EMA(CLOSE,8);VAR52:=EMA(VAR51,20);VAR53:=CROSS(VAR51,VAR52);VAR54:=VAR51EMA(CLOSE,120);黑马起步:=VAR53ANDVAR54;VAR41:=REF(LOW+OPEN+CLOSE+HIGH)/4,1);VAR42:=SMA(ABS(LOW-VAR41),13,1)/SMA(MAX(LOW-VAR41,0),10,1);VAR43:=EMA(VAR42,10);VAR44:=LLV(LOW,33);V
4、AR45:=EMA(IF(LOW=VAR44,VAR43,0),3);主力进场:=VAR45REF(VAR45,1),NODRAW;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA13:=MA(C,13);MA20:=MA(CLOSE,20);MA40:=MA(CLOSE,40);MA60:=MA(CLOSE,60);NA1:=MIN(MA(C,5),MA(C,10)MA(C,60)ANDCROSS(MA(C,5),MA(C,10);NA2:=MIN(MA(C,5),MA(C,10)/MA(C,60)1.05;NA3:=COUNT(VMA(V,10),10)青龙取水
5、:=NA1ANDNA2ANDNA3;VAR32:=(CLOSE-LLV(LOW,20)/(HHV(HIGH,20)-LLV(LOW,20)*100;VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;VAR34:=EMA(VAR33,5);VAR35:=3*VAR33-2*VAR34;绝买:=CROSS(VAR35,VAR33)ANDVAR332.1ANDCSS1:=(LOW+HIGH+CLOSE*2)/4;SS2:=MA(SS1,4);SS3:=HHV(SS2,10);SS4:=MA(SS3,3);SS5:=1.25*SS4-0.25*SS3;XKKJ:=IF(SS5S
6、S3,SS3,SS5);FF1:=LLV(SS2,10);FF2:=MA(FF1,3);FF3:=1.25*FF2-0.25*FF1;DKKJ:=IF(FF3FF1,FF1,FF3);ZDHM:=CROSS(C,DKKJ)ANDCROSS(C,MA13)ANDCROSS(C,XKKJ);ZHM:=CROSS(C,MA13)ANDCROSS(C,XKKJ);的卢:=ZDHMORZHM;A11:=OPENMA20OROPENMA40OROPENMA60;A12:=CMAX(MA20,MAX(MA40,MA60);A13:=V/MA(V,30)A14:=C/REF(C,1)1.049;芙蓉:=A11
7、ANDA12ANDA13ANDA14;J:=(C*2+H+L)/4;K:=(EMA(J,13)-EMA(J,21)*180;D:=EMA(K,2);KK:=(K-D);DD:=-1*(K-D);SSA:=CROSS(KK,DD);VARBB:=EMA(EMA(CLOSE,5),5);LL:=(VARBB-REF(VARBB,1)/REF(VARBB,1)*1000;MM:=CROSS(LL,0);黄买蓝出:=SSAANDMM;VAR1G:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;KG:=SMA(VAR1G,3,1);DG:=SMA(KG,3,
8、1);低位金叉:=DG20ANDCROSS(KG,DG);起死回生:=BARSLAST(低位金叉)=9ANDBARSLAST(低位金叉)2ANDCROSS(DG,KG)ANDDGV1:=(HIGH+OPEN+LOW+(2)*(CLOSE)/(5);V2:=REF(V1,1);V3:=MAX(V1-V2,0);V4:=ABS(V1-V2);V5:=SMA(V3,10,1);V6:=SMA(V4,10,1);V8:=COUNT(V5)/(V6)0.2),5);V9:=COUNT(LLV(V1,10)=V1),10);底部构成:=IF(V8=1)AND(V9=1)AND(CLOSEOPEN)AND(
9、REF(CLOSE,1)REF(OPEN,1)AND(VOLREF(VOL,1),1,0),COLOR00FFFF;腰线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)/4;KKD:=EMA(CLOSE-LOW,5);顶线:=MA(CLOSE+REF(CLOSE,1)+REF(CLOSE,1)/3+KKD,5);底线:=MA(REF(CLOSE,1)-KKD,5);MA2:=MA(CLOSE,2);EE:=(CROSS(MA2,MA10)ANDCROSS(MA2,MA20),1);超级战神:=腰线OPENANDOPEN底线ANDCLOSE
10、顶线ANDCLOSEMA20ANDCLOSE腰线ANDEE;MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100ZH530:=ABS(MA5-MA30)/MA30*100QSXS1:=MA5REF(MA5,1);QSXS2:=MA20REF(MA20,1);QSXS3:=MA30REF(MA30,1);DTPL:=MA20MA30ANDMA30MA120;LYT:=DTPLANDQSXS2ANDQSXS3ANDCOUNT(QSXS1,4)GJHS:=CMA5AND(QSXS1ANDNOT(REF(QSXS1,1)ORC
11、REF(C,3);LYKK:=GJHSAND(ZH520ORZH530)ANDLYT;买:=LYKKANDNOT(REF(LYKK,1);老鸭头优选:=买ANDCOUNT(MA10MA20),5)=5;AA4:=(CLOSE-LLV(LOW,21)/(HHV(HIGH,21)-LLV(LOW,21)*100;AA5:=SMA(AA4,13,8);趋势1:=(5)*(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*(100),5,1)-(3)*(SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*
12、(100),5,1),3,1)-SMA(SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*(100),5,1),3,1),2,1);底部:=5;AA3:=WINNER(CLOSE+CLOSE*15/100)*100;BB3:=WINNER(CLOSE+CLOSE*0/100)*100;CC3:=AA3-BB3;DD3:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100)*100;EE3:=CC33ANDDD30.5ANDOPENA21:=DYNAINFO(6);A22:=IF(LO
13、WA21,0,IF(HIGHA21,1,(A21-LOW+0.01)/(HIGH-LOW+0.01);A23:=VOL/WINNER(LOW);A24:=REF(HHV(CLOSE,120),1);A25:=REF(LLV(CLOSE,120),1);A26:=100*(CLOSE-A25)/(A24-A25);A27:=A220ORA22=1;A28:=A27ANDA23/REF(A23,3)=3ANDA26A29:=REF(A28,1)ORREF(A28,2)ORREF(A28,3)ORREF(A28,4);A30:=A28ANDA29;A31:=IF(FILTER(A28,3),5,0)
14、;A32:=IF(FILTER(A30,3)OREE3,10,0);N:=13;N1:=6;N2:=14;RSV:=(CLOSE-LLV(LOW,N)/(HHV(HIGH,N)-LLV(LOW,N)*100;MA75:=MA(CLOSE,75);LC:=REF(C,1);K9:=SMA(C-LLV(L,9)/(HHV(H,9)-LLV(L,9)*100,3,1);D9:=SMA(K9,3,1);J9:=3*K9-2*D9;JJ:=J9*0.1;TYP:=(HIGH+LOW+CLOSE)/3;CC1:=(TYP-MA(TYP,N2)/(0.015*AVEDEV(TYP,N2),COLORFF00
15、FF;C11:=SMA(CC1,3,1);C12:=SMA(C11,3,1);C13:=3*C11-2*C12;CB1:=EMA(C13,5);RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;RSI:=(RSI1-50)*5,LINETHICK2,COLORFFFFFF;R1:=SMA(RSI,3,1);D11:=SMA(R1,3,1);J1:=3*R1-2*D11;RR1:=EMA(J1,5);RR2:=REF(RR1,1);RR:=RR1KR:=SMA(RSV,3,1);K1:=(KR-50)*5,COLOR00FF0
16、0;K2:=SMA(K1,3,1);D12:=SMA(K2,3,1);J2:=3*K2-2*D12;BB1:=EMA(J2,5);买入:=RRANDNOT(REF(RR,1)AND(RR1-100ANDBB1-100)ANDCB1-100,LINETHICK0;VAR2:=INDEXADV;VAR3:=INDEXDEC;VAR4:=VAR2/(VAR2+VAR3);VAR5:=VAR3/(VAR2+VAR3);VAR6:=EMA(VAR4,3);VAR7:=EMA(VAR5,3);VAR8:=EMA(VAR6,5);VAR9:=EMA(VAR7,5);进场资金:=EMA(VAR8,10)/15
17、0,CIRCLEDOT,COLORRED;资金:=EMA(VAR9,10)/150,CIRCLEDOT,COLORGREEN;大盘神针:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,3),7,1)*10020ANDSMA(MAX(CLOSE-REF(CLOSE,3),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,3),13,1)*10025ANDMA(LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45)*100,5)-19AND(LOWLLV(LOW,5)AND(
18、CLOSE-HHV(CLOSE,8)/HHV(CLOSE,8)-0.05ANDMA(AMOUNT,125)/MA(VOL,125)/(MA(AMOUNT,5)/MA(VOL,5)1.12)*0.75;西买:=BARSLAST(大盘神针)15ANDCROSS(MACD.DIF,MACD.DEA);底:=BARSLAST(LLV(L,4)=LLV(L,120)均线买:=CROSS(MA(C,5),MA(C,20);介入:=(底AND均线买AND(进场资金资金)OR西买);AC:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34),19)+1
19、00;BC:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)+100;DC:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34),4)+100;大底:=(AC15ANDREF(AC,1)15ANDDC18ANDBCREF(BC,1)ANDCROSS(BC,AC)ANDBCDCAND(REF(BC,1)5ORREF(BC,2)5)AND(DC=ACORREF(BC,1)1);VAR17:=REF(CLOSE,1);VAR18:=SMA(MAX(CLOSE-VAR17,0),7,1)
20、/SMA(ABS(CLOSE-VAR17),7,1)*100;VAR19:=SMA(MAX(CLOSE-VAR17,0),13,1)/SMA(ABS(CLOSE-VAR17),13,1)*100;VAR1A:=BARSLAST(VAR1933)=3ANDCROSS(VAR18,VAR19);VAR1B:=(CLOSE-MA(CLOSE,33)/MA(CLOSE,20)*100-12.5;VAR1C:=LLV(LOW,5);VAR1D:=HHV(HIGH,10);VAR1E:=EMA(CLOSE-VAR1C)/(VAR1D-VAR1C)*100,4);VAR1FW:=EMA(0.667*REF(
21、VAR1E,1)+0.333*VAR1E,2);难得一遇:=0-(-1)*VAR1AANDVAR1BANDCROSS(VAR1E,VAR1FW)ANDVAR1EVAR22:=REF(CLOSE,1);VAR23:=SMA(MAX(CLOSE-VAR22,0),7,1)/SMA(ABS(CLOSE-VAR22),7,1)*100;VAR24:=SMA(MAX(CLOSE-VAR22,0),13,1)/SMA(ABS(CLOSE-VAR22),13,1)*100;VAR25:=BARSLAST(VAR2423)=3ANDCROSS(VAR23,VAR24);VAR26:=(CLOSE-MA(CLO
22、SE,23)/MA(CLOSE,20)*100-12.5;VAR27:=LLV(LOW,5);VAR28:=HHV(HIGH,10);VAR29:=EMA(CLOSE-VAR27)/(VAR28-VAR27)*100,4);VAR2A:=EMA(0.667*REF(VAR29,1)+0.333*VAR29,2);千载难逢:=0-(-1)*VAR25ANDVAR26ANDCROSS(VAR29,VAR2A)ANDVAR29大盘6日:=(INDEXC-MA(INDEXC,6)/MA(INDEXC,6)*100;大盘12日:=(INDEXC-MA(INDEXC,12)/MA(INDEXC,12)*1
23、00;大盘24日:=(INDEXC-MA(INDEXC,24)/MA(INDEXC,24)*100;大盘60日:=(INDEXC-MA(INDEXC,60)/MA(INDEXC,60)*100;大盘:=(大盘6日+大盘12日+大盘24日)/3;大盘2:=(大盘6日+大盘12日+大盘24日+大盘60日)/4;个股6日:=(C-MA(C,6)/MA(C,6)*100;个股12日:=(C-MA(C,12)/MA(C,12)*100;个股24日:=(C-MA(C,24)/MA(C,24)*100;个股60日:=(C-MA(C,60)/MA(C,60)*100;个股:=(个股6日+个股12日+个股24日
24、)/3;个股2:=(个股6日+个股12日+个股24日+个股60日)/4;强势出击:=(大盘REF(大盘,1)ANDCROSS(个股,大盘)OR(大盘2REF(大盘2,1)ANDCROSS(个股2,大盘2);STICKLINE(A31,50,0,1,0),COLORFF7700;STICKLINE(A32,30,0,1,0),COLORFF00FF;STICKLINE(主力进场,0,-5,4,0),COLORRED;走势:CEILING(SMA(AA5,13,8);DRAWTEXT(老鸭头优选,100,优),COLORYELLOW;DRAWTEXT(顶天立地,100,顶),COLORYELLOW
25、;DRAWTEXT(黄买蓝出,90,黄买),COLORYELLOW;DRAWTEXT(超级战神,80,战神),COLORYELLOW;DRAWTEXT(的卢,70,的卢),COLORYELLOW;DRAWTEXT(笑傲江湖,60,笑),COLORYELLOW;DRAWTEXT(绝买,50,绝买),COLORYELLOW;DRAWTEXT(芙蓉,40,芙蓉),COLORYELLOW;DRAWTEXT(青龙取水,30,龙),COLORYELLOW;DRAWTEXT(黑马起步,30,马),COLORYELLOW;DRAWTEXT(难得一遇0AND千载难逢0,20,难逢),COLORYELLOW;DR
26、AWTEXT(大盘神针,20,神针),COLORFFFF00;DRAWTEXT(买入ANDJJ8ANDREF(CCI,1)-120ANDCOANDCONST(IF(C=MA75,1,0),20,东买),COLORWHITE;DRAWTEXT(大底,20,大底)COLORYELLOW;DRAWTEXT(介入,10,长买),COLORWHITE;DRAWTEXT(买入,10,短买),COLORWHITE;DRAWTEXT(底部构成,3,底),COLORYELLOW;DRAWTEXT(低位金叉,3,低),COLORYELLOW;DRAWTEXT(起死回生,-3,起),COLORYELLOW;DRAW
27、TEXT(CROSS(趋势1,底部),-3,),COLORYELLOW;DRAWTEXT(强势出击,40,强势),COLORFFFFFF;DRAWTEXT(CROSS(0.9,1/VOL*10000.01ANDKDJ.J0),30,地量),COLOR33FFFF;STICKLINE(CURRBARSCOUNT=55,105,-5,62,0),COLOR333344;STICKLINE(CURRBARSCOUNT=55,105,95,62,0),COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=59,100,东家专用精选买点36个),COLORRED;DRAWTEXT(CUR
28、RBARSCOUNT=59,90,东买=东家买绝买的卢神针),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,80,芙蓉=出水芙蓉马=黑马起步),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,70,战神=超级战神龙=青龙取水),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,60,优=老鸭头优选笑=笑傲江湖),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,50,黄买=黄买蓝出低=低位金叉),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,40,长买=长线稳买顶=
29、顶天立地),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,30,短买=金兰三宝起=起死回生),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,20,红底=主力吸筹底=底部构成),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,10,蓝柱=主力进攻红柱=主力加仓),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=59,0,底部大底枯木逢春千载难逢),COLORGREEN;DRAWTEXT(ISLASTBARANDA31,80,主力进攻),COLORYELLOW;DRAWTEXT(ISLASTBARANDA32,30,主力加仓),COLORYELLOW;DRAWTEXT(ISLASTBARAND(F1REF(F1,1),-3,上升趋势),COLORYELLOW;DRAWTEXT(ISLASTBARAND(F1=REF(F1,1),-3,下跌趋势),COLORYELLOW;通达信精买买卖指标公式实例图解:通达信精买买卖指标公式
限制150内