通达信猎取主升浪主图指标公式
2019-04-19 作者:股匠网整理 来源:本站整理
VAR1:=(C+H+O+L)/4;卖出:=XMA(VAR120)*(1+80/1000)POINTDOTCOLORGREENLINETHICK3;买入:=XMA(VAR132)*(1-100/1000)POINTDOTCOLORMAGENTALINETHICK3;幅度:=100*(卖出-买入)/买入NODRAW;菩提:=买入+(卖出-买入)*2/3;般:=XMA(CLOSE7); 若:=MEMA(CLOSE3); 全绿K:=LONGCROSS(若般3) AND H>菩提;RSVL:=(CLOSE-LLV(LOW12))/(HHV(HIGH12)-LLV(LOW12))*100; KL:=SMA(RSVL31); DL:=SMA(KL31); KKL:=SMA(RSVL31); DD:=SMA(KL31); NL:=KKL+DD; 买入L:=DRAWICON(CROSS(NL50)501)COLORRED; 卖出L:=DRAWICON(CROSS(160NL)1602)COLORGREEN; 卖出K:=CROSS(160NL); TM:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);T1M:=V;SL1M:=(TM/REF(TM1)-1)*1000;趋势5:=XMA(XMA(XMA(SL1M20)20)20)COLORYELLOW;趋势6:=XMA(XMA(XMA(SL1M10)10)10)COLORMAGENTA;QA9:=趋势6-趋势5;QA10:=EMA(QA989);买入M:=(QA9-QA10)*2COLORSTICK;M1:=EMA(C5);M2:=EMA(C13);M3:=EMA(C34)COLORBLUELINETHICK2;MC1:=EMA(C55);MC2:=EMA(C89);MA4:=EMA(C144);VAR1A1H:=(REF(CLOSE1)-REF(ATR1));买线1:=REF(EMA(C14)1)COLORWHITELINETHICK3;卖线1:=IF(MC1>MAX(MC2MA4)MC1IF(MC1<MIN(MC2MA4)MC2MA4))COLORFF00CCLINETHICK3;高1:=REF(HHV(H150)3);低1:=REF(LLV(L150)3);{STICKLINE(买线1>=卖线1REFDATE(低1DATE)REFDATE(低1DATE)*0.9660)COLOR001050;STICKLINE(买线1<卖线1REFDATE(低1DATE)REFDATE(低1DATE)*0.9660)COLOR404050;}STICKLINE(买入M>=0REFDATE(低1DATE)REFDATE(低1DATE)*0.9821)COLORRED;STICKLINE(买入M<0REFDATE(低1DATE)REFDATE(低1DATE)*0.9821)COLORGREEN;STICKLINE(买入LREFDATE(低1DATE)REFDATE(低1DATE)*0.9620)COLORYELLOW;STICKLINE(卖出K AND 买入M<0REFDATE(低1DATE)REFDATE(低1DATE)*0.9620)COLORCYAN;多空趋势彩带:DRAWBAND(SMA(C6.51)RGB(255970)SMA(C13.51)RGB(01280));中线:=(卖出+买入)/2POINTDOTCOLORWHITELINETHICK4;MA5:=MA(C5)COLOR000099;MA10:=MA(C10)COLOR006600;MA20:=MA(C20)COLOR005555;ZB1:=EMA(C34);{ 原为55或65 }长期趋势:EMA(ZB113)COLORREDLINETHICK3;{原为34或55}STICKLINE(C>=REF(C1)OC31)COLOR000000;STICKLINE(C<REF(C1)OC31)COLOR000000;AA3:=EMA(CLOSE5)>EMA(CLOSE6) AND EMA(CLOSE6)>EMA(CLOSE7) AND EMA(CLOSE7)>EMA(CLOSE8) AND EMA(CLOSE8)>EMA(CLOSE9)AND EMA(CLOSE9)>EMA(CLOSE10) AND EMA(CLOSE10)>EMA(CLOSE11) AND EMA(CLOSE11)>EMA(CLOSE12)AND EMA(CLOSE12)>EMA(CLOSE13) AND EMA(CLOSE13)>EMA(CLOSE14);AA2:= EMA(CLOSE14)>EMA(CLOSE15)AND EMA(CLOSE15)>EMA(CLOSE20) AND EMA(CLOSE20)>EMA(CLOSE30) AND EMA(CLOSE30)>EMA(CLOSE60) AND EMA(CLOSE60)>EMA(CLOSE90)AND EMA(CLOSE90)>EMA(CLOSE120) AND EMA(CLOSE120)>EMA(CLOSE250);A1:= AA2 AND AA3;A2:=EMA(CLOSE5)>EMA(CLOSE6) AND EMA(CLOSE6)>EMA(CLOSE7) AND EMA(CLOSE7)>EMA(CLOSE8) AND EMA(CLOSE8)>EMA(CLOSE9)AND EMA(CLOSE9)>EMA(CLOSE10) AND EMA(CLOSE10)>EMA(CLOSE11) AND EMA(CLOSE11)>EMA(CLOSE12)AND EMA(CLOSE12)>EMA(CLOSE13) AND EMA(CLOSE13)>EMA(CLOSE14);B1:=IF(A112);VAR1MZ:=((CLOSE > REF(CLOSE1)) AND (CLOSE > REF(CLOSE2)));VAR2MZ:=((REF(VAR1MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR3MZ:=((REF(VAR2MZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VAR4MZ:=((REF(VAR3MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR5MZ:=((REF(VAR4MZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VAR6MZ:=((REF(VAR5MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR7MZ:=((REF(VAR6MZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VAR8MZ:=((REF(VAR7MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR9MZ:=((REF(VAR8MZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VARAMZ:=((REF(VAR9MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VARBMZ:=((REF(VARAMZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VARCMZ:=((REF(VARBMZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));{红K}STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ)LH00)COLOR0000DD;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ)CREF(C1)30)COLOR000099;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ)CREF(C1)20)COLOR0000BB;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ)CREF(C1)10)COLOR0000DD;VARDMZ:=((CLOSE < REF(CLOSE1)) AND (CLOSE < REF(CLOSE2)));VAREMZ:=((REF(VARDMZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VARFMZ:=((REF(VAREMZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR10MZ:=((REF(VARFMZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VAR11MZ:=((REF(VAR10MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR12MZ:=((REF(VAR11MZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VAR13MZ:=((REF(VAR12MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR14MZ:=((REF(VAR13MZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VAR15MZ:=((REF(VAR14MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR16MZ:=((REF(VAR15MZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));VAR17MZ:=((REF(VAR16MZ1) AND (CLOSE <= REF(CLOSE1))) AND (CLOSE >= REF(CLOSE2)));VAR18MZ:=((REF(VAR17MZ1) AND (CLOSE >= REF(CLOSE1))) AND (CLOSE <= REF(CLOSE2)));{绿K}STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ)CREF(C1)3 0 )COLOR00BB00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ)CREF(C1)2 0 )COLOR00DD00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ)CREF(C1)1 0 )COLOR00FF00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ)HL00 )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(VAR19MZREF(CLOSE1)REF(CLOSE2)3 0 )COLORFF11FF;STICKLINE(VAR19MZREF(CLOSE1)REF(CLOSE2)2 0 )COLORFF44FF;STICKLINE(VAR19MZREF(CLOSE1)REF(CLOSE2)1 0 )COLORFF66FF;{黄色}STICKLINE(VAR1AMZREF(CLOSE1)REF(CLOSE2)30)COLOR00AAFF;STICKLINE(VAR1AMZREF(CLOSE1)REF(CLOSE2)20)COLOR00CCFF;STICKLINE(VAR1AMZREF(CLOSE1)REF(CLOSE2)10)COLOR00EEFF;FF:=EMA(CLOSE3);MA15:=EMA(CLOSE21);TTJ:=CROSS(FFMA15);上:=EMA(C3)COLORBLUELINETHICK1;中:=EMA(C5)COLORWHITELINETHICK1;下:=EMA(中5)COLOR00FF00LINETHICK1;QQ:= C<中;MM:=上>REF(上1) AND REF(上1)<REF(上2) ;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE20))/MA(CLOSE20); V2:=(1-7/100)*(DMA(CLOSEV1));V3:=(1+7/100)*(DMA(CLOSEV1));V5:=MA((LOW+HIGH+CLOSE)/35);MA1Q:=MEMA(CLOSE5);MA2Q:=ATAN((MA1Q/REF(MA1Q1)-1)*100)*180/3.1416;MA3Q:=IF(MA2Q>0MA2QMA2Q);MA5Q:=MA(CLOSE5)COLOR888899;MA13:=MA(CLOSE13)COLORFF00F0LINETHICK2;VAR01:=CLOSE=HHV(C4) AND (REF(C1)>=REF(C2) OR REF(C1)>=REF(C3)) OR REF(C1)=HHV(C4) AND CLOSE>=REF(C2) OR REF(C2)=HHV(C4) AND REF(C3)=LLV(C4) AND C>=REF(C1) OR REF(C3)=HHV(C4) AND C>=REF(C1) AND C>=REF(C2);VAR02:=CLOSE=HHV(C4) AND REF(C1)=LLV(C4);VAR03:=CLOSE=LLV(C4) AND (REF(C1)<REF(C2) OR REF(C1)<REF(C3)) OR REF(C1)=LLV(C4) AND C<REF(C2) OR REF(C2)=LLV(C4) AND REF(C1)=HHV(C4) AND C<REF(C1) OR REF(C3)=LLV(C4) AND C<REF(C1) AND C<REF(C2);VAR04:=REF(C1)=LLV(C4) AND C>=REF(C2) OR REF(C2)=LLV(C4) AND REF(C1)<=REF(C3) AND REF(C2)<REF(C4) AND C>=REF(C1);VAR05:=REF(C1)=HHV(C4) AND C<REF(C2) OR (REF(C2)=HHV(C4) AND REF(C1)>REF(C3) OR REF(C3)=HHV(C4) AND REF(C1)>REF(C2)) AND REF(C2)>=REF(C4) AND C<REF(C1);VAR06:=V5>REF(V51) AND REF(V51)<REF(V52);VAR07:=LOW<HHV(V513) AND HIGH>HHV(V513) AND CLOSE>REF(C1) AND CLOSE>OPEN;VAR08:=VAR07 AND COUNT(VAR062);VAR09:=100*EMA(EMA(C-REF(C1)6)6)/EMA(EMA(ABS(C-REF(C1))6)6);VAR10:=EMA(MA(C13)13);VAR11:=FILTER((LLV(VAR092)=LLV(VAR097) AND COUNT(VAR09<02) AND CROSS(VAR09MA(VAR092)))=15);VAR12:=FILTER((HHV(VAR092)=HHV(VAR097) AND COUNT(VAR09>502) AND CROSS(MA(VAR092)VAR09))=11);VAR13:=SMA(EMA((C-REF(C1))/REF(C1)5)*10031)*10;VAR14:=FILTER(((CROSS(VAR130) OR CROSS(CVAR10)) AND VAR11)=13);VAR15:=MA(C18)>=REF(MA(C18)3) AND CROSS(CMA(C18));VAR16:=VAR08 AND NOT(REF(VAR081));RSVQ:=(CLOSE-LLV(LOW9))/(HHV(HIGH9)-LLV(LOW9))*100;K:=SMA(RSVQ31);D:=SMA(K31);J:=3*K-2*D;金叉:=CROSS(JD);死叉:=CROSS(DJ);买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(35);EN1:=ZIG(35)>REF(ZIG(35)1) AND REF(ZIG(35)1)<=REF(ZIG(35)2) AND REF(ZIG(35)2)<=REF(ZIG(35)3);EX1:=ZIG(35)<REF(ZIG(35)1) AND REF(ZIG(35)1)>=REF(ZIG(35)2) AND REF(ZIG(35)2)>=REF(ZIG(35)3);PL10:=ZIG(310);EN2:=ZIG(310)>REF(ZIG(310)1) AND REF(ZIG(310)1)<=REF(ZIG(310)2) AND REF(ZIG(310)2)<=REF(ZIG(310)3);EX2:=ZIG(310)<REF(ZIG(310)1) AND REF(ZIG(310)1)>=REF(ZIG(310)2) AND REF(ZIG(310)2)>=REF(ZIG(310)3);PL20:=ZIG(320);EN3:=ZIG(320)>REF(ZIG(320)1) AND REF(ZIG(320)1)<=REF(ZIG(320)2) AND REF(ZIG(320)2)<=REF(ZIG(320)3);EX3:=ZIG(320)<REF(ZIG(320)1) AND REF(ZIG(320)1)>=REF(ZIG(320)2) AND REF(ZIG(320)2)>=REF(ZIG(320)3);PL40:=ZIG(340);走强1:=BARSLAST(PL5<REF(PL51));走弱1:=BARSLAST(PL5>REF(PL51));走强2:=BARSLAST(PL10<REF(PL101));走弱2:=BARSLAST(PL10>REF(PL101));走强3:=BARSLAST(PL20<REF(PL201));走弱3:=BARSLAST(PL20>REF(PL201));ZTJZ5:=IF(PL10>REF(PL101)COUNT(EN1走强2)0);ZTJD5:=IF(PL10>REF(PL101)COUNT(EX1走强2)0);DTJZ5:=IF(PL10<REF(PL101)COUNT(EN1走弱2)0);DTJD5:=IF(PL10<REF(PL101)COUNT(EX1走弱2)0);ZTJZ10:=IF(PL20>REF(PL201)COUNT(EN2走强3)0);ZTJD10:=IF(PL20>REF(PL201)COUNT(EX2走强3)0);DTJZ10:=IF(PL20<REF(PL201)COUNT(EN2走弱3)0);DTJD10:=IF(PL20<REF(PL201)COUNT(EX2走弱3)0);TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL101) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL201) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;XGQ:=XG11 OR XG22;W18:=EXIST(XGQ1);DRAWTEXT(XGQL-0.1'●放心买')COLORWHITE;SQX:=(C-MA(CLOSE13))*100;DIFF:=EMA(MA(SQX7)1)COLORWHITE;DEA:=EMA(DIFF7)COLORYELLOW;MACD:=(DIFF-DEA)*2COLORSTICK;{特立独行专用:IF((CROSS(DIFFDEA) AND DIFF<-0.1) L-0.2DRAWNULL)COLORMAGENTALINETHICK9CROSSDOT;}低位金叉:=IF(CROSS(DIFFDEA) AND DIFF<-0.115DRAWNULL)COLORMAGENTALINETHICK9CROSSDOT;IF(CROSS(DIFFDEA) AND DIFF<-0.1L-0.2DRAWNULL)COLORYELLOWLINETHICK4POINTDOT;{再上N均线 N 10 1 100 1}MA1:=MA(C5);MA2:=MA(C10);MA3:=MA(C21);破N:=REF(MA11)<REF(MA21)AND MA2>REF(MA21);试摸N:=C>MA(C10) OR H>=MA2;再上N:=C>O AND REF(C1)< MA(C10) AND 试摸N AND 破N AND MA(C21)<MA(C10);有行情:=再上N AND (CROSS(C长期趋势) OR CROSS(L长期趋势) OR CROSS(H长期趋势));DRAWTEXT(有行情LOW-0.2'●有行情')COLORGREEN;VAR10B:=IF(TROUGHBARS(3161)=0 AND HIGH>LOW+0.0440);VAR11B:=ZIG(36)>REF(ZIG(36)1) AND REF(ZIG(36)1)<=REF(ZIG(36)2) AND REF(ZIG(36)2)<=REF(ZIG(36)3);VAR12B:=ZIG(36)<REF(ZIG(36)1) AND REF(ZIG(36)1)>=REF(ZIG(36)2) AND REF(ZIG(36)2)>=REF(ZIG(36)3);VAR13B:=ZIG(322)>REF(ZIG(322)1) AND REF(ZIG(322)1)<=REF(ZIG(322)2) AND REF(ZIG(322)2)<=REF(ZIG(322)3);VAR14B:=ZIG(322)<REF(ZIG(322)1) AND REF(ZIG(322)1)>=REF(ZIG(322)2) AND REF(ZIG(322)2)>=REF(ZIG(322)3);VAR15B:=ZIG(351)>REF(ZIG(351)1) AND REF(ZIG(351)1)<=REF(ZIG(351)2) AND REF(ZIG(351)2)<=REF(ZIG(351)3);VAR16B:=ZIG(351)<REF(ZIG(351)1) AND REF(ZIG(351)1)>=REF(ZIG(351)2) AND REF(ZIG(351)2)>=REF(ZIG(351)3);VAR17B:=ZIG(372)>REF(ZIG(372)1) AND REF(ZIG(372)1)<=REF(ZIG(372)2) AND REF(ZIG(372)2)<=REF(ZIG(372)3);VAR18B:=ZIG(372)<REF(ZIG(372)1) AND REF(ZIG(372)1)>=REF(ZIG(372)2) AND REF(ZIG(372)2)>=REF(ZIG(372)3);VAR19B:=EMA(CLOSE2)-EMA(CLOSE150);买1B:=VAR10B;买2B:=(VAR11B+VAR13B+VAR15B+VAR17B);BB:=IF(买1B>0 OR 买2B>0 LOW*0.99DRAWNULL)CROSSDOTLINETHICK3COLORYELLOW;红买绿卖:IF(CROSS(BB买1B)LOW*0.99DRAWNULL)CROSSDOTLINETHICK5COLORWHITE;牛节点:=CROSS(EMA(C5)EMA(C30))AND CROSS(EMA(C10)EMA(C20));DRAWICON(牛节点L-0.1'NIUBI');CSAR:=SAR(10220); 持币:=IF(CSAR>=HCSAR0)CIRCLEDOTCOLORGREEN{持币}; 持股:=IF(CSAR<=LCSAR0)CIRCLEDOTCOLORRED{持股};生命线2:=EMA(SLOPE(C21)*20+C42)LINETHICK2COLORYELLOW;{股价在上持在下空仓} 止损:=EMA(C5)COLORYELLOWLINETHICK1;{红持股绿持币黄观望} 菩提B:=XMA(H20);{此函数仅做参考线为提前趋势预测线上涨途中向下见顶下跌途中向上见底};参买:=IF(止损>=REF(止损1)止损DRAWNULL)LINETHICK2COLORRED;{持股前提} DRAWICON(CROSS(LCSAR) AND 参买>0 AND H<菩提B AND 持股>0 AND H>长期趋势(LOW- 0.1)'NIUBI');VVAR1D:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);短底:=EMA(VVAR1D5);支撑:=HHV(短底60);MAN:=(SMA(HIGH212) * 1.05);下档线:=(((CLOSE - LLV(LOW13)) / (HHV(HIGH13) - LLV(LOW13))) * 100);中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1D:=EMA(中D10);RSVD:=SMA(下档线31);K大:=SMA(RSVD31);D大:=((3 * RSVD) - (2 * K大));J12:=(((CLOSE - LLV(LOW55)) / (HHV(HIGH55) - LLV(LOW55))) * 100);RSV24:=SMA(J1231);K24:=SMA(RSV2431);D24:=((3 * RSV24) - (2 * K24));压力位:=IF(CROSS(D24D大)HIGHREF(HIGHBARSLAST(CROSS(D24D大))))COLORFFFFFF;牛浮面:=CROSS(CLOSEMA20) AND HIGH < 压力位 AND OPEN < MA20 AND HIGH < 支撑 AND MAN - REF(MAN1) > 0 AND X1D - REF(X1D1)>0 AND D大 < 63 AND MA20 - REF(MA201) > 0COLORWHITE;DRAWTEXT(牛浮面L'●牛浮面')COLORWHITE;CO:=(C-O);绿K:=(卖出>LOW AND 卖出<HIGH) OR (卖出>MIN(CO) AND 卖出<MAX(CO))OR 卖出<LOW;{全绿K}全绿K2:=C>卖出 OR (H>卖出 AND O>C);STICKLINE(全绿K2CO30)COLOR00BB00;STICKLINE(全绿K2CO20)COLOR00DD00;STICKLINE(全绿K2CO10)COLOR00FF00;
T11:=CONST(LLVBARS(LOW10));
T11HIGH:=CONST(REF(HIGHT11));
CC1:=CONST(CURRBARSCOUNT);
T22:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T11 AND H>T11HIGH));
T22HIGH:=CONST(REF(HIGHT22));
T33:=CONST(BARSLAST(CURRBARSCOUNT>CC1+T22 AND HIGH>T22HIGH));
T33HIGH:=CONST(REF(HIGHT33));
C>=T33HIGH AND REF(C1)<T33HIGH
AND DYNAINFO(17)>2;
N:=10;
T1:=CONST(LLVBARS(LOWN));
T1HIGH:=CONST(REF(HIGHT1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1)) AND (HIGH>T1HIGH)));
T2HIGH:=CONST(REF(HIGHT2));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2)) AND (HIGH>T2HIGH)));
T3HIGH:=CONST(REF(HIGHT3));
洗盘杀入线:DRAWLINE(CURRBARSCOUNT=T3+1 T3HIGH ISLASTBAR T3HIGH 1)LINETHICK3COLORCYAN;
DRAWTEXT(ISLASTBAR T3HIGH ' 洗盘杀入线')LINETHICK1COLORYELLOW;
上一篇: 通达信牛背整理选股指标公式
下一篇: 通达信初期牛股选股指标公式