指标编写学习论坛

标题: 牛股基因副图技术指标公式源码 [打印本页]

作者: 金钻指标    时间: 2016-5-28 10:15
标题: 牛股基因副图技术指标公式源码
{公式名称: 牛股基因
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无

参数精灵:无
用法注释:无
公式源码:}
X_1:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
X_2:=SMA(X_1,13,1);
X_3:=SMA(X_2,3,1);
X_4:=3*X_2-2*X_3;
X_5:=EMA(X_4,5);
X_6:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
X_7:=SMA(X_6,3,1);
X_8:=SMA(X_7,3,1);
X_9:=3*X_7-2*X_8;
X_10:=EMA(X_9,5);
X_11:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
X_12:=SMA(X_11,3,1);
X_13:=SMA(X_12,3,1);
X_14:=3*X_12-2*X_13;
X_15:=EMA(X_14,5);
X_16:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100;
X_17:=("999999$CLOSE"-REF("999999$CLOSE",4))/REF("999999$CLOSE",4)*100;
X_18:=("399001$CLOSE"-REF("399001$CLOSE",4))/REF("399001$CLOSE",4)*100;
X_19:=MA(X_16-MAX(X_17,X_18),5);
X_20:=AMOUNT/VOL/100;
X_21:=SLOPE(X_20,3)+SLOPE(X_20,5);
X_22:=X_19;
X_23:=SLOPE(X_19,3)>0 AND X_21>0;
X_24:=X_10<20 AND X_15<20 AND X_5<60;
X_25:=X_22>REF(X_22,1) AND REF(X_22,1)>REF(X_22,2) AND REF(X_22,2)<REF(X_22,3) AND REF(X_22,1)<(-4) AND X_23 AND REF(X_23,1);
X_26:=X_22>REF(X_22,1) AND REF(X_22,1)>REF(X_22,2) AND REF(X_22,2)>REF(X_22,3) AND REF(X_22,3)<REF(X_22,4) AND REF(X_22,1)<(-4) AND X_23 AND REF(X_23,1);
牛股基因:X_25 OR X_26 AND EXIST(X_24,5);







欢迎光临 指标编写学习论坛 (http://shgm.net/) Powered by Discuz! X3.2