{公式名称: ☆涨停预警☆
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=MACD.MACD#WEEK;
X_2:=MACD.DIF#WEEK;
X_3:=BARSLAST(X_1!=REF(X_1,1));
X_4:=MACD.MACD;
HIGH;
X_5:=REF(HIGH,X_3+1);
行业涨幅:HY_INDEXC-HY_INDEXO,NODRAW;
X_6:=KDJ.K#WEEK;
X_7:=KDJ.D#WEEK;
X_8:=X_6>X_7;
X_9:=IF(X_10),100))/MIN(BARSSINCE(CLOSE>0),100));
DRAWTEXT_FIX(1,0,0,0,1),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0,0.28,0,HYBLOCK),COLOR00C0C0;
X_10:=REF(VOL#WEEK,1);
X_11:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_12:=MOD(FROMOPEN,X_11);
X_13:=IF(X_12<0.5,X_11,X_12);
X_14:=IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VOL*X_11/X_13,DRAWNULL);
X_15:=X_14>REF(X_10,X_3+1);
X_16:=(REF(CLOSE,3)+REF(CLOSE,5)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,13)+REF(CLOSE,21))/6;
X_17:=SMA(X_16,5,1);
X_18:=IF(WEEKDAY=1,1,REF(X_9,X_3+1));
X_19:=(HIGH+LOW+CLOSE)/3;
X_20:=(X_19-MA(X_19,14))/(0.015*AVEDEV(X_19,14));
☆涨停预警☆:X_9-X_18>0.7 AND CROSS(CLOSE,X_5) AND CLOSE>OPEN AND CLOSE>X_17 AND HY_INDEXC>REF(HY_INDEXC,1) AND X_20>=REF(HHV(X_20,5),1),COLORRED;
量:DRAWNUMBER(☆涨停预警☆,☆涨停预警☆*0.2,VOL),COLORYELLOW;
DRAWNUMBER(☆涨停预警☆,☆涨停预警☆*0.7,X_9),COLORYELLOW;
DRAWNUMBER(☆涨停预警☆,☆涨停预警☆*0.5,X_5),COLORYELLOW;
{公式名称: ☆涨停预警☆
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0参数精灵:无
用法注释:无
公式源码:}
X_1:=MACD.MACD#WEEK;
X_2:=MACD.DIF#WEEK;
X_3:=BARSLAST(X_1!=REF(X_1,1));
X_4:=MACD.MACD;
HIGH;
X_5:=REF(CLOSE,X_3+1);
X_6:=KDJ.K#WEEK;
X_7:=KDJ.D#WEEK;
X_8:=X_6>X_7;
X_9:=IF(X_10),100))/MIN(BARSSINCE(CLOSE>0),100));
X_10:=REF(VOL#WEEK,X_3+1);
X_11:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_12:=MOD(FROMOPEN,X_11);
X_13:=IF(X_12<0.5,X_11,X_12);
X_14:=IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VOL*X_11/X_13,DRAWNULL);
X_15:=X_14>REF(X_10,1);
X_16:=(REF(CLOSE,3)+REF(CLOSE,5)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,13)+REF(CLOSE,21))/6;
X_17:=SMA(X_16,5,1);
X_18:=IF(WEEKDAY=1,REF(X_9,BARSLAST(X_9>1)),REF(X_9,X_3+1));
X_19:=(HIGH+LOW+CLOSE)/3;
X_20:=(X_19-MA(X_19,14))/(0.015*AVEDEV(X_19,14));
X_21:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
X_22:=NOT(X_21) OR X_21=0;
☆涨停预警☆:X_9-REF(X_18,1)>0.7 AND CROSS(CLOSE,X_5) AND CLOSE>OPEN AND HY_INDEXC>HY_INDEXO AND X_20>=REF(HHV(X_20,3),X_3+1) AND X_15 AND X_22,COLORRED;