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 Quick Summary with 1 posts (0 thanks)
    3. looks_3 balance with 1 posts (0 thanks)
    4. looks_4 Big Mike with 1 posts (1 thanks)
    1. trending_up 2,564 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
  #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?
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
No book, only a stair: journaling fills where price move …
Cryptocurrency
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
FootPrintV2 Chart for NT8
1 thanks
BERN ALGOS algo trading journal
1 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
  #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
 R.I.P. 1977-2026 
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,586

The GomRecorder thread is here:


Mike




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 X Visit my NexusFi Trade Journal
Thanked by:

Closed Thread



Last Updated on February 21, 2013


© 2026 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 - Downloads - Top
no new posts