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

Convert CountTrue into a Percentage Value Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
traderlady
Posted : Tuesday, October 16, 2018 11:34:43 AM
Registered User
Joined: 10/7/2004
Posts: 1,178

With a Daily timeframe, I am using a Custom Indicator for the CountTrue formula below:

CountTrue((V>100),63)

 

And with a one-minute timeframe, I am using a Custom Indicator for the CountTrue formula below:

CountTrue((V>100),390)

 

I am now wanting to convert the results of each into a percentage value.

 

StockGuy
Posted : Tuesday, October 16, 2018 1:39:38 PM

Administration

Joined: 9/30/2004
Posts: 9,187

CountTrue((V>100),63) / 63 * 100

CountTrue((V>100),390) / 390 * 100 

If you're only looking for volume > 100 both formulas will probably return 100% practically all of the time on the Daily time frame.

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.