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 |

Profile: donv98
About
User Name: donv98
Groups: Gold User, Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Gender:
Statistics
Joined: Thursday, July 29, 2010
Last Visit: Thursday, March 23, 2017 12:39:27 PM
Number of Posts: 349
[0.13% of all post / 0.14 posts per day]
Avatar
Last 10 Posts
Topic: R Squared/TSI
Posted: Thursday, March 23, 2017 12:31:23 PM

Bruce,

   Thank you very much.

This is very helpful.

I never thought about it in  terms like you presented with rounding errors and that there would not be exact identicality.

I think close enough to identical for me is probably within 0.5,so that's what I will try for the difference.

I am spending time on this because I think  the above pcf is worthy of the efforts.

Thank you for your efforts,

 

Don

Topic: R Squared/TSI
Posted: Thursday, March 23, 2017 12:06:30 PM

Bruce,

  Many thanks for trying.

The pcf looks for identical tsi values over the past 2 bars which can be quite useful.

This clearly demonstrates the limitations of the old syntax.

 

If I were using V. 17 could I use this pcf as written:

XAVG(XAVG(C - C1,3), 8) / XAVG(XAVG(ABS(C - C1), 3), 8) =

XAVG(XAVG(C1 - C2,3), 8) / XAVG(XAVG(ABS(C1 - C2), 3), 8) ?

 

 

Don

Topic: R Squared/TSI
Posted: Thursday, March 23, 2017 11:17:17 AM

Bruce,

   Would the below pcf from V 17 be possible using the old  formulas?

 

XAVG(XAVG(C - C1,3), 8) / XAVG(XAVG(ABS(C - C1), 3), 8) =

XAVG(XAVG(C1 - C2,3), 8) / XAVG(XAVG(ABS(C1 - C2), 3), 8)

 

Thank you for any help,

Don

Topic: True Strength Index (TSI)
Posted: Friday, March 17, 2017 11:35:17 AM

Bruce,

   Thank you.

 

Don

 

Topic: True Strength Index (TSI)
Posted: Friday, March 17, 2017 11:27:16 AM

Bruce,

  Please help me understand the above template.

First the price change is calculated ie. C-C1

The way the above is written it looks like the short period smoothing is done before the long period  smoothing. Stockcharts.com has  the long period first,  then the short period.

Double Smoothed PC
PC = Current Price less Prior Price
First Smoothing = 25-period EMA of PC
Second Smoothing = 13-period EMA of 25-period EMA of PC

Double Smoothed Absolute PC
Absolute Price Change |PC| = Absolute Value of Current Price less Prior Price
First Smoothing = 25-period EMA of |PC|
Second Smoothing = 13-period EMA of 25-period EMA of |PC|

 

What am I  getting wrong here?

 

 

Thank you,

Don

Topic: Indicator Formula Templates
Posted: Friday, March 17, 2017 11:20:22 AM

Bruce,

   Fantastic job compiling all of these templates so they are readily accessible,

Thank you very much!

 

Don

Topic: Intraday consolidation, breakout V17
Posted: Monday, March 13, 2017 2:32:40 PM

QUOTE (Bruce_L)

There is no way to reference the start of the day in an intraday time frame, so a formula which would automatically check for consolidation since the start of the trading day in a 5 minute time frame is not possible.

Identifying consolidation can be done a variety of ways.

  • You could check for price to remain within a specific dollar range over a specific span of time.
  • You could check for price to remain within a specific percent range over a specific span of time.
  • You could check for the total price range over a span of time to be much narrower than the total price range over a longer or previous span of time.
  • You could check for the width of the Bollinger Bands to be less than an arbitrary percentage of the value of the centerline of the Bollinger Bands.
  • Youcould check for the width of the Bollinger Band to be narrower than the width of the Keltner Channels.
  • You could check for ADX to be low.
  • You could check for the values of a short and a long moving average to be near each other (MACD or PPO to be near zero).

Identifying the breakout can be done a variety of ways.

  • You could check for whatever requirement you set for consolidation to be no longer true.
  • You could check for price to above the max high for an arbitrary period.
  • You could check for the requirement not be true and price to be above the high of the consolidation period (this might result in a much longer formula).
  • You could check for MACD crossing up through zero.
  • You could check for DI+ crossing above DI-.

Really, the point is that you need to define both the consolidation and the breakout to create a formula, not that any particular technique is better than any ohter technique.

TC2000 v17 didn't add a way to identify the start of the trading day, but it still might be able to help us with the addition of the CountTrue(), SinceTrue() and TrueInRow() functions.

Version 17 PCF Capabilities

 

Bruce,

I wish there was an easy  way to preserve some of these excellent comprehensive posts like the above.

I really appreciate the above post.

Don

 

Topic: PCF
Posted: Friday, March 10, 2017 1:11:08 PM

Bruce,

    Many thanks for  helping me understand  this valuable trick.

Don

Topic: PCF
Posted: Friday, March 10, 2017 12:27:12 PM

Bruce,

   I am wondering how universally the trick above can be applied.'

Can this trick be used to convert any Boolean into  a dot plotted on the chart?

Topic: PCF
Posted: Friday, March 10, 2017 12:05:31 PM

Bruce,

   Thank you for helping me understand.

I really like the trick of plotting a dot 1.005 times the high.

Very useful.

Don