神秘买卖均线主图指标公式

合集下载

精准买卖缠说----原创自编通达信主图公式

精准买卖缠说----原创自编通达信主图公式

精准买卖缠说----原创自编通达信主图公式精准买卖+缠中说禅{精准买卖点主图}MA18:=MA(CLOSE,18);MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6), 6);买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));DRAWTEXT(FILTER(买=1,5),LOW,'★精准买'),COLORRED;加1:=MA18>=REF(MA18,3) ANDCROSS(CLOSE,MA18);DRAWTEXT(加1,LOW,'★精准加'),COLORCC66FF;卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★精准卖'),COLORGREEN;VAR10:=(CLOSE+HIGH+OPEN+LOW)/ 4;卖出:XMA(VAR10,20)*(1+80/1000),COLORMAGENTA,LINETHICK2;买入:XMA(VAR10,32)*(1-100/1000),COLORMAGENTA,LIN ETHICK2;买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;局部低点预选A:=BACKSET(LLV(LOW,5)<REF(LLV(LOW,4),1),4);局部低点预选B:=BACKSET(局部低点预选A=0 AND REF(局部低点预选A,1)=1,2);局部低点预选C:=IF(局部低点预选B=1 AND REF(局部低点预选B,1)=0,-1,0);局部高点预选A:=BACKSET(HHV(HIGH,5)>REF(HHV(HIGH,4),1),4); 局部高点预选B:=BACKSET(局部高点预选A=0 AND REF(局部高点预选A,1)=1,2);局部高点预选C:=IF(局部高点预选B=1 AND REF(局部高点预选B,1)=0,1,0);缺口判断:=IF(LOW>REF(HIGH,1),1,IF(HIGH<REF(LOW,1),-1,0));距前高天:=BARSLAST(局部高点预选C=1);距前低天:=BARSLAST(局部低点预选C=-1);小值周期:=LOWRANGE(LOW);大值周期:=TOPRANGE(HIGH);低保留AA:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(LOW,距前高天+1)<REF(LLV(LOW,距前高天+1),1),-1,0);低保留AB:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 ORLLV(缺口判断,距前高天)=-1 OR LLV(LOW,距前低天+2)<REF(LLV(LOW,距前低天+1),1)),-1,0);低保留S:=IF((低保留AA=-1 OR 低保留AB=-1) AND LOW<REF(HIGH,距前高天+1),-1,0);预判:=IF((距前低天<4 AND HHV(缺口判断,距前低天)!=1) OR REF(低保留S,距前低天)=0,1,0);判断:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND 预判=1 AND 大值周期>REF(小值周期,距前低天+1) AND 大值周期>REF(小值周期,距前低天) AND 大值周期>REF(大值周期,距前高天),1,0);高保留A:=IF(局部高点预选C=1 AND REF(距前低天,1)>REF(距前高天,1) AND HHV(HIGH,距前低天+1)>REF(HHV(HIGH,距前低天+1),1),1,0);高保留B:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND REF(低保留S,距前低天)=-1 AND (距前低天>=4 OR HHV(缺口判断,距前低天)=1),1,0);高保留:=IF((高保留A=1 OR 高保留B=1 OR 判断=1) AND HIGH>REF(LOW,距前低天+1),1,0);预判A:=IF((距前高天<4 AND HHV(缺口判断,距前高天)!=1) OR REF(高保留,距前高天)=0,1,0);判断A:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND 预判A=1 AND 小值周期>REF(大值周期,距前高天+1) AND 小值周期>REF(大值周期,距前高天) AND 小值周期>REF(小值周期,距前低天),-1,0);低保留A:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(LOW,距前高天+1)<REF(LLV(LOW,距前高天+1),1),-1,0);低保留B:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 ORLLV(缺口判断,距前高天)=-1 OR 判断A=-1),-1,0);低保留:=IF((低保留A=-1 OR 低保留B=-1) ANDLOW<REF(HIGH,距前高天+1),-1,0);距前高天A:=BARSLAST(高保留=1);距前低天A:=BARSLAST(低保留=-1);预判X:=IF((距前低天A<4 AND HHV(缺口判断,距前低天A)!=1) OR REF(低保留,距前低天A)=0,1,0);判断X:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND 预判X=1 AND 大值周期>REF(小值周期,距前低天A+1) AND 大值周期>REF(小值周期,距前低天A) AND 大值周期>REF(大值周期,距前高天A),1,0);高保留XA:=IF(局部高点预选C=1 AND REF(距前低天A,1)>REF(距前高天A,1) AND HHV(HIGH,距前低天A+1)>REF(HHV(HIGH,距前低天A+1),1),1,0);高保留XB:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND REF(低保留,距前低天A)=-1 AND (距前低天A>=4 OR HHV(缺口判断,距前低天A)=1),1,0);高保留X:=IF((高保留XA=1 OR 高保留XB=1 OR 判断X=1) AND HIGH>REF(LOW,距前低天A+1),1,0);预判XA:=IF((距前高天A<4 AND HHV(缺口判断,距前高天A)!=1) OR REF(高保留XA,距前高天A)=0,1,0);判断XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND 预判XA=1 AND 小值周期>REF(大值周期,距前高天A+1) AND 小值周期>REF(大值周期,距前高天A) AND 小值周期>REF(小值周期,距前低天A),-1,0);低保留XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)>REF(距前低天A,1) AND LLV(LOW,距前高天A+1)<REF(LLV(LOW,距前高天A+1),1),-1,0);低保留XB:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND (距前高天A>=4 OR LLV(缺口判断,距前高天A)=-1 OR 判断XA=-1),-1,0);低保留X:=IF((低保留XA=-1 OR 低保留XB=-1) ANDLOW<REF(HIGH,距前高天A+1),-1,0);距前高天YA:=BARSLAST(高保留X=1);距前低天YA:=BARSLAST(低保留X=-1);预判YX:=IF((距前低天YA<4 AND HHV(缺口判断,距前低天YA)!=1) OR REF(低保留X,距前低天YA)=0,1,0);判断YX:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND 预判YX=1 AND 大值周期>REF(小值周期,距前低天YA+1) AND 大值周期>REF(小值周期,距前低天YA) AND 大值周期>REF(大值周期,距前高天YA),1,0);高保留YXA:=IF(局部高点预选C=1 AND REF(距前低天YA,1)>REF(距前高天YA,1) AND HHV(HIGH,距前低天YA+1)>REF(HHV(HIGH,距前低天YA+1),1),1,0);高保留YXB:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND REF(低保留X,距前低天YA)=-1 AND (距前低天YA>=4 OR HHV(缺口判断,距前低天YA)=1),1,0);高保留YX:=IF((高保留YXA=1 OR 高保留YXB=1 OR 判断YX=1) AND HIGH>REF(LOW,距前低天YA+1),1,0);预判YXA:=IF((距前高天YA<4 AND HHV(缺口判断,距前高天YA)!=1) OR REF(高保留YXA,距前高天YA)=0,1,0); 判断YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND 预判YXA=1 AND 小值周期>REF(大值周期,距前高天YA+1) AND 小值周期>REF(大值周期,距前高天YA) AND 小值周期>REF(小值周期,距前低天YA),-1,0);低保留YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)>REF(距前低天YA,1) AND LLV(LOW,距前高天YA+1)<REF(LLV(LOW,距前高天YA+1),1),-1,0);低保留YXB:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND (距前高天YA>=4 OR LLV(缺口判断,距前高天YA)=-1 OR 判断YXA=-1),-1,0);低保留YX:=IF((低保留YXA=-1 OR 低保留YXB=-1) AND LOW<REF(HIGH,距前高天YA+1),-1,0);AAAD:=IF(高保留YX=1 AND 低保留YX=-1 ANDHIGH>REF(HIGH,REF(距前高天YA,1)+2),1,IF(高保留YX=1 AND 低保留YX=-1 AND LOW<REF(LOW,REF(距前低天YA,1)+2),-1,0));极点保留:=IF(AAAD=0,高保留YX+低保留YX,AAAD);局部极点:IF(极点保留=-1,LOW,IF(极点保留=1,HIGH,DRAWNULL)) CIRCLEDOT COLORYELLOW,LINETHICK4;DRAWLINE(极点保留=-1,局部极点,极点保留=1,局部极点,0)COLORYELLOW;DRAWLINE(极点保留=1,局部极点,极点保留=-1,局部极点,0)COLORYELLOW;。

通达信公式:黄金分割+单阳不破+趋势飘带+买卖点主图指标公式

通达信公式:黄金分割+单阳不破+趋势飘带+买卖点主图指标公式

