macd顶底---找顶底很好用_大智慧公式_股票公式
  您的位置:首页 >> 股票公式 >> 大智慧公式 >> 文章正文

macd顶底---找顶底很好用

加入日期:2012-5-23 22:34:35
源码如下:

VAR1 := EMA(CLOSE,5) - EMA(CLOSE,30);
X:=VAR1;
多方:X;
MX:=EMA(X,3);
STICKLINE(X>=MX,X,MX,8,0),COLORYELLOW,LINETHICK2;
STICKLINE(X<MX,X,MX,8,1),COLORRED,LINETHICK2;
X1:=-VAR1;
空方:X1;
MX1:=EMA(X1,3);
STICKLINE(X1>=MX1,X1,MX1,8,1),COLORWHITE,LINETHICK2;
STICKLINE(X1<MX1,X1,MX1,8,1),COLORFF9900,LINETHICK2;
0,COLORFFA2AF;
{WN万能超短买卖}

VAAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAAR2:=REF(VAAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR3:=REF(VAAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAAR4:=REF(VAAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR5:=REF(VAAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAAR6:=REF(VAAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR7:=REF(VAAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAAR8:=REF(VAAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR9:=REF(VAAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAARA:=REF(VAAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAARB:=REF(VAARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAARC:=REF(VAARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAARE:=REF(VAARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAARF:=REF(VAARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR10:=REF(VAARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAAR11:=REF(VAAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR12:=REF(VAAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAAR13:=REF(VAAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR14:=REF(VAAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAAR15:=REF(VAAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR16:=REF(VAAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAAR17:=REF(VAAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAAR18:=REF(VAAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAAR19:=REF(VAARD OR VAARE OR VAARF OR VAAR10 OR VAAR11 OR VAAR12 OR VAAR13 OR
VAAR14 OR VAAR15 OR VAAR16 OR VAAR17 OR VAAR18,1) AND VAAR1;
DRAWTEXT(VAAR19,0,B),COLORWHITE;
VAAR1A:=REF(VAAR1 OR VAAR2 OR VAAR3 OR VAAR4 OR VAAR5 OR VAAR6 OR VAAR7 OR
VAAR8 OR VAAR9 OR VAARA OR VAARB OR VAARC,1) AND VAARD;
DRAWTEXT(VAAR1A,0,S),COLORYELLOW;
 



 


以上信息为博客会员、合作方、加盟会员提供,本站不拥有版权,版权归原作者所有,所载文章、数据仅供参考,据此操作,风险自负。
顶 尖 财 经 -- 中 华 顶 尖 网 络 信 息 服 务 中 心
Copyright? 2000 - 2004 www.58188.com