How to do weekly and monthly SMA or EMA price crossing
Moderator: Chris White
How to do weekly and monthly SMA or EMA price crossing
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.
Re: How to do weekly and monthly SMA or EMA price crossing
The old post , "How to specify time frame for chart script formulas?" from Dec 2010, might help.
Ed S.
Ed S.
Re: How to do weekly and monthly SMA or EMA price crossing
Thanks, I will look that up.