NexusFi: Find Your Edge


Home Menu

 





Tick (# of Trades) per Minute Counter


Discussion in ThinkOrSwim

Updated
    1. trending_up 4,058 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Tick (# of Trades) per Minute Counter

  #1 (permalink)
 
TraderEnlight's Avatar
 TraderEnlight 
Los Angeles, CA/USA
 
Experience: Beginner
Platform: thinkorswim
Trading: Futures
Posts: 12 since Aug 2014
Thanks Given: 3
Thanks Received: 1

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!

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
About a successful futures trader who didn´t know anyth …
Psychology and Money Management
What broker to use for trading palladium futures
Commodities
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
Better Renko Gaps
The Elite Circle
 
  #2 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731

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
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
Hulk's Avatar
 Hulk 
Texas, USA
 
Experience: Advanced
Platform: TT, Custom
Trading: Futures, Spreads
Posts: 369 since May 2014
Thanks Given: 731
Thanks Received: 901


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.

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on August 14, 2014


© 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