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 |

And then, or, sequence conditions Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
hottrader
Posted : Wednesday, August 15, 2007 3:27:01 PM
Registered User
Joined: 10/7/2004
Posts: 206
I have a question about Signal sequence. I use a set of stratery condition that consist of 3 main conditions: The first condition is a price vs ma of ma. the second conditio is a ma vs ma and the third condition is a ma vs ma. the first condition is an early entry (iceing on the cake). The second condition is the expected trade bar (cake) and the third condition is a ma vs ma. Condition 1 and 2 may happen on sequcene bars, but can happen on same bar. Condition 2 will normally happen on a bar by itself followed by condition 3 bar, but condition 2 and 3 can happen on the same bar. The conditions(buy/sell)need to be true on the earliest bar (condition met) then pass over the remaining sequence signals. I also use RSI with a ma and Worden Stoch with a ma as a filter ( conditions for the 2 filters must be true over the last few days for the main condition to fire. Would it be possable to get this turned into a working Workspace? I would be greatful to the trainers forever.

TIA, Hottrader
hottrader
Posted : Wednesday, August 15, 2007 4:30:24 PM
Registered User
Joined: 10/7/2004
Posts: 206
I would like to add something. I like to back test as if I'm never out of the stock wonce the first trade is entered. So I also need conditions for enter short and cover short. The sell condition is the reverse of the buy entry.
Bruce_L
Posted : Wednesday, August 15, 2007 6:52:34 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You haven't actually specified the settings of the three main Conditions or the two filter Conditions.

If the Conditions can happen both simultaneously or on their own, is there a reason to test for the crossovers instead of the end result?

You could do something like this:

-C xUp MA of MA
-AND THEN
-MA1 xUp MA2
-AND THEN
-MA2 xUp MA3
OR
--C xUp MA of MA
--AND
--MA1 xUp MA2
-AND THEN
-MA2 xUp MA3
OR
-C xUp MA of MA
-AND THEN
--MA1 xUp MA2
--AND
--MA2 xUp MA3
OR
-C xUp MA of MA
-AND
-MA1 xUp MA2
-AND
-MA2 xUp MA3

But it seems a lot more straightforward to do the following instead:

C > MA of MA
AND
MA1 > MA2
AND
MA2 > MA3
AND
-C < MA of MA
-OR
-MA1 < MA2
-OR
-MA2 < MA3

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
hottrader
Posted : Thursday, August 16, 2007 2:23:27 PM
Registered User
Joined: 10/7/2004
Posts: 206
Bruce,
I need to give you a little more information on how this plays out.
Condition 1: price vs MA of Ma
Condition 2: MA vs MA
Condition 3: MA vs MA
Condition 4: MA vs MA
Condition 5: Worden stoch
Needs to have all the vairable settings
Needs to have a Ma with all variable
settings
Condition 6: Wilder's RSI
Needs to have all the vairable setting
Needs to have a MA with all the vairable
setting
Condition 5 (sd ploted) needs to be the 1st
condition to be true and then condition 6(MA ploted) needs to be the next true condition. Both of these to be true before the others conditions begin to come true.
Conditiom 1 would be the next to come true. This one can happen by itself, but can happen with condition 2. Condition 2 and 3 are tied together and must be true at the same time. Conditions 1, 2 and 3 produce trade signals that are typically winners 75%-90% of the time. Condition 3 and 4 can happen at the came time, but they only proguce about 35% winners. What I'm looking for is the best way to get the buy/sell signals to happen based on the above information.
TIA Hottrader
hottrader
Posted : Thursday, August 16, 2007 7:32:55 PM
Registered User
Joined: 10/7/2004
Posts: 206
Bruce,I forgot to give you this information.
When the earliest signal happens then the remaning possable signals in the same direction are not needed and then a reversal signal happens and the process starts again in the opsite direction.
hottrader
Posted : Friday, August 17, 2007 11:43:32 AM
Registered User
Joined: 10/7/2004
Posts: 206
Bruce
I need to change something on my last post.
Condition 2,3,4 need to be MA vs MA of MA.
TIA Hottrader
Bruce_L
Posted : Friday, August 17, 2007 4:54:00 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please save the attached .bWorks file to the following folder:

\My Documents\Blocks Files\Workspaces

You can then open the Workspace via your FILE menu (Open Workspace then My Computer).

You can edit the Plot settings and view their Block Diagrams using QuickEdit.

Please try setting the six Conditions as desired. Since you always want to stay in the trade, set up the Buy with your Bullish Setup and the Sell Short with your Bearish Setup.

Your Conditions seem quite complex, so I've attached a Workspace instead of Strategy in case it does not meet your expectations. This will allow you to setup the Chart to the right with the Moving Average, Worden Stochastic and RSI settings matching what you wish to use for your setup conditions. This should make it easier to visually demonstrate where things do and do not match up.

Attachments:
hottrader24816.bWorks - 130 KB, downloaded 481 time(s).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
hottrader
Posted : Friday, August 17, 2007 5:59:32 PM
Registered User
Joined: 10/7/2004
Posts: 206
Thanks again Burce. I'll play wih it over the weekend.
hottrader
Posted : Friday, August 17, 2007 6:01:52 PM
Registered User
Joined: 10/7/2004
Posts: 206
I'll play with it over the weekend. Thanks again
Hottrader
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.