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 |

Alert conditions Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
tcind2
Posted : Friday, April 17, 2015 4:23:04 AM
Registered User
Joined: 8/1/2014
Posts: 8

Hi Bruce, this is a followup to http://forums.worden.com/default.aspx?g=posts&t=63052 . Having now done some PCFs that put a dot on a high/low of a bar, I now want to find a way of alerting on those conditions, so that, looking backwards in time from the current bar, if the most recent dot is at a bar high, and a new dot appears at a low, I get an alert. And if the most recent dot is at a bar low and a new dot appears at a high, I get an alert. The conditions that create the high and low dots are seoarate PCF s (although it may be that some of the logic could be combined into one PCF), and not every bar has a dot at all. Can you advise the alternative ways I can go about this ? Many thanks.

Bruce_L
Posted : Friday, April 17, 2015 10:57:55 AM


Worden Trainer

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

If you just wanted to get an alert when there is a dot, you could cilck on the Custom PCF Indicator and select Create Scan Condition to create a condition for the Custom PCF Indicator being greater than 0.

Things are not this simple if you need to check for the previous dot being of the opposite kind. You would probably need to need to use the techniques in the Days Since Last Peak (or other day-counting needs) topic to count how many bars it has been since both conditions were true to make sure the most recent dot was of the opposite type.

This would require knowing the exact details of the formulas involved. You would also need to set a maximum number of bars back to use for checking for the most recent dot. The resulting formula may or may not end up being fast and short enough to be practical.



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