龙头战法爱好者 发表于 2023-4-27 13:19:22

通达信阻击龙头副图指标公式

指标源码正文


压力:MA(REF(HHV(C,30),1),2),COLORGREEN;
支撑:MA(REF(LLV(C,30),1),2),COLORGREEN;
卖线:EMA(((SLOPE(CLOSE,34) *20) + CLOSE),75),COLORMAGENTA,LINETHICK2;
买线:EMA(CLOSE,15),COLORYELLOW,LINETHICK1;
VAR1:=(买线 - 卖线);
STICKLINE((VAR1 >= 0),买线,卖线,5,0),COLORYELLOW;
STICKLINE((VAR1 < 0),买线,卖线,5,0),COLORBLUE;
买买:=EMA(((100 * (CLOSE - LLV(LOW,34))) / (HHV(HIGH,34) - LLV(LOW,34))),3);
卖卖:=SMA((((HHV(HIGH,34) - CLOSE) / (HHV(HIGH,34) - LLV(LOW,34))) * 100),2,1);
大盘:=EMA(((100 * (INDEXC - LLV(INDEXL,34))) / (HHV(INDEXH,34) - LLV(INDEXL,34))),3);
换手:=(((VOL /MA(V,5))) >= 2);
涨:=(((CLOSE / REF(CLOSE,1)) - 1) * 100);
A:=(CROSS(买买,卖卖) AND (买买 >= 45));
B:=(CROSS(买买,大盘) AND (买买 >= 45));
D:=(CROSS(买买,75) AND (涨>= 2));
DD:=(CROSS(买买,20) AND (涨>= 2));
DRAWTEXT((A > 0),(LOW * 0.99),'←阻击龙头'),LINETHICK0,COLORFFFF00;
DRAWTEXT((B > 0),(LOW * 1.02),'←决战龙头'),LINETHICK0,COLOR0055FF; DRAWTEXT((D > 0),(LOW * 1.05),'←绝对龙头'),LINETHICK0,COLORRED;
DRAWTEXT((DD > 0),(LOW ),'←短线金股'),LINETHICK0,COLORRED; TJ:=((CLOSE > OPEN) OR ((CLOSE = OPEN) AND (CLOSE > REF(CLOSE,1))));
STICKLINE(TJ,LOW,HIGH,0.8,0),COLORRED;
STICKLINE(TJ,OPEN,CLOSE,8,0),COLORRED;
STICKLINE(TJ,OPEN,CLOSE,6,0),COLOR8B6AFD;
STICKLINE(TJ,OPEN,CLOSE,2,0),COLORC6B6FE;
STICKLINE(TJ,OPEN,CLOSE,1,0),COLORF9F7FF;
STICKLINE(NOT(TJ),LOW,HIGH,0.1,0),COLORFF0000;
STICKLINE(NOT(TJ),OPEN,CLOSE,8,0),COLORFF0000;
STICKLINE(NOT(TJ),OPEN,CLOSE,6,0),COLORFF7578;
STICKLINE(NOT(TJ),OPEN,CLOSE,2,0),COLORFFBFC1;
STICKLINE(NOT(TJ),OPEN,CLOSE,0.5,0),COLORFFFFF7;
STICKLINE(CLOSE>REF(CLOSE,1)*1.095,OPEN,CLOSE,6,0),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.095,OPEN,CLOSE,4,0),COLORWHITE;


指标作为辅助,不作投资依据


木偶爱玩火 发表于 2023-5-13 09:21:54

学习了,谢谢分享、、、

123460186 发表于 2023-7-14 20:44:42

无量天尊!

123456865 发表于 2023-7-22 01:38:11

我是个凑数的。。。

姆班他姑店 发表于 2023-7-27 16:08:48

小手一抖,花花到手!

xwuw13 发表于 2023-8-8 00:35:37

好东西,收了

我好人十六恿 发表于 2023-8-25 13:36:07

小手一抖,花花到手!

Le174 发表于 2023-8-25 17:07:41

帮顶!

恋上维维安谴 发表于 2023-8-31 13:58:00

好人还是很多的!

郭贤良 发表于 2023-8-31 16:51:01

谢谢楼主,共同发展
页: [1] 2
查看完整版本: 通达信阻击龙头副图指标公式