Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.


Ninjatrader Volume Feed Woes, Please Help

Recommended Posts

Hello to all. I was hoping some one could give me some assistance with a piece of code to help correct my volume data feed. Allow me to explain:


I use the Ninjatrader platform with a live data feed from MB Trading. The problem lies in the fact that the MB Trading data feed multiplies live forex tick volume data by a factor of 10,000 I believe. This causes it to majorly distort the volume data as compared to the historical data that is loaded when I first open up a chart.


To summarize, if I open up say an hourly chart of a forex instrument, everything will load properly and look good. As soon as a bar forms live, the calculated tick volume is reported 10,000 times higher than actual and it is blowing up the volume histogram.


Is it possible to code something to divide incoming tick volume reported by a certain factor? If this is not possible, would it be easier to multiply historical tick volume by the proper factor so that the live tick volume is not grossly disproportionate?


Thank you in advance for any help

Share this post

Link to post
Share on other sites

It is possible - even "supported" - but a lot of work to replace the whole feed connector:




lower than that - I am not sure. I would contact MbTrading about this. If they support NinjaTrader as platform, it is their duty to go and make it work properly. There is no known / documented way to intercept the data without the full "custom feed" solution I have outlined in that blog post.

Share this post

Link to post
Share on other sites

NinjaTrader is a developer of trading software for the active trader – a complete end to end trading platform catering to discretionary and automated traders of futures, equities and forex markets. The software is available at over 100 brokerage firms worldwide.


Denver, CO based NinjaTrader was founded in 2003 by Raymond Deux, an active futures trader. In 2005 NinjaTrader acquired TradeMagic, the developer of an advanced .NET trading framework, which served as the foundation for growth into trading system development and automated trading. NinjaTrader version 6 was released in 2007 which included full trading system development via NinjaScript, chart based trading and real time multi-instrument scanning.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

By using this site, you agree to our Terms of Use.