-
-
Save dburger/9125055c074445e9b553b70abd3bf0fd to your computer and use it in GitHub Desktop.
Composition of functions to calculate an SMA in Google Sheets.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=AVERAGE(INDEX(GOOGLEFINANCE(A2 , "close" , WORKDAY(TODAY(), -$C$17, holidays) , TODAY()), 0, 2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment