Registered User Joined: 5/20/2005 Posts: 178
|
Dear Trainer,
I wrote a pcf hoping to find stocks that are in an OBV uptrend for the past 6 months.
But I am not sure if I have written it correctly or is there a better way to write it more efficiently/correctly?
Can you check my pcf for me? thanks
OBV10>OBV50 AND OBV10.120 >OBV50.120
AND ((OBV10-OBV10.120)>0)
I use OBV 10 day ma and OBV 50 day ma for the past 120 days and subtracting OBV 10 day ma 120 days ago from current 10 day ma OBV to make sure it has a positive slope
Thanks
james
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Your Condition Formula should work, but could be simplified somewhat to the following.
OBV10 > OBV50 AND OBV10.120 > OBV50.120 AND OBV10 > OBV10.120
It checks for the 10-period simple moving average of OBV to be above the 50-period simple moving average of OBV both now and 120 bars ago and for the 10-period simple moving average of OBV to have increased between 120 bars ago and now.
Dealing with OBV & MS in PCF's - how to interp their "values"
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 5/20/2005 Posts: 178
|
Thank you, Bruce
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|