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 |

ATR Based indicator ... Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rbyrne
Posted : Thursday, March 16, 2017 11:34:29 AM
Registered User
Joined: 10/21/2004
Posts: 28

It is possible to design an indicator on TC 2000 that will create a line, one ATR (based on a 50-day ATR) above a 50-day Exponential moving average? 

 

 

Bruce_L
Posted : Thursday, March 16, 2017 11:51:36 AM


Worden Trainer

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

Yes, please try using the following Formula in a Custom PCF Indicator in TC2000 v17.

XAVG(C + ATR, 50)

You could use the following Formula in a Custom PCF Indicator in earlier versions of TC2000, but you would need to change the Average Type to Exponential and the Period to 50.

C + (H - L + ABS(H - C1) + ABS(C1 - L)) / 2



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rbyrne
Posted : Thursday, March 16, 2017 12:01:37 PM
Registered User
Joined: 10/21/2004
Posts: 28

Thanks Bruce. Much appreciated :)

rbyrne
Posted : Thursday, March 16, 2017 12:04:05 PM
Registered User
Joined: 10/21/2004
Posts: 28

Bruce, if I want to alter that one ATR figure...to say .5 ATR or 2 ATR, how would I go about doing that? 

Thanks.

Bruce_L
Posted : Thursday, March 16, 2017 12:20:04 PM


Worden Trainer

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

For the first formula you would put the multiplier before ATR. So the following would be .5 ATR for example.

XAVG(C + .5 * ATR, 50)

And for the second formula you would put the multiplier before the first parenthesis. So the following would be 2 ATR for example.

C + 2 * (H - L + ABS(H - C1) + ABS(C1 - L)) / 2

The 2s cancel out in this case so it could be simplified a bit to the following, but this would certainly not happen with every factor you could use for the ATR.

C + H - L + ABS(H - C1) + ABS(C1 - L)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rbyrne
Posted : Thursday, March 16, 2017 12:32:03 PM
Registered User
Joined: 10/21/2004
Posts: 28

Thanks Bruce. I'll work with this a bit until I sufficiently confuse myself :)

rbyrne
Posted : Thursday, March 16, 2017 3:44:42 PM
Registered User
Joined: 10/21/2004
Posts: 28

How would I scan for stocks closing above their 50-day EMA with an intraday range greater than 2 x 50-day SMA average true range? ... Basically a simple volatility scan. Thanks

Bruce_L
Posted : Thursday, March 16, 2017 3:50:26 PM


Worden Trainer

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

Please try the following Condition Fomula.

C > XAVGC50 AND H - L > 2 * ATR50



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rbyrne
Posted : Thursday, March 16, 2017 4:12:19 PM
Registered User
Joined: 10/21/2004
Posts: 28

looks good. Thanks Bruce :)

rbyrne
Posted : Saturday, March 18, 2017 12:38:41 PM
Registered User
Joined: 10/21/2004
Posts: 28

Bruce, 

 

I was working with the ATR formulas you provided, but am still having problems.

The specific formula I believe I need takes into account the average true range over the prior 50 days. It then multiplies that 50-day ATR figure by 1.5, and then subtraces that figure from a 50-day exponential moving average and plots a line (like another moving average line) beneath an existing (already in place on my chart) 50-day EMA. 

 

For example, the SPY closed Friday March 18, 2017 at 227.77. AThe 50-day exponential moving average on my TC 2000 chart has a reading of  224.75. The Average True Range (50) shows a reading of 1.41. ---> I am looking for a reading (in the form of an indicator that will run beneath an existing 50-day EMA) of 222.635. 

 

That 222.635 figure comes from 1.5 * the 50-day ATR of 1.41, subtracted from the current 50-day EMA reading of 224.75. 

 

Any assistance would be greatly appreciated. Thanks!

diceman
Posted : Saturday, March 18, 2017 12:59:04 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

rbyrne

Have you seen the built in indicator called "Volitiliy Stop?"

 

Thanks

 

rbyrne
Posted : Sunday, March 19, 2017 3:36:36 PM
Registered User
Joined: 10/21/2004
Posts: 28

QUOTE (diceman)

rbyrne

Have you seen the built in indicator called "Volitiliy Stop?"

 

Thanks

 

 

I have, and it's a decent chandelier exit idea. But what I am looking for is a volatility based stop based around something other than price (as the anchor).  

diceman
Posted : Sunday, March 19, 2017 8:07:15 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

Ok.

I think this is what you want:

 

XAVGC50-ATR50*1.5

 

While I get the numbers you posted for ATR my 50EMA of SPY is at 232.75.

 

Make sure your 50 EMA is actually of price.

 

 

Thanks

 

rbyrne
Posted : Monday, March 20, 2017 9:32:52 AM
Registered User
Joined: 10/21/2004
Posts: 28

Thanks diceman. I did in fact mis type my 50-ema reading. Your suggestion worked perfectly :)

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.