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 |

Labeling in TC Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
thnkbigr
Posted : Wednesday, May 3, 2017 12:53:41 PM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

Are we able to Label in TC?

Bruce_L
Posted : Wednesday, May 3, 2017 1:13:11 PM


Worden Trainer

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

You can click on most indicators on the chart and select Edit to bring up an Edit window with the potion to create a Label for that indicator.

If you are talking about the Custom Labels feature from StockFinder where you use RealCode to create labels for a specific bar, then no, that type of Custom Label is not available in TC2000.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Wednesday, May 3, 2017 3:17:01 PM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

I was talking about the 2nd one Labeling like how SF does it.

Let me explain what I want to do and see you have any other option that would do the job

I have PP formula below plotted on the price window scaled with price and I have selected the histogram method where it plots a line under the price when true 

L * ABS(C > C1 AND V > ABS(C1 < C2) * V1 AND V > ABS(C2 < C3) * V2 AND V > ABS(C3 < C4) * V3 AND V > ABS(C4 < C5) * V4 AND V > ABS(C5 < C6) * V5 AND V > ABS(C6 < C7) * V6 AND V > ABS(C7 < C8) * V7 AND V > ABS(C8 < C9) * V8 AND V > ABS(C9 < C10) * V9 AND V > ABS(C10 < C11) * V10)

Above should be true when volume is highest in the last 10 days (I am assuming it is counting today as one of the 10 days if not please let me know)

Now I like to plot PP22, PP44 and PP63 as well

I can just plot PP22, PP44 and PP63 in the same way as PP10 but diff colors and having 22 overlap 10, 44 overlap 22 and 63 overlap 44 

That way if todays meet the PP63 the histogram will be Green but if PP44 is true and not 63 then it will be Blue etc...

I think this does it right?

In SF I just have a label on the price that reads 10, 22,44 or 63

 

Bruce_L
Posted : Wednesday, May 3, 2017 3:36:51 PM


Worden Trainer

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

The formula is for a pocket pivot and is not counting today as one of the last 10 bars. It compares the volume of the current bar if it is an up day to the volume of down bars during the previous 10 bars.

If you are using TC2000 v17, there is a much shorter way to write this.

L / ABS(C > C1 AND V > MAX(ABS(C1 < C2) * V1, 10))

Having the longer periods overlap the shorter periods should work just fine.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Wednesday, May 3, 2017 3:51:33 PM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

Thank you!

The version I am using is 17.0.6299.26492 is this the latest?

Also in order for me to change this PCF frpm PP10 to 22 etc... do I just adjust the last value 10 in the above PCF to 22, 44 and so on?

L / ABS(C > C1 AND V > MAX(ABS(C1 < C2) * V, 22))

L / ABS(C > C1 AND V > MAX(ABS(C1 < C2) * V, 44))

 

Bruce_L
Posted : Wednesday, May 3, 2017 3:54:12 PM


Worden Trainer

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

You have the most recent public release of TC2000.

Yes, all you should need to change is the period at the end.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Wednesday, May 3, 2017 6:35:28 PM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

Bruce I just had a chance to try this 

L / ABS(C > C1 AND V > MAX(ABS(C1 < C2) * V, 10))

vs this

L * ABS(C > C1 AND V > ABS(C1 < C2) * V1 AND V > ABS(C2 < C3) * V2 AND V > ABS(C3 < C4) * V3 AND V > ABS(C4 < C5) * V4 AND V > ABS(C5 < C6) * V5 AND V > ABS(C6 < C7) * V6 AND V > ABS(C7 < C8) * V7 AND V > ABS(C8 < C9) * V8 AND V > ABS(C9 < C10) * V9 AND V > ABS(C10 < C11) * V10)

and its not the same 

If you plot the shorter one overlapping the longer one you will see that the shorter one doesn't overlap all the days that the longer turns true 

Bruce_L
Posted : Thursday, May 4, 2017 9:22:49 AM


Worden Trainer

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

See the ABS(C1 < C2) * V section in the shortened formula? It should be a bars ago version of ABS(C < C1) * V and I didn't add the 1 to the V. So adjusting that should make them match.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Thursday, May 4, 2017 10:14:57 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

L / ABS(C > C1 AND V > MAX(ABS(C < C1) * V1, 10))

So this is what you mean 

thnkbigr
Posted : Thursday, May 4, 2017 10:18:15 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

Got it

you meant just adjusting the V to V1

Bruce_L
Posted : Thursday, May 4, 2017 10:22:44 AM


Worden Trainer

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

