rollers8877 3 posts msg #95547 - Ignore rollers8877 |
8/9/2010 10:47:27 PM
MACD Fast Line(10,30,10) crossed above MACD Slow Line(10,30,10)
and Average Volume(90) gained more than 10 Percent over the last 2 Days
and Chaikins Money Flow(21) gained more than 5 Percent over the last 2 Days
Totally new to the website and need some assistance please .I managed to muddle through and create the above filter however i would like to add exactly the same MACD filter but on a weekly basis too .Is this possible please ....
The idea is to only ever see daily crosses of MACD that have already been screened as weekly crosses .
Any help appreciated thanks
|
four 5,087 posts msg #95548 - Ignore four modified |
8/9/2010 11:05:05 PM
- Welcome to stockfetcher
|
rollers8877 3 posts msg #95550 - Ignore rollers8877 |
8/9/2010 11:08:23 PM
Terrific thank you sir
|
four 5,087 posts msg #95551 - Ignore four modified |
8/9/2010 11:10:26 PM
I edited previous message.
Had an error (took out my attempt in the previous message). Perhaps someone will get you an answer before I do ?
I can offer
|
rollers8877 3 posts msg #95556 - Ignore rollers8877 |
8/10/2010 12:17:07 AM
Thanks very much ,i'm getting a better grip of what i can do now and your help much appreciated
|
Kevin_in_GA 4,599 posts msg #95566 - Ignore Kevin_in_GA |
8/10/2010 1:39:35 PM
MACD Fast Line(10,30,10) crossed above MACD Slow Line(10,30,10)
and Average Volume(90) gained more than 10 Percent over the last 2 Days
and Chaikins Money Flow(21) gained more than 5 Percent over the last 2 Days
+++++++
1. You can just write "MACD Histogram(10,30,10) crossed above 0"
2. This is unlikely to happen - the 90 day average volume will not simply jump up 10% in 2 days unless there is a massive increase in volume. Is this what you mean to say? Perhaps a different metric is needed here - "volume 300% above average volume(90)" might work.
3. "CMF(21) more than 5% above CMF(21) 2 days ago"
4. I would add some basic volume and price limits "close above 1" and "average volume(30) above 100000" might do it.
Putting these statements together -
This filter gives me 7 hits over the past 5 trading sessions. Nothing today, though.
|
snappyfrog 731 posts msg #154345 - Ignore snappyfrog |
10/16/2020 2:53:56 PM
ToS has a WeeklyandDailyMACD. Here is the code. Surely this can be done in SF.
input weeklyFastLength = 60;
input weeklySlowLength = 130;
input dailyFastLength = 12;
input dailySlowLength = 26;
plot WeeklyMACD = ExpAverage(close, weeklyFastLength) - ExpAverage(close, weeklySlowLength);
plot DailyMACD = ExpAverage(close, dailyFastLength) - ExpAverage(close, dailySlowLength);
plot WeeklyAndDailyMACD = DailyMACD + WeeklyMACD;
plot ZeroLine = 0;
|
xarlor 587 posts msg #154347 - Ignore xarlor |
10/16/2020 10:26:21 PM
|
snappyfrog 731 posts msg #154351 - Ignore snappyfrog |
10/17/2020 7:36:50 AM
Perfect. Thanks Xarlor
|
snappyfrog 731 posts msg #154352 - Ignore snappyfrog |
10/17/2020 8:24:15 AM
xarlor,
Thanks again. I have now morphed this into a Daily_MACD coming off of the 22 day low (much like my PVI 22 day low filter).
Now, I just have to work on entry points.
|