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 |

Custom PCF % True Indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
PiersP
Posted : Thursday, December 13, 2012 8:04:33 PM
Registered User
Joined: 5/28/2009
Posts: 39

Hi...I want to reflect my scan criteria as an indicator on my chart using the PCF % True Indicator.

Here is my scan criteria:

C>AVGC50 AND AVGC7 / AVGC65 >= 100 AND H - C <= .25 * (H -L + ABS(H - C1) + ABS(C1 - L)) / 2 AND H - L >= (AVGH20 - AVGL20) / 2 + (ABS(H - C1) + ABS(C1 - L) + ABS(H1 - C2) + ABS(C2 - L1) + ABS(H2 - C3) + ABS(C3 - L2) + ABS(H3 - C4) + ABS(C4 - L3) + ABS(H4 - C5) + ABS(C5 - L4) + ABS(H5 - C6) + ABS(C6 - L5) + ABS(H6 - C7) + ABS(C7 - L6) + ABS(H7 - C8) + ABS(C8 - L7) + ABS(H8 - C9) + ABS(C9 - L8) + ABS(H9 - C10) + ABS(C10 - L9) + ABS(H10 - C11) + ABS(C11 - L10) + ABS(H11 - C12) + ABS(C12 - L11) + ABS(H12 - C13) + ABS(C13 - L12) + ABS(H13 - C14) + ABS(C14 - L13) + ABS(H14 - C15) + ABS(C15 - L14) + ABS(H15 - C16) + ABS(C16 - L15) + ABS(H16 - C17) + ABS(C17 - L16) + ABS(H17 - C18) + ABS(C18 - L17) + ABS(H18 - C19) + ABS(C19 - L18) + ABS(H19 - C20) + ABS(C20 - L19)) / 40 AND C>O AND C > C1 AND V>AVGV50

It's all fairly self explanatory except perhaps the 4th crtieria which is just asking that the range of today's bar exceed the average true range for the last 20 days.

When I put this into the formula box I don't get any true results.

Could let me know what I am doing wrong?

Thanks,

Piers

 

PiersP
Posted : Thursday, December 13, 2012 8:11:12 PM
Registered User
Joined: 5/28/2009
Posts: 39

Hi..please ignore...I have seen my error

Bruce_L
Posted : Thursday, December 13, 2012 8:22:53 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I am happy to read you were able to figure it out on your own. Without actually running any tests or taking a stringent look at the syntax, my best guess at why the Condition Formula wasn't returning any results would be:

AVGC7 / AVGC65 >= 100

It seems like an incredibly strict barrier to overcome to have the 7-Period Moving Average to be at least 100 times the 65-Period Moving Average. None of the other requirements appear to be incorrectly written, unreasonable or contradictory. Did I guess right, or did I miss something else?



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