Using OnMarketData() on Historical data with a recording engine - NinjaTrader Programming | futures io social day trading
futures io futures trading


Using OnMarketData() on Historical data with a recording engine
Updated: Views / Replies:28,311 / 115
Created: by gomi Attachments:23

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
 23  
 
Thread Tools Search this Thread
 

Using OnMarketData() on Historical data with a recording engine

  #51 (permalink)
Elite Member
CA
 
Futures Experience: Master
Platform: Marketdelta and Ninja
Broker/Data: Velocity
Favorite Futures: NQ
 
Posts: 670 since Apr 2010
Thanks: 64 given, 521 received

I went on their website, but there's no executable file. I know that this doesn't have to do with the gom recorder, but is anyone willing to share how its setup?

In terms of Gomi's work, it doesn't seem i can use it anymore anyways because of all the issues with ninja. Im forced to use a different platform for now.

Reply With Quote
 
  #52 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,173 since Oct 2009
Thanks: 227 given, 4,090 received


aviat72 View Post
While trying to develop something similar to your Volume Ladder, I felt that CalculateOnBarClose should be true, since all the live data is based on MarketData event. However, when rebuilding the information, I had an off by one error since the bar on which the data-was to be plotted was already completed before the Gom functions were call. I offset it by one, but then faced a problem when transitioning from historical to live data. The bar which is currently being built was part historical and part real-time.

Will the new updates help in the transition? I am not sure whether the setting for the CalculateOnBarClose would make any difference in overall performance for the Gom based indicators but wanted to optimize as much as I could.

I think you should keep CalculateOnBarClose to false... If you override Plot() method then new version is of no importance, but fo r best performance(on historiocla data) if you use OnBarUpdate-like code you should put bar init code in GomOnBarUpdate() and plotting code in GomOnBarUpdateDone()

Reply With Quote
 
  #53 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,173 since Oct 2009
Thanks: 227 given, 4,090 received



LukeGeniol View Post
Ja, I done it first.

Thanks.

Luke.

Does it look like
-SYMBOL DATE PRICE TICKVOL BID ASK
@ES# 04/20/2009 16:30:00 831.50000 50 831.50000 831.50000
@ES# 04/20/2009 16:30:00 831.50000 32 831.50000 831.50000
@ES# 04/20/2009 16:30:00 831.50000 30 831.50000 831.50000
@ES# 04/20/2009 16:30:00 831.50000 25 831.50000 831.50000
@ES# 04/20/2009 16:30:00 831.50000 25 831.50000 831.50000

Reply With Quote
 
  #54 (permalink)
Elite Member
Italy (IT)
 
Futures Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker/Data: Rithmic
Favorite Futures: CL, Brent, GC, TF
 
LukeGeniol's Avatar
 
Posts: 1,501 since Apr 2010
Thanks: 408 given, 974 received


gomi View Post
Does it look like
-SYMBOL DATE PRICE TICKVOL BID ASK
@ES# 04/20/2009 16:30:00 831.50000 50 831.50000 831.50000
@ES# 04/20/2009 16:30:00 831.50000 32 831.50000 831.50000
@ES# 04/20/2009 16:30:00 831.50000 30 831.50000 831.50000
@ES# 04/20/2009 16:30:00 831.50000 25 831.50000 831.50000
@ES# 04/20/2009 16:30:00 831.50000 25 831.50000 831.50000


ja but the date is in different format M/D/Y.

Luke.

Take your Pips, go out and Live.
Luke.
Reply With Quote
 
  #55 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,173 since Oct 2009
Thanks: 227 given, 4,090 received

So it should work then.... Dunno if anybody else has the problem...

Reply With Quote
 
  #56 (permalink)
Elite Member
Italy (IT)
 
Futures Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker/Data: Rithmic
Favorite Futures: CL, Brent, GC, TF
 
LukeGeniol's Avatar
 
Posts: 1,501 since Apr 2010
Thanks: 408 given, 974 received


gomi View Post
So it should work then.... Dunno if anybody else has the problem...

sorry, I see now that the date is in the same format.....ops

Thanks.

Luke.

Take your Pips, go out and Live.
Luke.
Reply With Quote
 
  #57 (permalink)
 R.I.P. 1960-2010 
 
Futures Experience: Advanced
Platform: NinjaTrader7
Broker/Data: Mirus RCG/Zen-Fire
Favorite Futures: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,104 given, 1,390 received

Is there a way to force the Gom Recorder to write all buffered data before a shut down?

I was sending Gom Data to a collaborator and then restated & see this. If I do not restart then the file stored has a much earlier time stamp & was uncertain if all data accumulated would be included in the sent file.

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Attached Thumbnails
Using OnMarketData() on Historical data with a recording engine-cl-08-10-2048-volume-7_8_2010_1905.jpg  
Reply With Quote
 
  #58 (permalink)
Elite Member
Paris
 
Futures Experience: None
Platform: NinjaTrader
 
Posts: 1,173 since Oct 2009
Thanks: 227 given, 4,090 received

Hi,

I don't know why this happens because the recorder doesn't buffer data : it flushes after every tick
bw.Flush();

Reply With Quote
The following user says Thank You to gomi for this post:
 
  #59 (permalink)
Elite Member
Toronto
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 108 since Sep 2009
Thanks: 30 given, 183 received


cclsys View Post
Gomi or anyone else. I have tried to apply the Recorder to EdsVolPriceBars but it won't accept the GomOnMarketUpdate so I am stumped. It runs as is (without it inserted) but doesn't record.

The relevant line (I think) is:

"
protected override void OnMarketData(MarketDataEventArgs e)

"

I have tried putting in:
"
protected override void GomOnMarketData(MarketDataEventArgs e)
"
to no avail.

Any suggestions?

I'm just wondering: did you ever get this working, or did anyone? I am interested in a Gomi version of this particular indicator, if it exists...

Thanks!

Reply With Quote
 
  #60 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received


Hi All,

Trying out the recorder from post 31.

Its recording OK with binary setting but will not record data with millisec setting.

Does anyone have this working in NT7???

Thanks,

RJay


UPDATE:

Well, I got it working sort of.

If I record using GomCD indicator, then the historic data can be accessed with my indicators.

Don't know why... But it works.


Last edited by RJay; October 8th, 2010 at 09:26 AM.
Reply With Quote

Reply



futures io > > > > > Using OnMarketData() on Historical data with a recording engine

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

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
Historical CL Tick Data and Minute Data Big Mike The Elite Circle 112 July 26th, 2014 07:07 PM
BuySellVolumeTotalG39 Lost data recording ability JohnPS The Elite Circle 2 April 26th, 2011 12:30 AM
Historical Tick Data togier Reviews of Brokers and Data Feeds 2 December 3rd, 2010 05:09 PM
Anyone not receive pre-market data while recording with NinajTrader via IQFeed today? richw Reviews of Brokers and Data Feeds 1 May 10th, 2010 08:48 PM


All times are GMT -4. The time now is 08:35 AM.

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-12 in 0.17 seconds with 20 queries on phoenix via your IP 54.90.207.75