//@version = 5 strategy(title = "impulse MACD", overlay = false, initial_capital = 100000, default_qty_type = strategy.percent_of_equity, default_qty_value = 100) lengthMA = input(34) lengthSignal = input(9) calc_smma(src, len) => ema1 = ta.ema(src, lengthMA) ema2 = ta.ema(ema1, lengthSignal) //d = ...