New version 17 available now


Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Trade Count Indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
cknudsen
Posted : Friday, January 19, 2018 2:17:47 PM
Registered User
Joined: 5/12/2016
Posts: 1

Is it possible to create a Custom PCF Indicator that would count the number of trades (ticks) for the last 15 seconds, the last 30 seconds, and the last minute (Trade Count)?

 

I would like the ability to:

   View Trade Count as a plot on Charts (5 minute, 3 minute, 1minute)

   Use Trade Count in Scans and Watch Lists (15 Second, 30 Second, 1 Minute)

 

If we can’t count All Ticks, can we count up ticks using a Custom PCF Indicator?

 

Please provide a sample of the code.

Thanks for your help!

Bruce_L
Posted : Friday, January 19, 2018 2:32:08 PM


Worden Trainer

Joined: 10/7/2004
Posts: 61,974

No, there isn't a way to count the number of trades, ticks or up ticks during a given span of time as there is no way to mix time frames.

I guess you could count the number of up ticks in the most recent 100 ticks or something when using the tick time frame.

CountTrue(C > C1, 100)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rene6985
Posted : Sunday, February 11, 2018 8:32:04 PM
Gold Customer Gold Customer

Joined: 5/20/2010
Posts: 11

Is what you are saying is like the indicator $TICK  and $TRIN

Bruce_L
Posted : Monday, February 12, 2018 10:38:01 AM


Worden Trainer

Joined: 10/7/2004
Posts: 61,974

I am not quite sure if the question is for me or cknudsen (as a possible suggestion to help with doing what was requested in the original question).

The Tick Index indicator shows the number of stocks trading on an uptick minus the number of stocks trading on a downtick. The TRIN indicator is a technical analysis indicator calculated by dividing the advances-to-declines spread by the volume of advances to declines.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rene6985
Posted : Tuesday, February 13, 2018 2:13:19 AM
Gold Customer Gold Customer

Joined: 5/20/2010
Posts: 11

What I mean i do we hve a chart on  Cumulative TICK  ?

Bruce_L
Posted : Tuesday, February 13, 2018 9:53:50 AM


Worden Trainer

Joined: 10/7/2004
Posts: 61,974

You could cumulate the TICK over time by adding a Custom PCF Cumulative Indicator to the chart with the following settings and switching to the TICK chart.

Period: 1
Average Type: Simple
Up Condition: C > C - 1
Down Condition: C < C - 1
Value to Add/Subtract: C

How to Add an Indicator to a Chart Template



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rene6985
Posted : Tuesday, February 13, 2018 8:31:17 PM
Gold Customer Gold Customer

Joined: 5/20/2010
Posts: 11

I

I don't want direction, I want status and values on my Cumuative Tick
Example on 15 TF
10:00  am  tick is 400
10: 15 am tick is -200
 the accumulation is the Cumuative Tick has values of  200 at 10:15 am
10:30   tick is -400
the cumulattive tick  is now  -200  at 10:30 am
and so on
I want the value to be plotted as a bar  above and below the zero line

 

Bruce_L
Posted : Wednesday, February 14, 2018 9:09:12 AM


Worden Trainer

Joined: 10/7/2004
Posts: 61,974

There is no way to restart the cumulative total at the beginning of each trading day.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rene6985
Posted : Thursday, February 15, 2018 12:37:25 AM
Gold Customer Gold Customer

Joined: 5/20/2010
Posts: 11

we are using the last data on the next day, so we could not do it elite trade , did it
https://www.youtube.com/watch?v=2aJnBW2hWHE
you mean they are better than TC2000 developer

Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.