DK资金博弈 多空资金博弈, 黄色柱代表游资,红色是主力庄家,绿色代表散户。 M:=13;N:=30;
A01:=(C+O+L+H)/4;
A02:=(WINNER((A01 * 1.04)) * 100.000);
A03:=(WINNER((A01 * 0.96)) * 100.000);
主力:A03,NODRAW;
游资:=A02-A03;
散户:=( 100.000 - A02);
STICKLINE( 1.000,0,主力, 1,0),colorred;
STICKLINE( 1.000, 100.000,A02, 3,0),colorgreen;
STICKLINE( 1.000,主力,(100-散户), 1,0),coloryellow;
A0A:=(((((HHV(主力, 15.000) - A03) / A03) * 100.000) > N) AND (HHV(主力, 15.000) > 50.000));
STICKLINE(A0A,(0 - 2.000), 2.000, 3,0),colorgreen;
STICKLINE(NOT(A0A),(0 - 2.000), 2.000, 3,0),colorred;
获利:MA(A03,M),colormagenta,LINETHICK1;
浮动: (MA(A02,M) - MA(A03,M)),colorblue,LINETHICK1;
套牢: (100.000 - MA(A02,M)),colorgreen,DOTLINETHICK1;
//盈利比:EMA(A03,M),colormagenta,NODRAW;
Mean:=EMA(CLOSE,26),coloryellow;
Now:=EMA(CLOSE,1);
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;
吸筹:=25,coloryellow,POINTDOT;
加仓:=50,coloryellow,POINTDOT;
拉升:=75,coloryellow,POINTDOT;
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,colorwhite,POINTDOT;
顶部:=90,colorcyan,POINTDOT;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
STICKLINE(FILTER(VAR6,10)=1,0,60,8,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,10,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,colorred;
A1:=IF(趋势>75,趋势,80),LINETHICK1,colorcyan;
DRAWICON(CROSS(趋势,0),-10,1);
//建仓:=0,coloryellow;
VAR14:=(趋势-REF(趋势,1))/REF(趋势,1)*100;
STICKLINE(趋势<=4,0,4,8,0),coloryellow;
//DRAWTEXT(FILTER(趋势<=4,10),4,'建仓'),coloryellow;
STICKLINE(趋势>=90 AND VAR4,0,95,8,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;
风险二八:0.5*相对强弱+0.5*短线波段,coloryellow;
CD1:=IF(风险二八<20 AND CLOSE>OPEN AND r>0,1,0);
CD2:=IF(风险二八<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND r>0,1,0);
CD3:=IF(REF(风险二八,1)<20 AND 风险二八>REF(风险二八,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;
NN:=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,NN), colorblue,LINETHICK1;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
B2:=EMA(B1,5),colorred;
//STICKLINE(B1>B2,B1,B2,8,0),colorred;
//STICKLINE(B1<B2,B1,B2,8,1),colorgreen;
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:=EMA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=EMA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=EMA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3<FF1,FF1,FF3);
MA13:=EMA(C,13);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
大黑马:=IF(ZDHM OR ZHM,50,0),colorred,POINTDOT;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
小黑马:=IF(CROSS(D1,K1),50,0),COLORFFCC66,POINTDOT;
//STICKLINE(大黑马>0,0,大黑马*0.5,5,0),colormagenta;
//STICKLINE(小黑马>0,0,小黑马*0.3,5,0),colorred;
//江恩买卖
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
DRAWTEXT(CROSS(趋势线,0) AND 黑马线<40,20,'★黑马'),coloryellow;
VVar1:=EMA(CLOSE,5);
VVar2:=EMA(CLOSE,10);
VVar3:=EMA(CLOSE,20);
VVar4:=EMA(CLOSE,30);
VVar5:=(VVar1+VVar2+VVar3+VVar4)/4;
VVar6:=(VVar5-REF(VVar5,5))/REF(VVar5,5)*1500;
VVar7:=(VVar5-REF(VVar5,5))/REF(VVar5,5)*1500;
VVar8:=EMA(VVar6,8);
VVAR9:=TROUGHBARS(3,15,1)<10;
VVAR10:=PEAKBARS(3,15,1)<10;
VVAR11:=IF(VVAR9=1,50,0);
VVAR12:=IF(VVAR10=1,50,0);
底部:= IF(VVAR11=50,50,0);
头部:= IF(VVAR12=50,100,0);
买:=IF( 底部>REF(底部,1),70,0),colorred;
卖:=IF(头部>REF(头部,1),70,0),colorgreen;
DRAWTEXT(买=70,0,'江恩买' ),colormagenta;
DRAWTEXT(卖=70,0,'江恩卖'),colorcyan;
|
- 软件大小:14.0 KB
- 推荐星级:
- 更新时间:2022-11-07 00:06:12
- 软件类别: 国产软件 / 同花顺公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!