Yes, you should just need to change the V to V1 instead.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Friday, May 19, 2017 1:26:07 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

Bruce,

can we plot an indicator in TC. We are trying to plot the num of the days

If C > C1 and todays Vol is > all down day Vol in the last 5 days the indicator will plot 5 but if todays Vol is > all down day Vol in the last 6 days it will plot 6 and so on

If todays Vol is > all down day vol in the last 63 days it will plot 63

thx 

 

Bruce_L
Posted : Friday, May 19, 2017 9:34:45 AM


Worden Trainer

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

This formula maxes out at 63 bars.

IIF(C > C1, IIF(C1 < C2 AND V <= V1, 0, IIF(C2 < C3 AND V <= V2, 1, IIF(C3 < C4 AND V <= V3, 2, IIF(C4 < C5 AND V <= V4, 3, IIF(C5 < C6 AND V <= V5, 4, IIF(C6 < C7 AND V <= V6, 5, IIF(C7 < C8 AND V <= V7, 6, IIF(C8 < C9 AND V <= V8, 7, IIF(C9 < C10 AND V <= V9, 8, IIF(C10 < C11 AND V <= V10, 9, IIF(C11 < C12 AND V <= V11, 10, IIF(C12 < C13 AND V <= V12, 11, IIF(C13 < C14 AND V <= V13, 12, IIF(C14 < C15 AND V <= V14, 13, IIF(C15 < C16 AND V <= V15, 14, IIF(C16 < C17 AND V <= V16, 15, IIF(C17 < C18 AND V <= V17, 16, IIF(C18 < C19 AND V <= V18, 17, IIF(C19 < C20 AND V <= V19, 18, IIF(C20 < C21 AND V <= V20, 19, IIF(C21 < C22 AND V <= V21, 20, IIF(C22 < C23 AND V <= V22, 21, IIF(C23 < C24 AND V <= V23, 22, IIF(C24 < C25 AND V <= V24, 23, IIF(C25 < C26 AND V <= V25, 24, IIF(C26 < C27 AND V <= V26, 25, IIF(C27 < C28 AND V <= V27, 26, IIF(C28 < C29 AND V <= V28, 27, IIF(C29 < C30 AND V <= V29, 28, IIF(C30 < C31 AND V <= V30, 29, IIF(C31 < C32 AND V <= V31, 30, IIF(C32 < C33 AND V <= V32, 31, IIF(C33 < C34 AND V <= V33, 32, IIF(C34 < C35 AND V <= V34, 33, IIF(C35 < C36 AND V <= V35, 34, IIF(C36 < C37 AND V <= V36, 35, IIF(C37 < C38 AND V <= V37, 36, IIF(C38 < C39 AND V <= V38, 37, IIF(C39 < C40 AND V <= V39, 38, IIF(C40 < C41 AND V <= V40, 39, IIF(C41 < C42 AND V <= V41, 40, IIF(C42 < C43 AND V <= V42, 41, IIF(C43 < C44 AND V <= V43, 42, IIF(C44 < C45 AND V <= V44, 43, IIF(C45 < C46 AND V <= V45, 44, IIF(C46 < C47 AND V <= V46, 45, IIF(C47 < C48 AND V <= V47, 46, IIF(C48 < C49 AND V <= V48, 47, IIF(C49 < C50 AND V <= V49, 48, IIF(C50 < C51 AND V <= V50, 49, IIF(C51 < C52 AND V <= V51, 50, IIF(C52 < C53 AND V <= V52, 51, IIF(C53 < C54 AND V <= V53, 52, IIF(C54 < C55 AND V <= V54, 53, IIF(C55 < C56 AND V <= V55, 54, IIF(C56 < C57 AND V <= V56, 55, IIF(C57 < C58 AND V <= V57, 56, IIF(C58 < C59 AND V <= V58, 57, IIF(C59 < C60 AND V <= V59, 58, IIF(C60 < C61 AND V <= V60, 59, IIF(C61 < C62 AND V <= V61, 60, IIF(C62 < C63 AND V <= V62, 61, IIF(C63 < C64 AND V <= V63, 62, 63))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))), 0)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Friday, May 19, 2017 9:38:35 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

I tried to plot it as a PCF indicator and get an error 

Bruce_L
Posted : Friday, May 19, 2017 9:54:55 AM


Worden Trainer

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

Are you using TC2000 v17? It will not work in earlier versions of TC2000.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Friday, May 19, 2017 10:11:45 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

I am 

17.0.6345.26080

I clicked on add indicator, Custome PCF Indicator and pasted your pcf 

Bruce_L
Posted : Friday, May 19, 2017 10:23:33 AM


Worden Trainer

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

Please try copying it from the forums and pasting it into a text editor (such as Notepad, not a word processor like Word) and then copying and pasting from the text editor into the Custom PCF Indicator.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Friday, May 19, 2017 11:53:24 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

worked

Now can I plot this as a column in the watchlist?

Bruce_L
Posted : Friday, May 19, 2017 11:56:04 AM


Worden Trainer

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

You should be able to just click on the indicator and select Copy to WatchList or Report | Add Column.

Another option would be to save the formula as an Indicator Formula. Then it would show up on the list when selecting Add Column at the top of the WatchList.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Friday, May 19, 2017 12:16:46 PM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

thx

thnkbigr
Posted : Wednesday, May 24, 2017 9:24:42 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

Bruce

I overlayed teh indicator above on top of price but on its own scale so I have two scales on the right Price and the scale for the indicator which I call PP Number and it goes from 0 to 63

Now in the Price pane I have grid lines for teh price and grid lines for the indicator which clutters the chart. 

How do get rid of the grid lines for the indicator?

Bruce_L
Posted : Wednesday, May 24, 2017 9:40:53 AM


Worden Trainer

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

The only way I know of to hide just one of the gridlines in the pane would be to hide the entire scale.

How to toggle the Indicator Scale when multiple indicators are plotted in the same pane



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Wednesday, May 24, 2017 10:04:45 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

I played with that already. that woudln't work bc I need to some how see the value of the indicator so I need to have the scale showing.

I thought maybe there is a way I can reduce the opacity of the grid lines to lowest level on the indicator scale? 

Bruce_L
Posted : Wednesday, May 24, 2017 10:25:51 AM


Worden Trainer

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

You can change the gridlines opacity by right-clicking on the chart and selecting Edit Chart Properties | Color/Grid, but the sliders affect all of the gridlines on the chart and not just the gridlines in a particular indicator's scale.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Wednesday, May 24, 2017 11:35:06 AM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

Thx Bruce

I did that as well and yes it affects all gridlines unfortunatly 

Bruce_L
Posted : Wednesday, May 24, 2017 12:05:28 PM


Worden Trainer

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

You're welcome. Unfortunately I don't have any other suggestions as to a workaround to get rid of the gridlines you don't want.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
traderlady
Posted : Wednesday, May 24, 2017 1:10:54 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

I changed the above Custom PCF % True to the one below.

 

MY TITLE:

% Time (100 Days) C<1%>Previous 170524

CUSTOM PCF % TRUE:

CountTrue(C< 1.01 * C1, 43) > 32

 

Perhaps this isn't correct?  But, when I place the above as a Column, it returns a check rather than a numerical value.

 

traderlady
Posted : Wednesday, May 24, 2017 1:11:57 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

Maybe I should have made one more change (< instead of >).

 

MY TITLE:

% Time (100 Days) C<1%<Previous 170524

CUSTOM PCF % TRUE:

CountTrue(C< 1.01 * C1, 43) < 32

traderlady
Posted : Wednesday, May 24, 2017 1:14:05 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

With that change (< instead of >) it still returns checks rather than percentage numerical values.

Is it because it is only measuring today rather than the period of 100 days?

 

Bruce_L
Posted : Wednesday, May 24, 2017 1:17:51 PM


Worden Trainer

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

The > 32 and < 32 at the ends of the two formulas is what causes the formula to return true or false. It is convertiing the numeric count returned by the CountTrue() into a Boolean result instead.

If you leave it off, it just returns the count.

CountTrue(C< 1.01 * C1, 43)

If you want this returned as a percentage of the time instead of a count.

100 * CountTrue(C< 1.01 * C1, 43) / 43



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
traderlady
Posted : Wednesday, May 24, 2017 1:22:39 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

Sorry for posting on the wrong thread.  Please move the above three posts by me to "open open stats".

Bruce_L
Posted : Wednesday, May 24, 2017 4:01:43 PM


Worden Trainer

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

I am not sure if I can actually get the posts moved, but I'll try.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
thnkbigr
Posted : Wednesday, May 24, 2017 4:21:24 PM
Platinum Customer Platinum Customer

Joined: 3/31/2006
Posts: 3,207

Thx Bruce

I did that as well and yes it affects all gridlines unfortunatly 

Bruce_L
Posted : Thursday, May 25, 2017 8:49:24 AM


Worden Trainer

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

You're welcome. Unfortunately I don't have any other suggestions as to a workaround to get rid of the gridlines you don't want.



-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.