How to do weekly and monthly SMA or EMA price crossing

This is the place to discuss EdgeRater Chart Script

Moderator: Chris White

Post Reply
donkrob12
Posts: 2
Joined: Mon Aug 19, 2013 12:49 pm

How to do weekly and monthly SMA or EMA price crossing

Post by donkrob12 »

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.
nibor200
Posts: 63
Joined: Wed Oct 22, 2014 11:03 am

Re: How to do weekly and monthly SMA or EMA price crossing

Post by nibor200 »

The old post , "How to specify time frame for chart script formulas?" from Dec 2010, might help.

Ed S.
donkrob12
Posts: 2
Joined: Mon Aug 19, 2013 12:49 pm

Re: How to do weekly and monthly SMA or EMA price crossing

Post by donkrob12 »

Thanks, I will look that up.
Post Reply