Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

stochastic custom ind Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
minidriver
Posted : Thursday, February 25, 2010 6:23:05 PM
Gold Customer 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?
Bruce_L
Posted : Friday, February 26, 2010 9:18:49 AM


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
minidriver
Posted : Friday, February 26, 2010 3:18:39 PM
Gold Customer Gold Customer

Joined: 3/11/2005
Posts: 8
You are correct, that is precisely what I wanted.

Thank you.
Bruce_L
Posted : Friday, February 26, 2010 3:34:39 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

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