通达信指标公式源码 涨停后缩量板副图主图选股指标
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=9.90,1,0);
缩量涨停:=EVERY(涨停,2);
DRAWTEXT(缩量涨停,H*1.03,'缩量涨停'),COLORGREEN;
UU:=3;
A88:=SUM(C*V,UU);
B88:=SUM(V,UU);
市场价值线:MA(A88/B88,7)COLORYELLOW,LINETHICK3;
VAR41:=REF(CLOSE,1);
VAR42:=((SMA(MAX((CLOSE - VAR41),0),7,1) / SMA(ABS((CLOSE -
VAR41)),7,1)) * 100);
VAR43:=((SMA(MAX((CLOSE - VAR41),0),13,1) / SMA(ABS((CLOSE -
VAR41)),13,1)) * 100);
VAR44:=((BARSLAST((VAR43 < 23)) <= 3) AND CROSS(VAR42,VAR43)); VAR45:=((((CLOSE - MA(CLOSE,23)) / MA(CLOSE,20)) * 100) < -12.5);
VAR46:=LLV(LOW,5);
VAR47:=HHV(HIGH,10);
VAR48:=EMA((((CLOSE - VAR46) / (VAR47 - VAR46)) * 100),4);
VAR49:=EMA(((0.667 * REF(VAR48,1)) + (0.333 * VAR48)),2);
{VAR50:=1011131;
VAR51:=(IF((DATE <= VAR50),VAR45,0) OR IF((DATE <= VAR50),VAR1,0));} DRAWTEXT((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),LOW*1.008,'急跌后超级大黑马'),COLORMAGENTA;
DRAWICON((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),L-0.10,26);
DRAWICON((((0 - (-1 * VAR44)) AND VAR45) AND CROSS(VAR48,VAR49)) AND (VAR48 <=25),L-0.38,26);
持股线1:MA(CLOSE,15),COLORMAGENTA,LINETHICK5;
MA10:MA(CLOSE,50),COLORBB0000;
DRAWKLINE(H,O,L,C);
{筹码峰}
时长:=120;
换手次数:=2;
选择方式:=1;
统计时长:IF(选择方式=1,CONST(SUMBARS(V/FINANCE(7)*100,换手次数)),时长),NODRAW;
KK:=统计时长;
高:=CONST(HHV(H,KK));
低:=CONST(LLV(L,KK));
XX:=(高-低);
均价:=AMOUNT/V/100,NODRAW;
L0:=低+XX*0/9;
L1:=低+XX*1/9;
L2:=低+XX*2/9;
L3:=低+XX*3/9;
L4:=低+XX*4/9;
L5:=低+XX*5/9;
L6:=低+XX*6/9;
L7:=低+XX*7/9;
L8:=低+XX*8/9;
L9:=低+XX*9/9;
MLZ:=SUM((CURRBARSCOUNT ML1:=SUM((CURRBARSCOUNT 价,L0-0.001,L1+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT ML2:=SUM((CURRBARSCOUNT 价,L1,L2+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT ML3:=SUM((CURRBARSCOUNT 价,L2,L3+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT ML4:=SUM((CURRBARSCOUNT 价,L3,L4+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT 4999,(L3+L4*0.99)*0.5,18,0),COLOR5FFF00; ML5:=SUM((CURRBARSCOUNT 价,L4,L5+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT ML6:=SUM((CURRBARSCOUNT 价,L5,L6+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT ML7:=SUM((CURRBARSCOUNT 价,L6,L7+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT ML8:=SUM((CURRBARSCOUNT 价,L7,L8+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT ML9:=SUM((CURRBARSCOUNT 价,L8,L9+0.001))*V,KK)/MLZ; STICKLINE(CURRBARSCOUNT STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLORYELLOW; HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5; HJ_9:=FILTER(HJ_8,10); HJ_10:=BARSLAST(HJ_9); HJ_11:=REF(HIGH,HJ_10+2); HJ_12:=REF(HIGH,HJ_10+1); HJ_13:=REF(HIGH,HJ_10); HJ_14:=MAX(HJ_11,HJ_12); HJ_15:=MAX(HJ_14,HJ_13); HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5; HJ_17:=HJ_10<150; HJ_18:=(OPEN-HJ_15)/HJ_15*100<30; HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50; HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30; HJ_21:=VOL/MA(VOL,5)<3.5; HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80; HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22; 暴利:=FILTER(HJ_25,15); MA54:=MA(CLOSE,54)NODRAW; PL1:=(((CLOSE-MA54)/MA54)<0.1); PL2:=(((CLOSE-MA10)/MA10)<0.3); 偏离率:=(((PL1=1) AND (PL2=1))*0.2);