How to do weekly and monthly SMA or EMA price crossing
Posted: Tue Nov 07, 2017 10:25 am
I am trying to write a script to look at when the closing price of a stock or ETF crosses above the weekly or monthly moving average as an entry signal and exit when the closing price crossed below that average. I can see how it works with daily prices but not weekly or monthly.