通达信公式:黄金分割+单阳不破+趋势飘带+买卖点主图指标公式均线25:MA(CLOSE,25);均线43:MA(CLOSE,43);均线50:MA(CLOSE,50),COLOR0000FF;均线88:MA(CLOSE,88);N8:=STRCAT(CON2STR(YEAR,0),'年');Y8:=STRCAT(CON2STR(MONTH,0),'月');R8:=STRCAT(CON2STR(DAY,0),'日');N:=120;K:=BARSLAST(CURRBARSCOUNT=N);GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));{高点}DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));{低点}KJ:=GD-DD;{高低点差值=分区高度}GD4:IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL);低:IF(CURRBARSCOUNT<=N/30,DD,DRAWNULL),COLORFFFF00;高:IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL),COLOR00FFFF;支撑:IF(CURRBARSCOUNT<=N/30,DD+KJ*0.191,DRAWNULL),COLOR00FFFF; 强势: IF(CURRBARSCOUNT<=N/30,DD+KJ*0.382,DRAWNULL),COLORFF00FF; 突破:IF(CURRBARSCOUNT<=N/30,DD+KJ/2,DRAWNULL),COLOR0000FF;警示:IF(CURRBARSCOUNT<=N/30,DD+KJ*0.618,DRAWNULL),COLOR00FFFF; 压力:IF(CURRBARSCOUNT<=N/30,DD+KJ*0.809,DRAWNULL),COLOR00FF00; 低涨:IF(CURRBARSCOUNT<=N/30,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0 000FF,NODRAW;天数:BARSLAST(L=DD),COLORCYAN,NODRAW;今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299,NODRAW;顶点:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLOREAEAAE,DOTLINE; 低点:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLOREAEAAE,DOTLINE; STICKLINE(CCI>=200 AND H>=顶点,O,C,3,0),COLORBLUE;STICKLINE(CCI<=100 AND L<=低点,O,C,3,0),COLORYELLOW;DRAWBAND(高,RGB(200,200,0),压力,RGB(0,0,0));DRAWBAND(压力,RGB(0,190,0),警示,RGB(0,0,0));DRAWBAND(警示,RGB(220,120,0),突破,RGB(0,0,0));DRAWBAND(突破,RGB(120,0,120),强势,RGB(0,0,0));DRAWBAND(强势,RGB(120, 0,0),支撑,RGB(0,0,0));DRAWBAND(支撑,RGB(80,80,80),低,RGB(0,0,0));STICKLINE(CURRBARSCOUNT=N/30,GD,DD,0,0),COLORGREEN;STICKLINE(CURRBARSCOUNT=1,GD,DD,0,0),COLORGREEN;STICKLINE(CURRBARSCOUNT<=N/30,支撑,支撑,4,0),COLORFF00FF; STICKLINE(CURRBARSCOUNT<=N/30,强势,强势,4,0),COLORFF00FF; STICKLINE(CURRBARSCOUNT<=N/30,突破,突破,4,0),COLORABABAB; STICKLINE(CURRBARSCOUNT<=N/30,警示,警示,4,0),COLOR00FFFF; STICKLINE(CURRBARSCOUNT<=N/30,压力,压力,4,0),COLOR00FFFF; DRAWTEXT(CURRBARSCOUNT=1,压力,'0.809'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=1,警示,'0.618'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=1,突破,'0.500'),COLORFFFFFF;DRAWTEXT(CURRBARSCOUNT=1,强势,'0.382'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=1,支撑,'0.191'),COLOR00FFFF;DA:(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT;DB:(20*DA+19*REF(DA,1)+18*REF(DA,2)+17*REF(DA,3)+16*REF(DA,4)+ 15*REF(DA,5)+14*REF(DA,6)+13*REF(DA,7)+12*REF(DA,8)+11*REF(DA,9) +10*REF(DA,10)+9*REF(DA,11)+8*REF(DA,12)+7*REF(DA,13)+6*REF(DA,14 )+5*REF(DA,15)+4*REF(DA,16)+3*REF(DA,17)+2*REF(DA,18)+REF(DA,20))/210,COLORRED;DC:MA(DB,5),COLORF0F000,LINETHICK1;{DRAWBAND(DB,RGB(255,0,0),DC,RGB(0,255,0));}DRAWBAND(DB,RGB(155,50,50),DC,RGB(83,123,68));STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED; STICKLINE(C<O AND C>REF(C,1),C,O,3,0),COLORFFCC00;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;{红K};STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{红K};STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.1,0 ),COLOR000099;STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF; STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999;STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF; STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN; STICKLINE(C<REF(C,1) AND C>O,C,O,3,0),COLORFFCC00;STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,3,0 ),COLOR990000; STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,2.7,0 ),COLORCC0000;STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;地量:=FILTER(LLV(AMOUNT,120)=AMOUNT,10);STICKLINE(地量,CLOSE,OPEN,4,0),COLORGREEN;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);DRAWTEXT(地量,LOW,' ↖地量'),COLORGREEN;{价画直线指标};STICKLINE(ISLASTBAR,C,C,3333,-1),COLORWHITE;{止盈止损}买入价格:IF(CROSS((MACD.DIF),(MACD.DEA)),C,DRAWNULL),NODRAW; AAA:=STICKLINE(买入价格,0,C,2,0),COLORRED;AAC:=BARSLAST(AAA);止盈价格:IF(C>=REF(C,AAC)*1.1,REF(C,AAC)*1.1,DRAWNULL),COLORMAGENTA,NO DRAW;止损价格:IF(C<=REF(C,AAC)*0.95,REF(C,AAC)*0.95,DRAWNULL),COLORGREEN,NO DRAW;{庄家成本}A:=SUMBARS(V ,CAPITAL*1);{累计换手=100%的周期}A1:=SUM(COST(10),A)/A;{在A周期里获利10%的平均价}A2:=SUM(COST(20),A)/A;{在A周期里获利20%的平均价}A3:=SUM(COST(30),A)/A;{在A周期里获利30%的平均价}A4:=SUM(COST(40),A)/A;{在A周期里获利40%的平均价}A5:=SUM(COST(50),A)/A;{在A周期里获利50%的平均价}庄家成本:(5*A1+4*A2+3*A3+2*A4+A5)/15,DOTLINE,COLORWHITE;IF(庄家成本>REF(庄家成本,1),庄家成本,DRAWNULL),COLORFF00FF,LINETHICK2; {3D立体K线}STICKLINE(C>O,C,O,3.2,0),COLOR000066;STICKLINE(C>O,C,O,2.0,0),COLOR000077;STICKLINE(C>O,C,O,1.5,0),COLOR000099;STICKLINE(C>O,C,O,0.9,0),COLOR0000CC;STICKLINE(C>O,C,O,0.5,0),COLOR0000FF;STICKLINE(C>0,O,C,0,0),COLORFFFFFF;STICKLINE(C<O,L,H,0,0),COLOR009900;STICKLINE(C<O,C,O,3.2,0),COLOR009900;STICKLINE(C<O,C,O,2.5,0),COLOR00BB00;STICKLINE(C<O,C,O,1.5,0),COLOR00DD00;STICKLINE(C<O,C,O,0.5,0),COLOR00FF00;STICKLINE(C<O,C,O,0,0),COLORFFFFFF;阳涨幅:=3.5;阳倍量:=1.9;单阳收:=C;单阳开:=O;单阳:=单阳收>=REF(C,1)*(1+阳涨幅/100)AND VOL>REF(VOL,1)*阳倍量;DRAWTEXT(CURRBARSCOUNT<100 AND 单阳,L*0.98,'阳'),COLOR00FFFF;高不破价:=REF(C,BARSLAST(单阳));低不破价:=REF(L,BARSLAST(单阳));单阳不破:=CURRBARSCOUNT<100 AND BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价OR LLV(L,BARSLAST(单阳))=低不破价); STICKLINE(单阳不破,低不破价-低不破价*0.0005,低不破价,4,0),COLORGREEN; STICKLINE(单阳不破,高不破价,高不破价,4,0),COLORRED;STICKLINE(单阳,单阳开,单阳收,2,0),COLORYELLOW;DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORGREEN;PP1:=H>=MA(C,5)*(100+8)/100 AND NOT(C/REF(C,1)>1.095); DRAWICON(PP1,H*1.02,15);MA2:=MA(C,2);布林上轨:=MA(CLOSE,20)+2*STD(CLOSE,20);XG1:=CROSS(MA2,布林上轨);XG2:=L<=MA(C,26) AND C>=MA(C,26);XG0:=COUNT(XG1,30)=1 AND XG2 AND FILTER(XG2,10);DRAWTEXT(XG0,L*0.98,'↖回踩买'),COLORYELLOW;。

通达信指标公式源码三角山人买卖(价均线+主图+源码)

通达信指标公式源码三角山人买卖(价均线+主图+源码)

MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60),LINETHICK2;VAR3:=LLV(HIGH,240);VAR4:=100*(CLOSE-VAR3)/VAR3;VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100; VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; VAR7:=0;VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE ,1)),7,1)*100;VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE ,1)),13,1)*100;VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);买1:=VAR10;买2:=(VAR11+VAR13+VAR15+VAR17);卖1:=(VAR12+VAR14+VAR16+VAR18);B:=IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORRED; DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,' 买入'),COLORRED;S:=IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN; DRAWTEXT(卖1>0,HIGH*1.02,' 卖出'),COLORGREEN;VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) -LLV(LOW,20))));VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) -LLV(LOW,20))));VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) -LLV(LOW,5))),34));加仓:=CROSS(VAR200,MA(VAR300,5));DRAWTEXT(加仓>0,LOW*0.98,'★加仓'),COLOREE00EE;公式有未来。

神柱macd指标公式

神柱macd指标公式

神柱macd指标公式MACD指标是由一组移动平均线和差离值(DIF)构成的,是一种经济学和技术分析中常用的重要指标。

它的全称是Moving Average Convergence Divergence,中文名称为异同移动平均线指标。

MACD指标由三根线组成:快速线(DIF)、慢速线(DEA)和MACD柱状图。

快速线由短期指数移动平均(EMA)线和长期指数移动平均线(EMA)线的差值得到。

慢速线则是快速线的9日移动平均。

当快速线与慢速线交叉点出现时,可判断出买入和卖出的信号。

MACD的计算公式如下:- DIF = EMA(12)- EMA(26)- DEA = DIF的9日EMA- MACD柱状图 = DIF - DEA其中,EMA为指数移动平均线,计算公式为:- EMA(N) = 2/(N+1)*(收盘价-上一日EMA)+上一日EMAMACD指标的计算涉及的数据包括收盘价和9日、12日、26日三个时间周期的收盘价。

具体地,计算MACD指标的步骤如下:1. 计算12日指数平滑移动平均(EMA):- EMA(12)= 2/(12+1)*(当日收盘价-前一日EMA)+ 前一日EMA2. 计算26日指数平滑移动平均(EMA):- EMA(26)= 2/(26+1)*(当日收盘价-前一日EMA)+ 前一日EMA3. 计算DIF:- DIF = EMA(12)- EMA(26)4. 计算DEA:- DEA = 2/(9+1)*(DIF-前一日DEA)+ 前一日DEA5. 计算MACD柱状图:- MACD柱状图 = DIF - DEAMACD指标的计算机实现通常采用循环迭代的方式,根据历史数据进行计算。

