通达信【万手主力现龙头】主副图指标 源码附图

{万手主力现龙源码如下}

涨跌:=REF(C,1);
涨停:=IF(((((C - 涨跌) * 100) / 涨跌) >= (10 - ((0.01 * 100) / 涨跌))),1,0);
DIF:=(EMA(C,12) - EMA(C,26));
DEA:=EMA(DIF,9);
MACD:=((DIF - DEA) * 2);
ABC2:=(CLOSE * VOL);
ABC3:=EMA((((((EMA(ABC2,3) / EMA(VOL,3)) + (EMA(ABC2,6) / EMA(VOL,6))) + (EMA(ABC2,12) / EMA(VOL,12))) + (EMA(ABC2,24) / EMA(VOL,24))) / 4),13);
ABC4:=EMA(CLOSE,9);
ACB1:=MA(CLOSE,10);
ACB2:=MA(CLOSE,54);
ACB3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ACB4:=FILTER(ACB3,10);
ACB5:=BARSLAST(ACB4);
ACB6:=REF(HIGH,ACB5+2);
ACB7:=REF(HIGH,ACB5+1);
ACB8:=REF(HIGH,ACB5);
ACB9:=MAX(ACB6,ACB7);
ACB10:=MAX(ACB9,ACB8);
ACB11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ACB12:=ACB5< 150;
ACB13:=(OPEN-ACB10)/ACB10*100< 30;
ACB14:=(CLOSE-LLV(LOW,ACB5))/LLV(LOW,ACB5)*100< 50;
ACB15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ACB16:=VOL/MA(VOL,5)< 3.5;
ACB17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ACB18:=ACB11 AND ACB12 AND ACB13 AND ACB14 AND ACB15 AND ACB16 AND ACB17;
ACB19:=FILTER(ACB18,15);
ACB20:=(CLOSE-ACB2)/ACB2< 0.1;
ACB21:=(CLOSE-ACB1)/ACB1< 0.3;
ACB22:=(ACB20=1 AND ACB21=1)*0.2;
ACB23:=(ACB22=0 AND REF(ACB22,1)=0.2 AND REF(COUNT(ACB22=0.2,10)=10,1)=1)*(-0.1);
ACB24:=ACB23=(-0.1);
ACB25:=ACB19 OR ACB24;
ACB26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
ACB27:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
ACB28:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
万手单:=ACB25 AND CLOSE/REF(CLOSE,1)>1.095 AND ACB28 AND ACB27,NODRAW,COLORRED;
飞狐线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 20) / 100));
强势线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 6) / 100));
支撑线:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);
压力线:=EMA((ABC4 * 1.14),5);
盈损线:=(LLV(REF(LOW,1),2) + ((HHV(REF(HIGH,1),2) - LLV(REF(LOW,1),2)) / 2));
QD:=(((C > 强势线) AND (C > 支撑线)) AND (C > 盈损线));
小妖:=((COUNT(QD,10) = 1) AND QD);
XYJJ:=BARSLAST(小妖);
JS:=CROSS(C,压力线);
YH:=((COUNT(JS,XYJJ) <= 1) AND JS);
HX1:=((REF(YH,1) AND (O > 压力线)) AND (C > 压力线));
HX2:=((REF(YH,1) AND CROSS(C,飞狐线)) AND (C > 压力线));
YHQS:=(小妖 AND YH);
YHJS:=(HX1 OR HX2);
YH王:=((((REF(涨停,1) AND (O > 压力线)) AND (O > REF(H,1))) AND (REF(H,1) < REF(压力线,1))) AND (L >= 压力线));
XG:=((YHQS OR YHJS) OR YH王)AND C>REF(C,1)*1.05;
AAAA:=MA(C,1);
AAA:=SMA(SMA(SMA(AAAA,2,1),2,1),2,1);
BBB:=MA(AAA,3);
DRAWBAND(AAA,RGB(255,255,0),BBB,RGB(0,0,255));
CCC:=(3*C+L+O+H)/6;
牛线:=(20*CCC+19*REF(CCC,1)+18*REF(CCC,2)+17*REF(CCC,3)+16*REF(CCC,4)+15*REF(CCC,5)+14*REF(CCC,6)+13*REF(CCC,7)+12*REF(CCC,8)+11*REF(CCC,9)+10*REF(CCC,10)+9*REF(CCC,11)+8*REF(CCC,12)+7*REF(CCC,13)+6*REF(CCC,14)+5*REF(CCC,15)+4*REF(CCC,16)+3*REF(CCC,17)+2*REF(CCC,18)+REF(CCC,20))/210,COLORRED,LINETHICK2;
马线:=MA(牛线,5);
DRAWICON(CROSS(牛线,马线),L*0.95,26);
DRAWBAND(牛线,RGB(255,40,0),马线,RGB(256,200,0));
STICKLINE(XG=1,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(XG=1,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWTEXT(XG=1,LOW-0.05,'↖龙头出现'),COLORYELLOW;
DRAWICON(万手单,L*1.0,9);
DRAWTEXT(万手单,L,' ★万手单'),COLORYELLOW;


{万手单副图源码如下}

ACB1:=MA(CLOSE,10);
ACB2:=MA(CLOSE,54);
ACB3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ACB4:=FILTER(ACB3,10);
ACB5:=BARSLAST(ACB4);
ACB6:=REF(HIGH,ACB5+2);
ACB7:=REF(HIGH,ACB5+1);
ACB8:=REF(HIGH,ACB5);
ACB9:=MAX(ACB6,ACB7);
ACB10:=MAX(ACB9,ACB8);
ACB11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ACB12:=ACB5< 150;
ACB13:=(OPEN-ACB10)/ACB10*100< 30;
ACB14:=(CLOSE-LLV(LOW,ACB5))/LLV(LOW,ACB5)*100< 50;
ACB15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ACB16:=VOL/MA(VOL,5)< 3.5;
ACB17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ACB18:=ACB11 AND ACB12 AND ACB13 AND ACB14 AND ACB15 AND ACB16 AND ACB17;
ACB19:=FILTER(ACB18,15);
ACB20:=(CLOSE-ACB2)/ACB2< 0.1;
ACB21:=(CLOSE-ACB1)/ACB1< 0.3;
ACB22:=(ACB20=1 AND ACB21=1)*0.2;
ACB23:=(ACB22=0 AND REF(ACB22,1)=0.2 AND REF(COUNT(ACB22=0.2,10)=10,1)=1)*(-0.1);
ACB24:=ACB23=(-0.1);
ACB25:=ACB19 OR ACB24;
ACB26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
ACB27:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
ACB28:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
万手单:ACB25 AND CLOSE/REF(CLOSE,1)>1.095 AND ACB28 AND ACB27,NODRAW,COLORRED;
STICKLINE(万手单,94,115,1,0),COLORRED;
STICKLINE(万手单,94,115,0,0),COLORYELLOW;
STICKLINE(万手单,92,94,2.5,0),COLOR333333;
STICKLINE(万手单,92,94,2.2,0),COLOR444444;
STICKLINE(万手单,92,94,2,0),COLOR555555;
STICKLINE(万手单,92,94,1.5,0),COLOR666666;
STICKLINE(万手单,92,94,1.02,0),COLOR777777;
DRAWTEXT(万手单,100,' ★万手单'),COLORYELLOW;


未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图