StockFetcher Forums · Filter Exchange · weekly indicator on daily chart question.....<< >>Post Follow-up
push5280
197 posts
msg #156256
Ignore push5280
modified
3/24/2021 8:05:29 PM

I need some help.... plotting weekly ma(9) on ma(9) and trying to set a counter of days ma(9) is above weekly ma(9) but the counter doesn't work right. There are days that the daily ma is above the weekly ma and the counter is 0. I searched the forums and found a post that has a filter that TRO wrote (https://www.stockfetcher.com/forums/Filter-Exchange/weekly-syntax/56065/-1/56092) , counting days weekly rsi crossed but same thing happens with that filter as does in mine. I initially thought it was because I'm using weekly measure on a daily chart but I seem to remember that when you do that, the weekly measure doesn't recalculate each day it just plots the weekly value for that day.

any help is appreciated....
Fetcher[
set{ma9w9_count, count( ma(9) > weekly ma(9),1)}
draw ma(9)
draw weekly ma(9)
draw ma9w9_count
]



wantonellis
155 posts
msg #156263
Ignore wantonellis
3/25/2021 8:41:03 AM

You need to define the number of days to count backwards. Here I set the number to 100.

Fetcher[
set{ma9w9_count, count( ma(9) > weekly ma(9),100)}
draw ma(9)
draw weekly ma(9)
draw ma9w9_count
add column ma9w9_count
]



push5280
197 posts
msg #156279
Ignore push5280
3/26/2021 9:31:06 AM

wanton, I do have that that counter in there but for 1 day (instead of 100) but it's still not accurate. I did receive a response from SF help and apparently the count function doesn't work with weekly measures.

Hi,

Thank you for the feedback. The count features only support daily measures, weekly measures are not supported.

If you have any additional questions, please do not hesitate to send us an email.

Thank you,

StockFetcher.com Support
Vestyl Software, L.L.C.

wantonellis
155 posts
msg #156281
Ignore wantonellis
3/26/2021 10:43:32 AM

Good to know. You could approximate the weekly ma(9) with a ma(45). They seem to match up closely..

draw weekly ma(9)
draw ma(45)

push5280
197 posts
msg #156282
Ignore push5280
3/26/2021 11:19:55 AM

Good to know. You could approximate the weekly ma(9) with a ma(45). They seem to match up closely..

draw weekly ma(9)
draw ma(45)

***************************
That's what I did :)

StockFetcher Forums · Filter Exchange · weekly indicator on daily chart question.....<< >>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.