首页 > > 详细

通达信【强弱】副图指标 辨别强势股 源码附图

70,COLOR555555;
50,DOTLINE,COLOR555555;
25,COLOR555555;


N:=14;
AA1AA:=REF(INDEXC,1);
大盘强弱:SMA(MAX(INDEXC-AA1AA,0),N,1)/SMA(ABS(INDEXC-AA1AA),N,1)*100,LINETHICK2,COLOR8000FF;
AA1AB:=REF(CLOSE,1);
个股强弱:SMA(MAX(CLOSE-AA1AB,0),N,1)/SMA(ABS(CLOSE-AA1AB),N,1)*100,COLORFFFF00,LINETHICK2;



AA:=REF(LOW,1);
BB:=LLV(REF(LOW,1),20);
CC:=AA=BB;
C1:=MAX(REF(OPEN,1),REF(CLOSE,1));
DD:=MIN(REF(OPEN,1),REF(CLOSE,1));
EE:=C1/DD>1.04;
FF:=REF(CLOSE,1)<REF(O,1);
GG:=EE AND FF;
HH:=CLOSE/REF(CLOSE,1)>1.05 ;
II:=MAX(CLOSE,OPEN)/MIN(CLOSE,OPEN)>1.03;
JJ:=HH AND II;
金钻抄底1:=CC AND GG AND JJ;
XA_1:=27;
XA_2:=4*SMA((CLOSE-LLV(LOW,XA_1))/(HHV(HIGH,XA_1)-LLV(LOW,XA_1))*100,6,1)-3*SMA(SMA((CLOSE-LLV(LOW,XA_1))/(HHV(HIGH,XA_1)-LLV(LOW,XA_1))*100,4,1),3.2,1);
XA_3:=IF(YEAR>=2038 AND MONTH>=1,0,1);
XA_4:=REF(LOW,1)*XA_3;
XA_5:=SMA(ABS(LOW-XA_4),3,1)/SMA(MAX(LOW-XA_4,0),3,1)*100*XA_3;
XA_6:=(2*CLOSE+HIGH+LOW)/4;
XA_7:=LLV(LOW,60);
XA_8:=(2*CLOSE+HIGH+LOW)/4;
XA_9:=LLV(LOW,34);
XA_10:=HHV(HIGH,34);
XA_11:=EMA((XA_8-XA_9)/(XA_10-XA_9)*100,13);
XA_12:=EMA(0.667*REF(XA_11,1)+0.333*XA_11,2);
XA_13:=HHV(HIGH,60);
XA_14:=EMA((XA_6-XA_7)/(XA_13-XA_7)*100,5);
XA_15:=EMA(XA_14,5);
XA_16:=IF(XA_14>=XA_15,100,100);
XA_17:=IF(XA_14<XA_15,0,0);
XA_18:=IF(XA_14<XA_15,50,50);
XA_19:=HIGH-REF(HIGH,1);
XA_20:=REF(LOW,1)-LOW;
XA_21:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
XA_22:=XA_21<=3;
精准起爆:=CROSS(XA_21,3);
精准起爆1:=CROSS(XA_21,3) AND 金钻抄底1;
金钻1:=C>MA(C,60) AND 金钻抄底1;
金钻抄底:精准起爆1 OR 金钻1,COLORFF00FF,NODRAW;
STICKLINE(金钻抄底,40,25,1.6,0),COLORDD00DD;
STICKLINE(金钻抄底,40,25,1.2,0),COLORFF00FF;
STICKLINE(金钻抄底,40,25,0.6,0),COLORFF00FF;
STICKLINE(金钻抄底,40,25,0.02,0),COLORFF80FF;
DRAWICON(金钻抄底,41,25);
DRAWTEXT(金钻抄底,33,' ←金钻抄底'),COLORFF00FF;

X_1:=(MA(CLOSE,30)-LOW)/MA(CLOSE,60)*200;
X_2:=REF(CLOSE,1);
X_3:=SMA(MAX(CLOSE-X_2,0),7,1)/SMA(ABS(CLOSE-X_2),7,1)*100;
X_4:=FILTER(REF(X_3,1)<20 AND X_3>REF(X_3,1),5);
X_5:=CLOSE/MA(CLOSE,40)<0.74;
X_6:=5;
X_7:=EMA(CLOSE,X_6);
X_8:=EMA(X_7,X_6);
X_9:=X_7-REF(X_7,1);
X_10:=X_8-REF(X_8,1);
X_11:=ABS(X_7-X_8);
X_12:=(HIGH-LOW)/REF(CLOSE,1)>0.05;
X_13:=(X_9+X_10)/2;
X_14:=POW(X_11,1)*POW(X_13,3);
X_15:=X_14/HHV(ABS(X_14),X_6*3);
X_16:=COUNT(X_12,5)>1;
X_17:=X_5 AND X_12 AND X_16;
X_18:=CROSS(X_15,(-0.9));
X_19:=FILTER(X_4 AND X_1>20 OR CLOSE>REF(CLOSE,1) AND REF(X_17,1),10);
X_20:=FILTER(REF(X_17,1) AND (X_18 OR CLOSE>REF(CLOSE,1)) AND MACD.MACD>(-1.5),10);
精准抄底:COUNT(X_20,13)>=1 AND X_19,COLORFF6600,NODRAW;
STICKLINE(精准抄底,25,35,2.0,0),COLORFF9900;
STICKLINE(精准抄底,25,35,1.8,0),COLORFF6600;
STICKLINE(精准抄底,25,35,1.5,0),COLORFF7700;
STICKLINE(精准抄底,25,35,1.3,0),COLORFF8800;
STICKLINE(精准抄底,25,35,1,0),COLORFF9900;
STICKLINE(精准抄底,25,35,0.6,0),COLORFFAA00;
STICKLINE(精准抄底,25,35,0.2,0),COLORFFCC00;

DRAWICON(精准抄底,37,34);
DRAWTEXT(精准抄底,27,' ←精准抄底'),COLORFF6600 ;


X_1A:=(2*CLOSE+HIGH+LOW)/4;
X_2A:=LLV(LOW,5);
X_3A:=HHV(HIGH,5);
X_4A:=EMA((X_1A-X_2A)/(X_3A-X_2A)*100,5);
X_5A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_6A:=SMA(X_5A,3,1);
X_7A:=SMA(X_6A,3,1);
X_8A:=3*X_6A-2*X_7A;
X_9A:=X_8A<(-10);
X_10A:=REF(X_9A,1)=1 AND X_9A=0;
X_11A:=OPEN=CLOSE AND CLOSE/REF(CLOSE,1)<0.902;
X_12A:=MA(X_4A,2);
X_13A:=REF(CLOSE,1)/REF(CLOSE,2)<0.95;
X_14A:=X_12A<20 AND X_13A AND CLOSE>LOW AND OPEN>LOW;
X_15A:=X_10A AND X_13A AND OPEN>LOW;
X5:=REF(X_14A,1)=1 AND REF(X_15A,1)=0 AND LOW/MA(CLOSE,5)<0.97 AND NOT(COUNT(X_11A,4)>0) AND LOW<REF(LOW,1);
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
X6:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
极品抄底:X5 AND X6,COLORRED,NODRAW;
STICKLINE(极品抄底,25,30,2,0 ),COLOR000055;
STICKLINE(极品抄底,25,30,1.6,0 ),COLOR000077;
STICKLINE(极品抄底,25,30,1.3,0 ),COLOR000099;
STICKLINE(极品抄底,25,30,1,0 ),COLOR0000BB;
STICKLINE(极品抄底,25,30,0.6,0 ),COLOR0000DD;
STICKLINE(极品抄底,25,30,0.1,0 ),COLOR0000FF;
STICKLINE(极品抄底,25,30,0,0),COLORRED;
DRAWICON(极品抄底,32,9);

众在:=精准起爆 AND 极品抄底;
DRAWTEXT(众在,27,' ★极品爆点'),COLOR57F4D9;



联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。