伙计们,我是 Strategies en Pine Script 的新手,在绿色框中可以看到 4 根确认蜡烛(3 根看跌和 1 根看涨)之后,我正试图在橙色线上建立卖出头寸,但我不确定为什么不会开仓,有什么想法?
if (Black_Body[3]) and (Black_Body[2]) and (Black_Body[1]) and (White_Body and high > high[1] and low > low[1] )
label.new(bar_index, high + Line_Size/2, "SHORT" , style=label.style_label_down)
strategy.order("Sell", false, 1, when = low <= low[1] - Line_Size/15 )
strategy.exit("exit", "Sell", profit = 3, loss = 1)