I’m working with a Bar chart in TradeStation and need a concise EasyLanguage function that swaps the primary symbol whenever the secondary symbol change price-threshold rule is met. Scope is intentionally lean: • Single, well-commented function that accepts user-defined price levels and the replacement symbol. • Logic detects the threshold in real time and calls SetSymbol or comparable EasyLanguage command to update the chart’s primary symbol instantly. • Basic input validation and a quick in-code example showing how to trigger the change. No scheduling or manual toggle is required—just the automated switch based on price. A short test script to prove the concept on a sample symbol pair is all I need. If you’ve built similar EasyLanguage snippets before, this should be a quick task.