Tick (# of Trades) per Minute Counter - ThinkOrSwim Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > ThinkOrSwim Programming

Tick (# of Trades) per Minute Counter
Started:August 14th, 2014 (04:10 PM) by TraderEnlight Views / Replies:857 / 2
Last Reply:August 14th, 2014 (04:50 PM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Tick (# of Trades) per Minute Counter

Old August 14th, 2014, 04:10 PM   #1 (permalink)
Elite Member
Los Angeles, CA/USA
Futures Experience: Beginner
Platform: thinkorswim
Favorite Futures: Futures
TraderEnlight's Avatar
Posts: 12 since Aug 2014
Thanks: 3 given, 1 received

Tick (# of Trades) per Minute Counter

Hi All,

I am searching through the Forums and I don't see anything like this. Is it possible in ThinkorSwim to create a Counter that displays say in the upper part of the chart that counts how many trades are being executed per Minute/ per 30 Minutes/ per Hour and if it is possible, could somebody help guide me in how to do it?

I'd like an indicator like this as sort of a Market Speedometer which can allow us to better gauge how aggressive or passive we can be when trying to Limit ourselves into the Market.

I'm a novice with ThinkScript and have created a few personalized indicators already but need some guidance.

Just thinking about it... We can define a variable that counts the number of times Current Price is greater than or less than Previous Price (recursive) and in the case of Per Minute, we would just take the Current Counter and the Previous Counter (again a recursive) and Average those 2 Counters every minute.

I'm not sure if we can tell ThinkScript to do something once every set time period. Time has always been a tricky thing for me to understand in ThinkScript.

Is there a better way to do this other than a Trades per time period Speedometer?

Thank you guys!

Reply With Quote

Old August 14th, 2014, 04:23 PM   #2 (permalink)
Elite Member
Portland Oregon, United States
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
Zondor's Avatar
Posts: 1,276 since Jul 2009
Thanks: 1,227 given, 2,443 received

maybe not the answer you were looking for..

It can certainly be done in Ninjatrader, and the accuracy of such indicators will be improved with announced changes appearing in Ninjatrader 8.

I greatly prefer Ninjatrader to Think or Swim, which I tried and rejected.. after just a few minutes.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Reply With Quote

Old August 14th, 2014, 04:50 PM   #3 (permalink)
Elite Member
Texas, USA
Futures Experience: Intermediate
Platform: X_TRADER Pro, Custom
Broker/Data: Nanex, IQFeed
Favorite Futures: Futures, Spreads
Hulk's Avatar
Posts: 199 since May 2014
Thanks: 478 given, 420 received

I worked with ThinkScript only for a short time so I am not sure but the code for indicators etc on most platforms executes whenever a trade is executed and the platform receives data regarding that trade. So everytime there is a tick, the code would get executed once. Assuming this, you could code a counter to get incremented by 1 and have another set of variables to record time. I think you can easily prove this by writing a small piece of code and see if it gets executed only once per incoming tick.

Reply With Quote


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > ThinkOrSwim Programming > Tick (# of Trades) per Minute Counter

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Range Counter / Tick Counter / Bar Timer zeller4 NinjaTrader 20 August 10th, 2015 03:01 PM
Tick Counter that works in Multicharts RomanFx MultiCharts 0 May 23rd, 2012 07:39 PM
Purchasing tick / minute data patbateman The Elite Circle 9 April 22nd, 2012 02:12 PM
Multicharts Tick Counter buylosellhi MultiCharts 5 January 19th, 2012 02:42 PM
Tick Counter for BetterLineBreak Bars? Abde NinjaTrader 2 January 18th, 2012 10:26 PM

All times are GMT -4. The time now is 07:16 PM.

Copyright © 2016 by 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 2016-10-26 in 0.07 seconds with 19 queries on phoenix via your IP