当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:cci背离-(源码)
软件名称:[B]cci背离-(源码)[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:3.00 KB
官方主页:Home Page
更新时间:2010-05-19 10:07:48
软件简介:
N:=8;M:=21;
TYP:=(HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,15))*100/(1.5*AVEDEV(TYP,15)),COLORRED;
IF(CROSS(CCI,-120),-100,-120),COLORWHITE;
IF(CROSS(120,CCI),100,120),COLORCYAN;
CCI背:=IF(LLV(CCI,2)>LLV(CCI,7) AND LLV(L,2)<=LLV(L,7) AND HHV(H,10)>MA(CLOSE,60),1,0),COLORWHITE;
背离:DRAWTEXT(CCI背,CCI-10,'B'),COLORGREEN;
VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3,1) COLORMAGENTA;
VAR2:4*SMA((CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100,5,1),3,1) COLORGREEN;
买入:IF(CROSS(VAR1,1),50,0),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-20336.html]cci背离-(源码)[/url]