通达信【新版龙头博弈】主图指标 源码

涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.80,1,0);
涨停龙:=EVERY(涨停,2);
DRAWTEXT(涨停龙,L*1.02,'↙龙'),COLORYELLOW;
STICKLINE(涨停龙,OPEN,CLOSE,1,0),COLORYELLOW;
UU:=3;
A88:=SUM(C*V,UU);
B88:=SUM(V,UU);
价值线:MA(A88/B88,7)COLORYELLOW,LINETHICK2;
ABC41:=REF(CLOSE,1);
ABC42:=((SMA(MAX((CLOSE - ABC41),0),7,1) / SMA(ABS((CLOSE - ABC41)),7,1)) * 100);
ABC43:=((SMA(MAX((CLOSE - ABC41),0),13,1) / SMA(ABS((CLOSE - ABC41)),13,1)) * 100);
ABC44:=((BARSLAST((ABC43 < 23)) <= 3) AND CROSS(ABC42,ABC43));
ABC45:=((((CLOSE - MA(CLOSE,23)) / MA(CLOSE,20)) * 100) < -12.5);
ABC46:=LLV(LOW,5);
ABC47:=HHV(HIGH,10);
ABC48:=EMA((((CLOSE - ABC46) / (ABC47 - ABC46)) * 100),4);
ABC49:=EMA(((0.667 * REF(ABC48,1)) + (0.333 * ABC48)),2);
DRAWTEXT((((0 - (-1 * ABC44)) AND ABC45) AND CROSS(ABC48,ABC49)) AND (ABC48 <=25),LOW*1.008,'急跌后超级大黑马'),COLORMAGENTA;
DRAWICON((((0 - (-1 * ABC44)) AND ABC45) AND CROSS(ABC48,ABC49)) AND (ABC48 <=25),L-0.10,26);
DRAWICON((((0 - (-1 * ABC44)) AND ABC45) AND CROSS(ABC48,ABC49)) AND (ABC48 <=25),L-0.38,26);
持股线1:MA(CLOSE,15),COLORMAGENTA,LINETHICK2;
好股网:MA(CLOSE,60),COLORBB0000;
DRAWKLINE(H,O,L,C);
时长:=120;
换手次数:=2;
选择方式:=1;
GOODGUPIAO:IF(选择方式=1,CONST(SUMBARS(V/ (7)*100,换手次数)),时长),NODRAW;
KK:=GOODGUPIAO;
高:=CONST(HHV(H,KK));
低:=CONST(LLV(L,KK));
公式平台:=(高-低);
均价:=AMOUNT/V/100,NODRAW;
L0:=低+公式平台*0/9;
L1:=低+公式平台*1/9;
L2:=低+公式平台*2/9;
L3:=低+公式平台*3/9;
L4:=低+公式平台*4/9;
L5:=低+公式平台*5/9;
L6:=低+公式平台*6/9;
L7:=低+公式平台*7/9;
L8:=低+公式平台*8/9;
L9:=低+公式平台*9/9;
ABC_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
ABC_9:=FILTER(ABC_8,10);
ABC_10:=BARSLAST(ABC_9);
ABC_11:=REF(HIGH,ABC_10+2);
ABC_12:=REF(HIGH,ABC_10+1);
ABC_13:=REF(HIGH,ABC_10);
ABC_14:=MAX(ABC_11,ABC_12);
ABC_15:=MAX(ABC_14,ABC_13);
ABC_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
ABC_17:=ABC_10< 150;
ABC_18:=(OPEN-ABC_15)/ABC_15*100< 30;
ABC_19:=(CLOSE-LLV(LOW,ABC_10))/LLV(LOW,ABC_10)*100< 50;
ABC_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
ABC_21:=VOL/MA(VOL,5)< 3.5;
ABC_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
ABC_25:=ABC_16 AND ABC_17 AND ABC_18 AND ABC_19 AND ABC_20 AND ABC_21 AND ABC_22;
暴利:=FILTER(ABC_25,15);
MA54:=MA(CLOSE,54)NODRAW;
PL1:=(((CLOSE-MA54)/MA54)< 0.1);
PL2:=(((CLOSE-好股网)/好股网)< 0.3);
偏离率:=(((PL1=1) AND (PL2=1))*0.2);
平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=(暴利 OR 妖股突破);
ABCA:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
ABCAA:= (7)/(REF(CLOSE,1))>1.05 AND ( (7)/O>1.05);
FLIGA:=(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);
妖股:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND ABCAA;
DRAWICON(妖股,L*1.0,25);
LC11:=REF(CLOSE,1),NODRAW;
RSI11:=((SMA(MAX((CLOSE - LC11),0),3,1) / SMA(ABS((CLOSE - LC11)),3,1)) * 100);
FF:=EMA(CLOSE,3);
日:=150;
昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
收盘破红必跑:MA(CLOSE,7)COLORRED ,LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
MTM1:=C-REF(C,1);
DX:=100*EMA(EMA(MTM1,6),6)/EMA(EMA(ABS(MTM1),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX< 0,2) AND CROSS(DX,MA(DX,2)),1,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
送礼:=O/REF(C,1)< 0.96 AND C/REF(C,1)>1.03 AND C/O>1.05 AND REF(C,1)/REF(C,2)>0.911;
DRAWICON(送礼,L*1.0,5);
DRAWTEXT(送礼,L*1.02,'↙老鼠仓'),COLORMAGENTA;
XG1:=MACD>0;
DRAWICON(买 AND XG1,L*1.0,9);
A63:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A64:=SMA(A63,3,1);
A5:=SMA(A64,3,1);
A6:=3*A64-2*A5;
A76:=C-REF(C,1);
A68:=100*EMA(EMA(A76,6),6)/EMA(EMA(ABS(A76),6),6);
买88:=LLV(A68,2)=LLV(A68,7) AND COUNT(A68< 0,2) AND CROSS(A68,MA(A68,2));
STICKLINE(买88,OPEN,CLOSE,2.5,0)COLORMAGENTA;
STICKLINE(买88,OPEN,CLOSE,1,0),COLORWHITE;



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

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

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