分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]CCI趋势,趋势类公式(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2020-12-16 07:50:43
软件简介:

CCI趋势,趋势类公式

DRAWTEXT_FIX(1,0,0,0,'短线买卖'),colorblue;
DRAWTEXT_FIX(1,0,0.1,0,'买卖时机'),colorcyan;
DRAWTEXT_FIX(1,0,0.2,0,'趋势预警'),colorblue;
DRAWTEXT_FIX(1,0,0.3,0,'顶底指标'),colorcyan;
DRAWTEXT_FIX(1,0,0.55,0,'卖出提示'),colorblue;
DRAWTEXT_FIX(1,0,0.65,0,'多头空头'),colorcyan;
DRAWTEXT_FIX(1,0,0.75,0,'金牌买卖'),colorblue;
DRAWTEXT_FIX(1,0,0.85,0,'BBI指标'),colorcyan;
MAC60:=MA(C,60);
MAC120:=MA(C,120);
//CCI
TYP:=(IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
C1:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorred; //1
C2:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),colorbrown,FFNODRAW; //2
C3:IF(C1<EMA(C1,5),EMA(C1,5),C1),colorcyan; //3
//吸货
VARA:=REF(LOW,1);
VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;
VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);
VARD:=LLV(LOW,30);
VARE:=HHV(VARC,30);
VARF:=IF(MA(CLOSE,58),1,0);
VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;
VARH:=IF(VARG>50,50,VARG);
STICKLINE(VARH>-120,0,VARH,3,1),colorgray;
//顶部判断
MM:SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,NODRAW;
STICKLINE(MM>84,0,40,12,0),colorblue;
STICKLINE(MM<20,0,-40,12,0),coloryellow;
//买卖时机
买入时机:IF( CROSS(C1,-150),1,0),colorlired,NODRAW; //
分批出:=IF(CROSS(150,C1),1,0),coloryellow,NODRAW;
STICKLINE(买入时机,295,255,10,0),colorred;
STICKLINE(分批出,295,255,5,0),colorgreen;
STICKLINE(CROSS(C1,C3-1),295,255,5,0),colorbrown;
//金牌买卖 分析家公式网 www.70822.com
V1:=LLV(LOW,10);
V2:=HHV(HIGH,25);
价位线:=EMA((CLOSE-V1)/(V2-V1)*4,4),NODRAW;
金牌买:IF(CROSS(价位线,0.3),1,0),NODRAW; //
金牌卖:=IF(CROSS(3.5,价位线),1,0),NODRAW;
STICKLINE(金牌买,-295,-255,10,0),colorred;
STICKLINE(金牌卖,-295,-255,10,0),colorgreen;
//趋势线
VAR01:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR02:=SMA(VAR01,9,1)+100;
VAR03:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR04:=SMA(VAR03,3,1);
VAR05:=SMA(VAR04,3,1)+100;
VAR06:=VAR05-VAR02;
趋势线:(VAR06-70)*3,colorbrown,LINETHICK2; //
持股:IF(C1=C3 AND 趋势线>REF(趋势线,1),1,0),NODRAW; //
STICKLINE(持股=1,305,295,10,0),colorred;
STICKLINE(持股=0,300,300,10,0),colorgreen;
//
买:=MA(CLOSE,1);
准:=HHV(MA((LOW+HIGH+CLOSE)/3,5),10);
急卖:=IF(HHV((买<准),5),0,1);
短卖:=IF(HHV((买<准),10),0,1);
STICKLINE(急卖,-250,-200,5,0),colorgreen;
STICKLINE(短卖,-250,-175,5,0),colorgreen;
//趋势警戒 分析家公式网 www.70822.com
预警:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*
SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),NODRAW;
STICKLINE(1,250,250,10,0),colorgray;
STICKLINE(预警>=90,245,255,10,0),colorblue;
STICKLINE(预警>=99,250,200,10,0),colorblue;
STICKLINE(预警<10 AND 预警>0 ,245,255,10,0),coloryellow;
STICKLINE(预警<=0,225,255,10,0),coloryellow;
多头:IF((CLOSE>MAC60 OR CLOSE>MAC120) AND REF(CLOSE,1)>REF(MAC120,1)
AND REF(CLOSE,2)>REF(MAC120,2),1,0),colorcyan,NODRAW; //
STICKLINE(多头=1,-250,-250,10,0),colorred;
STICKLINE(多头=0,-250,-250,10,0),colorgreen;
P:(CLOSE-MAC60)/MAC60*100,NODRAW; //
BBI1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
STICKLINE(BBI1,-300,-300,10,0),colorwhite,LINETHICK1;
STICKLINE(CLOSE>BBI1 AND BBI1>REF(BBI1,1),-300,-300,10,0), colorred;
STICKLINE(CLOSE<=BBI1 AND BBI1<=REF(BBI1,1),-300,-300,10,0),colorgreen;
 

CCI趋势

CCI趋势


[url=http://www.70822.com/soft/sort013/sort036/down-152634.html]CCI趋势,趋势类公式(同花顺公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