StockFetcher Forums · Filter Exchange · Impulse Wave<< >>Post Follow-up
mktmole
325 posts
msg #71165
Ignore mktmole
2/4/2009 3:17:44 PM

I'm attempting to target the impluse wave pullback as follows;
1. A new 21 day high starting 5 days ago within 15 days
2. On the day of the new 21 day High, the +Di -Di difference is greater than 15, add column to show this diff value.
3. The MACD fast line(3,8,13) crossed below MACD slow line(3,8,13) for the 1st time since the ema(13) signal line crossed above 0 and the EMA(13) signal line is still above 0

My coding efforts below are an unsuccessful "attempt", and I would appreciate any help. Thank you ! mm

set{21hi, count(high reached a new 21 day high,1)}
set{DI_dif,PDI -MDI > 15,1}
set{both, 21hi/DI_dif}
set{BigDay, days(both equals 1,15)}
and BigDay above 4
set{DI_dif,PDI -MDI}
and DI_dif above 15
and add column DI_dif
and draw +DI(14) and draw -DI(14)
and MACD fast line(3,8,13) crossed below MACD slow line(3,8,13) within the last 4 days
and MACD fast line(3,8,13) is above 0

chetron
2,817 posts
msg #71169
Ignore chetron
2/4/2009 4:51:34 PM

clickable....


Fetcher[

set{21hi, count(high reached a new 21 day high,1)}
set{DI_dif,PDI -MDI > 15,1}
set{both, 21hi/DI_dif}
set{BigDay, days(both equals 1,15)}
and BigDay above 4
set{DI_dif,PDI -MDI}
and DI_dif above 15
and add column DI_dif
and draw +DI(14) and draw -DI(14)
and MACD fast line(3,8,13) crossed below MACD slow line(3,8,13) within the last 4 days
and MACD fast line(3,8,13) is above 0

]



chetron
2,817 posts
msg #71170
Ignore chetron
2/4/2009 5:37:57 PM

NEW AND IMPROVED......


Fetcher[


set{21hi, count(high reached a new 21 day high,1)}
set{var1,pdi(14) - mdi(14)}
set{DI_dif,count(var1 > 15,1)}
set{both, 21hi/DI_dif}
set{BigDay, days(both equals 1,15)}
BigDay above 4
var1 above 15
add column DI_dif
draw +DI(14) and draw -DI(14)
MACD fast line(3,8,13) crossed below MACD slow line(3,8,13) within the last 4 days
MACD fast line(3,8,13) is above 0

]



mktmole
325 posts
msg #71174
Ignore mktmole
2/4/2009 7:47:56 PM

Chetron... thank you!
Would it be possible to show var1 as a %, in a column? The idea being to sort on this column of strength descending.
Looking at some charts it appears possibly that part 3 .."The MACD fast line(3,8,13) crossed below MACD slow line(3,8,13) for the 1st time since the ema(13) signal line crossed above 0 " is not met on all the hits. Could/should the 'count' statement be used here instead?
many tks again!
mm


chetron
2,817 posts
msg #71180
Ignore chetron
2/4/2009 8:34:25 PM

how about....


Fetcher[



set{21hi, count(high reached a new 21 day high,1)}
set{var1,pdi(14) - mdi(14)}
set{var1%,var1 / pdi(14)}

add column var1%

set{DI_dif,count(var1 > 15,1)}
set{both, 21hi/DI_dif}
set{BigDay, days(both equals 1,15)}
BigDay above 4
var1 above 15
add column DI_dif
draw +DI(14) and draw -DI(14)
MACD fast line(3,8,13) crossed below MACD slow line(3,8,13) within the last 4 days
MACD fast line(3,8,13) is above 0

]



mktmole
325 posts
msg #71185
Ignore mktmole
2/4/2009 9:01:16 PM

perfect!
for part 3 the MACD bit, would this idea (if it worked) possibly be more accurate? again, thank you. mm

set{macdx, count( MACD fast line(3,8,13) crossed below MACD slow line(3,8,13),1)}
set{ema13, count(ema(13) crossed above 0,1)} * count(EMA(13) above 0,1)}
set{both2, macdx/ema13}
set{upDay, days(both2 equals 1,20)}
and upDay equal 1


chetron
2,817 posts
msg #73725
Ignore chetron
4/20/2009 8:30:15 PM

FOR THE LONG..............

Fetcher[




set{21hi, count(LOW reached a new 21 day LOW,1)}
set{var1,Mdi(14) - Pdi(14)}
set{var1%,var1 / Mdi(14)}

add column var1%

set{DI_dif,count(var1 < 15,1)}
set{both, 21hi/DI_dif}
set{BigDay, days(both equals 1,15)}
BigDay above 4
var1 BELOW 15
add column DI_dif
draw +DI(14) and draw -DI(14)
MACD fast line(3,8,13) crossed ABOVE MACD slow line(3,8,13) within the last 4 days
MACD fast line(3,8,13) is BELOW 0
HIGH ABOVE EMA(100)
]



StockFetcher Forums · Filter Exchange · Impulse Wave<< >>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 2022 - 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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.