版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
通达信指标源码通达信买卖==============================N1:=5;N2:=10;STICKLINE(C>0,0,10,15,0),COLOR781816;LC:=REF(CLOSE,1);RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10,COLORFF00FF,LINETHICK1;RSI10:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLOR00FFFF;VAR1:=C-REF(C,1);VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);MA5:=EMA(C,5);MA13:=EMA(C,13);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CRO(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(COSS(MA5,MA13))+1),0),COLOR0000FF;DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(COSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(COSS(MA13,MA5))+1),0),COLOR00FF00;BT:(LLV(VAR2,2)=LLV(VAR2,7)ANDCOUNT(VAR2<0,2)ANDCROSS(VAR2,MA(VAR2,2)))ANDREFDOWNREFDOWNANDUP>REF(DOWN,1);STICKLINEUPCOLOR00FF;STICKLINEDOWNCOLORFF00;STICKLINEBTCOLOR8;STICKLINEBTCOLORCCSTICKLINEBTCOLOR000FF;DRAWTEXTBT'),COLOR0000FF;TJ1:=REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1)ANDC<HHV(H,21)*0.82;STICKLINE(TJ1,0,2,3,0),COLOR880088;STICKLINE(TJ1,0,2,1.5,0),COLORAA00AA;STICKLINE(TJ1,0,2,0.8,0),COLORCC00CC;STICKLINE(TJ1,0,2,0.2,0),COLORFF00FF;DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF;HR:=HHV(HIGH,55);HRY:=LLV(LOW,55);HRY11:=HR*HRY;HRY33:=SQRT(HRY11);TJ2:=REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1)ANDC<HRY33;STICKLINE(TJ2,0,1,5,0),COLOR008888;STICKLINE(TJ2,0,1,2,0),COLOR00AAAA;STICKLINE(TJ2,0,1,1,0),COLOR00CCCC;STICKLINE(TJ2,0,1,0.2,0),COLOR00FFFF;DRAWTEXT(TJ2,1,'大牛'),COLOR00FFFF;STREFUPREFUPANDDOWNREFUP1);STICKLINESTCOLOR00;STICKLINE(ST,10,9,2,0),COLOR00AA00;STICKLINEST,0),COLOR00CC00;STICKLINE(ST,10,9,0.2,0),COLOR00FF00;DRAWTEXTST,COLOR00FF00;DRAWTEXTCURRBARSCOUNT9.5,'?本指标适合抄底及波段特征明显个股,暴COLOR0FF;COLORFF;DRAWTEXTCURRBARSCOUNT7.3,'?当大牛\中牛\短牛同一天出现时,果断买RFFFFDRAWTEXTCURRBARSCOUNT.6,'?红色持有,绿色观望#^_^#擅长漂GENTA======OSEOSECOLORREDSEEMACLOSE;EMACLOSECOLORREDLINETHICK号线:EMA(CLOSE,550);ACLOSEEMACLOSE);OSELORGREENDIFFEMACLOSE-EMA(CLOSE,19));DEA:=EMA(DIFF,9);MACD.90*(DIFF-DEA);IFFDEAJDIFFCKLINETJHLCOLORYELLOWINETJOCCOLORYELLOWSTICKLINETJANDTJHLCOLORFFF0;STICKLINE(TJ1ANDTJOCCOLORFFF0;STICKLINE(DIFF<DEA,H,L,0.5,0),COLORF0F000;STICKLINEDIFFDEAOCCOLORF0F000;VAR1:=(CLOSE*2+HIGH+LOW)/4;SKEMAVAREMAVAR;DRAWTEXTCROSSSKSDANDSK-0.04AND(C-REF(C,1))/REF(C,1)>=0.03)ORCROSSSKSDANDSK<=0.05AND(V/MA(V,5)>2ORC/REF(C,1)>0.035)),L*0.99,'短STICKLINE((CROSS(SK,SD)ANDSK<-0.04AND(C-REF(C,1))/REF(C,1)>=0.03)(CROSS(SK,SD)ANDSK<=-0.14)OR(CROSS(SK,SD)ANDSK<=0.05AND(V/MA(V,5)>2ORC/REF(C,1)>0.035)),H,L,0.5,0),COLORRED;STICKLINE((CROSS(SK,SD)ANDSK<-0.04AND(C-REF(C,1))/REF(C,1)>=0.03)OR(CROSS(SK,SD)ANDSK<=-0.14)ORCROSSSKSDANDSK<=0.05AND(V/MA(V,5)>2ORCREFC)),O,C,10,1),LINETHICK3,COLORRED;MA5:MA(C,5);MA6:=MA(C,6);MA10:MA(C,10);MA20:MA(C,20);A2:=REF(MA20,1);J1:=(MA20-A2)/A2*100;MJ1:=MA(J1,3);MA30:MA(C,30);MA60:MA(C,60);MA120:MA(C,120);MAX1:=MAX(MA20,MA30);MAX2:=MAX(MAX1,MA60);MIN1:=MIN(MA20,MA30);MIN2:=MIN(MIN1,MA60);K=(MAX2/MIN2-1)*100;{粘合度符合条件}VAR2:=IF(K1<=8,1,0);上火车轨:=MA20>MA30ANDMA20>REF(MA20,1)ANDMA30>REF(MA30,1)ANDMA20-MA30>REF((MA20-MA30),1);STICKLINE(上火车轨,MA20,MA30,0,0),COLORRED;神枪手:=DRAWTEXT(FILTER(上火车轨AND"MACD.DIF"<0.15AND"MACD.DIF">REF("MACD.DIF",1)ANDMA(V,60)>REF(MA(V,60),1)ANDMA(V,5)>MA(V,10)ANDJ1>REF(J1,1)ANDFILTERAND"MACD.DIF"<0.15ANDMACDDIFREFMACDDIFANDMAVREFMAV1)ANDMAV5)>MA(V,10)ANDJ1>REF(J1,1)ANDDRAWTEXTFILTERVARORVARANDMA10>REF(MA10,1)ANDCOUNTMAREFMA3)=3ANDMA30>MA60ANDCOUNTCROSSMAMAANDJ1>MJ1ANDMA(V,5)>MA(V,60)ANDMAV60)>REF(MA(V,60),1),5),MA60*0.99,'短线暴涨'),COLORRED;DRAWTEXTCROSSKDJK2,3),"KDJ.D"(5,2,3))AND"KDJ.D"(5,2,3)<30ANDJ1>MJ1ANDMA60>REF(MA60,1)ANDCOUNT(J1<1,3)>=1,L*0.995,'?买入DRAWTEXTCROSSKDJD2,3),"KDJ.K"(5,2,3))AND"KDJ.D"(5,2,3)>65ANDJ<MJ1ANDCOUNT(J1>1,3)>=1,H*1.005,'?卖出'),COLORGREEN;DRAWTEXTCROSSKDJD8,9,6),"KDJ.K"(18,9,6))ANDKDJDANDKDJJ5,15)>90,H*1.03,'?顶'),COLORRED;DRAWTEXTCROSSMAMAAND"KDJ.K"(5,3,3)>=50ANDKDJJL'),COLORMAGENTA;XLLLVLOW=LLV(LOW,60))AND((CLOSE/REF(CLOSE,1))>=XL=(((CLOSE-EMA(CLOSE,21))/EMA(CLOSE,21))*100);XLCROSSXL0-20));DRAWTEXTFILTERXL>0)ANDLOW),5),(LOW-0.4),'?买点');DRAWTEXTXL0),(LOW-0.2),'?绝对底部');XREFCLOSE);XSMAMAXCLOSEX6),0),7,1)/SMA(ABS((CLOSE-X6)),7,1))*FILTERXDRAWTEXTXHIGH1.02),'?出货'),COLOR9000F5;STICKLINECREFCCO0,0),COLORYELLOW;AAACONSTHHV(H,90));CLOSECLOSERMAR);RMAR);DRAWTEXTCROSSRR(LOW-0.1),'进'),COLORYELLOW;FCLOSERSISMAMAXCLOSELC0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*FEMACLOSEMA=EMA(CLOSE,21);DRAWTEXTCROSSRSI,(HIGH*1.02),'出'),COLORGREEN;VAREMA*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VARHIGHLOW+CLOSE)/3;VARVAR2-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MAVAR,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150ANDVAR200ANDVAR14>=150ANDVAR14<200,10,0);VARIFVAR3<=-150ANDVAR13>-200ANDVAR14<=-150ANDVAR14>-VARCLOSEMA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VARIFVAR8<90,VAR18,100);VARAIFVARE,VARE,0);VARBIFVAR>=200ANDVAR13>=150,15,IF(VAR14<=-200ANDVAR13<=-VARCVARA8ANDVAR1B>60ANDVAR19<100;DRAWTEXT(VAR1CANDCOUNTVARCHIGH.02,'大笔出货ORFFCCAAAMOUNT/V;BB1:=L<AA1*0.9;CC=(C-REF(C,1))/REF(C,1)*100>1.2;DDLMA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;BBANDCCANDDDANDEELINETHICKDRAWTEXT(老鼠LOW老鼠仓'),COLOR40CCFF;A=MA(CLOSE,20);A=(CLOSE>MA(CLOSE,5));A=(MA(CLOSE,5)>MA(CLOSE,10));A=(CLOSE>MA(CLOSE,10));A=(MA(CLOSE,5)>MA(CLOSE,20));A=(CLOSE>MA(CLOSE,20));A:=REF(A74,1);A:=(A74>A710);AVX=(((((IF(A75,10,(0-10))+IF(A76,10,(0-10)))+IF(A77,10,(0)))IFA,10,(0-10)))+IF(A79,10,(0-10)))+IF(A711,10,(0-DSLXCLOSE/INDEXC);DSLXMADSLX;DSLXMADSLX);VMAVOL);VMAVOL0);T1:=CONST(IF(C<200AND((CROSS(AVX,1)AND(V1>=V2))AND(DSLX>=DSLX));T2:=CONST(IF(C<200AND((CROSS(AVX,1)AND(V1<V2))AND(DSLX>=DSLX));T3:=CONST(IF(C<200AND((CROSS(AVX,1)AND(V1>V2))AND(DSLX<DSLX);T4:=CONST(IF(C<200AND((CROSS(AVX,1)AND(V1<=V2))ANDT5:=CONST(IF(C<200AND((CROSS(1,AVX)AND(V1>=V2))AND(DSLX>=DSLX));T6:=CONST(IF(C<200AND((CROSS(1,AVX)AND(V1<V2))AND(DSLX>=DSLX));T7:=CONST(IF(C<200AND((CROSS(1,AVX)AND(V1>=V2))AND(DSLX<DSLX));T8:=CONST(IF(C<200AND((CROSS(1,AVX)AND(V1<V2))AND(DSLX<DSLX);T9:=CONST(IF(C<200AND((((AVX>=1)AND(REF(AVX,1)>0))ANDV>=V2))AND(DSLX>=DSLX1)),1,0));T10:=CONST(IF(C<200AND((((AVX>=1)AND(REF(AVX,1)>0))AND(V1ANDDSLXDSLXT11:=CONST(IF(C<200AND((((AVX>=1)AND(REF(AVX,1)>0))AND(V1NDDSLXDSLXT12:=CONST(IF(C<200AND((((AVX>=1)AND(REF(AVX,1)>0))AND(V1NDDSLXDSLXT13:=CONST(IF(C<200AND((((AVX<1)AND(REF(AVX,1)<0))AND(V1ANDDSLXDSLXT14:=CONST(IF(C<200AND((((AVX<1)AND(REF(AVX,1)<0))AND(V1ANDDSLXDSLXT15:=CONST(IF(C<200AND((((AVX<1)AND(REF(AVX,1)<0))AND(V1NDDSLXDSLXT16:=CONST(IF(C<200AND((((AVX<1)AND(REF(AVX,1)<0))AND(V1<VANDDSLX<DSLX1)),1,0));TCONSTIFCAND(CROSS(AVX,1)AND(V1>=V2)),1,0));TCONSTIFCAND(CROSS(AVX,1)AND(V1>=V2)),1,0));TCONSTIFCAND(CROSS(AVX,1)AND(V1<V2)),1,0));TCONSTIFCAND(CROSS(1,AVX)AND(V1>=V2)),1,0));TCONSTIFCAND(CROSS(1,AVX)AND(V1<V2)),1,0));T22:=CONST(IF(C>200AND(((AVX>=1)AND(REF(AVX,1)>0))AND(V1>=V)),1,0));T23:=CONST(IF(C>200AND(((AVX>=1)AND(REF(AVX,1)>0))ANDV<V2)),1,0));T24:=CONST(IF(C>200AND(((AVX<1)AND(REF(AVX,1)ANDVVT25:=CONST(IF(C>200AND(((AVX<1)ANDREFAVXAND(V1<V2)),1,0));DRAWTEXT(T1=1ANDF'),COLORFF00FF;DRAWTEXTTANDCURRBARSCOUNT=70,AAA*0.98,'随大盘一起下跌,明显缩持或清仓'),COLORFF00FF;DRAWTEXT(T7=1AND'),COLORFF00FF;继续持有'),COLORFF00FF;DRAWTEXT(T10=1ANDCOLORFFFFDRAWTEXT(T11=1ANDCURRBARSCOUNT=70,AAA-AAA该股仍然具备上涨潜力,但股性偏弱,可考虑减仓'),COLORFF00FF;A不足,减持大部分筹码'),COLORFF00FF;不适合参与'),COLORFF00FF;DRAWTEXT(T14=1AND宜参与'),COLORFF00FF;DRAWTEXT(T15=1ANDCURRBARSCOUNT=70,AAA-ACOLORFFFF;DRAWTEXT(T19=1ANDCURRBARSCOUNT=70,AAA-AABARSCOUNTC);AHHHVH,200);ALLLVL,200);A(AH-AL)/40;BLASTICKLINEAAFLOORAA34),B1,B1-1.5*A0,2,0),COLORF00FF0;DRAWTEXTAA34=FLOOR((AA+0)/34),B1-1*A0,'时间窗,变盘COLORFFFVARSCLOSEHIGHLOWVARSIFYEAR2099ANDMONTH>2,0,1);VAR4S:=LLV(LOW,5);VARSHHVHIGH4);散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;EMAREF1)+0.333*散户,2)*VAR3S;DRAWTEXTCROSS家)AND散户<30,L-0.05,'?吸'),COLORRED;BBBMAC);BSMASMASMA(BBB1,2,1),2,1),2,1),COLORRED;SMA2:=MA(B2,2);VARB0-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-VLOWVAR0-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLVLOW;DRAWTEXTCROSSVARBVARANDBSMALOW?买=======================QCREFCQ*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);QCROSSEMACEMA(C,7));QCROSSEMACEMAC,19));ZLLLVLBARSLASTQ+1);ZLLVLBARSLASTQ1);ZHHHVHBARSLASTQ1);ZHHVHBARSLASTQ);QADRAWLINEZZZZ0);YHHHVHBARSLASTQ_4)+1);YHHVHBARSLASTQ4)+1);YLLLVL,BARSLAST(Q_3)+1);YLLVLBARSLAST(Q_3)+1);QBDRAWLINEYYYY0);X1:=LLV(Q_2,2)=LLV(Q_2,7);XCOUNTQ,2);XCROSSQMA(Q_2,2));XREFQBREFQ_B,2);XQAREFQB;ANDXANDXANDXTJIFQBREFQBANDQ_B=Q_A,1,0);IFREFTJANDTJ>=1,80,10),STICK,COLORRED;持NLORGRAYLORGRAYORLIMAGENTARSVCLOSELLVLOW))/(HHV(HIGH,33)-LLV(LOW,33)))*100);MARSVCOLORWHITESMASMARSV1),COLORYELLOW;SMASMASMARSV1),3,1),COLORMAGENTA;IFCROSS,0),POINTDOT;DRAWICONCROSS0)),5,1);================STICKLINECOLOR66600;XIAOREFLOWOPENCLOSEHIGH4,1);XIAOSMAABSLOWXIAO3,1)/SMA(MAX(LOW-XIAO1,0),10,1);XIAOEMAXIAOIAOLLVLOWXIAOEMAIFLOWXIAOXIAO,0),3);STICKLINEXIAOREFXIAOXIAO),COLOR000055;STICKLINEXIAOREFXIAOXIAO,0),COLOR000077;STICKLINEXIAOREFXIAOXIAO,0),COLOR000099;STICKLINEXIAOREFXIAOXIAO,0),COLOR0000BB;STICKLINEXIAOREFXIAOXIAO,0),COLOR0000DD;STICKLINEXIAOREFXIAOXIAO,0),COLOR0000FF;STICKLINEXIAOREFXIAOXIAO),COLOR005500;STICKLINEXIAOREFXIAOXIAO6,0),COLOR007700;STICKLINEXIAOREFXIAOXIAO.1,0),COLOR009900;STICKLINEXIAOREFXIAOXIAO5,0),COLOR00BB00;STICKLINEXIAOREFXIAOXIAO,0),COLOR00DD00;STICKLINEXIAOREFXIAOXIAOCOLORFF【私募进B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100-70;BSMAB9,1)+100;BCLLV(L,9))/(HHV(H,9)-LLV(L,9))*100;BSMAB3,1);BSMAB3,1)+100;BBB;IFBB-60,0);TSTICKLINEREF1)<观望期,观望期,REF(观望LOWTSTICKLINEREF1)>观望期,观望期,REF(观望ORCYANTAIMACMAREFC,13),8)*100;TAIMAFORCASTTAI,3);AIREFTAIAIREFTAIOLORGREENLINETHICKVARCLOSEREFCLOSE,1)ANDCLOSE>REF(CLOSE,2));VARDCLOSEREFCLOSE1)ANDCLOSE<REF(CLOSE,2));VAREREFVARD)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));VARFREFVARE)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));VARREFVARF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));VARREFVAR10,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));VARREFVAR11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));VARREFVAR12,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));VARREFVAR13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));VARREFVAR14,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));VARREFVAR15,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));VARREFVAR16,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));VARREFVAR17,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));VARREFVARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVARORVAR5ORVAR16ORVAR17ORVAR18,1)ANDVAR1;DEAEMADIFFCOLORFFFF00;MACDDIFF-DEA)*2;ABARSLAST(REF(CROSS(DIFF,DEA),1));ABARSLAST(REF(CROSS(DEA,DIFF),1));REFCLOSEACLOSEANDDIFF>REF(DIFF,A1+1)ANDFFDEAREFCLOSEACLOSEANDREF(DIFF,A2+1)>DIFFANDADIFFIFREFMACCCAND(MA(C,10)-MA(C,5))/MA(C,5)>0.04AND期=0ANDCREF(C,1),1),44,0),LINETHICK3,COLORCYAN;{进}IFREFKDJJ)<0AND"KDJ.J">0ANDTAI1>=TAI2ANDTAI3>TAILINETHICK,COLOR0000FF;{进}IFREF&CROSS(,股市黑客,,※升跌临界FMACVARORREFVAR,0),COLORBLUE,LINETHICK3;,?:IF(底背COLORBROWNDRAWTEXT,'?MACD底背离'),COLORWHITE;DRAWICONREF客,,1)<=13&&CROSS(,股市黑客,,※升跌临界REFMAC)>REF(MA(C,55),2)&&(VAR19ORREF(VAR19,1)),25,5);=========未来函数VARSUMMAXMAXHIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,VARHIGHREFHIGH,1);VARREF(LOW,1)-LOW;VARSUMIFVAR>0ANDVAR2>VAR3,VAR2,0),25);VAR5:=SUM(IF(VAR3>0ANDVARVAR2,VAR3,0),25);VAR6:=VAR4*100/VAR1;VARVAR00/VAR1;VARMAABSVAR-VAR6)/(VAR7+VAR6)*100,15);VARVARREF(VAR8,15))/2;AVAR7>VAR6ANDVAR7>25ANDVAR6<25);BZIG/5)*100,COLORWHITE;BCOLORYELLOWDCROSSBG000,COLORRED;WCROSSG,B)*1000,COLORBLUE;FINDEXCF:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);VAR10:=FANDF<8;MM:=AANDDANDVAR10ANDVAR14;DRAWTEXTWBCOLOR0FF00;DRAWTEXTDB,COLORRED;IFCLOSEOPENVARHIGHCLOSEOPENLOWIFCLOSEOPEN0-VARHIGHLOW0-AMOUNT));COLORFFFFNODRAW;YUWEIMACLOSEMACLOSE6),NODRAW;分界:0;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI0)COLOR0D0C6A;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI0)COLOR0D06AA;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI5,0)COLOR2108C1;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI5,0)COLOR9F5DFF;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI0)COLOR22736F;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI0)COLOR22AAD5;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI5,0)COLOR10C7BF;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI5,0)COLOR80FFFF;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI0)COLOR1B7411;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI0)COLOR17A715;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI5,0)COLOR08D306;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI5,0)COLOR40FF00;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI0)COLOR080E71;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI0)COLOR0B0E8C;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI52,0)COLOR0905B0;STICKLINEYUWEIANDYUWEIREFYUWEIYUWEI.5,0)COLOR0204F2;=================A3*C+L+O+H)/6;XAREF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)REFAREFA12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)REFAREFA+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(AREFADK(S2-S6);EMAXCOLORFFFFLINETHICK;LVHIGHLINETHICKCOLORFFCCLORYELLOWLINETHICKLORMAGENTALINETHICKULLCOLORWHITERAWKLINEHIGHOPENLOWCLOSEMAMA(C,5);MA=MA(C,10);MA=MA(C,30);FABARSLASTCROSSMAMA)ANDCROSS(MA5,MA10);FB:=FAANDMA>MA30ANDMA10>MA30ANDMA10>REF(MA10,1);DRAWTEXT(FB,L-0.58,'?红牛COLORRED;VEMACLOSE);VEMAEMA(CLOSE,90)*1.01,10);DRAWTEXTCROSSVV,V1+0.05,'牛起步'),COLOR00FF00;VARLLVLOW1);VARHHVHIGH1);AK1:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*100),5);AKEMA(((CLOSE-VAR1)/(VAR2-VAR1))*50),13);AB:=CROSS(AK1,AK);DRAWTEXTAB),(LOW*0.99),'?牛窝'),COLORYELLOW;AAAMOUNT/V;BB1:=L<AA1*0.9;CC=(C-REF(C,1))/REF(C,1)*100>1.2;DDLMA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;BBANDCCANDDDANDEELINETHICKCOLOR99FF;DRAWTEXTL.99,'老鼠仓'),COLOR0099FF;VARAAIFCLOSEREF(CLOSE,1)),88,0);VARAA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05)AND((HIGH)/(CLOSE)<1.01)AND(VAR3AA>0),91,0);DRAWTEXTFILTERVARAA0),45),(LOW)*(0.93),'?大胆搏DRAWTEXTFILTERVARAA0),35),(LOW)*(0.99000001),'?加仓AAA9;AAA(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXTFILTERAAA0.5),84),(HIGH)*(1.05),'小心变盘VARREFC);VARSMAMAXCVAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;DRAWTEXTCROSSVAR,H*1.01,'?逃顶'),COLORYELLOW;====================={主力吸筹}RSVCLOSELLVLOWHHV(HIGH,9)-LLV(LOW,9))*100;KSMARSV;DSMAK);JJD*K);JK(2*D));MAIRU=CROSS(K,D)ANDK<20;MAICHU:=CROSS(D,K)ANDD>80;快CLOSELLVLOWHHVHIGH9)-LLV(LOW,9))*100,LINETHICK2,COLSMACOLORCYAN;IFBARSLASTCROSSANDCROSS)AND慢线0,0),STICK,COLORFF937F;STICKLINE(牛股,0,90,1,0),COLORFF937F;BBIFBARSLASTCROSS(慢线,快线))>=3ANDCROSS(快线,慢线)AND慢线,0);TICKLINEBBCOLORYELLOWIFBB40),COLORYELLOW;DRAWICON(BB>0,-35,7);AA=IF(BARSLAST(CROSS(快线,慢线))>=4ANDCROSS(慢线,快线)AND快线STICKLINE(AA,100,120,3,0),COLOR00FF00;高IFAACOLOR0FF00;DRAWICON(AA>0,150,8);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);JJ:=9*(3*D-2*K);J:=((3*K)-(2*D));MAIRU=CROSS(K,D)ANDK<20;MAICHU:=CROSS(D,K)ANDD>80;快线:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COL慢线:SMA(快线,3,1),COLORCYAN;SMA,COLOR00FF00;IFBARSLASTCROSSANDCROSS空)AND慢线<20,90,0),STICK,COLORFF937F;STICKLINE(牛股,0,90,1,0),COLORFF937F;BBIFBARSLAST(CROSS(慢线,快线))>=3ANDCROSS(快线,慢线)AND慢线<30,20,0);DRAWICON(BB>0,-35,7);AA:=IF(BARSLAST(CROSS(快线,慢线))>=4ANDCROSS(慢线,快线)AND快线STICKLINE(AA,100,120,3,0),COLOR00FF00;高卖:IF(AA,120,140),COLOR00FF00;DRAWICON(AA>0,150,8);DAIFTOTALBARSCOUNT,TOTALBARSCOUNT,130);DAIFCURRBARSCOUNTDA,DA1);HIREFDATEHHVHDA,DATE);REFDATELLVLDADATEIFCURRBARSCOUNTDACDRAWNULLGZEXPLNHILO;LHSUMIFCHIGZ,V,0),DA);LHSUMIFCHIPOWGZ2))ANDC1<(HI/GZ),V,0),DA);LHSUMIFCHIPOWGZ3))ANDC1<(HI/POW(GZ,2)),V,0),DA);LHSUMIFCHIPOWGZ4))ANDC1<(HI/POW(GZ,3)),V,0),DA);LHSUMIFCHIPOWGZ5))ANDC1<(HI/POW(GZ,4)),V,0),DA);LHSUMIFCHIPOWGZ6))ANDC1<(HI/POW(GZ,5)),V,0),DA);LHSUMIFCHIPOWGZ7))ANDC1<(HI/POW(GZ,6)),V,0),DA);LHSUMIFCHIPOWGZ8))ANDC1<(HI/POW(GZ,7)),V,0),DA);LHSUMIFCLOGZANDC1<LO*POW(GZ,2),V,0),DA);LHSUMIFCLOANDC1<LO*GZ,V,0),DA);LREFDATEHHVLHDADATELREFDATEHHVLHDADATELREFDATEHHVLHDADATELREFDATEHHVLHDADATELREFDATEHHVLHDADATELREFDATEHHVLHDADATELREFDATEHHVLHDADATELREFDATEHHVLHDADATELREFDATEHHVLHDADATELREFDATEHHVLHDADATE);SSLLLLLLL+L8+L9+L10);STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0),,LORLINETHICKSTICKLINECEILINGDALSSCURRBARSCOUNTHIPOWGZ*99/100HIPOWGZCOLORLINETHICK;STICKLINECEILINGDALSSCURRBARSCOUNTHIPOWGZ*99/100HIPOWGZCOLORLINETHICK;STICKLINECEILINGDALSSCURRBARSCOUNTHIPOWGZ*99/100HIPOWGZCOLORDLINETHICKSTICKLINECEILINGDALSSCURRBARSCOUNTHIPOWGZ*99/100HIPOWGZCOLORLINETHICK;STICKLINECEILINGDALSSCURRBARSCOUNTHIPOWGZ*99/100HIPOWGZCOLORLINETHICK;STICKLINECEILINGDALSSCURRBARSCOUNTHIPOWGZ*99/100HIPOWGZCOLORLINETHICK;STICKLINECEILINGDALSSCURRBARSCOUNTLOPOWGZ,LO*POW(GZ,COLORLICYAN,LINETHICK3;STICKLINECEILINGDALSSCURRBARSCOUNTLOPOWGZ,LO*POW(GZ,COLORLIMAGENTA,LINETHICK3;STICKLINECEILINGDALSSCURRBARSCOUNTLOLOPOWGZ1)*99/100HICKRAWKLINEHOLCRAWKLINEHOLCDRAWTEXTCURRBARSCOUNTLOW0.88,'?压力越大暗条越长,做多越N0;TCONSTHHVBARS(V,10)),COLOR0000FF,LINETHICK1;量能平STIFTCREFCTDRAWNULLRFFLINETHICKIFCURRBARSCOUNTT,量能平LINETHICKDRAWTEXTISLASTBARJJCLOSEHIGHLOW;A=EMA(JJ,10);BREFA1);STICKLINEABAB,0),COLORYELLOW;持币区STICKLINEABAB2,0),COLORBLUE;CCCCI5),COLORSTICK,COLOR40FF00;DRAWICONCROSS(200,CCI),250,2);DRAWICONCROSSCCI200),-250,1);CCICOLORDNODRAWSTICKLINECCICCICOLORD5;CROSSCCIANDCCIREFCCICOLOR0DFDF,NODRAW;STICKLINECROSSCCIANDCCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;强CROSSCCIANDCCIREF(CCI,1),COLOR00CA00,NODRAW;STICKLINECROSSCCIANDCCI<REF(CCI,1),0,CCI,2,0),COLOR00CA00;生命COLORYELLOW,LINETHICK2;HITELINETHICKORREDLINETHICKDJJHIGHLOWCLOSEQJAMOUNTIF(HIGH=LOW,4,HIGH-LOW);TDQJMINOPENCLOSELOW);XD1:=QJ0*(JJ-MIN(CLOSE,OPEN));XDQJHIGHMAXOPENCLOSE);TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);WDRAWBANDRGB(80,0,0),0,RGB(0,50,0));STICKLINE(日净额>0,0,日COLORAASTICKLINE(日净额>0,0,日净额,2,0),COLOR0000CC;STICKLINE,1,0),COLOR0000FF;STICKLINE(日净额<0,日净COLORAA;STICKLINE(日净额<0,日净额,0,2,0),COLOR00CC00;STICKLINE,0),COLOR00FF00;MAMA(CLOSE,6);MA=MA(CLOSE,18);MA:3*(MA18)-(2)*(MA6),LINETHICK1,COLORD39D91;MA:3*(MA6)-(2)*(MA18),LINETHICK2,COLOR87B08B;MSUM(EMA((CLOSE+LOW)/(2),2))/(2.98),3),POINTDOT,COLORFFFFFF;MEMAM1,21),COLORFF00FF;MMA(CLOSE,30),LINETHICK1,COLORFF0000;VAR*(MA((LLV((CLOSE+LOW)/(2),8))*(1.1),13))-EMA((CLOSE+VAR2:=IF(((EMA((CLOSE+LOW)/(2),3)-VAR1)*(5)>,(POW((EMA((CLOSE+LOWVAR)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE+LOWVAR1)*(5),2)))/(10));VAR3:=IF((VAR2>0),VAR2-0,(-1));DRAWTEXTCROSSVARAND((CLOSE+LOW)/(2)>MA((CLOSE+LOWM2)*(1.01),'绝杀'),LINETHICK2,COLORYELLOW;STICKLINECROSSVARANDCLOSELOW2)>MA((CLOSE+LOWLOW)*(0.99),(LOW)*(0.95),4,0),COLORYELLOW;V:=DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9);HYREFEMAV,3),1);OSECOLORHYCOLOR0;DRAWTEXTCROSSCLOSEHYLOW'买点'),LINETHICK2,COLORYELLOW;DRAWTEXTCROSSHY1,CLOSE),HIGH*1.08,'卖点'),LINETHICK3,COLORWHITE;APPVOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));ZL:=IF((CLOSE>OPEN),(APP*(HIGH-LOW)),IF((CLOSE<OPEN),(APP*((HIGH-OPENCLOSELOW)),(VOL/2)));SFIFCLOSEOPENAPP*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE<OPENAPP(HIGH-LOW))),(0-(VOL/2))));YLLVL;YSMAABSLREFL1)),17,1);YSMAMAXLREFL1),0),17,2);STICKLINE(CROSS(Q,0),15,0,4,0),,COLORYELLOW;强拉升:Q1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,,COLOR00FF00,LINETHICK2;STICKLINECROSSQ4,0),,COLORMAGENTA;加强拉升:AVAREXPMAEXPMAEXPMA(2*CLOSE+HIGH+LOW)/4,4),4),4);MAVARREFVARREFVAR)*100,2));地:=(MA((VAR2-REFVARREFVAR1)*100,1));STICKLINE(地>天AND地),COLORRED;STICKLINEAND10,0,1,0)=1,COLORRED;YPHIGHLOWCLOSERSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;KSMARSV,1);DSMAK,1);JK*D;KEMA(EMA(EMA(K,2),2),2);D=EMA(EMA(EMA(D,2),2),2);JEMAEMAEMAJ,2),2),2);Y:=J1>REF(J1,1);NDYOSEHIGHLOWAEMAJJ,10);BREFA;STICKLINE(A>B,A,B,5,0),COLORYELLOW;STICKLINE(A<B,A,B,5,0),COLORBLUE;MEMACLOSE,3);MEMACLOSE,8);MEMAM2,13);MEMAM2,55);VAREMAM55);MEMAM4,81),COLORRED,LINETHICK2;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICONCROSSVARVAR),HIGH*1.035,2);DRAWTEXTCROSSVARVAR),HIGH*1.02,'卖出'),COLORGREEN;VARREFCLOSE);VARSMAMAXCLOSEVAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VARCROSS,VAR5);VARFILTERVAR4);DRAWICONVARHIGH.035,2);DRAWTEXTVARHIGH02,'卖出'),COLORGREEN;A(2*C+H+L)/4;VARLLVLOW34);VARHHVHIGH34);SKEMAAVARVARVAR00,7);SDEMAREFSK0.333*SK,5);DRAWTEXTIFCOUNTCLOSEREFCLOSE,8)/8>6/10ANDVOL>=1.5*MA(VOL,5)DCOUNTSKSDANDREFLOW1)=LLV(LOW,120),1,0),LOW,'?买进COLORREDDRAWTEXTIFCOUNTCLOSEREFCLOSE13>6/10ANDCOUNTSKSDANDREFLOWLLV(LOW,120)ANDREF(CLOSE>=OPEN,4)DREFCLOSEOPENANDREFCLOSEOPENANDREF(OPEN>CLOSE,1)ANDOPENREFCLOSELOW,'?买进'),COLORRED;DMACLOSEMA(CLOSE,10)/3;DRAWTEXTIFCLOSEDANDVOL40>MA(VOL,5)/240ANDCLOSEREFCLOSE1)*1.08ANDCLOSEMA(CLOSE,13)*1.3,1,0),LOW,'?抄底'),COLORRED;N;VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-SMASMACLOSELLVLOWN(HHV(HIGH,N)-LLVLOWN,1),3.2,1),COLORWLINETHICKVARCOLORGREENLINETHICK;IFCROSSVARVAR,0),STICK,COLOR0000CC,LINETHICK2;专IFVAR=8,25,0),STICK,COLORWHITE,LINETHICK2;DRAWTEXTCROSSVARVAR80,'准备买入'),COLOR00FFFF;VAROLLVLOW7);VAROHHVHIGH4);VAROEMACLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区:AROCOLORCCFFLINETHICKLINETHICKCOLORFFCCCLOSECOLORGREENLINETHICKVARLOWHIGHCLOSE)/3;MAVARLINETHICKCOLORWHITECOLORREDLINETHICKOLORBLUEORCYANLLVLOW1.02,COLOR00CCFF;HHVHIGH,COLORFFFFCC;STICKLINEREF作COLORYELLOWLINETHICK;STICKLINE(拉升>REF(拉升,1),拉升,拉升COLORYELLOWLINETHICK;STICKLINE(拉升=REF(拉升,1),拉升,拉STICKLINEREF买卖,1,1),COLORRED;STICKLINEREF卖COLORFFF0,LINETHICK2;STICKLINE(顶部=REF(顶部,1),顶部,顶STICKLINEREF压力,7,1),COLORRED;STICKLINEREF,底部支撑,底部支撑,1,1),COLORRED;EMASLOPEC0+C,42);BUCROSS,卖线);OSSDRAWTEXTBULOWCOLOR208FFF,LINETHICK3;AGENTALINETHICKSTICKLINELOWHIGHCOLORREDSTICKLINE=卖LOSEOPENCOLORREDSTICKLINECLOSEOPENCOLORFFSTICKLINE线<卖LOWHIGHCOLORFFSTICKLINE(CROSS(买线,卖线)ORCROSS(卖线,FFFM5;N4;AAMOUNT/VOL/100;A(3*HIGH+LOW+OPEN+2*CLOSE)/7;A3:=SUM(AMOUNT,40)/A1/100;ASUM(AMOUNT,80)/A1/100;BDMAAVOL/A3);BDMAAVOL/A4);BCLOSEB)/B1*100;BCLOSEB)/B2*100;ORYELLOWLINETHICKGREENLINETHICKORCCFFWDRAWTEXTISLASTBARANDC'愿赌服输四段分时'),COLOR0000BB;DRAWTEXTISLASTBARANDC'操作选择正确时段'),COLOR0000BB;DRAWTEXTISLASTBARANDC'黄线上方谨慎看多'),COLOR0000BB;DRAWTEXTISLASTBARANDC.5,'绿线下方保持警惕'),COLOR0000BB;DRAWTEXTISLASTBARANDC.5,'严格遵守操作纪律'),C
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 投资入股电站合同范例
- 承包轮胎炼油合同范例
- 农场收购合同范例
- 外包保安合同范例
- 关于增补保安合同范例
- 复垦合同范例
- 正规代销合同范例
- 商场装潢合同范例
- 最强合同范例
- 电影制作合同范例
- 酒店投资概算表(模板)精华
- GB/T 36393-2018土壤质量自然、近自然及耕作土壤调查程序指南
- GB/T 1412-2005球墨铸铁用生铁
- 新疆维吾尔自治区公共建筑节能设计标准实施细则2023
- 2022年西藏自治区中考英语真题卷(含答案与解析)
- RCS-9626CN电动机保护测控装置
- 年终总结运维报告课件
- 体育教学与信息技术
- 公司力量观后感
- 《国际法》形成性考核参考资料广东开放大学2022年10月题库
- 纯电动汽车整车控制器(VCU)策略 PPT
评论
0/150
提交评论