FS放量买卖公式源码[通达信公式]
相关标签:
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
HJ_1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
HJ_2:=CONST(REF(HHV(HJ_1,249),FROMOPEN));
HJ_3:=CONST(REF(HHV(HJ_1,FROMOPEN),0));
HJ_4:=HJ_3/HJ_2;
HJ_5:=IF(CLOSE<=REF(CLOSE,1),VOL,0);
量线:CONST(REF(HHV(HJ_5,239),FROMOPEN)),COLORYELLOW;
突破力度:HJ_3/量线,NODRAW;
HJ_6:=IF(CLOSE/OPEN<1.04 AND CLOSE>REF(CLOSE,1) AND CLOSE/DYNAINFO(3)>VOL/HJ_2*1.5 AND CLOSE/DYNAINFO(3)<VOL/HJ_2*2.2 AND VOL/HJ_2<2 AND CLOSE>REF(HHV(CLOSE,239),FROMOPEN) AND VOL>REF(HHV(VOL,FROMOPEN),1),1,0);
STICKLINE(HJ_6=1,0,HHV(VOL,FROMOPEN+239)*1.5,2,(-1)),COLORLIRED;
STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0,0),COLORRED;
STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0,0),COLORGREEN;
STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,0,0),COLORWHITE;
HJ_7:=CROSS(VOL,量线);
DRAWTEXT(HJ_7 AND CLOSE>REF(CLOSE,10),量线,1101),COLORRED;
DRAWTEXT(HJ_7 AND CLOSE<REF(CLOSE,10),量线,1102),COLORGREEN;{-----------------------------------}DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容