@Morningstar 以下这段代码:
```
if high_price > 2.2 * low_price \
and h['close'][-1] < h['close'][-4] \
and h['close'][-1]> h['close'][-100]:
# 当日第一次输出日志
log.info("==> 大盘止损,%s指数前130日内最高价超过最低价2倍, 最高价: %f, 最低价: %f" %(get_security_info(index).display_name, high_price, low_price))
g.is_day_stop_loss_by_price = True
```
后两个条件:h['close'][-1] < h['close'][-4] and h['close'][-1]> h['close'][-100]有什么意义呢?
2017-02-09