If(MarketPosition <> -1 And Close[1] > high_rail[1] And Open <= high_rail[1] And !is_upper_limit) //开空单
{
SellShort(positionlots, Open);
PlotString("跳空", "跳空", Low, Red);
}
If(MarketPosition <> -1 And High > high_rail[1] And Low <= high_rail[1] And !is_upper_limit)
{
SellShort(positionlots, high_rail[1]);
PlotString("实空", "实空", Low, Red);
}以上为开空单的代码,在十字星所在K线,为什么平了之后,没有再开空单。请协助排查。