对于第一天的数据,需要设定初始值,可以取收盘价或其他合适的值。

MACD指标的应用主要有以下几个方面:1. 买卖信号:当快速线(DIF)与慢速线(DEA)发生交叉时,产生买入和卖出的信号。

当DIF向上穿越DEA时,为买入信号;当DIF向下穿越DEA时,为卖出信号。

超准完美买卖主图和选股公式-通达信公式-股旁网

超准完美买卖主图和选股公式-通达信公式-股旁网

超准完美买卖主图和选股公式-通达信公式-股旁网{超准完美买卖主图}DRAWTEXT(CROSS(MA(C,10),MA(C,20)),H,'-------------'),LINETHICK2;DRAWBAND(MA(C,3),RGB(230,0,250),HHV(MA(C,5),10),RGB( 0,100,150));MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60),CIRCLEDOT;MA120:MA(CLOSE,120),CIRCLEDOT;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);DRAWTEXT(CROSS(动能趋势线,70),HIGH*1.02,'险'),COLORGREEN;DRAWTEXT(CROSS(动能趋势线,80),HIGH*1.02,'减'),COLOR00FF00;DRAWTEXT(CROSS(动能趋势线,87.5),HIGH*1.02,'出局'),COLORWHITE;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW,'短进'),COLORFF00FF;DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'见底'),COLORRED;DRAWICON(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,1);涨家数:INDEXADV,NODRAW,COLORRED;跌家数:INDEXDEC,NODRAW,COLORGREEN;{涨跌停显示}涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);STICKLINE(涨停,O,C,3,0),COLORYELLOW;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN;{以下为K线上色}STICKLINE(CLOSE>REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055;{股旁网-股票公式网站 }STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;STICKLINE(CLOSE=REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;STICKLINE(CLOSE<REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;STICKLINE(CLOSE<REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORCYAN;副图选股公式:{超准完美买卖选股1短进}RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);超准选股短进:CROSS(J,REF(J+0.01,1)) AND X AND J<20,COLORYELLOW;{超准完美买卖选股2见底}主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);超准选股见底:CROSS(主力,散户) AND 主力<0 AND 散户<0,COLORRED;。

通达信主图神秘均线(附源码)

通达信主图神秘均线(附源码)

通达信主图神秘均线(附源码)通达信主图神秘均线(附源码)神秘均线75:=MA(CLOSE,75);ZJ:=EMA(C,13),COLOR0000FF;HY:=EMA(C,20),COLORFF00FF;ZJ升:=IF(ZJ>REF(ZJ,1),ZJ,DRAWNULL),COLORRED,LINETHICK2;ZJ降:=IF(ZJ<=REF(ZJ,1),ZJ,DRAWNULL),COLORBLUE,LINETHICK2;HY升:=IF(HY>REF(HY,1),HY,DRAWNULL),COLORFF00FF,LINETHICK2;HY降:=IF(HY<REF(HY,1),HY,DRAWNULL),COLORFFAA00,LINETHICK2;STICKLINE(C>ZJ,H,L,0,0),COLORRED;STICKLINE(C>ZJ,C,O,-1,1),COLORRED;STICKLINE(C=ZJ,H,L,0,0),COLORFFFFFF;STICKLINE(C<ZJ,H,L,0,0),COLOR00FFFF;STICKLINE(C<ZJ,O,C,-1,1),COLOR00FFFF;STICKLINE(C<HY,O,C,-1,1),COLORFFFF00;STICKLINE(C<HY,H,L,0,0),COLORCYAN;{DRAWTEXT(CROSS(C,ZJ),L,9;B'),COLOR00FFFF;DRAWTEXT(CROSS(C,HY),L*0.99,'B'),COLORFFFF00;DRAWTEXT(CROSS(ZJ,C),H,'S'),COLOR00FFFF;DRAWTEXT(CROSS(HY,C),H*1.01,'S'),COLORFFFF00;}{自适应均线}DIR1:=ABS(CLOSE-REF(CLOSE,5));VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);ER1:=DIR1/VIR1;CS1:=ER1*(0.8-2/8)+2/8;CQ1:=CS1*CS1;AMA1:=EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;DIR2:=ABS(CLOSE-REF(CLOSE,10));VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);ER2:=DIR2/VIR2;CS2:=ER2*(0.8-2/24)+2/24;CQ2:=CS2*CS2;AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK1;{AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),C OLORBLUE,LINETHICK3;}AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),CO LORRED,LINETHICK3;{大阳过平台形态}N:=5;大阳:=(C/REF(C,1)-1)*100>=N AND V>REF(V,1);DRAWICON(大阳,L*0.98,13);STICKLINE(大阳,O,C,2,0),COLORYELLOW;DRAWTEXT(大阳,L*0.97,'↖大阳过平台形态'),COLORYELLOW;{以涨停板或者大阳来突破左侧的高点,5日线和10日线具有上升的攻击角度}A1:=(MA(C,5)-REF(MA(C,5),1))/MA(C,5)>0.015;A2:=CLOSE>=REF(HHV(HIGH,30),1);A3:=C>REF(C,1)*1.07;XG:=(A1 AND A2 AND A3);DRAWICON(XG,L*0.96,23);STICKLINE(XG,O,C,2,0),COLORRED;DRAWTEXT(XG,L*0.96,'↖大阳来突破左侧的高点'),COLORRED;TYX2:=MA(REF(HHV((C+L+O+H)/4,10),1),3);加速K线:=REF(COUNT(C<TYX2,5)=5,1) AND C>TYX2 AND C>O;DRAWICON(加速K线,L*0.95,1);STICKLINE(加速K线,O,C,2,0),COLORRED;DRAWTEXT(加速K线,L*0.938,'↖加速K线点'),COLORBLUE;TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);启爆K线:=REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O;DRAWICON(启爆K线,L*0.94,7);STICKLINE(启爆K线,O,C,2,0),COLORRED;DRAWTEXT(启爆K线,L*0.928,'↖启爆K线'),COLORBLUE;{大阳突破:=HHV(C,13)/REF(HHV(C,13),1)>1.018;DRAWICON(大阳突破,L*0.93,25);DRAWTEXT(大阳突破,L*0.92,'↖大阳突破'),COLORYELLOW;多头排列:MA(CLOSE,8)>MA(CLOSE,13) AND MA(CLOSE,5)>MA(CLOSE,8) AND EMA(C,3)>REF(EMA(C,3),1);DRAWICON(多头排列,L*0.97,1);};HH0:=CONST(HHV(H,120))*1;LL0:=CONST(LLV(L,120))*1;MM0:=CONST((HH0+LL0)/2);HH1:=IF(CONST(C)<MM0,LL0-(HH0-LL0)*0.4,LL0-(HH0-LL0)*0.4),COLORRED;LL1:=LL0;HLMAX:=MAX(HH1,LL1);HLMIN:=MIN(HH1,LL1);HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=(HLMAX-HLMIN);HLMN3:=HHV(V,250)/2;HLMN4:=HHV(V,250);VZ:=(V-HLMN3)*HLMN2/HLMN4+HLMN1;预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,(0-HLMN3)*HLMN2/HLMN4+HLMN1,(预测量-HLMN3)*HLMN2/HLMN4+HLMN1,2,-1),COLORLIGRAY;STICKLINE(C>=O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,1,0),COLORRED;STICKLINE(C<O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,1,0),COLORGREEN;MA5:=(MA(V,5)-HLMN3)*HLMN2/HLMN4+HLMN1,COLORFFFFFF;MA10:=(MA(V,10)-HLMN3)*HLMN2/HLMN4+HLMN1,COLOR00FFFF;W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));XG3:=(W4 AND COUNT(W4,5)=1);DRAWICON(XG3,L*0.93,13);STICKLINE(XG3,O,C,2,0),COLORYELLOW;DRAWTEXT(XG3,L*0.90,'↖枪挑小梁王'),COLORYELLOW;{蓄势待发}V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSS(V0,EMA10);T4:=T1 AND T2 AND CROSS(V0,EMA30);XG1:=(M4 OR M5 OR T3 OR T4);DRAWICON(XG1,L*0.98,1);STICKLINE(XG1,O,C,2,0),COLORMAGENTA;DRAWTEXT(XG1,L*0.97,'↖蓄势待发'),COLORMAGENTA;{两阳夹阴}XG2:=(C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2) AND C>REF(O,1) AND C>MA(C,5) AND MA(C,5)>MA(C,10));DRAWICON(XG2,L*0.98,1);STICKLINE(XG2,O,C,2,0),COLORMAGENTA;DRAWTEXT(XG2,L*0.97,'↖两阳夹阴'),COLORMAGENTA;A81:=REF(C,2)>REF(O,2)*1.03;{确定前天阳线实体大小}A82:=REF(C,1)<REF(O,1)*1.005 AND REF(C,1)<REF(C,2);{确定昨天为阴线收盘价低于前天收盘价}A83:=C>O*1.023 AND C>REF(C,1)*0.99;{确定今天阳线实体收盘价大于昨天阴线}两阳夹一阴:=(A81 AND A82 AND A83 );DRAWICON(两阳夹一阴,L*0.97,13);STICKLINE(两阳夹一阴,O,C,2,0),COLORYELLOW;DRAWTEXT(两阳夹一阴,L*0.96,'↖两阳夹一阴'),COLORYELLOW;AA:=MA(C,5)>MA(C,30) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30);BB:=C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2);CC:=AMO>REF(AMO,1)*2 OR REF(AMO,2)>REF(AMO,3)*2 AND REF(AMO,1)<REF(AMO,2) AND REF(AMO,1)<AMO;XG6:=(AA AND BB AND CC);DRAWICON(XG6,L*0.90,7);DRAWTEXT(XG6,L*0.89, '↖两阳一阴擒涨停 '),COLORYELLOW;两阳夹一阴1:=COUNT(C>O,3)=2 AD REF(C<O,1) AND C/REF(C,1)>=1.05;DRAWTEXT(两阳夹一阴1,L*0.89, '↖两阳夹一阴1');。

一位股市天才私藏的主图买卖指标,两个字形容:精准!(附公式)

一位股市天才私藏的主图买卖指标,两个字形容:精准!(附公式)

一位股市天才私藏的主图买卖指标,两个字形容:精准!(附公式)炒股,是一件很有趣,同时还能赚钱的事情,但炒股又是一件很折磨人,也很容易亏钱的事情。

没有什么生意比炒股更简单了,你只要部智能手机,几千元资本,就可以杀入股市,赚取理论上无限大的机会。

然而,也没有什么生意比炒股更难的,炒股所涉及到的知识之多,比任何一门生意都要庞大。

而且,利润大,意味着风险高。

不懂炒股是什么就入行,十之八九要亏钱在股市中,我们能收获的不仅仅是财富的增加,更能体验人生百态。

在这个庞大的市场里欢笑、眼泪、成功、失败应有尽有!这里有千千万万的股民,这里有数不清的传奇故事!人们在这里喜悦、兴奋、狂欢!也在这里彷徨、惆怅、悲伤!但不管你遭遇什么,都不要在这里绝望!因为,股市的存在,其最大的价值,就是给予我们数不清的机会和希望。

通达信绝密买卖点副图指标:指标构成:1.主力线:主力线是判断主力目前在现阶段是在进行加仓还是进行减仓以及是否还在持有。

2.散户线:散户线是判断目前大多数散户是在进行加仓还是减仓以及是否还在持有。

3.零轴:0轴是市场的强弱分界线,主力线以及散户线全部处于0轴之上说明市场行情目前处于强势,反之在0轴之下目前市场行情处于弱势。

4.信号:在0轴上出现了‘顶’字说明当前的上涨趋势已经见顶,有回落的风险,当出现了‘底’字就是说明当前的下跌趋势已经走完,有触底反弹的趋势,出现‘升’字说明今天是一个拉升的行情。

在上方的K线图中出现了见顶信号,指标也给出了见顶信号,并同时发出卖出信号,也就是主力线下穿散户线,成功卖出,锁定盈利。

LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;卖点雷达:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;DRAWTEXT(CROSS(85,RSI1),20,'顶'),COLOR00FF00;STICKLINE(卖点雷达,0,20,3,0),COLOR00FF00;VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;VARD:=BARSCOUNT(CLOSE);买点雷达:(VARB< 20 AND VARC< 25 AND VARD> 50 AND AR<70)*30,LINETHICK2,COLOR0078FF;BT1:=CROSS(RSI1,25);DRAWTEXT(BT1,-80,'底'),COLOR0000FF;STICKLINE(BT1,-100,-80,3,0),COLOR0000FF;主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK1,COLOR0000FF;散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLORC87 800;BT2:=CROSS(主力,散户) AND 主力<-10;DRAWICON(CROSS(RSI1,25),主力,26);DRAWICON(CROSS(主力,散户) AND 主力<-10,主力,23);BT:=FILTER(COUNT(BT1 OR BT2,3)>=2,3);STICKLINE(BT,0,50,4,1),COLOR0000FF;DRAWTEXT(BT,50,'金底'),COLOR0000FF;STICKLINE(BT2,0,20,3,0),COLORFF00FF;DRAWTEXT(BT2,20,'升'),COLORFF00FF;牛马线MID战法:牛马线出现B点,最好在看下午2.30分的时间,这时信号基本稳定,但也不必急着追涨进入,一般B点出现,是这因为股涨起来,信号才出,多数公式也是这样,这时追涨进入,第二天回调账户上就显得亏了,这时心态都坏了,那么最好的方法是下午2.30分B点出现的股,把它放到自选股中,留第二天早盘股价回调时才进入较好。

均线指标公式

均线指标公式

均线指标公式均线指标是股票分析中使用最为广泛的技术指标之一,被广泛应用于交易和投资领域。

其核心思想是通过平滑处理股票价格数据,从而得出更加可靠的趋势判断和买卖信号。

本文将为读者详细介绍均线指标的基本概念、公式、应用以及优缺点。

一、基本概念均线指标是一种基于历史价格数据的分析工具,通过计算历史股价的平均值来显示股票价格的趋势。

均线图通常包括多个不同期限的均线线条,如五日均线、十日均线、二十日均线等。

不同期限的均线线条能够反映出不同时间尺度的价格趋势,较短时间的均线对市场短期走势的反应更加敏感,较长时间的均线则更能反映市场长期趋势。

二、公式1、简单移动平均线(SMA)简单移动平均线是指对一段时间内的股价进行简单平均计算,移动平均线越近,反应越快;移动平均线越远,反应越慢,通常将其用于分析中长期的趋势。

SMA = (P1 + P2 + …… + Pn) / n其中,SMA表示简单移动平均线,P1到Pn表示股票的历史收盘价,n为采用的SMA周期,通常包括5、10、20、60个周期。

2、指数移动平均线(EMA)指数移动平均线是指通过对股价进行指数平滑计算,来反映价格的走势和短期波动的变化,移动平均线越短,反应越快;移动平均线越长,反应越慢,通常用于短期交易。

EMA = [P(t) - EMA(y)] × (2 / (n + 1)) + EMA(y)其中,EMA表示指数移动平均线,P(t)表示当前的股价,EMA(y)表示前一天的指数移动平均线,n是采用的EMA周期,通常包括12、26个周期。

三、应用1、确认趋势通过使用不同周期的均线,可以确定股票价格的趋势方向。

通常情况下,当较短期均线向上运行时,市场趋势为上升趋势,当较短期均线向下时,市场趋势为下降趋势;当较长期均线向上时,长期市场趋势看涨,当较长期均线向下时,长期市场趋势看跌。

2、寻找买卖信号均线指标可以协助投资者找到买入或卖出的信号。

当较短期均线上穿较长期均线时,及时均线交叉,为买入信号;当较短期均线下穿较长期均线时,为卖出信号。

布林买卖线指标公式

布林买卖线指标公式

布林买卖线指标公式
布林买卖线指标公式,也被称为布林带指标,是一种技术分析工具,用
于帮助投资者判断证券价格的波动和趋势。

它基于移动平均线的概念,并结
合了标准差的计算方法,提供了一种分析股票价格的相对高低水平的方法。

布林买卖线指标的计算公式如下:
1. 计算中轨线(即移动平均线):选择一个特定的时间周期(如20天),计算这段时间内的收盘价的算术平均值。

2. 计算上轨线:中轨线加上一个固定的标准差倍数(通常为2倍)。

3. 计算下轨线:中轨线减去一个固定的标准差倍数。

布林买卖线指标的公式可以帮助投资者识别价格趋势的变化和反弹点。

当价格上升并触及上轨线时,这可能是一个卖出信号,表明股票价格可能会
回落。

当价格跌至下轨线时,这可能是一个买入信号,表明股票价格可能会
反弹上涨。

中轨线通常被视为支撑或阻力水平,价格的突破或反弹往往会发
生在该水平周围。

需要注意的是,布林买卖线指标仅作为投资决策的参考工具,投资者应
结合其他技术指标和基本分析来综合判断。

另外,市场的变化和个股的特定
情况也会影响该指标的有效性,投资者应保持谨慎和灵活。

总结而言,布林买卖线指标提供了一种判断股票价格相对高低水平的方法,通过计算移动平均线和标准差,帮助投资者判断价格变化的趋势和反弹点。

投资者在使用该指标时应注意结合其他分析工具和情景,以做出更准确
的投资决策。

通达信很准主图指标公式

通达信很准主图指标公式

通达信很准主图指标公式通达信很准主图指标公式上线:=SMA(C,6.5,1);下线:=SMA(C,13.5,1);上线1:=SMA(C,3,1);下线1:=SMA(C,8,1);{STICKLINE(上线>下线, 上线,下线,0.1, 0),COLORRED,LINETHICK1;STICKLINE(下线>上线,上线,下线,0.1,0),COLORYELLOW,LINETHICK1;}DRAWTEXT( CROSS(上线,下线),LOW *0.98,'.全仓买'),COLOR00FF00;DRAWTEXT(CROSS(下线1,上线1),H*1.02,'.清仓'),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLO SE,24))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'减仓') ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;VAR1:=LLV(A7,21);VAR2:=HHV(A7,21);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) ANDCOUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'.买进') ,COLOR0099FF;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) ANDOPEN>REF(CLOSE,1),1,0),LOW*0.98,'.买进') ,COLORYELLOW;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'.抄底'),COLORYELLOW;STICKLINE( MA(CLOSE,8)>MA(CLOSE,30),MA(CLOSE,8),MA( CLOSE,30),8,0),COLOR000088;STICKLINE( MA(CLOSE,8)<MA(CLOSE,30),MA(CLOSE,8),MA( CLOSE,30),8,0),COLOR008800;DRAWKLINE(H,O,L,C);MA5:MA(CLOSE,5),COLORWHITE,LINETHICK2;MA8:MA(CLOSE,8),COLORFF9966,LINETHICK2;MA30:MA(CLOSE,30),COLORGREEN,LINETHICK2;。

