//@version=4 strategy("Breakout Strategy", overlay=true) // Define the inputs atr_length = input(14, title="ATR Length") multiplier = input(2.5, title="Multiplier") // Calculate the ATR atr = atr(atr_length) // Calculate the long and short entry levels long_entry_level = high + atr * multiplier short_entry_level = low - atr * multiplier // Plot the entry...
//@version=4 strategy("Breakout Strategy", overlay=true) // Define the inputs atr_length = input(14, title="ATR Length") multiplier = input(2.5, title="Multiplier") // Calculate the ATR atr = atr(atr_length) // Calculate the long and short entry levels long_entry_level = high + atr * multiplier short_entry_level = low - atr * multiplier // Plot the entry...