当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:DK主力,资金仓位和逃顶抄底(同花顺公式 副图 源码 测试图)
软件名称:[B]DK主力,资金仓位和逃顶抄底(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2022-06-29 00:12:48
软件简介:
DK主力
主力资金仓位和逃顶抄底监测指标
M:=13;N:=30;
A01:=(C+O+L+H)/4;
A02:=(WINNER((A01*1.05))*100.00);
A03:=(WINNER((A01*0.95))*100.00);
主力:A03,colorgray;
游资:=(A02-A03),NODRAW;
散户:=(100.00-A02),NODRAW;
STICKLINE( 1.00,0,主力,1,0),colorgray;
A0A:=(((((HHV(主力,15.00)-A03)/A03)*100.00) > N) AND (HHV(主力,15.00)>50.00));
STICKLINE(A0A,(0-2.00), 2.00,1,0),coloryellow;
STICKLINE(NOT(A0A),(0-2.00), 2.00,1,0),colormagenta;
主力盈利比例:EMA(A03,M),colorred;
界线:50,coloryellow,DOTLINETHICK1;
VAR1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);
0,coloryellow;
90,colorgreen;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
STICKLINE(FILTER(VAR6,10)=1,0,60,5,0),colorred;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
STICKLINE(FILTER(VAR7,5)=1,0,60,8,0),colorgreen;
BAR1:=REF(LOW,1);
BAR2:=SMA(ABS(LOW-BAR1),13,1)/SMA(MAX(LOW-BAR1,0),13,1)*4;
BAR3:=EMA(BAR2,13);BAR4:=LLV(LOW,34);
BAR5:=EMA(IF(LOW<=BAR4,BAR3,0),3);
BAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
BAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
BAR8:=BAR6<REF(BAR7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(BAR8 AND COUNT(BAR8,30)=1,0,95,8,0),colormagenta;
VAR11:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR12:=EMA(VAR1,8);
VAR13:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA
(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势:EMA(VAR3,3)-10,LINETHICK1,colorblue;
A1:IF(趋势>75,趋势,80),LINETHICK1,colorgreen;
DRAWICON(CROSS(趋势,0),-10,1);
建仓:=0,coloryellow;
VAR14:=(趋势-REF(趋势,1))/REF(趋势,1)*100;
STICKLINE(趋势<=4,0,20,5,0),coloryellow;
DRAWTEXT(FILTER(趋势<=4,10),20,''),coloryellow;
STICKLINE(趋势>=90 AND VAR4,0,95,5,0),colorcyan;
VAR5:=EMA(趋势,8);
A2:=IF(CROSS(VAR2,VAR5) AND VAR2<15,10,0),colorred;
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2+40)*1.1;
D:=SMA(CCC,3,1);
STICKLINE(CROSS(D,RSI5) AND CROSS(80,RSI5),0,95,8,0),colorcyan;
//L2资金抄底
MD :=EMA( CLOSE,9)-EMA( CLOSE,18), colorwhite, LINETHICK3;
MM := EMA( MD,3);
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
LC := REF(CLOSE,1);
RSI$1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI$2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI$3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
相对强弱:=0.5*RSI$1+0.31*RSI$2+0.19*RSI$3;
wave$1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);
wave$2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);
wave$3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);
短线波段:=0.5*wave$1+0.31*wave$2+0.19*wave$3,colorblue;
Risk:0.5*相对强弱+0.5*短线波段,coloryellow;
CD1:=IF(Risk<20 AND CLOSE>OPEN AND r>0,1,0);
CD2:=IF(Risk<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND r>0,1,0);
CD3:=IF(REF(Risk,1)<20 AND Risk>REF(Risk,1),1,0);
SIGNALBUY=(CD1=1 OR CD2=1 OR CD3=1);
X=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1);
DRAWICON(X,20,"Buy");
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR21:=SMA(ABS(HIGH-VAR1),360,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,89);
VAR51:=-EMA(IF(HIGH>=VAR41,VAR31,0),3);
主力拉升:IF(VAR51>REF(VAR51,1),VAR51,0),colormagenta;
//生命线;
//N:=10;
//VA6:=(2*CLOSE+HIGH+LOW)/4;
//VA8:=LLV(LOW,34);
//VARB:=HHV(HIGH,34);
//VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
//VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
//生命线:EMA(VARD,N), COLORFF00FF,LINETHICK2;
[url=http://www.70822.com/soft/sort013/sort036/down-163048.html]DK主力,资金仓位和逃顶抄底(同花顺公式 副图 源码 测试图)[/url]