For in-platform logic
NinjaScript is appropriate for platform-native indicators and strategies. NinjaTrader also documents ATI integration. Choose local execution when your logic depends on desktop callbacks and platform state, rather than describing every integration as REST.