StockFetcher Forums · Filter Exchange · Swing Trading with DMI double crossing rules....<< 1 2 >>Post Follow-up
eddyadiel
18 posts
msg #81742
Ignore eddyadiel
10/25/2009 10:52:41 PM

Hi all,

I've SF script to screen stocks that have potential strong trend as follows:

/*Trend Rider-Bullish*/
Show stocks where +DI(14) crossed above -DI(14) within last 3 days ago
and +DI(14) is above 30
and ADX(14) crossed above -DI(14)
and 2 day slope of ADX(14) is above 10
and MACD Histogram(12,26) crossed above 0
and MACD Histogram(12,26) has been increasing over 1 day
and Average Volume(90) is above 50000
and close is between 20 and 250
and optionable

And backtested results using period :
08/01/2008 ended on 12/01/2008 (bearish market)
05/01/2009 ended on 09/01/2009 (bullish market)


Approach Information
Approach Name: Call - Trend Rider
Test started on 08/01/2008 ended on 12/01/2008, covering 84 days
Filter used:
Call - Trend Rider (saved filter)

Trade Statistics
There were 38 total stocks entered. Of those, 3 or 7.89% were complete and 35 or 92.11% were open.
Of the 3 completed trades, 3 trades or 100.00%resulted in a net gain.
Your average net change for completed trades was: 20.00%.
The average draw down of your approach was: -3.81%.
The average max profit of your approach was: 25.88%
The Reward/Risk ratio for this approach is: 0.00
Annualized Return on Investment (ROI): 1347.27%, the ROI of ^SPX was: -104.98%.


Approach Information
Approach Name: Call - Trend Rider
Test started on 05/01/2009 ended on 09/01/2009, covering 85 days
Filter used:
Call - Trend Rider (saved filter)

Trade Statistics
There were 27 total stocks entered. Of those, 11 or 40.74% were complete and 16 or 59.26% were open.
Of the 11 completed trades, 11 trades or 100.00%resulted in a net gain.
Your average net change for completed trades was: 20.11%.
The average draw down of your approach was: -8.88%.
The average max profit of your approach was: 21.74%
The Reward/Risk ratio for this approach is: 0.00
Annualized Return on Investment (ROI): 144.96%, the ROI of ^SPX was: 41.72%.

Target: 20%
No Stop Loss
No limit time holding

I come to important point that the DI difference should be also above 20 (if +DI > 30 then -DI should be 10 and so on)....
I've tried to modify as follows (but give errors result)...

/*Trend Rider-Bullish*/
set {DI_Plus,+DI(14)}
set {DI_Minus,-DI(14)}
set {DI_Diff,DI_Plus-DI_Minus}
Show stocks where +DI(14) crossed above -DI(14) within last 3 days ago
and +DI(14) is above 30
and DI_Diff>20
and ADX(14) crossed above -DI(14)
and 2 day slope of ADX(14) is above 10
and MACD Histogram(12,26) crossed above 0
and MACD Histogram(12,26) has been increasing over 1 day
and Average Volume(90) is above 50000
and close is between 20 and 250
and optionable

Could anyone help me to fix this script? Thanks in advance...



chetron
2,817 posts
msg #81745
Ignore chetron
modified
10/25/2009 11:08:13 PM

CLICKABLE...

Fetcher[

/*Trend Rider-Bullish*/
Show stocks where +DI(14) crossed above -DI(14) within last 3 days ago
and +DI(14) is above 30
and ADX(14) crossed above -DI(14)
and 2 day slope of ADX(14) is above 10
and MACD Histogram(12,26) crossed above 0
and MACD Histogram(12,26) has been increasing over 1 day
and Average Volume(90) is above 50000
and close is between 20 and 250
and optionable

]




the real problem....
and as i have said before, spacing is important...


Fetcher[
/*Trend Rider-Bullish*/
set {DI_Plus,+DI(14)}
set {DI_Minus,-DI(14)}
set {DI_Diff,DI_Plus - DI_Minus}
Show stocks where +DI(14) crossed above -DI(14) within last 3 days ago
and +DI(14) is above 30
and DI_Diff > 20
and ADX(14) crossed above -DI(14)
and 2 day slope of ADX(14) is above 10
and MACD Histogram(12,26) crossed above 0
and MACD Histogram(12,26) has been increasing over 1 day
and Average Volume(90) is above 50000
and close is between 20 and 250
and optionable
]



