通达信强势牛涨停主图源码分享




所属地区:DRAWTEXT_FIX(1,0,0.05,0,1948),COLORCD7F32;

DRAWTEXT_FIX(1,0.05,0.05,0,DYBLOCK),COLORCYAN;

所属行业:DRAWTEXT_FIX(1,0,0.1,0,1949),COLORCD7F32;

DRAWTEXT_FIX(1,0.05,0.1,0,HYBLOCK),COLORCYAN;

所属概念:DRAWTEXT_FIX(1,0,0.15,0,1950),COLORCYAN;

DRAWTEXT_FIX(1,0.05,0.15,0,GNBLOCK),COLORCYAN;

所属风格:DRAWTEXT_FIX(1,0,0.2,0,1951),COLORCYAN;

DRAWTEXT_FIX(1,0.05,0.2,0,FGBLOCK),COLORCYAN;

牛股1:=CONST(DAYTODATE(DATETODAY(DATE)- (42)))+19000000;

DRAWTEXT_FIX(1,0,0.25,0,1952),COLORCYAN;

DRAWNUMBER_FIX(1,0.05,0.25,0,牛股1),COLORCYAN;

牛股2:=CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE/REF(CLOSE,1)<=1.105 OR (CLOSE/REF(CLOSE,1)>=1.195 AND CLOSE/REF(CLOSE,1)<=1.205) OR (CLOSE/REF(CLOSE,1)>=1.295 AND CLOSE/REF(CLOSE,1)<=1.305) AND CLOSE=HIGH;

STICKLINE(牛股2,OPEN,CLOSE,1,0),COLORMAGENTA;

DRAWTEXT(牛股2,L*0.999,'★涨停'),COLORMAGENTA;

MA5:MA(CLOSE,5)DOTLINE COLORYELLOW;

牛股3:=AMOUNT*(OPEN+CLOSE)/2;

牛股4:=SUM(牛股3,21)/SUM(AMOUNT,21);

牛股5:=SUM(牛股3,55)/SUM(AMOUNT,55);

牛股6:=SUM(牛股3,144)/SUM(AMOUNT,144);

牛股7:=SUM(牛股3,377)/SUM(AMOUNT,377);

牛股8:=SUM(牛股3,34)/SUM(AMOUNT,34);

牛股9:=SUM(牛股3,89)/SUM(AMOUNT,89);

牛股10:=SUM(牛股3,233)/SUM(AMOUNT,233);

牛股11:=(牛股4+牛股5+牛股6+牛股7+牛股8+牛股9+牛股10)/7;

强势线:1.06*牛股11,COLORRED;

多空线:牛股11*0.8,COLORLIGREEN;

N1:=3;

N2:=5;

N3:=9;

N4:=13;

N5:=21;

N6:=34;

DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);

DEA:=EMA(DIFF,N2);

AAC1:=DIFF>DEA;

RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;

K:=SMA(RSV1,N1,1);

D:=SMA(K,N1,1);

AAC2:=K>D;

LC:=REF(CLOSE,1);

rsi1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(Abs(CLOSE-LC),N2,1))*100;

RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;

AAC3:=RSI1>RSI2;

RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;

Lwr1:=SMA(RSV,N1,1);

LWR2:=SMA(LWR1,N1,1);

AAC4:=LWR1>LWR2;

bbi:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;

AAC5:=CLOSE>BBI;

mtm:=CLOSE-REF(CLOSE,1);

mms:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);

MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);

AAC6:=MMS>MMM;

bias:=(C-MA(C,N2))/MA(C,N2);

DIF:=(BIAS-REF(BIAS,16));

DBCD:=SMA(DIF,76,1);

MM:=MA(DBCD,5);

AAC7:=DBCD>MM;

持股:=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),LINETHICK0,COLORRED;

下跌:=MA(持股,12),COLOR6B8E23,LINETHICK0;

AAC8:=持股>下跌;

MT:=C-REF(C,1);

ZLGJ:=100*EMA(EMA(MT,N3),N3)/EMA(EMA(ABS(MT),N3),N3);

MAZL:=MA(ZLGJ,5);

AAC9:=ZLGJ>MAZL;

PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);

JJ:=REF(EMA(PJJ,3),1);

QJJ:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE< OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-QJJ*(HIGH-LOW),0-VOL/2));

HSL:=(XVL/20)/1.15;

GJLL:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));

GJJ:=EMA(GJLL,8);

LLJX:=EMA(GJLL,3);

ZJL:=LLJX,LINETHICK0,COLOR0000FF;

AAC10:=ZJL>0;

JCS:=(AAC1+AAC2+AAC3+AAC4+AAC5+AAC6+AAC7+AAC8+AAC9);

PP:=IF(JCS>5,1,0);

起爆1:=(CLOSE*2+HIGH+LOW)/4;

起爆2:=EMA(起爆1,13)-EMA(起爆1,21);

起爆3:=EMA(起爆2,2);

多头:=2*(起爆2-起爆3)*3.8;

DIF1:=EMA(CLOSE,9)-EMA(CLOSE,23);

DEAAC1:=EMA(DIF1,6);

macd:=(DIF1-DEAAC1)*2;

XG:=MACD>0;

金牛:=IF((crOSS(PP,0.99)),13,0);

强势:=IF(金牛,1,0) AND 多头>0 AND XG;

DRAWICON(强势,L,9);

STICKLINE(强势,OPEN,CLOSE,1,0),COLORYELLOW;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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