通达信绝密买点主图指标公式

通达信绝密买点主图指标公式

通达信绝密买点主图指标公式A81:=EMA(C,3),COLORWHITE;A82:=EMA(C,5),COLORYELLOW;A83:=EMA(C,7),COLORMAGENTA;A84:=EMA(C,12),COLORGREEN;A85:=EMA(C,20),COLORRED;A86:=EMA(C,50),COLORBLUE,LINETHICK2;SS8:=CROSS(A81,A85) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 ;SSS8:=CROSS(A81,A85) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;DRAWICON(SS8 ,L-0.30,5);DRAWTEXT(SS8,L-0.38,'↖绝密买点'),COLORYELLOW;ZYX1:="DMI.PDI"(12,6);ZYX2:="DMI.MDI"(12,6);ZYX3:=ZYX1>65 AND ZYX1>REF(ZYX1,1);ZYX4:=LLV(ZYX1,0);ZYX5:=BARSLAST(ZYX4=ZYX1);ZYX6:=(0-REF(ZYX2,4))/(ZYX4-REF(ZYX2,ZYX5))>2;ZYX7:=ZYX1>REF(ZYX1,1);ZYX8:=VOL>2*MA(VOL,30);ZYX9:="DMI.ADX"(12,6);ZYXA:="DMI.ADXR"(12,6);ZYXB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;ZYXC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);ZYXD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BA RSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));{ZYXE:=0-"MACD.DIFF"(7,21,3);}ZYXF:=TROUGHBARS(3,15,1)<4;ZYX10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);ZYX11:=IF(ZYXF=1,50,0);ZYX12:=CROSS(ZYX2,ZYX1) AND CROSS(ZYXA,ZYX9);ZYX13:=CROSS(ZYX2,ZYX1) AND CROSS(ZYX9,ZYXA);ZYX14:=ZYXB AND ZYXC AND ZYXD AND ZYX10 AND ZYX6 AND ZYX7 AND ZYX8*50;ZYX15:=BARSLAST(CROSS(ZYX2,ZYX1)=1);ZYX16:=BARSLAST(CROSS(ZYX1,ZYX2)=1);ZYX17:=HHV(ZYX1,ZYX16);ZYX18:=BARSLAST(ZYX1=ZYX17);{STICKLINE(FILTER(ZYXF=1,5),50,0,10,0),COLORRED;}ZYX19:=ZYX3 OR ZYX12 OR ZYX13*100;ZYX1A:=ZYX13*100;DRAWICON(FILTER(ZYXF=1,3),L*0.96,23);DRAWTEXT(FILTER(ZYXF=1,3),L*0.94,'↖铁底'),COLORGREEN;HH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF (H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*R EF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*RE F(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;LL:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4 )+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF (L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF( L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;GO0B:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60);DO0B:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3;STICKLINE(1=1,GO0B,DO0B,5,0),COLOR222222;D90H:=EMA(HH,90),COLORRED,LINETHICK1;D90L:=EMA(LL,90),COLORRED,LINETHICK1;D90:(D90H+D90L)/2;DGH:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*RE F(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*R EF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*RE F(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;DDL:=(20*L+19*RE F(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*RE F(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF (L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF( L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;D90C:=D90H-D90L;G0:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))+XMA(XMA(H,25),25);D0:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25));GO0:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3+XMA(XMA(H,60),60);DO0:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*3;DTD:=(D0+G0)/2>=(D90H+D90L)/2;KTD:=(D0+G0)/2<(D90H+D90L)/2;YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HI GH+LOW)/3,48),COLORWHITE,LINETHICK1;YM1:EMA(YM,5),COLORWHITE,LINETHICK1;YM2:EMA(YM1,5),COLORWHITE,LINETHICK1;YM3:EMA(YM2,5),COLORWHITE,LINETHICK1;D1:EMA(D90,10),COLORWHITE,LINETHICK1;D2:EMA(D1,10),COLORWHITE,LINETHICK1;IF(DTD=1,YM,DRAWNULL),LINETHICK1,COLORRED;IF(DTD=1,YM1,DRAWNULL),LINETHICK1,COLORRED;IF(DTD=1,YM2,DRAWNULL),LINETHICK1,COLORRED;IF(DTD=1,YM3,DRAWNULL),LINETHICK1,COLORRED;IF(KTD=1,YM,DRAWNULL),LINETHICK1,COLORGREEN;IF(KTD=1,YM1,DRAWNULL),LINETHICK1,COLORGREEN;IF(KTD=1,YM2,DRAWNULL),LINETHICK1,COLORGREEN;IF(KTD=1,YM3,DRAWNULL),LINETHICK1,COLORGREEN;IF(D90>D1,D90,DRAWNULL),LINETHICK1,COLORRED;IF(D90>D1,D1,DRAWNULL),LINETHICK1,COLORRED;IF(D90>D1,D2,DRAWNULL),LINETHICK1,COLORRED;DX:DRAWLINE(HIGH>=HHV(HIGH,20),HIGH,LOW<=LLV(LO W,20),HHV(HIGH,4),1),POINTDOT,COLORMAGENTA;KX:DRAWLINE(LOW<=LLV(LOW,20),LOW,HIGH>=HHV(HIG H,20),LLV(LOW,4),1),POINTDOT,COLORWHITE;STICKLINE(CURRBARSCOUNT=1,G0,G0,100,5),COLORYELLO W;STICKLINE(CURRBARSCOUNT=1,D0,D0,100,5),COLORYELLO W;STICKLINE(CURRBARSCOUNT=1,GO0,GO0,100,5),COLORMAGENTA;STICKLINE(CURRBARSCOUNT=1,DO0,DO0,100,5),COLORM AGENTA;DRAWTEXT(ISLASTBAR,G0,'卖'),COLORYELLOW;DRAWTEXT(ISLASTBAR,D0,'买'),COLORYELLOW;DRAWTEXT(ISLASTBAR,GO0,'顶'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,DO0,'底'),COLORMAGENTA;CC:=((HIGH+LOW+CLOSE)/3-EMA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+C LOSE)/3,5));STICKLINE(CC>=0,LOW,HIGH,0.0,0),COLORRED;STICKLINE(CC>=0,CLOSE,OPEN,3,1),COLORRED;STICKLINE(CC<0,LOW,HIGH,0.0,0),COLORGREEN;STICKLINE(CC<0,CLOSE,OPEN,3,1),COLORGREEN;大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);涨跌动因:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);大单差分:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);DDZ1:=大单差分*7;DDZ2:=大单差分*3;主力活跃度:=LARGEINTRDVOL-LARGEOUTTRDVOL;主力净流入:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AMO/V/10000;买入力度:=LARGEINTRDVOL*100/VOL;卖出力度:=LARGEOUTTRDVOL*100/VOL;超B:=L2_AMO(0,2)/10000.0;大B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;小B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;大S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;小S:=L2_AMO(3,3)/10000.0;资金流向:=(超B+大B+中B+小B)-(超S+大S+中S+小S);主力:=(超B+大B+中B)-(超S+大S+中S);机构:=(超B+大B)-(超S+大S);私募:=(大B+中B)-(大S+中S);散户:=(中B+小B)-(中S+小S);大单:=(大B)-(大S);中单:=(中B)-(中S);资金启动:=大单>0 AND 私募>0 AND 机构>0 AND 主力>0 AND 资金流向>0 AND 大单动向>0 AND 涨跌动因>0 AND DDZ1>0 AND DDZ2>0 AND 主力活跃度>0 AND 主力净流入>0 AND 买入力度>卖出力度;STICKLINE(资金启动=1,LOW,HIGH,0,0),COLORRED;STICKLINE(资金启动=1,CLOSE,OPEN,3,0),COLORRED;STICKLINE(L<D0 AND DTD=1 AND YM>YM1,L,D0,3,0),COLORMAGENTA;。

