联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

Q Q:396950280

网址:www.yzhibiao.com

搜索 Search

★ [如意金箍棒]

2014-12-8 13:09:04点击:

 

代理编写(对转)通达信 飞狐 同花顺 大智慧 文华财经 博易大师 依天财经等软件指标!

DRAWGBK(O>C,RGB(1654,155,15),RGB(2000,23,59),0,'1',0);
VAR6:="KDJ.J#WEEK"(9,3,3);
VAR8:="KDJ.J#MONTH"(9,3,3);
DEA7:="MACD.DEA#WEEK";
DIFF7:="MACD.DIF#WEEK";
D7:=DIFF7-DEA7;
DEA8:="MACD.DEA#MONTH";
DIFF8:="MACD.DIF#MONTH";
D8:=DIFF8-DEA8;
如意金箍棒:=CROSS(VAR6,0) AND D8>0 OR CROSS(VAR8,0) AND D7>0;
Y1:=LLV(L,17);
Y2:=SMA(ABS(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));
STICKLINE(如意金箍棒,12,0,6,0),COLORYELLOW;
STICKLINE(如意金箍棒,12,0,4,0),COLORMAGENTA;
STICKLINE(如意金箍棒,12,0,2,0), COLORRED;
DRAWTEXT(如意金箍棒,8,'如'),COLORYELLOW;
DRAWTEXT(如意金箍棒,7,'意'),COLORYELLOW;
DRAWTEXT(如意金箍棒,6,'金'),COLORYELLOW;
DRAWTEXT(如意金箍棒,5,'箍'),COLORYELLOW;
DRAWTEXT(如意金箍棒,4,'棒'),COLORYELLOW;