StockFetcher Forums · General Discussion · close crossing below ma(30)<< >>Post Follow-up
alexan
41 posts
msg #126695
Ignore alexan
1/12/2016 1:20:49 PM

how to find the most recent date and price in which close crossed below ma(30)

four
5,087 posts
msg #126696
Ignore four
modified
1/12/2016 1:39:13 PM

how to find the most recent date and price in which close crossed below ma(30)
------------------------------------------

-- Cross occurred today: AAU used as an example.



Fetcher[
close 0 days ago crossed below ma(30) 0 days ago
add column close 1 day ago {yesterday}

]



four
5,087 posts
msg #126697
Ignore four
modified
1/12/2016 1:53:11 PM

-- Cross occurred within 5 days ago: LL used as an example [cross occurred 4 days ago, daysx=4].



Fetcher[
set{daysx, Days(close crossed below ma(30), 5)}
add column daysx
add column separator
add column close 1 day ago {1ago}
add column close 2 day ago {2ago}
add column close 3 day ago {3ago}
add column close 4 day ago {4ago}
add column close 5 day ago {5ago}
draw ma(30)
sort column 5 descending
]



Kevin_in_GA
4,599 posts
msg #126698
Ignore Kevin_in_GA
1/12/2016 2:27:13 PM

Fetcher[
set{closebelow, close - MA(30)}
set{it_happened_here, count(closebelow crossed below 0,1)}
draw it_happened_here
draw ma(30)
market is S&P 500
]



Perhaps this would help - I am trying to figure out how to get a column that tells you the number of days since the cross below occurred, but so far nothing.

four
5,087 posts
msg #126699
Ignore four
modified
1/12/2016 2:33:32 PM

Kevin,
See my post above:
msg #126697 modified 1/12/2016 1:53:11 PM


alexan
41 posts
msg #126700
Ignore alexan
1/12/2016 2:56:15 PM

Thanks for the responses.

I need to add this to my filter:

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

set { crosspoint , price in which price crossed below ma(30) }
add column crosspoint



StockFetcher Forums · General Discussion · close crossing below ma(30)<< >>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.