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 |

Backscanner conditions Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
grogoff
Posted : Monday, April 23, 2007 2:22:47 PM
Registered User
Joined: 1/30/2005
Posts: 25
I posted this question by mistake in the "General Discussion " section. I am reposting here:


Please let me know if this is possible.

I am trying to create a combination bullish / bearish scan. It doesn't matter what the scan itself is (say the bullish is an entry when price crosses up through a moving average, and the bearish when it crosses down).

The condition to apply the bullish scan would be the "market" going up, and for the bearish scan, of course, it would be the "market" going down.

The market going up could be defined, for example, as the SPX crossing up through the similar moving average.

The questions here is, then, how do I condition a scan of a watchlist on an occurrence on a different stock/index/watchlist?

Any help would be appreciated

Thanks in advance for the reply
Michael_T
Posted : Tuesday, April 24, 2007 1:04:44 PM


Worden Trainer

Joined: 10/7/2004
Posts: 710
grogoff,

Take a look at the attached WorkSpace which contains a BackScan I think meets your purposes. The buy signal is when the stock's price is crossing up through the 20EMA AND the SPY is also crossing up through its 20EMA. Sell signal is when the stock's price is crossing down through its 20EMA AND the SPY is also crossing down through its 20EMA.

You can change any of the parameters through quickedit on the individual conditions (including changing the symbol from SPY to whatever you want to reflect the market as you've defined it).

Attachments:
grogoffBackScan.bWorks - 68 KB, downloaded 709 time(s).

grogoff
Posted : Wednesday, April 25, 2007 10:04:38 AM
Registered User
Joined: 1/30/2005
Posts: 25
Thank you, Michael.

That's exactly what I was looking for. The problem is, now you got me going!!
Is there any way to create "global variables" in BackScanner?

Examples of the variables I am interested in:

LOW (more than one?)
HIGH "
ENTRY
PROFIT

In each case, and for different purposes, I would like to compare the value of any Global with a running variable, and replace it when certain conditions are met.

If the only way to achieve this is through programming (Visual Basic?) so be it, but please let me know.

Thanks again

Jerry
Bruce_L
Posted : Wednesday, April 25, 2007 11:30:15 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
grogoff,
The following Blocks might be useful in doing what you want:

Line Switch
Maximum
Minimum
Output Constant Single

There are also Max Value in Series and Min Value Series Blocks that are not currently documented in the Worden Knowledge Base. You can see how they would be used by examining the Block Diagram for the Trailing Stop BackScan Condition in the Web Library under Trade Stops. You may wish to review the following:

Customizing with Properties
Your First 3 Block Diagrams

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
grogoff
Posted : Friday, April 27, 2007 10:41:34 AM
Registered User
Joined: 1/30/2005
Posts: 25
Thanks again!!
Bruce_L
Posted : Friday, April 27, 2007 10:52:22 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome. Our pleasure.

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