同花顺成交量顶底公式

源码

V:VOL;

M55:MA(V,55),colorblue;

M135:MA(V,135),coloryellow;

量比:(VOL*(TRADETIME+1))/(FIVEDAYVOL/5*(FROMOPEN+1));

换:VOL/SHGZG*100;

N:=100;

DDL:=100*(V-LLV(V,N))/(HHV(V,N)-LLV(V,N));

M:=13;

DL:=100*(V-LLV(V,M))/(HHV(V,M)-LLV(V,M));

倍:V>=REF(V,1)*1.9,coloryellow;

低:(V<=HHV(V,13)*0.33 OR DL<5 ) AND V<REF(V,1),colorgray;

地:V<=MA(LLV(V,100),100) OR (DDL<4 AND V<REF(V,1)),colorblue;

缩:V<=REF(V,1)*0.55,colorred;

S:=FROMNIGHT;

预计成交量:=IF(S=0 AND FROMOPEN>1,VOL*241/FROMOPEN,VOL);

STICKLINE((预计成交量<REF(VOL,1)*8 OR V>REF(V,1)*5) AND 预计成交量>0,0,预计成交量,8,-2),coloryellow;

STICKLINE(预计成交量>REF(VOL,1)*8 AND V<REF(V,1)*5,0,REF(VOL,1)*8,8,-2),coloryellow;

STICKLINE(C>O,0,V,8,1),colorred;

STICKLINE(C<=O,0,V,8,1),colorgreen;

STICKLINE(倍,0,V,8,0),coloryellow;

STICKLINE(缩,0,V,8,0),colorred;

STICKLINE(低,0,V,8,0),colorgray;

STICKLINE(地,0,V,8,0),colorblue;

zz:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);

v5:=MA(V,5);

v12:=MA(V,12);

V34:=MA(V,34);

C6:=MA(C,6);

DRAWTEXT (VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,V,'天'),coloryellow;

DRAWTEXT (VOL<MA(VOL,5)/2 AND V<v12/2,HHV(V,100)*0.75,'地'),colorblue;

DRAWTEXT (CROSS(C,C6) AND V>v5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,HHV(V,100),'吸'),colorred;

STICKLINE(CROSS(C,C6) AND V>v5*1.2 AND V>v12*1.2 AND zz>2 AND C>H*0.975,V*0.5,V,8,0),colorred;

DRAWTEXT (CROSS(C6,C) AND V>v5*1.2 AND V>v12*1.2,HHV(V,100),'出'),colorgreen;

DRAWTEXT(COUNT(V>REF(V,1),3)=3 AND COUNT(C>O,3)=3,HHV(V,100),'梯'),colorcyan;

DRAWTEXT(COUNT(C>REF(C,1),2)=2 AND COUNT(V<REF(V,1),2)=2,HHV(V,100),'缩涨'),colorlicyan;

DRAWTEXT(BARSLAST(V>REF(V,1))>=3,HHV(V,100),'缩'),colorwhite;

预测量:IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN,VOL),NODRAW;

上涨放量:STICKLINE(预测量/REF(VOL,1)>=1.5 AND C>REF(C,1),VOL,0,2.2,0),coloryellow;

动态天量:IF(REF(预测量,1)=HHV(预测量,20),REF(预测量,1),REF(REF(预测量,1),BARSLAST(REF(预测量,1)=HHV(预测量,20)))),COLORFFCC66;

动态地量:IF(V=LLV(预测量,20),预测量,REF(预测量,BARSLAST(V=LLV(预测量,20)))),coloryellow;

STICKLINE(预测量=动态地量 AND 动态地量<REF(动态地量,0),动态天量,动态地量,1,0),colorgray;
 

 




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图