skill "SuperTrend" { id SUPER use XAUUSD M5 warmup 10 let st_line = supertrend(3, 10).value let st_direction = supertrend(3, 10).trend when direction_changed = st_direction != st_direction[1] when buy_signal = direction_changed and st_direction == 1 when sell_signal = direction_changed and st_direction == 0 - 1 plot st_line on price mark BUY_SIGNAL arrow_up below_bar color bull mark SELL_SIGNAL arrow_down above_bar color bear }