So this is the Twiggs Money Flow filter that Ive been working on as my first project to try and learn SF. I think Ive almost got it except for the last 2 bits I need. here is the code and a chart that explains where its not working the way I think it should. Any help is appreciated!
If you look at this chart you can see where its not correct.
/* Calculate Highest High (HH) and Lowest Low (LL)
LL = minimum(current low or previous close)
HH = maximum(current High or previous close) */
set{LL, min(low, close 1 day ago)}
set{HH, max(high, close 1 day ago)}
You don't want to use R1 as variable name, that is already hardcoded to pivot r1:
After a qick "once over", I only see one problem, that being the use of variable name "R1"
Affter replacing the R variables with xR, I believe your filter is behaving nicely
Try:
TMF crossed above tmfsignal
TMF > .001
sort on column 5 descending
@mahkoh - thank you for the R1 being the pivot symbol. Didnt realize that.
@mac - I havent tried the wwekly ema(13) but will definitely look at it.
@graftonian - thank you help with the R1 also. I tried how you suggested but it still isnt coming out right.
what Im trying to do is get a signal when tmf first crosses the zero line from below .....And.... then get a confirmation signal from tmfsignal when it also crosses the zero line from below, usually a few days later.
Ive also tried
tmf crossed above 0.001 3 days ago
........ and .....
tmf crossed above 0.001 from below 3 days ago
set{tmfsignal, CEMA(tmf,21)}
tmfsignal crossed above 0.0001 2 days ago
....... and ........
TMFsignal crossed above tmf 1 day ago
sort on column 5 descending
"Stan Weinstein's Secrets For Profiting in Bull and Bear Markets" suggests using the MA(30) or the wma30 on weekly charts. Just started reading his book in chapter 3 so far. I've been messing around with weekly charts for a couple of months and came across his book.
Mac, Thank you for the exit signal and the ma(30) video. Also, thanks for all your informative posts and filters. I am always trying to learn to be a better trader.
*** 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.