Search found 2 matches

by donkrob12
Tue Nov 07, 2017 10:25 am
Forum: EdgeRater Scripting
Topic: How to do weekly and monthly SMA or EMA price crossing
Replies: 2
Views: 11971

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.