Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
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
|
|
Registered User Joined: 5/20/2010 Posts: 15
|
Is what you are saying is like the indicator $TICK and $TRIN
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
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
|
|
Registered User Joined: 5/20/2010 Posts: 15
|
What I mean i do we hve a chart on Cumulative TICK ?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
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
|
|
Registered User Joined: 5/20/2010 Posts: 15
|
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
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
There is no way to restart the cumulative total at the beginning of each trading day.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 5/20/2010 Posts: 15
|
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
|
|
Guest-1 |