珍藏多年主图把握买卖指标,仅靠一招轻松跻身富豪榜!(附公式)

珍藏多年主图把握买卖指标,仅靠一招轻松跻身富豪榜!(附公式)

珍藏多年主图把握买卖指标,仅靠一招轻松跻身富豪榜!(附公式)要想改掉炒股频繁交易毛病,首先要真正的深刻认识到频繁交易的危害。

就如小孩子喜欢去碰仙人掌,当被扎了多次后就会真正的长记性,再也不去碰仙人掌了。

很多股民之所以改不了频繁交易的毛病是因为他们认为自己只是一时运气不好而已。

当他们一年二年八年十年一直因为频繁交易而赚不到钱后,他们才会进行真正的深度反思自己到底是否适合频繁交易。

其次要加强自己的控制力。

当看到盘面中天天有几十只上百只的涨停股出现时,绝大多数人都会控制不住自己希望天天看盘甚至天天交易的。

因为那不仅仅是涨停,那是金钱诱惑啊!当你通过教训认识到很多涨停背后都是陷阱时,还是有可能控制不住自己的手自己的眼怎么办?这就需要有意识的加强自己的控制力。

有的股民说——道理我全懂,可是我就管不住我的手。

这是个心理问题。

有人特别喜欢看盘,经常从早上看到收盘。

然后就容易在冲动下进行交易。

当你意识到频繁交易的主要原因是因为看盘时间过多后,就应该有意识的选择了少看盘或不看盘。

可以尝试看看视频,出去运动运动,或者跟朋友出去小酌两杯,玩得兴奋后就可以几小时甚至几天都不看盘。

过后发现原来少看盘并不影响炒股收益,而且还时常会有更大的收获!如果是用游泳等体育活动取代过多的看盘时间,既强壮了身体又增强了自己的控制力。

最后要建立自己的交易系统。

旧的交易习惯打破后需要马上建立新的交易习惯或交易系统。

这样才能稳固的摆脱以前的交易坏习惯。

当你慢慢建立起适合自己性格的交易系统后,就自然不被盘面的红红绿绿所诱惑了。

因为你会知道那些不是你能赚的钱。

只赚适合自己打法的钱,按自己的交易系统去赚钱才是最安心的。

天天去追涨杀跌去玩刺激,决不是什么正道。

具体的说要有一套自己的买入标准和持有标准,当出现适合自己的买入标准时就大胆买入,当没有出现卖出信号时就是涨的再多或震荡再大也坚决不卖出。

短线选股的标准所谓的短线股是相对于中线和长线来说的,短线股投资者一般持股时间不长,短则一两天,长则一两周;一般不太关心个股的业绩和潜质,只关心个股近期会不会涨,会涨多少。

通达信股龙有心买卖主图指标公式

通达信股龙有心买卖主图指标公式

