Gold Customer
Joined: 3/11/2005 Posts: 8
|
I have a custom indicator, abs(stoc30.15>avg(stoc30.15,10) and stoc30.15.1<avg(stoc30.15,10.1))*1, and sometimes it doesn't plot, ie on SPY since August , it should have plotted 6 times but I only have 3. Do you have any idea why?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Welcome to the forums. A very good foundation for learning how to use TeleChart can be gained by reviewing the following:
If you are new to TeleChart READ THIS FIRST!
I think you want the following instead (the primary problem is that avg(stoc30.15,10.1) should be avg(stoc30.15.1,10) if it is to use valid syntax):
ABS(STOC30.15 > AVG(STOC30.15,10) AND STOC30.15.1 < AVG(STOC30.15.1,10))
You may wish to review the following:
PCF Formula Descriptions
Understanding Stochastics
Plotting Custom Indicators with Examples
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Gold Customer
Joined: 3/11/2005 Posts: 8
|
You are correct, that is precisely what I wanted.
Thank you.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|