通达信【一线天通道买卖】主图指标+45度解选股公式,紧跟主力拉升脚步!源码

AA:=C<3;

MM:=3>REF(3,1) AND REF(3,1)<REF(3,2) ;

超买:MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN,LINETHICK2;

超卖:MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORRED,LINETHICK2;

趋线:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);

获利%:WINNER(CLOSE)*100,NODRAW;

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);

ZYG1:=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);

ZYG2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);

ZYG3:=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);

ZYG4:=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);

ZYG5:=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);

ZYG6:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);

ZYG7:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;

ZYG8:=ZYG7 AND COUNT(ZYG6,2);

ZYG9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);

ZYG10:=EMA(MA(C,13),13);

ZYG11:=FILTER((LLV(ZYG9,2)=LLV(ZYG9,7) AND COUNT(ZYG9<0,2) AND

CROSS(ZYG9,MA(ZYG9,2)))=1,5);

ZYG12:=FILTER((HHV(ZYG9,2)=HHV(ZYG9,7) AND COUNT(ZYG9>50,2) AND

CROSS(MA(ZYG9,2),ZYG9))=1,1);

ZYG13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;

ZYG14:=FILTER(((CROSS(ZYG13,0) OR CROSS(C,ZYG10)) AND ZYG11)=1,3);

ZYG15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));

ZYG16:=ZYG8 AND NOT(REF(ZYG8,1));

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:=(ZYG14 OR ZYG15) AND ZYG11;

买2:=(ZYG14 OR ZYG15) AND ZYG4;

买3:=(ZYG14 OR ZYG15) AND ZYG2;

买4:=(ZYG2 AND ZYG11) OR (ZYG4 AND ZYG11);

买5:=(金叉 AND ZYG4) OR (金叉 AND ZYG2) OR (金叉 AND ZYG11);

STICKLINE(金叉,OPEN,CLOSE,0.5,0),COLORYELLOW;

STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000066;

DRAWICON(ZYG16,LOW-0.02,15);

DRAWICON(买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM,LOW-0.05,15);

DRAWICON(死叉 OR CROSS(50,ZYG9) AND AA AND K>50,HIGH+0.01,2);

X1:=(C+L+H)/3;

BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;

EMA3:=EMA(C,3);

DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),

LOW*0.99,'★∠45'),COLORFFFFFF;

ZYG81:=1;

ZYG82:=((((2*CLOSE)+HIGH)+LOW) / 4);

低金叉进:=20;

高死叉出:=90;

ZYG84:=LLV(LOW,5);

ZYG85:=HHV(HIGH,4);

C1:=(EMA((((ZYG82-ZYG84)/(ZYG85-ZYG84))*100),4)*ZYG81);

C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*ZYG81);

条件1:=CROSS(C1,C2) AND C1<40;

条件0:=CROSS(C2,C1) AND C1>90;

好股1:=CROSS(C1,C2);

好股2:=CROSS(C2,C1);

好股3:=CROSS(C1,C2) AND REF(C1,1)<20;

好股4:=CROSS(C2,C1) AND REF(C1,1)>80;

DRAWTEXT(条件0,H*1.02,'S'),COLORBLUE;

DRAWTEXT(好股3 AND MM,L*0.98,'底');

DRAWTEXT(好股4 AND AA,H*1.02,'逃');

STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,2,0),COLORYELLOW;

水平面:=EMA(CLOSE,89);

指标:=(3*C+H+L+O)/6;

短趋:=(8*指标+7*REF(指标,1)+6*REF(指标,2)+5*REF(指标,3)+4*REF(指标,4)+3*REF(指标,5)+2*REF(指标,6)+REF(指标,8))/36;

中趋:=(LLV(短趋,2)+LLV(短趋,4)+LLV(短趋,6))/3;

好股网1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>短趋;

立桩量:=FILTER(好股网1,5);

好股网2:=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)));

突破:=好股网2=1;

好股网3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));

三天:=好股网3=1;

成立:=三天 AND 突破;

条件:=FILTER(成立,3);

DRAWTEXT(条件,L*0.93,'★'),COLOR00FFFF;

DRAWTEXT(CROSS(MA(C,3),MA(C,9)) AND C>=REF(C,1) AND C>O,L*0.98,'↑↑'),COLORMAGENTA;

低点:=REF(LLV(L,250),3);



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

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

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