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 |

ADX line "hook" pcf Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
michaelfili
Posted : Sunday, July 15, 2007 7:03:50 PM
Registered User
Joined: 1/6/2007
Posts: 65
I am sorry for the posts so close to each other, but I would like to program two pcfs, one that will scan stocks for a "hook" up in a 14 period ADX line (+-DI lines 14 also) and one for a "hook" down. If it isn't too much trouble please include instructions on how to modify the various parameters of the scan.

I am very grateful for all the help you guys have given me. Thank you so much.

-Mike
Bruce_L
Posted : Monday, July 16, 2007 8:34:04 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
As with the formulas requested in ADX Line pcf..., I do not know of a practical way to do this using TeleChart. Again, it is fairly simple to do using Blocks and the built in Directional Movement Strategy Conditions.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
michaelfili
Posted : Monday, July 16, 2007 12:40:20 PM
Registered User
Joined: 1/6/2007
Posts: 65
I am only fairly new to Blocks, though I have been using telechart for a while. Can you please show me how to do it in blocks and add some short instructions to change all the parameters.

I am working with a scan in tc, and I was wondering how to put them together in blocks seeing as how it is the only applicable place to do what I need.

Here is the scan in TC:

(AVGV50 > 5000 AND C > 10 AND H = MAXH252 AND V > AVGV50) OR (AVGV50.1 > 5000 AND C1 > 10 AND H1 = MAXH252.1 AND V1 > AVGV50.1) OR (AVGV50.2 > 5000 AND C2 > 10 AND H2 = MAXH252.2 AND V2 > AVGV50.2) OR (AVGV50.3 > 5000 AND C3 > 10 AND H3 = MAXH252.3 AND V3 > AVGV50.3) OR (AVGV50.4 > 5000 AND C4 > 10 AND H4 = MAXH252.4 AND V4 > AVGV50.4) OR (AVGV50.5 > 5000 AND C5 > 10 AND H5 = MAXH252.5 AND V5 > AVGV50.5) OR (AVGV50.6 > 5000 AND C6 > 10 AND H6 = MAXH252.6 AND V6 > AVGV50.6) OR (AVGV50.7 > 5000 AND C7 > 10 AND H7 = MAXH252.7 AND V7 > AVGV50.7) OR (AVGV50.8 > 5000 AND C8 > 10 AND H8 = MAXH252.8 AND V8 > AVGV50.8) OR (AVGV50.9 > 5000 AND C9 > 10 AND H9 = MAXH252.9 AND V9 > AVGV50.9) OR (AVGV50.10 > 5000 AND C10 > 10 AND H10 = MAXH252.10 AND V10 > AVGV50.10) OR (AVGV50.11 > 5000 AND C11 > 10 AND H11 = MAXH252.11 AND V11 > AVGV50.11) OR (AVGV50.12 > 5000 AND C12 > 10 AND H12 = MAXH252.12 AND V12 > AVGV50.12) OR (AVGV50.13 > 5000 AND C13 > 10 AND H13 = MAXH252.13 AND V13 > AVGV50.13) OR (AVGV50.14 > 5000 AND C14 > 10 AND H14 = MAXH252.14 AND V14 > AVGV50.14) OR (AVGV50.15 > 5000 AND C15 > 10 AND H15 = MAXH252.15 AND V15 > AVGV50.15) OR (AVGV50.16 > 5000 AND C16 > 10 AND H16 = MAXH252.16 AND V16 > AVGV50.16) OR (AVGV50.17 > 5000 AND C17 > 10 AND H17 = MAXH252.17 AND V17 > AVGV50.17) OR (AVGV50.18 > 5000 AND C18 > 10 AND H18 = MAXH252.18 AND V18 > AVGV50.18) OR (AVGV50.19 > 5000 AND C19 > 10 AND H19 = MAXH252.19 AND V19 > AVGV50.19) OR (AVGV50.20 > 5000 AND C20 > 10 AND H20 = MAXH252.20 AND V20 > AVGV50.20)

I was also written a pcf for a 3-period RSI "hook" that I would also like to put into blocks with the above scan.

That RSI "hook" up pcf looks like this:

RSI3 > RSI3.1.1 AND RSI3.1.1 < RSI3.1.2 AND RSI3.1.1 < 40

The RSI "hook" down pcf looks like this:

RSI3 < RSI3.1.1 AND RSI3.1.1 > RSI3.1.2 AND RSI3.1.1 > 60

Bruce I think you actually gave me these RSI pcfs in a previous post!

Anyway, in short all I need is to be able to scan for the listed set of conditions above, a 14 period ADX "hook" up and a 3 period unsmoothed RSI "hook" up anywhere below the 40 line (if there is a better way to do it other than the pcf above please do so).

I would like to have the same scan just with the ADX "hook" down, and the RSI "hook" down from above 60.

Please provide some short guidance on how to alter all the various parameters so that I can modify this system.

