本指标需要一定数量的历史数据,请务必下载一定量的盘后数据,下载到哪指标显示到哪!每天收盘后1小时后,也要及时下载最新的深沪日线数据(交易日当天的交易时间9:30~15:00除外,不用下载,这是通达信软件决定的)!!!没有盘后数据的结果,不是指标不显示图形,就是指标不准确。 目测指标属于抄底型,部分有失败现象,就我的使用经验来讲,一般连续大涨后的信号多为不可信,具体使用靠自己了 指标源码: A_1:=(MAX(REF(CLOSE,1),REF(OPEN,1))-MIN(REF(CLOSE,1),REF(OPEN,1)))/2+MIN(REF(CLOSE,1),REF(OPEN,1)); A_2:=(MAX(REF(CLOSE,2),REF(OPEN,2))-MIN(REF(CLOSE,2),REF(OPEN,2)))/2+MIN(REF(CLOSE,2),REF(OPEN,2)); A_3:=(MAX(REF(CLOSE,3),REF(OPEN,3))-MIN(REF(CLOSE,3),REF(OPEN,3)))/2+MIN(REF(CLOSE,3),REF(OPEN,3)); A_4:=(MAX(REF(CLOSE,4),REF(OPEN,4))-MIN(REF(CLOSE,4),REF(OPEN,4)))/2+MIN(REF(CLOSE,4),REF(OPEN,4)); A_5:=(A_1+A_2+A_3)/3; A_6:=A_5<A_4; A_7:=REF(VOL,1)/REF(VOL,4); A_8:=A_7<1; A_9:=VOL>=REF(VOL,1); A_10:=CLOSE>REF(HIGH,1); A_11:=(REF(HIGH,6)-REF(LOW,4))/REF(LOW,4)>0.1 OR (REF(HIGH,6)-REF(LOW,1))/REF(LOW,1)>0.146; A_12:=CROSS(CLOSE,REF(HIGH,1)) AND CROSS(CLOSE,REF(HIGH,2)) AND CROSS(CLOSE,REF(HIGH,3)); A_13:=CLOSE/REF(CLOSE,1)>=1.04; XG:A_6 AND A_8 AND A_9 AND A_10 AND A_11; DRAWBAND(XG,RGB(255,0,0),0,RGB(0,255,0));
选股源码:
A_1:=(MAX(REF(CLOSE,1),REF(OPEN,1))-MIN(REF(CLOSE,1),REF(OPEN,1)))/2+MIN(REF(CLOSE,1),REF(OPEN,1)); A_2:=(MAX(REF(CLOSE,2),REF(OPEN,2))-MIN(REF(CLOSE,2),REF(OPEN,2)))/2+MIN(REF(CLOSE,2),REF(OPEN,2)); A_3:=(MAX(REF(CLOSE,3),REF(OPEN,3))-MIN(REF(CLOSE,3),REF(OPEN,3)))/2+MIN(REF(CLOSE,3),REF(OPEN,3)); A_4:=(MAX(REF(CLOSE,4),REF(OPEN,4))-MIN(REF(CLOSE,4),REF(OPEN,4)))/2+MIN(REF(CLOSE,4),REF(OPEN,4)); A_5:=(A_1+A_2+A_3)/3; A_6:=A_5<A_4; A_7:=REF(VOL,1)/REF(VOL,4); A_8:=A_7<1; A_9:=VOL>=REF(VOL,1); A_10:=CLOSE>REF(HIGH,1); A_11:=(REF(HIGH,6)-REF(LOW,4))/REF(LOW,4)>0.1 OR (REF(HIGH,6)-REF(LOW,1))/REF(LOW,1)>0.146; A_12:=CROSS(CLOSE,REF(HIGH,1)) AND CROSS(CLOSE,REF(HIGH,2)) AND CROSS(CLOSE,REF(HIGH,3)); A_13:=CLOSE/REF(CLOSE,1)>=1.04; XG:A_6 AND A_8 AND A_9 AND A_10 AND A_11;
|