Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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].
|
|
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
|
|
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 %?
|
|
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
|
|
Registered User Joined: 8/25/2011 Posts: 6
|
Bruce, Thank You. Will try these out today
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |