Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Thread Tools Display Modes
Old 05-05-2012, 06:05 PM   #1
Junior Member
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default simulation/live/replay : count ticks in the last second when not using bars ?

Is it possible to count the number of ticks (meaning quote changes at any dom level or trades) in the last second and number of ticks so far this second and use that in some kind of indicator for automated trading ?
Last edited by bidask201; 05-06-2012 at 08:12 AM.
bidask201 is offline  
Reply With Quote
Old 05-06-2012, 04:35 PM   #2
NinjaTrader Customer Service
NinjaTrader_AdamP's Avatar
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 387 times in 375 posts


Yes, this would be possible.

Here is a help guide for tickcount : http://www.ninjatrader.com/support/h...?tickcount.htm

You may also need to use some datetime objects.

NinjaTrader_AdamP is offline  
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How does the DOM count the ticks? Harry Version 7 Beta General Questions & Bug Reports 9 11-18-2010 09:25 AM
Ticks per Second - how do I count them ? deanz General Programming 9 10-25-2009 07:19 PM
Live + Simulation effebi Installation and Licensing 9 06-14-2009 11:45 AM
Updated:MACD BB and TICKS Count Indicator Will somebody CODE this in NINJA SCRIPT SurfMaverick Indicator Development 1 11-12-2008 08:28 AM
Live vs. Simulation higler Charting 6 06-29-2007 05:12 PM

All times are GMT -6. The time now is 08:14 PM.

FULL RISK DISCLOSURE: Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

The NinjaTrader Support Forum is hosted and operated by NinjaTrader LLC (“NT”), a software development company which owns and supports the NinjaTrader trading platform. NT is an affiliated company to NinjaTrader Brokerage (“NTB”), which is an NFA registered introducing broker (NFA #0339976). The Support Forum is intended for information and educational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate and the information made available on this Web site is not an offer or solicitation of any kind. Developers who offer products or other trading software tools to be used with the NinjaTrader trading platform are independent persons or companies that are in no manner affiliated with NT or NTB. Please be aware that any performance information provided by a 3rd party developer should be considered hypothetical and must contain the required additional disclosures. Specific questions related to a brokerage account should be sent to your broker directly. The views and opinions expressed in this forum are those of the authors and do not necessarily reflect the official policy or position of NT or NTB.