//@version=4
study("My Script")
var bool something_happens = true
var int bar_entry = na
if (something_happens)
// strategy.entry("buy", strategy.long)
bar_entry := bar_index
candles_since_entry = bar_index - bar_entry
plot(na)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…