NexusFi: Find Your Edge


Home Menu

 





Does Historical Testing with TickCount Require Gomi Recorder?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one tornadoatc with 2 posts (0 thanks)
    2. looks_two Big Mike with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 balance with 1 posts (0 thanks)
    1. trending_up 1,820 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




Closed Thread
 
Search this Thread

Does Historical Testing with TickCount Require Gomi Recorder?

  #1 (permalink)
 tornadoatc 
Ft. Lauderdale Florida
 
Experience: Intermediate
Platform: Tradestation
Posts: 17 since Apr 2010
Thanks Given: 31
Thanks Received: 3

Hello,

I want to create an OBV calculation that uses TickCount instead of Volume when Indy is applied to Volume Bar Chart.

Using logic like
 
Code
				if (BarsPeriod.Id != PeriodType.Volume) // Check for Volume Bars
				{
					if (Close[0] > Close[1])
						Value.Set(Value[1]+ Volume[0]);
					else if (Close[0]  < Close[1])
						Value.Set(Value[1] - Volume[0]);
					else
						Value.Set(Value[1]);
				}
				else if (BarsPeriod.Id == PeriodType.Volume) // Check for Volume Bars
				{
					Print("Current Bar = " + CurrentBar + " TickCount = " + Bars.TickCount.ToString()) ; 
					if (Close[0] > Close[1])
						Value.Set(Value[1] + Bars.TickCount);
					else if (Close[0]  < Close[1])
						Value.Set(Value[1] - Bars.TickCount);
					else
						Value.Set(Value[1]);
				}
But this seems to only work in Real-time. I want to use this for Backtesting. Basically TickCount Reports the same value for every Historical Bar.

So, I would like to know if this is something that would work correctly if applied to data files created with the Gomi Recorder? With the Gomi Recorded files does Bars.TickCount work correctly then? If not, are there special functions to call?

Thanks,
ATC

Started this thread

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
What broker to use for trading palladium futures
Commodities
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #3 (permalink)
 balance 
Taiwan
 
Experience: Intermediate
Platform: TOS, Matlab
Broker: IB, ToS
Trading: HSI, TF, CL
Posts: 17 since Aug 2011
Thanks Given: 5
Thanks Received: 11


I'd like to know solutions/suggestions to this.
The lack of tick support makes my development process extremely difficult to debug, let along backtest.

I did some digging into Gomi but it seems majority of the discussions are on how to record data and using the enclosed indicators (ladder, cumulative delta, etc) instead of using its tick rendering engine as a replay/backtest framework.

  #4 (permalink)
 tornadoatc 
Ft. Lauderdale Florida
 
Experience: Intermediate
Platform: Tradestation
Posts: 17 since Apr 2010
Thanks Given: 31
Thanks Received: 3

Much appreciated if someone can answer the following:

1) Can the GOM Recorder Data (Bid and Ask) be used to calculate Tick Volume for indicators such as OBV when applied to a Volume Chart?

2) Can the GOM Recorder Data be used for BackTesting?

3) Do I have to go through the Ninja Replay process?

Sorry .. Just learning Ninja and hitting a wall every day.


Thanks,
ATC

Started this thread
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,469 since Jun 2009
Thanks Given: 33,246
Thanks Received: 101,669

The GomRecorder thread is here:


Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal
Thanked by:

Closed Thread



Last Updated on February 21, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts