커뮤니티
아래의 트레이디이뷰 수식을 변환부탁드립니다.
//@version=4
study("ATR Breakouts", overlay=true)
per = input(50, title="Length")
aper = input(20, title="Atr Length")
LongEntry = ema(close, per) + 2 * atr(aper)
LongStopLoss = ema(close, per) + atr(aper)
ShortEntry = ema(close, per) - 2 * atr(aper)
ShortStopLoss = ema(close, per) - atr(aper)
plot(LongEntry, "Long Entry Threshold", color=color.green, style=plot.style_line)
plot(LongStopLoss, "Long Stop Loss", color=color.blue, style=plot.style_line)
plot(ShortEntry, "Short Entry Threshold", color=color.red, style=plot.style_line)
plot(ShortStopLoss, "Short Stop Loss", color=color.black, style=plot.style_line)
답변 1
예스스탁 예스스탁 답변
2025-11-05 13:30:39