StockFetcher Forums · General Discussion · Count and display<< >>Post Follow-up
spauken
47 posts
msg #155599
Ignore spauken
2/4/2021 3:40:01 PM

I want to count the number of times my fast MA crosses above the slow MA and then display that count in a column. Can someone help me out with the syntax?

Mactheriverrat
3,153 posts
msg #155601
Ignore Mactheriverrat
2/4/2021 6:07:56 PM

What fast ma's and slow ma's you talking about?

graftonian
1,089 posts
msg #155602
Ignore graftonian
modified
2/4/2021 8:09:04 PM

Fetcher[
set{flag, count(ma(10) crossed above ma(5), 100)}
add column flag
draw ma(5) and draw ma(10)
]



spauken
47 posts
msg #155604
Ignore spauken
2/4/2021 10:08:43 PM

Thank you graft, you're the man!

StockFetcher Forums · General Discussion · Count and display<< >>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.