通达信股龙有心买卖主图指标公式{参数: N:1 100 5 M:1 100 13}{喜欢什么均线自己调,不影响买卖} 获利%:WINNER(CLOSE)*100,NODRAW,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;MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA2>0,MA2,MA2);MA5:MA(CLOSE,N),COLOR888899;MA13:MA(CLOSE,M),COLORFF9900,LINETHICK2;VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);VAR5:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);VAR6:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);VAR7:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR8:=VAR7 AND COUNT(VAR6,2);VAR9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7) AND COUNT(VAR9<0,2) AND CROSS(VAR9,MA(VAR9,2)))=1,5);VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7) AND COUNT(VAR9>50,2) AND CROSS(MA(VAR9,2),VAR9))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR8 AND NOT(REF(VAR8,1));强攻:IF(MA3>REF(MA3,1) AND MA3>=0,MA13,DRAWNULL),COLORYELLOW,LINETHICK2;回调:IF(MA3<REF(MA3,1) AND MA3>0,MA13,DRAWNULL),COLORGREEN,LINETHICK2;{KDJ}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR4;买3:=(VAR14 OR VAR15) AND VAR2;买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);买5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11);{涨停}STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;{跌停}STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 ANDCLOSE=LOW,CLOSE,OPEN,4,-1),COLORGREEN;{蓝}STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF990 0;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB0 0;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;{红}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;{绿}STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,3,0),COLOR009900;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,2.2,0),COLOR00BB 00;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,1.5,0),COLOR00DD 00;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,0.5,0),COLOR00FF0 0;{灰}STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBB BB;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,1.5,0),COLORDDD DDD;STICKLINE(VAR4,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFF F;STICKLINE(金叉,OPEN,CLOSE,0.5,0),COLORYELLOW;STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000099;DRAWICON(VAR16,LOW-0.02,7);DRAWICON(买1 OR 买2 OR 买3 OR 买4 OR 买5,LOW-0.01,1);DRAWICON(死叉OR VAR12 OR CROSS(40,VAR9),HIGH+0.01,2);。

通达信BS买卖主图指标公式(慧眼K线)

通达信BS买卖主图指标公式(慧眼K线)

STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,3,1),COLOR008000; STICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,3,1),COLORRED; STICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0001),2.3,0),COLOR008000; STICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.002),2.3,0),COLORRED; STICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,2.3,0),COLOR008000; DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.04)),7); DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),8);
JL01:=MA(C,3); LJL07:=(3*C+L+O+H)/6; 上限:马线+3*STD(CLOSE,20),COLORMAGENTA,CROSSDOT; 下限:马线-2.9*STD(CLOSE,20),COLOR2693FF,CROSSDOT; 买:马线-2*STD(CLOSE,20),LINETHICK2,COLORFF937F; 卖:马线+2*STD(CLOSE,20),LINETHICK2,COULL),COLORMAGENTA,LINETHICK4,POINTDOT;

通达信多种买入卖出信号提示主图指标公式

通达信多种买入卖出信号提示主图指标公式

通达信多种买入卖出信号提示主图指标公式通达信多种买入卖出信号提示主图指标公式来源:Internet,编辑:股旁网,2017-01-11MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60);MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);中期临界点: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),LINETHIC K2,COLORRED;{涨跌家数}涨:INDEXADV,NODRAW,COLORLIMAGENTA ;跌:INDEXDEC,NODRAW,COLORGREEN;▼天顶:=HHV(HIGH,35),COLORGREEN, LINETHICK1.8;▲地底:=LLV(LOW,55),COLORRED,LINETHICK1.8;无间道:=(▼天顶+▲地底)/2,COLORRED,CIRCLEDOT,LINETHICK;DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,LOW*0.98, 1);{DRAWTEXT(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,LOW*0.96,'波段低吸');}DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,HIGH*1.02,2);{DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,HIGH*1.02,'波段高抛');}{财务数据}DRAWTEXT_FIX(ISLASTBAR,0.18,0.01,1,'上市日期:'),COLOR00FF00;DRAWNUMBER_FIX(ISLASTBAR,0.18,0.01,0,FINANCE(42)),C OLOR00FF00;DRAWTEXT_FIX(1,0.01,0.13,0,EXTERNSTR(0,1)),COLORRED;DRAWTEXT_FIX(1,0.26,0.01,0,EXTERNSTR(0,2)),COLORDD00 DD;DRAWTEXT_FIX(1,0.01,0.066,0,EXTERNSTR(0,3)),COLOR00D D00;DRAWTEXT_FIX(ISLASTBAR ,0.06,0.01,1,DYBLOCK),COLORYE LLOW;DRAWTEXT_FIX(ISLASTBAR ,0.065,0.01,0,HYBLOCK),COLORY ELLOW;三日不破:=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:=C<REF(C,1);三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);TIM:=IF(DATE<1140214,1,0);缩倍柱:=(VOL*1.95<=REF(VOL,1))*TIM;百日低量:=(VOL=LLV(VOL,100))*TIM;倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM;四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;倍量黄金柱:=四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;高量黄金柱:=四日前高量柱 AND 三日量缩 AND 三日不破 AND三日价涨A AND 前三引用不成立;黄金柱:=倍量黄金柱 OR 高量黄金柱;次倍量黄金柱:=NOT(黄金柱) AND 四日前倍量柱 AND 三日量缩AND 三日不破 AND 三日价涨B AND 前三引用不成立;次高量黄金柱:=NOT(黄金柱) AND 四日前高量柱 AND 三日量缩AND 三日不破 AND 三日价涨B AND 前三引用不成立;次黄金柱:=次倍量黄金柱 OR 次高量黄金柱;准倍量黄金柱:=NOT(黄金柱OR 次黄金柱) AND 四日前倍量柱AND ((三日量缩 AND 三日价涨C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立;准高量黄金柱:=NOT(黄金柱OR 次黄金柱) AND 四日前高量柱AND (三日量缩 AND 三日价涨C) AND 前三引用不成立;准黄金柱:=准倍量黄金柱 OR 准高量黄金柱;倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;将军柱:=倍量将军柱 OR 高量将军柱;次倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨B AND 前三引用不成立;次高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨B AND 前三引用不成立;次将军柱:=次倍量将军柱 OR 次高量将军柱;准倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱) AND 四日前倍量柱 AND 三日价涨C AND 前三引用不成立;准高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱) AND 四日前高量柱 AND 三日价涨C AND 前三引用不成立;准将军柱:=准倍量将军柱 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)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3);黄金线实体下端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=MIN(REF(C,3),REF(O,3)) AND MIN(MIN(L,REF(L,1)),REF(L,2))>REF(L,3),LINETHICK0;黄金线上影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(H,3);黄金线实体上端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<REF(H,3);黄金线实体中间:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) ANDREF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3));黄金线实体中间1:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));黄金线实体中间2:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));黄金线实体中间3:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND L=MIN(MIN(L,REF(L,1)),REF(L,2));BACKSET201:=BACKSET(黄金线下影线,4);FILTER201:=FILTER(BACKSET201,3),NODRAW;BACKSET202:=BACKSET(黄金线实体下端,4);FILTER202:=FILTER(BACKSET202,3),NODRAW;BACKSET203:=BACKSET(黄金线上影线,4);FILTER203:=FILTER(BACKSET203,3),NODRAW;BACKSET204:=BACKSET(黄金线实体上端,4);FILTER204:=FILTER(BACKSET204,3),NODRAW;BACKSET205:=BACKSET(黄金线实体中间,4);FILTER205:=FILTER(BACKSET205,3),NODRAW;BACKSET2051:=BACKSET(黄金线实体中间1,4);FILTER2051:=FILTER(BACKSET2051,3),NODRAW;BACKSET2052:=BACKSET(黄金线实体中间2,4);FILTER2052:=FILTER(BACKSET2052,3),NODRAW;BACKSET2053:=BACKSET(黄金线实体中间3,4);FILTER2053:=FILTER(BACKSET2053,3),NODRAW;BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT( CLOSE),BARSLAST(FILTER201));BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT( CLOSE),BARSLAST(FILTER202));BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT( CLOSE),BARSLAST(FILTER203));BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT( CLOSE),BARSLAST(FILTER204));BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT( CLOSE),BARSLAST(FILTER205));BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOU NT(CLOSE),BARSLAST(FILTER2051));BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOU NT(CLOSE),BARSLAST(FILTER2052));BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOU NT(CLOSE),BARSLAST(FILTER2053));最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),B T2051),BT2052),BT2053);DAY1:=SUMBARS(FILTER100,1),NODRAW;HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,R EF(LOW,DAY1-1)),0),NODRAW;HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C ,O),MIN(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW;HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH, REF(HIGH,DAY1-1)),0),NODRAW;HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW;HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LO W,IF(DAY1<2,DRAWNULL,REF(LOW,DAY1-2))),0),NODRAW;HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LO W,IF(DAY1<3,DRAWNULL,REF(LOW,DAY1-3))),0),NODRAW;HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LO W,IF(DAY1<4,DRAWNULL,REF(LOW,DAY1-4))),0),NODRAW;黄金线:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1 _53,COLORYELLOW,NODRAW;立桩量:=VOL=HHV(VOL,40) AND VOL>1.9*REF(VOL,1);立桩量三日突破:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));立桩量三日不破:=BARSLAST(立桩量)=3 AND REF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));BACKSET300:=BACKSET(立桩量三日不破,4);BACKSET301:=BACKSET(立桩量三日突破,4);立桩量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立桩量;{DRAWTEXT(立桩量成立,HIGH*1.01,'↙立桩量'),COLOR00FF00;}DRAWTEXT(FILTER101,LOW*0.986,'↖黄金柱'),COLORYELLOW;{STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;} {DRAWTEXT(FILTER102,LOW*0.986,'↖次黄金柱'),COLORYELLOW;}{DRAWTEXT(FILTER104,LOW*0.986,'↖将军柱'),COLORYELLOW;}{STICKLINE(FILTER104,OPEN,CLOSE,1.5,0),COLORYELLOW;};{涨停标注}STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;{涨停天数}VARZT:=BARSLAST(C/REF(C,1)>1.094);DRAWTEXT(VARZT=2,L*0.95,'3T'),COLORYELLOW;DRAWTEXT(VARZT=4,H*1.06,'5T'),COLORYELLOW;DRAWTEXT(VARZT=7,L*0.95,'8T'),COLORYELLOW;DRAWTEXT(VARZT=12,H*1.06,'13T'),COLORYELLOW;DRAWTEXT(VARZT=20,L*0.95,'21T'),COLORYELLOW;DRAWTEXT(VARZT=33,H*1.06,'34T'),COLORYELLOW;DRAWTEXT(VARZT=54,L*0.95,'55T'),COLORYELLOW;DRAWTEXT(VARZT=88,H*1.06,'89T'),COLORYELLOW;DRAWTEXT(VARZT=143,L*0.95,'144T'),COLORYELLOW;DRAWTEXT(VARZT=232,H*1.06,'233T'),COLORYELLOW;DRAWTEXT(VARZT=376,L*0.95,'377T'),COLORYELLOW;Z:=ISLASTBAR;DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&& C>O&&Z,0.98,0.2,1,'①乾:阳极,防变'),COLORFF00FF;DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)>REF(O,1)&& C<=O&&Z,0.98,0.2,1,'②兑:阳减,调整'),COLORFFFF00;DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)& &C>O&&Z,0.98,0.2,1,'③离:阳光,关注'),COLOR00FFFF;DRAWTEXT_FIX(REF(C,2)>REF(O,2)&&REF(C,1)<=REF(O,1)& &C<=O&&Z,0.98,0.2,1,'④震:继阴,空仓'),COLORFF0000;DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)& &C>O&&Z,0.98,0.2,1,'⑤巽:继阳,持股'),COLORFF00FF;DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)>REF(O,1)& &C<=O&&Z,0.98,0.2,1,'⑥坎:阴风,看跌'),COLORFF0000;DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1)&&C>O&&Z,0.98,0.2,1,'⑦艮:阴减,反弹'),COLOR00FFFF;DRAWTEXT_FIX(REF(C,2)<=REF(O,2)&&REF(C,1)<=REF(O,1) &&C<=O&&Z,0.98,0.2,1,'⑧坤:阴极,待转'),COLORFF0000;{暴跌买入}TJ1:=EMA((C-L),20)/EMA((H-L),20)*100;TJ2:=(L-ABS(MIN(C,O)))/L<=1;TJ3:=ABS((L-MA(C,5)))/L*100>10;TJ4:=TJ1 AND TJ2 AND TJ3;DRAWTEXT(TJ4 AND TJ1>REF(TJ1,1),LOW*0.95,'BD'),COLORRED;DRAWICON(TJ4 AND TJ1>REF(TJ1,1),L*0.95,1);{暴涨}DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIF,9);AAA:=(DIF-DEA)*2*60;起爆:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;DRAWTEXT(起爆,L*0.99,'↖暴涨'),COLORYELLOW,LINETHICK2;=========================通达信绝密买卖点主图指标公式A3:EMA(C,3),COLORWHITE;A5:EMA(C,5),COLORYELLOW;A7:EMA(C,7),COLORMAGENTA;A12:EMA(C,12),COLORGREEN;A20:EMA(C,20),COLORRED;A50:EMA(C,50),COLORBLUE,LINETHICK2;DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,9) ;DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,4);VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;VAR6:=(VAR3+VAR4+VAR5)/3;VAR7:=EMA(VAR6,5);ZB:=EMA(EMA(VAR3,5),5)*3, COLORSTICK;VAR8:=IF(VAR6<=-20,10,0);VAR9:=HHV(VAR8,10);VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);K:=EMA(VAR7,5)*2, , COLORFF00FF;D:=EMA(K,5), , COLORWHITE;J:=K*3-D*2, ,COLORYELLOW;VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;HS:=VOL/CAPITAL*100, , COLORGREEN;DRAWTEXT(VAR8=10 AND FILTER(VAR8=10,5),LOW*1.00,'准备'), COLORMAGENTA;DRAWTEXT(VARA=20,LOW*1.00,'一定要买'), COLORRED;DRAWICON(VARA=20,LOW*1.00,'BUY');VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,LOW*0.95,'庄家异动'),LINETHICK1,COLORFF00FF;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,LOW*1.00,'大动作') ,COLORYELLOW;VAR20:=PEAKBARS(3,15,1)<10;VAR21:=IF(VAR20=1,2,0);VAR22:=IF(VAR21=2,2,0);VAR23:=IF(VAR22>REF(VAR22,1),35,0),LINETHICK2;DRAWTEXT(VAR23=35,HIGH*1.00,'一定要逃'),COLORGREEN;======================================================一位股市天才私藏的主图买卖指标,两个字形容:精准!(附公式)天玑黑马王子 2018-04-27 12:21炒股,是一件很有趣,同时还能赚钱的事情,但炒股又是一件很折磨人,也很容易亏钱的事情。

