设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

大智慧资金动能风头很劲公式源码是什么?

2016-6-2 11:01:11 股票入门 http://rumen.southmoney.com

大智慧资金动能风头很劲公式源码是什么?附:大智慧定海神针专家指标公式源码  南方财富网小编为您提供


【大智慧资金动能风头很劲公式源码】

WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">A:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;

STICKLINE(A>0,A,0,8,0),color070084;
STICKLINE(A>0,A,0,7,0),color0000A3;
STICKLINE(A>0,A,0,6,0),color0000B7;
STICKLINE(A>0,A,0,5,0),color0000CD;
STICKLINE(A>0,A,0,4,0),color0000E9;
STICKLINE(A>0,A,0,2,0),color0754E9;
STICKLINE(A>0,A,0,0.5,0),Color68B8FF;

STICKLINE(A<0,A,0,8,0),Color006400;
STICKLINE(A<0,A,0,7,0),Color007500;
STICKLINE(A<0,A,0,6,0),Color008400;
STICKLINE(A<0,A,0,5,0),Color009900;
STICKLINE(A<0,A,0,4,0),Color00AE00;
STICKLINE(A<0,A,0,2,0),Color00BD00;
STICKLINE(A<0,A,0,0.5,0),Color8EFF8E;

资金动能A:A,Color0089FF,LINETHICK2,LAYER2,PRECIS2;
资金动能B:EMA(A,5),COLORFF0020,LINETHICK2,LAYER2,PRECIS2;
DRAWICON(CROSS(A,资金动能B),资金动能B,7),LAYER2;

附:【大智慧定海神针专家指标公式源码】

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
A2:=IF(CROSS(diff,dea) and diff > 0 and dea >0,0,1);
能量线:IF (A2,A1/10,A1/100);
Var1:=EMA(MA(IF(CLOSE>OPEN,(CLOSE-OPEN)*VOL,IF(CLOSE<OPEN,(CLOSE-OPEN)*VOL,0)),5),1);
Var2:=EMA(MA(IF(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSE<REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1);
Var3:=EMA(MA(IF(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IF(OPEN<REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,0)),5),1);
Var4:=EMA(MA(IF(CLOSE<OPEN,(OPEN-CLOSE)*VOL,IF(CLOSE>OPEN,(OPEN-CLOSE)*VOL,0)),10),1);
Var5:=EMA(MA(IF(CLOSE<REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,IF(CLOSE>REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1);
Var6:=EMA(MA(IF(OPEN<REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,IF(OPEN>REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1);
DX:=(Var1+Var2+Var3)/3/100;
CX:=(Var4+Var5+Var6)/3/100;
B1:=BARSLAST(REF(CROSS(DX,CX),1));
买:IF (CROSS(DX,CX) AND 能量线 >0.5 and 能量线 < 2 and diff > REF(diff,1) AND B1 >5,0,-7);
{卖:IF(A1>2 ,-7,0);}
Sar1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Sar2:=SMA(SMA(Sar1,3,1),3,1);
Sar3:=EMA(Sar2,5);
Sar4:=3*Sar2-2*Sar3;
Sar5:=IF(Sar4 < REF(Sar4,1),1,0);
buyp:=REF(CLOSE,BARSLAST(REF(买=0,1)))*1.07;
buyk:=REF(CLOSE,BARSLAST(REF(买=0,1)))*0.9;
buyd:=BARSLAST(REF(买=0,1));
卖1:=IF( HIGH > buyp and 买=-7,1,0);{已获利}
卖2:=IF(Sar5 and 买=-7,1,0);{注意顶部}
卖3:=IF(buyd > 10 and 买=-7 ,1,0);{超出短线操作持股天数}
卖4:=IF(LOW < buyk and 买=-7,1,0);{听天由命吧~已亏损10%}
x11:=买=0;
x12:=卖1=1;
a11:=BARSLAST(买=0);{买成立到现在的周期数}
x13:=IF(卖1=1 Or 卖2=1 Or 卖3=1 Or 卖4=1,1,0);
a12:=COUNT(x13=1,a11);
s1:DRAWTEXT(卖1=1 and a12=2,1,'已获利'),COLORRED;
s2:DRAWTEXT(卖1=0 and 卖2=1 and a12=2,1,'注意顶部'),COLORRED;
s3:DRAWTEXT(卖1=0 and 卖2=0 and 卖3=1 and a12=2,1,'超出持股天数'),COLORRED;
s4:DRAWTEXT(卖1=0 and 卖2=0 and 卖3=0 and 卖4=1 and a12=2,1,'止损'),COLORGREEN;

更多大智慧公式源码相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。