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 |

Approaching 10min 200 SMA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
aviveros16
Posted : Wednesday, September 14, 2011 12:14:39 AM
Registered User
Joined: 8/25/2011
Posts: 6
Does anyone know a script to use as indicator on the Watchlist for "Approaching 10min 200 SMA"

I know the formula for the daily 200 Day MA, How would I change this for 10 min and that the indicator would tell me when its aprroching?
[(Day 1 + Day 2 + Day 3 + ... + Day 199 + Day 200)/200].
aviveros16
Posted : Wednesday, September 14, 2011 12:50:08 AM
Registered User
Joined: 8/25/2011
Posts: 6

I have found this: ABS(C / H - 1) <=.10

Is there a way to set the condition to a cent increment instead of percentage. look slike percentage ends up being to much

aviveros16
Posted : Wednesday, September 14, 2011 12:54:09 AM
Registered User
Joined: 8/25/2011
Posts: 6
Actually I found this better:

100 * ABS(C / AVGC200 - 1) <= 01  (01= .01%) is there a way to make it cent value instead of %?
Bruce_L
Posted : Wednesday, September 14, 2011 8:35:54 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (aviveros16)
I have found this: ABS(C / H - 1) <=.10

Is there a way to set the condition to a cent increment instead of percentage. look slike percentage ends up being to much


The following would check for the difference between the high and the close to be less than or equal to ten cents:

H - C <= .1

QUOTE (aviveros16)
Actually I found this better:

100 * ABS(C / AVGC200 - 1) <= 01  (01= .01%) is there a way to make it cent value instead of %?

If you want .01%, you would need to actually include the . in the formula:

100 * ABS(C / AVGC200 - 1) <= .01

I suspect you are better off just choosing an appropriate percentage than switching to a net difference because the percentages scale in such a way that they work the same for high priced stocks and low priced stocks.

The following would check for the absolute difference between price and its moving average to be less than 5 cents:

ABS(C - AVGC200) < .05

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
aviveros16
Posted : Wednesday, September 14, 2011 8:51:04 AM
Registered User
Joined: 8/25/2011
Posts: 6
Bruce, Thank You. Will try these out today
Bruce_L
Posted : Wednesday, September 14, 2011 8:52:41 AM


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.