Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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?
|
|
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
|
|
Registered User Joined: 10/21/2004 Posts: 28
|
Thanks Bruce. Much appreciated :)
|
|
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.
|
|
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
|
|
Registered User Joined: 10/21/2004 Posts: 28
|
Thanks Bruce. I'll work with this a bit until I sufficiently confuse myself :)
|
|
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
|
|
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
|
|
Registered User Joined: 10/21/2004 Posts: 28
|
looks good. Thanks Bruce :)
|
|
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!
|
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
rbyrne
Have you seen the built in indicator called "Volitiliy Stop?"
Thanks
|
|
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).
|
|
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
|
|
Registered User Joined: 10/21/2004 Posts: 28
|
Thanks diceman. I did in fact mis type my 50-ema reading. Your suggestion worked perfectly :)
|
|
Guest-1 |