分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]龙抬头组合公式(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2021-12-21 00:12:15
软件简介:

KDJ指标
指标说明
KDJ,其综合动量观念、强弱指标及移动平均线的优点,
早年应用在期货投资方面,功能颇为显著,目前为股市中最常
被使用的指标之一。
买卖原则
1 K线由右边向下交叉D值做卖,K线由右边向上交叉D值做买。
2 高档连续二次向下交叉确认跌势,低挡连续二次向上交叉
  确认涨势。
3 D值<20%超卖,D值>80%超买,J>99.99%超买,J<10%超卖。
4 KD值于50%左右徘徊或交叉时,无意义。
5 投机性太强的个股不适用。
6 可观察KD值同股价的背离,以确认高低点。

 
PARTLINE(100,100,RGB(50,168,50));
PARTLINE(50,50,RGB(58,58,58));
PARTLINE(-50,-50,RGB(58,58,58));
PARTLINE(-100,-100,RGB(199,21,133));
STICKLINE(C,0,0,5,0),colorwhite;
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI1:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorliblue;
CCI2:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),colorred;
/*主力持仓*/
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
t:=BARSCOUNT(SHGZG);
bb:=SUM(r,t);
ZLC:100+bb,NODRAW;
/*散户数量*/
shsl:=1000000*(ZDMCCS[-1]+BDMCCS[-1]-(ZDMRCS[-1]+BDMRCS[-1]))/(SHGZG/(VOL/VOLAMOUNT));
SHS:shsl,NODRAW;
/*主力吸筹洗盘拉升出货
STICKLINE(CROSS(ZIG(3,10) ,REF(ZIG(3,10),1)) ,(LOW*-1),0,2,0),colorred;
STICKLINE(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,(HIGH),0,2,0),colorblue;*/
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
XC:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,NODRAW;
XP:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),colorgreen;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
LS:IF(VAR51<REF(VAR51,1),VAR51,0),coloryellow,NODRAW;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),coloryellow;
CH:IF(VAR51>REF(VAR51,1),VAR51,0),colorcyan,NODRAW;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),colorcyan;
// MACD RSI JDK
DIFF: EMA(CLOSE,12) - EMA(CLOSE,26),nodraw;
DEA: EMA(DIFF,9),nodraw;
MACD: 2*(DIFF-DEA),colorwhite,nodraw;
// DKJ
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KDJ_a=SMA(RSV,3,1);
KDJ_b=SMA(KDJ_a,3,1);
KDJ_e=3*KDJ_a-2*KDJ_b;
//K: KDJ_a, NODRAW;
//D: KDJ_b, NODRAW;
J: KDJ_e, NODRAW;
// rsi
LC := REF(CLOSE,1);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,nodraw;
//RSI12:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,nodraw;
RSI24:SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100,nodraw;
// price
// ZCW:IF((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100>=0,REF(EMA(CLOSE,15),BARSLAST(CROSS((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100,0))+1),DRAWNULL),NODRAW;
// YLW:IF((EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100<0,REF(EMA(CLOSE,15),BARSLAST(CROSS(0,(EMA(CLOSE,15)-REF(EMA(CLOSE,15),1))/REF(EMA(CLOSE,15),1)*100))+1),DRAWNULL),NODRAW;
// zz:0,nodraw;
varp1:=COST(10)*0;
varp2:=99990905;
varp3:=IF(DATE<=varp2,1,0);
varp4:=(LOW+HIGH+CLOSE)/3*varp3;
varcz:=MA(varp4,5);
//拉升: HHV(varcz,13);
YLW: HHV(varcz,60)*varp3,NODRAW;
JRW: LLV(varcz,13),NODRAW;
ZCW: LLV(LOW,60)*1.02*varp3,colorwhite,NODRAW;
//顶部: HHV(HIGH,60)*0.98*varp3;
// 龙抬头
X_1:=IF(CLOSE>REF(CLOSE,1),88,0);
X_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND X_1>0,91,0);
龙头:DATE<1971230 AND FILTER(X_2>90,45)=1,colorred;
STICKLINE(龙头,LOW*10.93,0,3,0),colorred;
X_3:=CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60);
X_4:=MA(CLOSE,20);
X_5:=CLOSE>X_4;
X_6:=SMA(HIGH,21,2)*1.05;
X_7:=SMA(LOW,21,2)*0.95;
X_8:=SMA(LOW,5,1);
X_9:=(HIGH-CLOSE)/CLOSE*100<1;
X_10:=CLOSE/REF(CLOSE,1)>1.03;
X_11:=SMA(CLOSE,2,1);
X_12:=IF(CROSS(X_11,X_8),X_6*1.05,X_8);
X_13:=IF(CROSS(X_11,X_6),X_6*1.1,X_7);
龙抬头:X_13>X_7 OR X_12>X_8 AND X_9 AND X_10 AND X_3 AND X_5;
STICKLINE(龙抬头,0,100,1,0),colormagenta;
DRAWTEXT(龙抬头,95,304),colormagenta;
// 换手率 量比
HS:VOL/SHGZG*100,NODRAW;
LB:(VOL*(TRADETIME+1))/(FIVEDAYVOL/5*(FROMOPEN+1)),nodraw;
 

[url=http://www.70822.com/soft/sort013/sort036/down-159804.html]龙抬头组合公式(同花顺公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