Thanks so much for all your help and I extremely am sorry for all the requests. I wasn't aware that blocks was the best place to do this so I am kind of re engineering everything.

Thanks,
Mike

P.S. I wont double post this time, I was just wondering if you could also write the same scan for blocks just for the ADX line under 20 as in the other post, and the previous conditions mentioned (no RSI hook or ADX hook). Thanks so much in advance, your services are invaluable.

If you need any clarifications at all please don't hesitate to post any questions and I will respond to them promptly.
michaelfili
Posted : Monday, July 16, 2007 12:47:03 PM
Registered User
Joined: 1/6/2007
Posts: 65
Another quick thing. If the easyscan conditions that I posted are too involved for blocks the same thing can be accomplished with the scan listed below.

AVGV50 > 5000 AND C > 10 AND H = MAXH252 AND V > AVGV50

The only reason a posted the other one is because it gives me a larger bank of stocks because it is calculating the above scan for a rolling one month period. I would prefer it with the rolling scan but if it poses too much of a hassle these will work.

Thanks so much,
Mike
Bruce_L
Posted : Tuesday, July 17, 2007 8:49:16 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (deltax2)
I am sorry for the posts so close to each other, but I would like to program two pcfs, one that will scan stocks for a "hook" up in a 14 period ADX line (+-DI lines 14 also) and one for a "hook" down. If it isn't too much trouble please include instructions on how to modify the various parameters of the scan.

Please download the attached deltax2-23836-adxhookup.scond and deltax2-23836-adxhookdown.scond files to:

\My Documents\Blocks Files\Tool Parts\Strategy Conditions

Once downloaded, you should be able to select Add Condition | My Computer when adding a Strategy Condition to access it.

You can edit the Strategy Conditions and view the Block Diagrams using QuickEdit.

The Strategy Condition is essentially the same for both. It just compares one ADX to another. By using the same settings for each ADX except that one is 1-Period Ago instead of being current, you can use a xDown or xUp comparison to find hooks.

QUOTE (deltax2)
I am working with a scan in tc, and I was wondering how to put them together in blocks seeing as how it is the only applicable place to do what I need.

Here is the scan in TC:

(AVGV50 > 5000 AND C > 10 AND H = MAXH252 AND V > AVGV50) OR (AVGV50.1 > 5000 AND C1 > 10 AND H1 = MAXH252.1 AND V1 > AVGV50.1) OR (AVGV50.2 > 5000 AND C2 > 10 AND H2 = MAXH252.2 AND V2 > AVGV50.2) OR (AVGV50.3 > 5000 AND C3 > 10 AND H3 = MAXH252.3 AND V3 > AVGV50.3) OR (AVGV50.4 > 5000 AND C4 > 10 AND H4 = MAXH252.4 AND V4 > AVGV50.4) OR (AVGV50.5 > 5000 AND C5 > 10 AND H5 = MAXH252.5 AND V5 > AVGV50.5) OR (AVGV50.6 > 5000 AND C6 > 10 AND H6 = MAXH252.6 AND V6 > AVGV50.6) OR (AVGV50.7 > 5000 AND C7 > 10 AND H7 = MAXH252.7 AND V7 > AVGV50.7) OR (AVGV50.8 > 5000 AND C8 > 10 AND H8 = MAXH252.8 AND V8 > AVGV50.8) OR (AVGV50.9 > 5000 AND C9 > 10 AND H9 = MAXH252.9 AND V9 > AVGV50.9) OR (AVGV50.10 > 5000 AND C10 > 10 AND H10 = MAXH252.10 AND V10 > AVGV50.10) OR (AVGV50.11 > 5000 AND C11 > 10 AND H11 = MAXH252.11 AND V11 > AVGV50.11) OR (AVGV50.12 > 5000 AND C12 > 10 AND H12 = MAXH252.12 AND V12 > AVGV50.12) OR (AVGV50.13 > 5000 AND C13 > 10 AND H13 = MAXH252.13 AND V13 > AVGV50.13) OR (AVGV50.14 > 5000 AND C14 > 10 AND H14 = MAXH252.14 AND V14 > AVGV50.14) OR (AVGV50.15 > 5000 AND C15 > 10 AND H15 = MAXH252.15 AND V15 > AVGV50.15) OR (AVGV50.16 > 5000 AND C16 > 10 AND H16 = MAXH252.16 AND V16 > AVGV50.16) OR (AVGV50.17 > 5000 AND C17 > 10 AND H17 = MAXH252.17 AND V17 > AVGV50.17) OR (AVGV50.18 > 5000 AND C18 > 10 AND H18 = MAXH252.18 AND V18 > AVGV50.18) OR (AVGV50.19 > 5000 AND C19 > 10 AND H19 = MAXH252.19 AND V19 > AVGV50.19) OR (AVGV50.20 > 5000 AND C20 > 10 AND H20 = MAXH252.20 AND V20 > AVGV50.20)

