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


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Percent True Indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
thomasjrmm
Posted : Sunday, December 10, 2017 12:11:42 PM
Registered User
Joined: 3/26/2005
Posts: 63

Is there a formula that will enable me to identify the "MAXC21.5"  using the Percent true indicator?

Bruce_L
Posted : Monday, December 11, 2017 11:37:37 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I don't understand the question. MAXC21.5 returns a number value, while a Custom PCF % True Indicator returns true or false.

You are generally going to need to compare MAXC21.5 to something in order to convert in from a numeric value into a Boolean (true or false) result. I do not know what comparison you wish to make.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thomasjrmm
Posted : Monday, December 11, 2017 6:06:20 PM
Registered User
Joined: 3/26/2005
Posts: 63

I tried to associate the formula with Percent True indicator By posting in the indicator "C = MAXC21.5".

The program accepted this as a booleen formula , but I had no response on the chart screen.

I can identify the proper formula result in a watch list and then find the related symbol in each respective chart. I was just looking for a short cut.

Thanks Bruce 

Mart Thomas

 

Bruce_L
Posted : Tuesday, December 12, 2017 9:32:30 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Your formula is fairly restrictive in that it requires the current price to be exactly equal to the highest closing price over the 21 bars ending 5 bars ago.

That said, I currently get 63 symbols returning true for this in the US Common Stocks WatchList.

Checking for price to be at or above this value returns a lot more results (764 currently)

C >= MAXC21.5



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thomasjrmm
Posted : Tuesday, December 12, 2017 2:52:52 PM
Registered User
Joined: 3/26/2005
Posts: 63

My purpose of using the "Percent True" indicator is to graphically identify the closing signal on the chart that represents the formula "MAXC21.5".

I would like to find a formula that will point to this value on the chart so it is easily identified In "Percent True".

I can identify the value on a watch list , but not highlight it on the chart. In testing for a formula I have tried " C < MAXC21.5 +.01 AND C > MAXC21.5 -.01" and other variations.

The "Perent True" indicatior has accepted several of these variations, but will not return a signal to point to the chart value.Even attempted a long variation such as "C21 = MAXC21.5 OR C20 = MAXC21.5 OR C19 = MAXC21.5" etc without results.

I'm stumped, is this not a doable effort?

Thanks Bruce

Bruce_L
Posted : Tuesday, December 12, 2017 3:04:33 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I still don't understand what you are trying to do. Using C = MAXC21.5 as the Boolean Formula in a Custom PCF % True Indicator produces spikes on the chart for lots of symbols (especially lower priced symbols).

A Custom PCF % True Indicator isn't going to plot MAXC21.5 as a value on the chart. It is going to plot true or false on the chart after you have made some sort of comparison to check if that comparison to MAXC21.5 is currently true. There will be a spike to 100 when true which will drop to 0 when false.

If you just want to plot the value returned by MAXC21.5 on the chart, you will need to use a plain Custom PCF Indicator instead. You would then just use it as the Formula and plot it in the same pane and scale as price.

MAXC21.5

If you want a dot on the chart at this value when price is exactly equal to MAXC21.5, you could use a Custom PCF Indicator set to the Dots Plot Style plotted in the same pane and scale an price.

IIF(C = MAXC21.5, MAXC21.5, 1 / 0)

If you wanted to plot this dot when the price bar intersects this value, you could use the following Formula instead.

IIF(L <= MAXC21.5 AND MAXC21.5 <= H, MAXC21.5, 1 / 0)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thomasjrmm
Posted : Tuesday, December 12, 2017 5:38:44 PM
Registered User
Joined: 3/26/2005
Posts: 63

I would like to follow your lead with an indicator on the chart screen, but i am using TC2000V7.

I suspect your referances are appllicable to V17.

At this point don't know how to improve the issue until I step up to V17.

Bruce_L
Posted : Wednesday, December 13, 2017 8:53:52 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The first formula given in my previous response wouldn't change.

MAXC21.5

I can write formulas which should match the results of the other formulas in my previous response for TC2000 v7, but the Custom Indicator in TC2000 v7 doesn't have the Dots Plot Style. So you would end up with a line plot (which doesn't really do the same thing).

The second formula becomes:

MAXC21.5 / ABS(C = MAXC21.5)

And the third formula becomes:

MAXC21.5 / ABS(L <= MAXC21.5 AND MAXC21.1 <= H)

You really need to upgrade to TC2000 v17 for this to work correctly (and I don't even know for sure if it will do what you want).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thomasjrmm
Posted : Wednesday, December 13, 2017 9:58:18 PM
Registered User
Joined: 3/26/2005
Posts: 63

Bruce

Thanks so much for your input.

Will take a look at the revised formulas in your last message.

Bruce_L
Posted : Thursday, December 14, 2017 8:10:05 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
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.