ZXC成交量指标 公式 源码[同花顺公式]
指标公式代码分析及使用说明参考:
源码:
STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,8,1),COLOR0000FF;
STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,8,1),COLORFF937F;
CXH0:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交总量:=VOL,POINTDOT;
主买:IF(CLOSE>OPEN,CXH0*(HIGH-LOW),IF(CLOSE<OPEN,CXH0*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorred,POINTDOT;
CXH1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
买盘:=IF((CLOSE > OPEN),(CXH1 * (HIGH - LOW)),IF((CLOSE < OPEN),(CXH1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
主卖:IF(CLOSE>OPEN,0-CXH0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-CXH0*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
成交量大于3日:BETWEEN(V,MA(V,3)*1.1,MA(V,3)*3),POINTDOT,COLOR6699FF;
卖盘:=IF((CLOSE > OPEN),(0 - (CXH1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (CXH1 * (HIGH - LOW))),(0 - (VOL / 2))));
震动调整:=(买盘 + 卖盘);
STICKLINE((震动调整 < 1),1,震动调整,8,0),COLOR70DB93;
CXH2:=(HIGH - LOW);//www.cxh99.com
CXH3:=ABS((OPEN - CLOSE));
CXH4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
CXH5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
CXH6:=((CXH3 / CXH2) * VOL);
CXH7:=((CXH4 / CXH2) * VOL);
CXH8:=((CXH5 / CXH2) * VOL);
STICKLINE((((CXH6 >= CXH7) AND (CXH6 >= CXH8)) AND (CLOSE < OPEN)),0,CXH6,8,0),COLORFF0000;
STICKLINE(((CXH8 > CXH6) AND (CXH8 > CXH7)),0,CXH8,8,0),COLORFFFFFF;
STICKLINE((买盘 > 0),买盘,0,8,0),COLOR0000FF;
MA5:=MA(V,5),colorwhite,LINETHICK2;
MA40:=MA(V,40),COLOR00FF99,LINETHICK2;
MA135:=MA(V,135),COLORFFFF00,LINETHICK2;
DRAWTEXT(CROSS(V,MA5),(V *1.06),''),coloryellow;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容