karennma
6,831 posts
msg #81746
Ignore karennma
10/25/2009 11:36:33 PM

did you get any stocks from this filter?


eddyadiel
18 posts
msg #81750
Ignore eddyadiel
10/26/2009 3:44:39 AM

For today (Oct 26) NO.... Pls help me to fix the problem in my modified script as mentioned before at the last paragraph....

chetron
2,817 posts
msg #81752
Ignore chetron
modified
10/26/2009 6:40:58 AM

entering earth's atmosphere .....


Fetcher[

/*Trend Rider-Bullish*/
set {DI_Plus,+DI(14)}
set {DI_Minus,-DI(14)}
set {DI_Diff,DI_Plus - DI_Minus}
Show stocks where +DI(14) crossed above -DI(14) within last 3 days ago
+DI(14) is above 30
DI_Diff > 20
Average Volume(90) is above 50000
close is between 20 and 250
optionable
ADX(14) crossed above -DI(14)
MACD Histogram(12,26) crossed above 0
MACD Histogram(12,26) has been increasing over 1 day
]



the reverse..


Fetcher[

/*Trend Rider-Bullish reverse */
set {DI_Plus,+DI(14)}
set {DI_Minus,-DI(14)}
set {DI_Diff,DI_Plus - DI_Minus}
Show stocks where -DI(14) crossed above +DI(14) within last 3 days ago
-DI(14) is above 30
DI_Diff < -20
Average Volume(90) is above 50000
close is between 20 and 250
optionable
ADX(14) crossed above +DI(14)
MACD Histogram(12,26) crossed below 0
MACD Histogram(12,26) has been decreasing over 1 day

]



chetron
2,817 posts
msg #81753
Ignore chetron
10/26/2009 6:49:02 AM

but why not......


Fetcher[

/*Trend Rider-Bullish*/

Show stocks where +DI(14) crossed above -DI(14) within last 3 days ago
+DI(14) is above 30
di(14) difference > 20
Average Volume(90) is above 50000
close is between 20 and 250
optionable
ADX(14) crossed above -DI(14)
MACD Histogram(12,26) crossed above 0
MACD Histogram(12,26) has been increasing over 1 day
]



eddyadiel
18 posts
msg #81764
Ignore eddyadiel
10/26/2009 11:55:12 AM

Tx Chetron for your input and script correction....I really appreciated....

chetron
2,817 posts
msg #81772
Ignore chetron
10/26/2009 2:32:05 PM

OR DID YOU MEAN....


Fetcher[

/*Trend Rider-Bullish*/
Show stocks where +DI(14) crossed above -DI(14) within last 3 days ago
and +DI(14) is above 30
and ADX(14) crossed above -DI(14)
and 2 day slope of +DI(14) is above 10
and MACD Histogram(12,26) crossed above 0
and MACD Histogram(12,26) has been increasing over 1 day
and Average Volume(90) is above 50000
and close is between 20 and 250
and optionable

]



eddyadiel
18 posts
msg #81794
Ignore eddyadiel
10/26/2009 9:23:12 PM

@Chetron:
No...this script idea is to find crossing DMI (with strong of +DI above 30) and ADX crossing -DI where ADX should be increasing for the last 2 days....most of this combination will give a strong trend...

Also pay attention of the DI difference....the -DI below 10 will give you a chance to ride the trend any longer...that's why we need DI difference above 20 (e.g. -DI=10, +DI=30)

Do vise versa for short entry...

If you can visualize the DMI formation...it looks like "Snake Head with it's tongue out" which I like to call also this script as "Snake Head Attack"... :)

The more wide open it's mouth the better chance to play it....


richo
74 posts
msg #82105
Ignore richo
10/30/2009 6:12:27 AM

It would be very difficult to have a dmi difference of at least 20 if it crossed in the last 3 days

Rich

StockFetcher Forums · Filter Exchange · Swing Trading with DMI double crossing rules....<< 1 2 >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2016 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus