您好,欢迎访问三七文档
当前位置:首页 > 金融/证券 > 股票报告 > 【股票指标公式下载】-【通达信】将军喜舞(牵引线、量价关注、趋势
【通达信】将军喜舞(牵引线、量价关注、趋势关注、趋势线)-指标公式源码日时转换:=IF(PERIOD=5,120,240);QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;VAR3:=(VAR1+VAR2)/2;VAR4:=EMA(VAR3,30);VAR5:=EMA(VAR3,60);VAR6:=EVERY(VAR1REF(VAR1,1),5)ANDEVERY(VAR4REF(VAR4,1),5);DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));牵引线:VAR1,COLORF29540;强弱线:EMA(VAR1,日时转换),POINTDOT,COLORWHITE;趋势关注:IF(CROSS(VAR1,EMA(VAR1,60))ANDVAR6,1,0),NODRAW,COLORRED;量价关注:IF(CROSS(VAR3,VAR5)ANDVAR6,1,0),NODRAW,COLORWHITE;冲击量:IF(VAR3VAR5ANDVAR6,1,0),NODRAW,COLORYELLOW;强势区:IF(VAR1强弱线,1,DRAWNULL),NODRAW,COLORRED;止损区:IF(VAR1强弱线,1,DRAWNULL),NODRAW,COLORGREEN;STICKLINE(QZSVAR1,QZS,VAR1,1,0),COLORF29540;STICKLINE(冲击量=1,QZS,VAR1,1,0),COLOR0F26FB;DRAWICON(趋势关注=1,EMA(VAR1,60),5);DRAWTEXT(量价关注=1,EMA(VAR1,60),'▲注意'),COLORWHITE;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);支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;DRAWKLINE(H,O,L,C);MA5:=MA(CLOSE,5),COLORWHITE;MA10:=MA(CLOSE,10),COLORYELLOW;MA30:=MA(CLOSE,30),COLORMAGENTA;MA60:=MA(CLOSE,60),COLORGREEN;MA120:=MA(CLOSE,120),COLORLIMAGENTA;MA240:=MA(CLOSE,240),COLORBLUE,NODRAW;VOL5:=MA(VOL,5),COLORWHITE;VOL10:=MA(VOL,10),COLORYELLOW;VOL40:=MA(VOL,40),COLORFF00FF;量托:=VOL5=VOL40ANDCROSS(VOL10,VOL40)ANDREF(VOL10,1)REF(VOL40,1);DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;AA1:=BARSLAST(MA60MA30AND(MA30=MA10ORMA30MA10));BB1:=REF(COUNT(CMA60,AA1)=AA1,1);CC1:=CROSS(C,MA60)ANDVOLMA(VOL,5)AND(C-REF(C,1))/REF(C,1)*1003;芙蓉出水:=BB1ANDCC1,COLOR00FF00;DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF;STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF;STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);ZJ:=AMOUNT/10000;{资金}TM:=V-MA(V,10);{量填满}一穿三:=MA1OANDMA2OANDMA3OANDMA1CANDMA2CANDMA3CANDCLOSEOPEN;DRAWTEXT(一穿三,L-0.012,'一穿三'),COLORFF00FF;STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORFF00FF;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);前期高位:REF(C,BARSLAST(HD)),COLORBLUE,POINTDOT;STICKLINE(C,前期高位,前期高位,8,0),COLORBLUE;{高点:=(C/REF(C,BARSLAST(HD))-1)*100,NODRAW;STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)0.667,H,C,0.8,0),COLORBLUE;}三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))=REF(L,3);三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))REF(V,3));三日价涨A:=C=REF(C,1);三日价涨B:=CREF(C,1);三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))=REF(L,3);TIM:=IF(DATE1140214,1,0);缩倍柱:=(VOL*1.95=REF(VOL,1))*TIM;百日低量:=(VOL=LLV(VOL,100))*TIM;倍量柱:=CREF(C,1)*1.04AND(VOL=1.9*REF(VOL,1))*TIM;四日前倍量柱:=(REF(VOL,3)1.9*REF(VOL,4))*TIM;四日前高量柱:=(REF(VOL,3)=REF(VOL,4)ANDREF(VOL,3)1.9*REF(VOL,4)AND三日量缩)*TIM;前三引用不成立:=COUNT(REF(四日前倍量柱,1)AND(REF(三日不破,1)ORREF(三日价涨C,1)),3)=0ANDCOUNT(REF(四日前高量柱,1)AND(REF(三日不破,1)ORREF(三日价涨C,1)),3)=0;倍量黄金柱:=四日前倍量柱AND三日量缩AND三日不破AND三日价涨AAND前三引用不成立;高量黄金柱:=四日前高量柱AND三日量缩AND三日不破AND三日价涨AAND前三引用不成立;黄金柱:=倍量黄金柱OR高量黄金柱;次倍量黄金柱:=NOT(黄金柱)AND四日前倍量柱AND三日量缩AND三日不破AND三日价涨BAND前三引用不成立;次高量黄金柱:=NOT(黄金柱)AND四日前高量柱AND三日量缩AND三日不破AND三日价涨BAND前三引用不成立;次黄金柱:=次倍量黄金柱OR次高量黄金柱;准倍量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前倍量柱AND((三日量缩AND三日价涨C)OR(COUNT(倍量柱,3)=1AND三日不破))AND前三引用不成立;准高量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前高量柱AND(三日量缩AND三日价涨C)AND前三引用不成立;准黄金柱:=准倍量黄金柱OR准高量黄金柱;倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日前倍量柱AND三日不破AND三日价涨AAND前三引用不成立;高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日前高量柱AND三日不破AND三日价涨AAND前三引用不成立;将军柱:=倍量将军柱OR高量将军柱;次倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱)AND四日前倍量柱AND三日不破AND三日价涨BAND前三引用不成立;次高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱)AND四日前高量柱AND三日不破AND三日价涨BAND前三引用不成立;次将军柱:=次倍量将军柱OR次高量将军柱;准倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军柱)AND四日前倍量柱AND三日价涨CAND前三引用不成立;准高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军柱)AND四日前高量柱AND三日价涨CAND前三引用不成立;准将军柱:=准倍量将军柱OR准高量将军柱;BACKSET100:=BACKSET(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军柱OR准将军柱,4);FILTER100:=FILTER(BACKSET100,3),NODRAW;BACKSET101:=BACKSET(黄金柱,4);FILTER101:=FILTER(BACKSET101,3);BACKSET102:=BACKSET(次黄金柱,4);FILTER102:=FILTER(BACKSET102,3);BACKSET103:=BACKSET(准黄金柱,4);FILTER103:=FILTER(BACKSET103,3);BACKSET104:=BACKSET(将军柱,4);FILTER104:=FILTER(BACKSET104,3);BACKSET105:=BACKSET(次将军柱,4);FILTER105:=FILTER(BACKSET105,3);BACKSET106:=BACKSET(准将军柱,4);FILTER106:=FILTER(BACKSET106,3);黄金线下影线:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))=REF(L,3);黄金线实体下端:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))=MIN(REF(C,3),REF(O,3))ANDMIN(MIN(L,REF(L,1)),REF(L,2))REF(L,3),LINETHICK0;黄金线上影线:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))=REF(H,3);黄金线实体上端:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))=MAX(REF(C,3),REF(O,3))ANDREF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))REF(H,3);黄金线实体中间:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MAX(REF(C,3),REF(O,3))ANDREF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MIN(REF(C,3),REF(O,3));黄金线实体中间1:=REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MAX(REF(C,3),REF(O,3))ANDREF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))MIN(REF(C,3),REF(O,3))AND
本文标题:【股票指标公式下载】-【通达信】将军喜舞(牵引线、量价关注、趋势
链接地址:https://www.777doc.com/doc-1130748 .html