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

软件名称:[B]DK飘带,多空飘带波段指标(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2023-02-11 00:08:48
软件简介:

DK飘带
多空飘带波段指标, 飘带为红色持股and 绿色持币.
红绿转折便是买卖点, 能确保吃到鱼身, 不必贪求头尾通吃。
 
BS:=ZIG(3,10);
SL:=EMA(BS,3);
B:=CROSS(BS,SL);
S:=CROSS(SL,BS);
STICKLINE(BS>=SL,LOW,HIGH,1,0),colorred;
STICKLINE(BS>=SL,CLOSE,OPEN,8,0),colorred;
STICKLINE(BS<SL,CLOSE,OPEN,8,1),colorgreen;
STICKLINE(BS<SL,LOW,HIGH,1,0),colorgreen;
STICKLINE(CROSS(BS,SL),OPEN,CLOSE,10,0),colormagenta;
STICKLINE(CROSS(SL,BS),OPEN,CLOSE,10,0),colorcyan;
Now:EMA(CLOSE,1),coloryellow;
Mean:EMA(CLOSE,26),coloryellow,NODRAW;
H2:=Mean+2*STD(CLOSE,26),colorgreen,DOTLINETHICK1;
L2:=Mean-2*STD(CLOSE,26),colorred,DOTLINETHICK1;
H3:=Mean+3*STD(CLOSE,26),colorcyan,LINETHICK1;
L3:=Mean-3*STD(CLOSE,26),colormagenta,LINETHICK1;
S2赔率:(H2-Now)/(Now-L2),colorred,NODRAW;
S3赔率:(H3-Now)/(Now-L3),colormagenta,NODRAW;
D:EMA((CLOSE+LOW)/2,8),colorred,LINETHICK2;
K:EMA(EMA((CLOSE+LOW)/2,20),8),colorgreen,LINETHICK1;
//X_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
//D:(20*X_1+19*REF(X_1,1)+18*REF(X_1,2)+17*REF(X_1,3)+16*REF(X_1,4)+15*REF(X_1,5)+14*REF(X_1,6)+13*REF(X_1,7)+12*REF(X_1,8)+11*REF(X_1,9)+10*REF(X_1,10)+9*REF(X_1,11)+8*REF(X_1,12)+7*REF(X_1,13)+6*REF(X_1,14)+5*REF(X_1,15)+4*REF(X_1,16)+3*REF(X_1,17)+2*REF(X_1,18)+REF(X_1,20))/210,colorred;
//K:MA(D,6),colorgreen;
DRAWICON(CROSS(D,K),D*0.98,1);
DRAWICON(CROSS(K,D),HIGH*1.02,2);
STICKLINE(D> K,K,D,3,0),colormagenta;
STICKLINE(K>D,D,K,1,0),colorgreen;
PARTLINE(D, CLOSE >D,RGB(255,0,0),CLOSE < D,RGB(0,255,0));
PARTLINE(K,CLOSE >K,RGB(255,0,0),CLOSE < K,RGB(0,255,0));
//DRAWBAND(D,RGB(100,0,100),K,RGB(0,100,0));
生命线:EMA(EMA((LOW+CLOSE+HIGH)/3,26),26);
PARTLINE(生命线,Now<生命线,colorcyan,Now>=生命线,colormagenta),LINETHICK2;
IF(ISNULL(LV_D_SUPER_HLD_RATIO[-1])!=0)
{
b1=IF(ISNULL(BIGBUYCOUNT1[-1]),0,BIGBUYCOUNT1[-1])+IF(ISNULL(WAITBUYCOUNT1[-1]),0,WAITBUYCOUNT1[-1]);
s1=IF(ISNULL(BIGSELLCOUNT1[-1]),0,BIGSELLCOUNT1[-1])+IF(ISNULL(WAITSELLCOUNT1[-1]),0,WAITSELLCOUNT1[-1]);
b2=IF(ISNULL(BIGBUYCOUNT2[-1]),0,BIGBUYCOUNT2[-1])+IF(ISNULL(WAITBUYCOUNT2[-1]),0,WAITBUYCOUNT2[-1]);
s2=IF(ISNULL(BIGSELLCOUNT2[-1]),0,BIGSELLCOUNT2[-1])+IF(ISNULL(WAITSELLCOUNT2[-1]),0,WAITSELLCOUNT2[-1]);
DDX:=((b1-s1)+(b2-s2)*0.7)/TV_D_PUBLIC_SHARES *100;
IF(ISNULL(LV_D_SUPER_HLD_RATIO))
{
RET=(B1+b2)/TV_D_PUBLIC_SHARES *100;
}
ELSE
{
X1=LV_D_SUPER_HLD_RATIO*100;
ret:=X1+DDX;
IF(DDX > 0)
{
IF(x1>95)
ret := x1+DDX*0.1;
ELSE IF(x1>90)
ret := x1+DDX*0.5;
ELSE IF(x1>85)
ret := x1+DDX*0.8;
}
IF(DDX < 0)
{
IF(x1<5)
ret := x1+DDX*0.1;
ELSE IF(x1<10)
ret := x1+DDX*0.5;
ELSE IF(x1<15)
ret := x1+DDX*0.8;
}
}
IF(ISNULL(ret))
ret := LV_D_SUPER_HLD_RATIO*100;
IF(ret > 97.18)
ret := 97.18;
IF(ret < 2.08)
ret := 2.08;
}
ELSE
{
ret=LV_D_SUPER_HLD_RATIO*100;
}
x:=ret;
DRAWICON((TV_D_PUBLIC_SHARES>1.05*TV_D_PUBLIC_SHARES[1] OR TV_D_PUBLIC_SHARES<0.95*TV_D_PUBLIC_SHARES[1]),Now,5);
主力持仓:(ret),colormagenta,NODRAW;
VAR1:=SAR_S(4,3,25);
DOWN:IF(VAR1>C,VAR1,DRAWNULL),colorwhite,CIRCLEDOT;
UP:IF(VAR1<C,VAR1,DRAWNULL),colorred,DOTPOINT;
 

[url=http://www.70822.com/soft/sort013/sort036/down-166237.html]DK飘带,多空飘带波段指标(同花顺指标 副图 源码 测试图)[/url]

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