Please download the attached deltax2-23836-21periods file to:

\My Documents\Blocks Files\Tool Parts\Strategy Conditions

Once downloaded, you should be able to select Add Condition | My Computer when adding a Strategy Condition to access it.

This is fairly ugly looking (but maybe not as ugly as the Personal Criteria Formula). I wouldn't bother with the attempting to adjust the settings in QuickEdit. The formula is just too specific. If you do need to make adjustments, I would do it in the Block Diagram where you can see what's connected to what.

QUOTE (deltax2)
Another quick thing. If the easyscan conditions that I posted are too involved for blocks the same thing can be accomplished with the scan listed below.

AVGV50 > 5000 AND C > 10 AND H = MAXH252 AND V > AVGV50

The only reason a posted the other one is because it gives me a larger bank of stocks because it is calculating the above scan for a rolling one month period. I would prefer it with the rolling scan but if it poses too much of a hassle these will work.

Please download the attached deltax2-23836-single file to:

\My Documents\Blocks Files\Tool Parts\Strategy Conditions

Once downloaded, you should be able to select Add Condition | My Computer when adding a Strategy Condition to access it.

You should probably look at the Block Diagram for this to see how the related Strategy Condition works. It's a lot easier to follow because each portion of the PCF gets its own Strategy Condition.

QUOTE (deltax2)
I was also written a pcf for a 3-period RSI "hook" that I would also like to put into blocks with the above scan.

That RSI "hook" up pcf looks like this:

RSI3 > RSI3.1.1 AND RSI3.1.1 < RSI3.1.2 AND RSI3.1.1 < 40

The RSI "hook" down pcf looks like this:

RSI3 < RSI3.1.1 AND RSI3.1.1 > RSI3.1.2 AND RSI3.1.1 > 60

Please download the attached deltax2-23836-rsihookup.scond and deltax2-23836-rsihookdown.scond files to:

\My Documents\Blocks Files\Tool Parts\Strategy Conditions

Once downloaded, you should be able to select Add Condition | My Computer when adding a Strategy Condition to access it.

You can edit the Strategy Conditions and view the Block Diagrams using QuickEdit. Each has a Strategy Condition to check for the "hook" and another to check for the value.

QUOTE (deltax2)
Hi, I am in need of a pcf that will scan stocks for an unsmoothed 14 period ADX crossing up through the 20. I would also like to to scan for it crossing down through the 60 line.

Please download the attached deltax2-23836-adxup20.scond and deltax2-23836-adxdown60.scond files to:

\My Documents\Blocks Files\Tool Parts\Strategy Conditions

Once downloaded, you should be able to select Add Condition | My Computer when adding a Strategy Condition to access it. These are just Directional Movement ADXR Strategy Conditions from the Web Library set up to use your settings.

QUOTE (deltax2)
Hi I need to program a pcf that will find stocks that have an unsmoothed 3-period RSI crossing up through the 20 line (as well as 10,15 etc...) Please show me how to alter the parameters so that I can do it for various periods as well as various points on the indicator so I don't waste your time!

Please download the attached deltax2-23836-rsiup20.scond file to:

\My Documents\Blocks Files\Tool Parts\Strategy Conditions

Once downloaded, you should be able to select Add Condition | My Computer when adding a Strategy Condition to access it. You can use QuickEdit to adjust the Value by changing the Value parameter and change xUp to xDown by changing the RSI is parameter.

QUOTE (deltax2)
As you may see I have been doing a lot of work with RSI and ADX seeing as how it is the base of one of my systems. I am asking multiple questions regarding a variety of my system components because I am still in the process of deciding how to best design the scan so i don't miss any nice opportunities by over optimizing. If you have any advice on the best way to tackle this dilemma, it would be greatly appreciated.

The trainers cannot give settings, interpretation or investment advice. That said, it is a lot easier to adjust a Strategy or Strategy Condition than to adjust an EasyScan that relies on Personal Criteria Formulas. It should be fairly simple to fiddle and find what works best for you.

Attachments:
deltax2-23836-adxhookup.scond - 9 KB, downloaded 517 time(s).
deltax2-23836-adxhookdown.scond - 9 KB, downloaded 557 time(s).
deltax2-23836-21periods.scond - 7 KB, downloaded 521 time(s).
deltax2-23836-single.scond - 12 KB, downloaded 534 time(s).
deltax2-23836-rsihookdown.scond - 10 KB, downloaded 537 time(s).
deltax2-23836-rsihookup.scond - 10 KB, downloaded 503 time(s).
deltax2-23836-adxup20.scond - 8 KB, downloaded 522 time(s).
deltax2-23836-adxdown60.scond - 8 KB, downloaded 511 time(s).
deltax2-23836-rsiup20.scond - 5 KB, downloaded 532 time(s).



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