I'm developing a custom indicator in NinjaTrader 8 to detect trend endings on an NQ chart with ninZaRenko bars (80,20). The indicator will use real-time IQFeed data fields like Last, Total Volume, Volatility, Bid Size, Ask Size, VWAP, and Most Recent Trade Aggressor. My goal is to process these fields in NinjaScript to generate exit signals.
How are IQFeed variables accessed within a NinjaTrader indicator? Specifically:
1. Can I directly access IQFeed fields (e.g., Last, Bid Size, Volatility) through NinjaTrader's standard data series (e.g., Close[0], Volume[0]) when IQFeed is configured as my data provider, or do I need to use the IQFeed API directly?
2. If direct API access is required, what is the recommended approach for integrating IQFeed API calls (e.g., Level 1 data streaming) into a NinjaScript indicator? Are there specific libraries or add-ons I should use?
3. Are there any NinjaTrader-specific mappings or adapters for IQFeed fields (e.g., does Total Volume map to Volume[0], or is Volatility accessible via a built-in series)?
4. If I'm using the DTN IQFeed add-on for Ninja Trader, does it expose all IQFeed fields (including less common ones like Most Recent Trade Aggressor) to NinjaScript, or are there limitations I should be aware of?
I'm in the process of registering as an IQFeed developer to access their API documentation, but I'd like to understand how NinjaTrader handles IQFeed data to streamline my development. Any guidance, examples, or references to relevant documentation would be greatly appreciated!
Thank you,
R. C. Singleton

Comment