神秘买卖均线主图指标公式

神秘买卖均线主图指标公式

神秘买卖均线主图指标公式1神秘买卖均线指标公式A1:EMA((2*CLOSE+HIGH+LOW)/4,5)COLORGREEN;IF(A1>=REF(A1,1),EMA((2*CLOSE+HIGH+LOW)/4,5),DRAWN ULL),LINETHICK1,COLORRED;EMA((2*CLOSE+HIGH+LOW)/4,13)COLORGREEN,LINETHICK 2;IF(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOSE+ HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13),DRAW NULL),LINETHICK2,COLORRED;REF(EMA((LOW+CLOSE+OPEN)3,25),1)LINETHICK3,COLORG REEN;IF(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CLOSE +OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1),DRAW NULL),LINETHICK3,COLORRED;IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2>REF((EM A(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),(EMA(LOW,125)+E MA((CLOSE+LOW)/2,125))/2,DRAWNULL),POINTDOT,COLORRE D;(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2,COLORGREE N,POINTDOT;{PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)>REF(EMA((2*C LOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIGH+LOW)/4,5)),CO LORFF;PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6)PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2* CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW)/4,13) ),COLORFF;PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW +CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3,25),1) ),LINETHICK3,COLORFF;PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)PARTLINE((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2>R EF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),(EMA(LOW, 125)+EMA((CLOSE+LOW)/2,125))/2),POINTDOT,COLORFF;PARTLINE((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2DRAWTEXT(BARPOS=SYSPARAM(2),SYSPARAM(4),STKNAM E+' '+STKLABEL+'\所属板块:'+BLKNAME),COLORFFFFFF;};2.买卖均线指标公式和大机构均线主图指标公式一样B1:=EMA((2*CLOSE+HIGH+LOW)/4,5);A1:IF(EMA((2*CLOSE+HIGH+LOW)/4,6)>REF(EMA((2*CLOSE +HIGH+LOW)/4,6),1),B1,DRAWNULL),COLOR0000FF;A2:IF(EMA((2*CLOSE+HIGH+LOW)/4,6)B2:=EMA((2*CLOSE+HIGH+LOW)/4,13);A3:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)>REF(EMA((2*CLOS E+HIGH+LOW)/4,13),1),B2,DRAWNULL),COLOR0000FF;A4:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)B3:=REF(EMA((LOW+CLOSE+OPEN)/3,25),1);A5:IF(EMA((LOW+CLOSE+OPEN)/3,28)>REF(EMA((LOW+CL OSE+OPEN)/3,28),1),B3,DRAWNULL),LINETHICK3,COLOR0000FF;A6:IF(EMA((LOW+CLOSE+OPEN)/3,28)B4:=(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2;A7:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2>REF((E MA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),B4,DRAWNULL), POINTDOT,COLOR0000FF;A8:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/23.实用均线指标公式C1:=EMA(C,5);C2:=EMA(C,8);C3:=EMA(C,10);C4:=EMA(C,15);C5:=EMA(C,20);RSV:=C1NOTEXTA:C1,LINETHICK3,COLORRED;NOTEXTB:IF(RSV,C1,DRAWNULL),LINETHICK3,COLORBLUE;4.均线K线主图指标公式VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}VARD:=CLOSEVARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYE LLOW;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00 FF00{98FD};STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00 C8FF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10 ECFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10 FFFF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00 D900;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBL UE;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR09 0FF2;PMA:MA(C,5),COLORWHITE,LINETHICK2;IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHI CK2;IF(PMAX:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+1 5*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*RE F(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF (X,17)+2*REF(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK2;{用法:黄托底买进,蓝压顶卖出。

阴买阳卖指标公式

阴买阳卖指标公式

阴买阳卖指标公式阴买阳卖指标公式是一种技术分析中的短期买卖指标,可用于股票、期货、外汇等市场的交易。

它使用移动平均线、相对强度指标和平滑异同移动平均线等技术指标,通过计算阴线和阳线的强度来判断市场的买卖力量。

阴买阳卖指标公式的核心思想是在价格动量和技术指标的互动中,能够抓住市场的短期波动趋势,提高交易决策的准确性和成功率。

阴买阳卖指标公式的计算公式包括以下几个部分:1.移动平均线(MA)。

移动平均线是指在一定时间段内收盘价的平均值,并且随着时间的增长而不断更新。

一般的计算方法有简单移动平均线(SMA)、指数移动平均线(EMA)和加权移动平均线(WMA)等。

使用不同的移动平均线计算方法,可以获取不同期限的均线值,从而更好地反映市场的长短期趋势。

2.相对强度指标(RSI)。

相对强度指标是一种根据价格波动幅度计算的技术指标,用于衡量市场的买卖气氛。

一般情况下,RSI的取值范围在0-100之间,其中30以下为超卖区间,70以上为超买区间。

通过RSI的数值,可以较为准确地判断市场的进出点和短期波动趋势。

3.平滑异同移动平均线(MACD)。

平滑异同移动平均线是一种用于判断市场买卖力量的技术指标,其基本原理是通过计算移动平均线的短期MA和长期MA的差值,来反映市场的快速变化趋势。

当MACD的线值上穿信号线时,说明市场买入力量加强,是买入的信号;而当MACD的线值下穿信号线时,说明市场卖出力量加强,是卖出的信号。

对于阴买阳卖指标公式的应用,在短期交易中,需要结合以上几个技术指标进行分析判断,以提高成功率和收益率。

一般情况下,阴买阳卖指标是在一些抵抗力较强的支撑线、压力线附近出现,如在一个震荡区间内,通常在价格回调至支撑线时反弹,或价格到达压力线时回落。

此时,通过阴线阳线的交易量和强弱,可以判断市场的短期趋势,使用阴买阳卖指标进行短期买卖交易。

具体的操作方法如下:1.使用移动平均线,根据自己的需求设定不同段时间的移动平均线,通常使用5日、10日、30日、60日等不同天数的移动平均线,根据长短期趋势来选择。

绝对值得分享的2020散庄加仓神准买卖线指标公式(源码贴图)

绝对值得分享的2020散庄加仓神准买卖线指标公式(源码贴图)

绝对值得分享的2020散庄加仓神准买卖线指标公式(源码贴图)绝对值得分享的2020散庄加仓神准买卖线指标公式,通达信的,要的拿去!DRAWTEXT_FIX(1,0,0.0,0,Z7),COLOR00EEEE;DRAWTEXT_FIX(1,0,0.06,0,STRCAT('【风格:',STRCAT(FGBLOCK,'】'))),COLOREEEE00;EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←观望'),COLORLIRED;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'←减仓'),COLORGREEN;DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20 );卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LIN ETHICK3,COLORYELLOW;VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLO RGREEN;A0:=(L+H+C*2)/4;{第一股票公式网-最好的股票公式网站WWWCHNMONEYCOM}A1:EMA(A0,14)COLORBLUE,LINETHICK2;A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;DRAWTEXT(CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)* 20)+CLOSE),42)),(LOW*0.99),'加仓'),LINETHICK3,COLORF00FF0;DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42) ,EMA(CLOSE,2)),(HIGH* 1.01),'↓空仓'),LINETHICK3,COLORFFFFFF;STICKLINE((EMA(CLOSE,2) >=EMA(((SLOPE(CLOSE,21)*20)+ CLOSE),42)),LOW,HIGH,0.1,0),COLOR0000FF;STICKLINE((EMA(CLOSE,2)>=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLOR0000AA;STICKLINE((EMA(CLOSE,2)>=EMA(((SLOPE(CLOSE,21)*20)+C LOSE),42)),CLOSE,OPEN,2,0),COLOR0000CC;STICKLINE((EMA(CLOSE,2)<EMA(((SLOPE(CLOSE,21)*20)+CL OSE),42)),CLOSE,OPEN,2,0),COLORCCCC00;STICKLINE((EMA(CLOSE,2)<EMA(((SLOPE(CLOSE,21)*20)+CL OSE),42)),CLOSE,OPEN,3,0),COLORAAAA00;STICKLINE((EMA(CLOSE,2)<EMA(((SLOPE(CLOSE,21)*20)+CL OSE),42)),LOW,HIGH,0.1,0),COLORFFFF00;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*2 0)+CLOSE),42)) OR CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))) ,LOW,HIGH,0.1,0),COLOR00FFFF;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*2 0)+CLOSE),42)) OR CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))) ,OPEN,CLOSE,3,0),COLOR00AAAA;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*2 0)+CLOSE),42)) OR CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))) ,OPEN,CLOSE,2,0),COLOR00CCCC;MAA5:MA(C,5),COLORFF00FF,LINETHICK5;MAA10:=MA(C,10);MAA30:MA(C,30),COLORRED;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

神秘买卖均线主图指标公式1神秘买卖均线指标公式A1:EMA((2*CLOSE+HIGH+LOW)/4,5)COLORGREEN;IF(A1&gt;=REF(A1,1),EMA((2*CLOSE+HIGH+LOW)/4,5),D RAWNULL),LINETHICK1,COLORRED;EMA((2*CLOSE+HIGH+LOW)/4,13)COLORGREEN,LINET HICK2;IF(EMA((2*CLOSE+HIGH+LOW)/4,10)&gt;REF(EMA((2*C LOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIGH+LOW) /4,13),DRAWNULL),LINETHICK2,COLORRED;REF(EMA((LOW+CLOSE+OPEN)3,25),1)LINETHICK3,COL ORGREEN;IF(EMA((LOW+CLOSE+OPEN)/3,28)&gt;REF(EMA((LOW+ CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE+OPEN)/3 ,25),1),DRAWNULL),LINETHICK3,COLORRED;IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2&gt;REF ((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),(EMA( LOW,125)+EMA((CLOSE+LOW)/2,125))/2,DRAWNULL),PO INTDOT,COLORRED;(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2,COLORGR EEN,POINTDOT;MA((2*CLOSE+HIGH+LOW)/4,6),1),EMA((2*CLOSE+HIG H+LOW)/4,5)),COLORFF;PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,6) PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10)&gt;REF(E MA((2*CLOSE+HIGH+LOW)/4,13),1),EMA((2*CLOSE+HIG H+LOW)/4,13)),COLORFF;PARTLINE(EMA((2*CLOSE+HIGH+LOW)/4,10) PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)&gt;REF(EM A((LOW+CLOSE+OPEN)/3,28),1),REF(EMA((LOW+CLOSE +OPEN)/3,25),1)),LINETHICK3,COLORFF;PARTLINE(EMA((LOW+CLOSE+OPEN)/3,28)PARTLINE((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2 &gt;REF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1 ),(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2),POINTD OT,COLORFF;PARTLINE((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2 DRAWTEXT(BARPOS=SYSPARAM(2),SYSPARAM(4),STK NAME+' '+STKLABEL+'\所属板块:'+BLKNAME),COLORFFFFFF;};2.买卖均线指标公式和大机构均线主图指标公式一样B1:=EMA((2*CLOSE+HIGH+LOW)/4,5);CLOSE+HIGH+LOW)/4,6),1),B1,DRAWNULL),COLOR0000 FF;A2:IF(EMA((2*CLOSE+HIGH+LOW)/4,6)B2:=EMA((2*CLOSE+HIGH+LOW)/4,13);A3:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)&gt;REF(EMA((2 *CLOSE+HIGH+LOW)/4,13),1),B2,DRAWNULL),COLOR00 00FF;A4:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)B3:=REF(EMA((LOW+CLOSE+OPEN)/3,25),1);A5:IF(EMA((LOW+CLOSE+OPEN)/3,28)&gt;REF(EMA((LO W+CLOSE+OPEN)/3,28),1),B3,DRAWNULL),LINETHICK3, COLOR0000FF;A6:IF(EMA((LOW+CLOSE+OPEN)/3,28)B4:=(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2;A7:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2&gt; REF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),B4, DRAWNULL),POINTDOT,COLOR0000FF;A8:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/23.实用均线指标公式C1:=EMA(C,5);C2:=EMA(C,8);C3:=EMA(C,10);C4:=EMA(C,15);C5:=EMA(C,20);RSV:=C1NOTEXTA:C1,LINETHICK3,COLORRED;NOTEXTB:IF(RSV,C1,DRAWNULL),LINETHICK3,COLOR BLUE;4.均线K线主图指标公式V AR1:=CLOSE&gt;REF(CLOSE,1) ANDCLOSE&gt;REF(CLOSE,2);V AR2:=REF(V AR1,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V AR3:=REF(V AR2,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V AR4:=REF(V AR3,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V AR5:=REF(V AR4,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V AR6:=REF(V AR5,1) AND CLOSE&lt;=REF(CLOSE,1) ANDCLOSE&gt;=REF(CLOSE,2);V AR7:=REF(V AR6,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V AR8:=REF(V AR7,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V AR9:=REF(V AR8,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V ARA:=REF(V AR9,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V ARB:=REF(V ARA,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V ARC:=REF(V ARB,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);STICKLINE(VAR1 OR V AR2 OR V AR3 OR V AR4 OR V AR5 OR V AR6 OR V AR7 ORV AR8 OR V AR9 OR V ARA OR V ARB ORV ARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}V ARD:=CLOSEV ARE:=REF(V ARD,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V ARF:=REF(V ARE,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V AR10:=REF(V ARF,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V AR11:=REF(V AR10,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V AR12:=REF(V AR11,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V AR13:=REF(V AR12,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V AR14:=REF(V AR13,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V AR15:=REF(V AR14,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V AR16:=REF(V AR15,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);V AR17:=REF(V AR16,1) AND CLOSE&lt;=REF(CLOSE,1) AND CLOSE&gt;=REF(CLOSE,2);V AR18:=REF(V AR17,1) AND CLOSE&gt;=REF(CLOSE,1) AND CLOSE&lt;=REF(CLOSE,2);STICKLINE(VARD OR V ARE OR V ARF OR V AR10 OR V AR11 OR V AR12 OR V AR13 ORV AR14 OR V AR15 OR V AR16 OR V AR17 ORV AR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;V AR19:=REF(V ARD OR V ARE OR V ARF OR V AR10 ORV AR11 OR V AR12 OR V AR13 ORV AR14 OR V AR15 OR V AR16 OR V AR17 OR V AR18,1) AND V AR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COL ORYELLOW;V AR1A:=REF(V AR1 OR V AR2 OR V AR3 OR V AR4 ORV AR5 OR V AR6 OR V AR7 ORV AR8 OR V AR9 OR V ARA OR V ARB OR V ARC,1) ANDV ARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),CO LOR00FF00{98FD};STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COL OR00C8FF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COL OR10ECFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COL OR10FFFF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),CO LOR00D900;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),CO LORBLUE;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),CO LOR090FF2;PMA:MA(C,5),COLORWHITE,LINETHICK2;IF(PMA&gt;REF(PMA,1),PMA,DRAWNULL),COLORRED,L INETHICK2;IF(PMAX:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF (X,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9 *REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3* REF(X,17)+2*REF(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK2;{用法:黄托底买进,蓝压顶卖出。

相关文档
最新文档