StockFetcher Forums · Filter Exchange · * * 2 moving averages determine trend * *<< 1 2 >>Post Follow-up
four
4,001 posts
msg #100013
Ignore four
modified
3/31/2011 1:12:50 PM

Fetcher[
/*average : close and open*/
set{co, close + open}
set{coavg, co / 2}

/*average : high and low*/
set{hl, high + low}
set{hlavg, hl / 2}

draw cema(coavg,5) on plot close
draw cema(hlavg,1) on plot close

do no draw coavg
do not draw hlavg

add column cema(hlavg,1) {hlavg}
add column cema(coavg,5) {coavg}

close > 1
avgvol(2) > 80000

set{cross, cema(hlavg,1) crossed above cema(coavg,5),1)}
draw cross

]


hp722c

TheRumpledOne
6,362 posts
msg #100023
Ignore TheRumpledOne
3/31/2011 5:26:10 PM

OK, I'll bite....


How does this determine "trend"?

four
4,001 posts
msg #100034
Ignore four
modified
4/1/2011 12:13:54 AM

example: GOOG

buy crossover
3jan11
7feb11
21mar11
30mar11

sell "trailing stop-loss"
min(3 day low)

TREND
See http://www.seykota.com/tribe/tsp/trends/index.htm



Uploaded with ImageShack.us


jwhtrades
6 posts
msg #100044
Ignore jwhtrades
4/1/2011 10:47:23 AM

Sorry to be so dense but you indicate to buy when which two moving averages cross? I see a 10, 20 SMA and 5 & 30 EMA.
Thanks,
jwhtrades

four
4,001 posts
msg #100047
Ignore four
4/1/2011 12:37:30 PM

Please see above (picture explanation)

HTH

alf44
2,025 posts
msg #100051
Ignore alf44
modified
4/1/2011 1:24:32 PM

four,

So you're saying BUY when a 1 day moving average of the High + Low ...

...crosses ABOVE the 5 day average of the Open + Close ?

Then SELL the 3 day LOW ?


four
4,001 posts
msg #100052
Ignore four
modified
4/1/2011 1:44:21 PM

alf44
msg #100051
- Ignore alf44
modified 4/1/2011 1:24:32 PM

four,

So you're saying BUY when a 1 day moving average of the High + Low ...

...crosses ABOVE the 5 day average of the Open + Close ?

Then SELL the 3 day LOW ?

-------------------------------------------


Yes

3 day low is the "trailing stop-loss"

alf44
2,025 posts
msg #100054
Ignore alf44
4/1/2011 2:03:38 PM


hmmmmm ...

Simple enough !

I like simple !!!


four
4,001 posts
msg #100055
Ignore four
4/1/2011 2:08:58 PM

alf,

Let us know your results... if you try it.

Thanks.

four
4,001 posts
msg #100056
Ignore four
4/1/2011 2:17:17 PM

alf,

Here is a simple buy signal.
Perhaps someone has an exit strategy.

Fetcher[
rsi(2) < 10
macd(2,3,1) < -0.08

rsi(2) > rsi(2) 1 day ago
macd(2,3,1) > macd(2,3,1) 1 day ago

avgvol(2) > 80000
close > 1
close > open
]




hp722c


StockFetcher Forums · Filter Exchange · * * 2 moving averages determine trend * *<< 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