设为首页加入收藏

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

同花顺修订的黑马捕捉指标公式源码 同花顺指标公式大全(3)

2015-10-30 9:28:39 股票入门 http://rumen.southmoney.com

 

STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;
STICKLINE(大阳线,H,L,0,1),COLORRED;
大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);
STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;
STICKLINE(大阴线,H,L,0,1),COLORGREEN;

DRAWICON(CROSS(MA(C,5),MA(C,24)) ,MA(C,5),1);

W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
DRAWICON(W4 AND COUNT(W4,5)=1,LOW,3);

BB:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:=IF(MA(CLOSE,17)<BB,BB,MA(CLOSE,17));
操作线:=分水岭-(EMA(C,3)-分水岭);
DRAWTEXT(CROSS(分水岭,操作线),分水岭-0.5,'B');

MAJ2:=EMA(C,3);
MAJ5:=EMA(C,7);
MAJ13:=EMA(C,13);
MAJ34:=EMA(C,34);
MAJ55:=EMA(C,55);
YCXJ:=MAJ5>=REF(MAJ5,1);
H1:=MAX(MAX(MAJ5,MAJ13),MAJ34);
L1:=MIN(MIN(MAJ5,MAJ13),MAJ34);
DRAWTEXT(H1<C AND O<L1 AND YCXJ AND MAJ2>REF(MAJ2,1),LOW*0.96,'◇');

{回归卖出图标}
RSV回归:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
K回归:=SMA(RSV回归,3,1);
D回归:=SMA(K回归,3,1);
J回归:=3*K回归-2*D回归;
VAR回归3:=(2*CLOSE+HIGH+LOW)/3;{可将3该为4,信号少点}
VAR回归4:=EMA(EMA(EMA(VAR回归3,4),4),4);{可将3该为4,信号少点}
E回归:=(VAR回归4-REF(VAR回归4,1))/REF(VAR回归4,1)*100;
F回归:=MA(E回归,3)+0.03;
G回归:=MA(E回归,1);
DRAWICON(CROSS(F回归,G回归) AND J回归>65,HIGH*1.02,15),COLORGREEN;

{双底买入部分}
VAR10A:=IF(TROUGH(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11B:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR13C:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR15D:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR17E:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
买点1A:=VAR10A;
买点2A:=(VAR11B+VAR13C+VAR15D+VAR17E);
买入:=COUNT(买点1A OR 买点2A,15)=2 AND (买点1A OR 买点2A) AND COUNT(C/REF(C,1)>1.07,15)>=1;
DRAWICON(买入,LOW*0.97,18);

 

上一页  [1] [2] [3] [4] [5] 下一页

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