Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I知 currently testing my indicator which uses the OnMarketData function. Unfortunately I observed 2 following issues:
1. Results are different between using this function live or with market replay. Is data in market replay reliable?
2. Results are different if I use the OnMarketData function in more than one indicator at the same time for the same instrument but in the different timeframe.
Do you know some limitation on the OnMarketData? Do all Indicators for one instrument which use the OnMarketData function share this function and if one Indicator uses this function with time intensive operations other indicator get less data (tick and volume)?
Any ideas?
Thx,
Anton
Can you help answer these questions from other members on NexusFi?
1. Data in Market Replay is limited to 1 second resolution so the bid/ask changes and trades can be different in Live data, only the sequence of trades will be guaranteed. Depends what your code needs, shouldn't have to be a big problem.
2. Is more likely to be a coding dependency, all indicators will get the same OMD calls. It rarely affects cpu or timing unless you need to do crazy code processing on each bid/ask/trade. Use debug Prints or put simple stat counters on OBU's and OMD's and use Ninja's own indicator plotting to see them, you'll be surprised at how little data is really coming in compared to the Ghz processor cycles that we have to waste.