公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 通达信公式 > 正文 → 正文

暴涨是怎样形成的—请看《价量分析图》(图及代码)

发布时间:2013/3/20 7:53:55  浏览次数:

暴涨是怎样形成的—请看《价量分析图》(图及代码)

指标名称:1.《价量分析图》

价量同升:=C>REF(C,1) AND V>REF(V,1);
价量背离1:=C<REF(C,1) AND V>REF(V,1);
价量背离2:=C>=REF(C,1) AND V<REF(V,1);
价量同降:=C<REF(C,1) AND V<REF(V,1);
DRAWRECTREL(10,10,990,990,20);
DRAWRECTREL(10,500,990,500,255);
DRAWRECTREL(500,10,500,990,255);
量:=IF(C>REF(C,1),V,-V);
A1:=C*量/CAPITAL;
MCV:SUM(A1,0),LINETHICK3;
DRAWBAND(MCV,RGB(205,0,0),MA(MCV,3),RGB(0,120,0));
A2:=REF(C,1)*量/CAPITAL;
MCV前一:SUM(A2,0),LINETHICK3,COLORYELLOW;
DRAWBAND(MCV前一,RGB(205,0,0),MA(MCV前一,3),RGB(0,120,0));
DRAWKLINE(MCV,MCV前一,MCV前一,MCV);
STICKLINE(MCV<REF(MCV,1),MCV,MCV前一,3,1),COLORCYAN;
MZ1:=WMA(MCV,5);
MZ2:MA(MZ1,5);
MZ3:MA(MZ2,5);
M60:EMA(MCV,60);
DRAWTEXT_FIX(价量同升,0.9,0.9,1,'价量同升且量较小,低买');
DRAWTEXT_FIX(价量同降,0.2,0.9,1,'价量同降,清仓');
DRAWTEXT_FIX(价量同降,0.25,0.8,1,'(如在60线以下则持股)');
DRAWTEXT_FIX(价量背离1,0.2,0.7,1,'价量背离,清仓');
DRAWTEXT_FIX(价量背离2,0.9,0.2,1,'价量背离,观望');
DRAWTEXT_FIX(价量同升,0.2,0.2,1,'价量同升且量大,持股');
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同升,0.98,0.9,1,C),COLORRED;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同降,0.28,0.9,1,C),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同升,0.28,0.20,1,C),COLORRED;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量背离1,0.28,0.7,1,C),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量背离2,0.98,0.20,1,C),COLORRED;
 



说明:当mcv前一和mcv发生临近重叠时就暴张
2.《价量对比图》

价量同升:=C>REF(C,1) AND V>REF(V,1);
价量背离1:=C<REF(C,1) AND V>REF(V,1);
价量背离2:=C>=REF(C,1) AND V<REF(V,1);
价量同降:=C<REF(C,1) AND V<REF(V,1);
DRAWRECTREL(10,10,990,990,RGB(55,55,0));
DRAWRECTREL(10,500,990,500,255);
DRAWRECTREL(500,10,500,990,255);
DRAWTEXT_FIX(价量同升,0.9,0.9,1,'价量同升且量较小,低买');
DRAWTEXT_FIX(价量同降,0.2,0.9,1,'价量同降,清仓');
DRAWTEXT_FIX(价量背离1,0.2,0.7,1,'价量背离,清仓');
DRAWTEXT_FIX(价量背离2,0.9,0.2,1,'价量背离,观望');
DRAWTEXT_FIX(价量同升,0.2,0.2,1,'价量同升且量大,持股');
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同升,0.98,0.9,1,C),COLORRED;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同降,0.28,0.9,1,C),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同升,0.28,0.20,1,C),COLORRED;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量背离1,0.28,0.7,1,C),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量背离2,0.98,0.20,1,C),COLORRED;
价涨幅1:=(C-REF(C,1))/REF(C,1);
量涨幅1:=(V-REF(V,1))/REF(V,1);
价涨幅:SUM(价涨幅1,0),COLORRED,LINETHICK2,LINESTICK;
量涨幅:=SUM(量涨幅1,0);
量涨幅2:=EMA(量涨幅,50)/EMA(价涨幅,20);
量涨幅线:量涨幅/量涨幅2,COLORGRAY,LINETHICK2,LINESTICK;

说明:当价涨幅上穿量涨幅时开始起涨

资源下载链接   资源大小:unknow

关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识