OnMarketData serious issue - NinjaTrader Programming | futures io social day trading
futures io futures trading


OnMarketData serious issue
Updated: Views / Replies:2,725 / 13
Created: by baberg Attachments:3

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 3  
 
Thread Tools Search this Thread
 

OnMarketData serious issue

  #11 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 259 received


baberg View Post
Back on the topic

Override plot reacts to specific events like last price refresh, scroll movement, mouse click etc.

However, the refresh rate is not enough for me. I'd really wish to achieve a charting plot update each time bid or ask changes without waiting for the last price to update (and no other specific user-action neither)

Do you have a solution ? Simulate a fonction ? Simulate left click or scroll movement is not practical.
Any tips ???

Thanks a lot

try ChartControl.Refresh()

Reply With Quote
 
  #12 (permalink)
Trading Apprentice
Canada
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Forex
 
Posts: 29 since Jul 2011
Thanks: 4 given, 1 received

Hi guys, thanks a lot for offering me your help...

@RJay, I'm not sure what you mean by "Chart type" and "Value size" ? Could you please specify ?

@bukkan, I added "ChartControl.Refresh()" at the end of OnMarketData() and the refresh rate seem to match bid/ask updates now, however it freezes my chart quite a lot (I have only from 1 to 3 simple plots depending on the OnMarketData events) with those updates. Is it the "lightest" solution available as far as computer ressources go ? Right now, it's almost impossible to scroll my chart anymore.

Reply With Quote
 
  #13 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 259 received


obvious it would freeze. its not without reasons, NT has set the minimum refresh rate to .1 second. but if you filter out the redundancies then things can improve.

the attached code refreshes the last bar only on any trade. not perfect or complete but you can get some ideas.

Attached Files
Register to download File Type: cs Refresh.cs (6.2 KB, 27 views)
Reply With Quote
 
  #14 (permalink)
Elite Member
Denver, CO
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
NinjaTrader's Avatar
 
Posts: 1,260 since May 2010
Thanks: 153 given, 1,890 received


baberg View Post
Hi guys, thanks a lot for offering me your help...

@RJay, I'm not sure what you mean by "Chart type" and "Value size" ? Could you please specify ?

@bukkan, I added "ChartControl.Refresh()" at the end of OnMarketData() and the refresh rate seem to match bid/ask updates now, however it freezes my chart quite a lot (I have only from 1 to 3 simple plots depending on the OnMarketData events) with those updates. Is it the "lightest" solution available as far as computer ressources go ? Right now, it's almost impossible to scroll my chart anymore.

You are basically asking windows to repaint the chart window on every change in market data. This will consume a large amount of CPU and lock up NinjaTrader. We do not officially advise this.

Reply With Quote

Reply



futures io > > > > > OnMarketData serious issue

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
NT Providing Bad Price & Volume Data in OnMarketData!!! RJay NinjaTrader Programming 18 June 5th, 2017 10:53 AM
Using OnMarketData() on Historical data with a recording engine gomi NinjaTrader Programming 115 March 6th, 2011 07:11 PM
BUG for OnMarketData timmyb NinjaTrader Programming 12 February 5th, 2011 10:32 PM
Programming Indicators Using OnMarketData in NT7!!! RJay NinjaTrader Programming 3 December 16th, 2010 01:16 PM
need help - pivot issue Todd NinjaTrader Programming 2 January 22nd, 2010 10:17 AM


All times are GMT -4. The time now is 10:23 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-14 in 0.08 seconds with 20 queries on phoenix via your IP 54.90.207.75