您好,欢迎访问三七文档
当前位置:首页 > 金融/证券 > 股票报告 > 【股票指标公式下载】-【通达信】趋势炒股(向导线、获利了结、出场
【通达信】趋势炒股(向导线、获利了结、出场警戒、股市黑客)-指标公式源码STICKLINE(100,99,0,5,0),COLOR666600;LA:=REF(CLOSE,1);LB:=((SMA(MAX((CLOSE-LA),0),5,1)/SMA(ABS((CLOSE-LA)),5,1))*100);LC:=(HIGH-REF(HIGH,1));LD:=(REF(LOW,1)-LOW);LE:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);LF:=SUM(IF(((LC0)AND(LCLD)),LC,0),10);LG:=SUM(IF(((LD0)AND(LDLC)),LD,0),10);LH:=((LF*100)/LE);LI:=((LG*100)/LE);LJ:=MA(((ABS((LI-LH))/(LI+LH))*100),5);AV:=(LB+LJ);LK:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));LL:=(LB-LK);LM:=(AV+LL);LO:=((((2*CLOSE)+HIGH)+LOW)/4);LP:=LLV(LOW,34);LQ:=HHV(HIGH,34);LR:=EMA((((LO-LP)/(LQ-LP))*100),13);LS:=EMA(((0.667*REF(LR,1))+(0.333*LR)),2);向导线:=LLV(LM,1);STICKLINE((向导线225),95,90,10,1),COLORFFCC00;{获利了结}STICKLINE((向导线235),100,95,10,1),COLORRED;{出场警戒}STICKLINE((LM(0-1)),0,5,5,1),COLOR00FF00;STICKLINE((LM(0-5)),5,10,5,1),COLOR00FF00;STICKLINE(((LR-LS)0),LR,LS,0,0),COLORFFFDDF;STICKLINE(((LR-LS)0),LR,LS,9,0),COLORFFFCCF;STICKLINE(((LR-LS)0),LR,LS,8,0),COLORFFFBBF;STICKLINE(((LR-LS)0),LR,LS,7,0),COLORFFFAAF;STICKLINE(((LR-LS)0),LR,LS,6,0),COLOR00FF00;STICKLINE(((LR-LS)0),LR,LS,5,0),COLOR00EE00;STICKLINE(((LR-LS)0),LR,LS,4,0),COLOR00DD00;STICKLINE(((LR-LS)0),LR,LS,3,0),COLOR00CC00;STICKLINE(((LR-LS)0),LR,LS,2,0),COLOR00BB00;STICKLINE(((LR-LS)0),LR,LS,1,0),COLOR00AA00;STICKLINE(((LR-LS)0),LR,LS,0,0),COLORFF8899;STICKLINE(((LR-LS)0),LR,LS,9,0),COLORFF8888;STICKLINE(((LR-LS)0),LR,LS,8,0),COLORFF7777;STICKLINE(((LR-LS)0),LR,LS,7,0),COLORFF6666;STICKLINE(((LR-LS)0),LR,LS,6,0),COLORFF5555;STICKLINE(((LR-LS)0),LR,LS,5,0),COLORFF4444;STICKLINE(((LR-LS)0),LR,LS,4,0),COLORFF3333;STICKLINE(((LR-LS)0),LR,LS,3,0),COLORFF2222;STICKLINE(((LR-LS)0),LR,LS,2,0),COLORFF1111;STICKLINE(((LR-LS)0),LR,LS,1,0),COLORFF0000;{深蓝}{专家在线};MA5:=MA(VOL,5);MA8:=MA(VOL,13);MA144:=MA(VOL,144);DRAWTEXT(FILTER(((LR-LS)0)&&(CROSS(MA8,MA5)),55),LR,'持币期')COLORBLUE;DRAWTEXT(FILTER(((LR-LS)0)&&(CROSS(MA5,MA144)),60),LR-30,'【专家在线】')COLORBLACK;T:=IF((BARSCOUNT(C)7),(100)*((MA(C,7))/(LLV(MA(C,7),7))-1),1);N:=IF((T0.35),6,65);W:=((-((100)*(HHV(H,21)-C))/(HHV(HIGH,21)-LLV(L,21)))),LINETHICK2;RV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG2:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J01:=(HIGH+LOW)/2;QJ1:=EMA(J01,3);RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;J11:=IF(CLOSEQJ1,VOL,0);J21:=IF(CLOSEQJ1,VOL,0);BB1:=MA(SUM(J11-J21,22),3);累加1:=21*BB1+20*REF(BB1,1)+19*REF(BB1,2)+18*REF(BB1,3)+17*REF(BB1,4)+16*REF(BB1,5)+15*REF(BB1,6)+14*REF(BB1,7)+13*REF(BB1,8)+12*REF(BB1,9)+11*REF(BB1,10)+10*REF(BB1,11)+9*REF(BB1,12)+8*REF(BB1,13)+7*REF(BB1,14)+6*REF(BB1,15)+5*REF(BB1,16)+4*REF(BB1,17)+3*REF(BB1,18)+2*REF(BB1,19)+REF(BB1,20);WMA1:=累加1/(21+1)/21*2;CC:=WMA1;VAR03:=(BB-CC);★股市黑客★:=SMA(RV,3,1);普通投资者:=SMA(★股市黑客★,5,1);KK1:=EMA(SMA(RG,3,1),2),COLORFFFFFF;DD2:=SMA(KK1,3,1),COLOR00FFFF;RSV3:=(((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)))*100);K11:=SMA(RSV3,3,1);D11:=SMA(K11,3,1);KK5:=INTPART(SMA(RSV3,3,1));DD5:=INTPART(SMA(K11,3,1));JJ5:=INTPART(((3*K11)-(2*D11)));N1:=(KK5+DD5);KX:=(N125);KX1:=REF(KX,29);XX:=(N118);XX1:=REF(XX,31);XXX:=(N123);XXX1:=REF(XXX,198);KP:=((KX1ORXX1)ORXXX1);KA1:=(((REF(CLOSE,2)/REF(OPEN,2))0.95)AND(REF(CLOSE,2)REF(CLOSE,3)));KA2:=(((REF(OPEN,1)REF(CLOSE,2))AND(REF(CLOSE,1)REF(CLOSE,2)))AND(REF(CLOSE,1)((REF(CLOSE,2)+REF(OPEN,2))/2)));KA3:=(CLOSEREF(CLOSE,1));KA4:=(LLV(LOW,13)=REF(LOW,1));KP2:=(COUNT((((KA1ANDKA2)ANDKA3)ANDKA4),3)0);KP3:=CROSS((-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))),80);KD3:=(N145);KD1:=(((((REF(KD3,180)ORREF(KD3,179))ORREF(KD3,31))ORREF(KD3,29))ORREF(KD3,13))ORREF(KD3,11));KP4:=((KP2ANDKP3)ANDKD1);DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);KP5:=2*(DIFF-DEA);KD2:=((((REF(KD3,180)ORREF(KD3,261))ORREF(KD3,98))ORREF(KD3,77))ORREF(KD3,1));KP6:=((KP2ANDKP5)ANDKD2);KP7:=(N134);KP8:=REF(KP7,11);KP9:=(N145);KP10:=((REF(KP9,83)ANDKP8)ANDKP2);KP11:=(N138);KP12:=((REF(KP11,19)ANDREF(KP11,32))ANDKP2);KP13:=((REF(KP9,28)ANDREF(KP11,101))ANDKP2);KP14:=(N143);KP15:=((REF(KP14,28)ANDREF(KP14,189))ANDKP2);I:=((((((REF(CLOSE,2)/REF(OPEN,2))0.95)AND(REF(OPEN,1)REF(CLOSE,2)))AND((ABS((REF(OPEN,1)-REF(CLOSE,1)))/REF(CLOSE,1))0.03))AND((CLOSE/OPEN)1.05))AND(CLOSEREF(CLOSE,2)));I1:=2*(DIFF-DEA);T3:=(N140);T4:=((REF(T3,34)ORREF(T3,28))ORREF(T3,57));KP16:=((IANDI1)ANDT4);P1:=13;P2:=5;邰1:=LLV(LOW,5);邰2:=HHV(HIGH,13);※升跌临界※:=EMA(0.667*REF(EMA((CLOSE-邰1)/(邰2-邰1)*100,P2),1)+0.333*EMA((CLOSE-邰1)/(邰2-邰1)*100,P2),2),COLORBLUE,LINETHICK2;#股市黑客#:=EMA((CLOSE-邰1)/(邰2-邰1)*100,P2),COLORGREEN,LINETHICK3;SSRCJL:=EMA(VOL,13);{寻底}SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=((SSRCJE/SSRCJL)/100);SSRGL:=(((CLOSE-SSRCBJX)/SSRCBJX)*100);趋:=SSRGL(0-18);势:=SSRGL(0-14);而:=SSRGL(0-10);为:=SSRGL(0-6);绝对底④:IF((SSRGL(0-18)),23,0),LINETHICK3,COLORBLUE;{绝对底}DRAWTEXT((FILTER((SSRGL(0-18)),7)),25,'④'),COLORCYAN;大底③:IF((SSRGL(0-14)),84,0),LINETHICK3,COLORRED;{大底}DRAWTEXT((FILTER((SSRGL(0-14)),7)),86.5,'③'),COLORMAGENTA;
本文标题:【股票指标公式下载】-【通达信】趋势炒股(向导线、获利了结、出场
链接地址:https://www.777doc.com/doc-1130800 .html