| Index | Recent Threads | Who's Online | User List | Search |
|
|
![]() |
Portfolio123 » List all forums » Forum: Ranking Systems and Factors/Functions » Thread: EMA of the mid point of hi and lo |
|
Total posts in this thread: 8 |
[Request a Feature]
[Post new Thread] [Add To My Favorites] [Watch this Thread] |
| Author |
|
|
synchro
Advanced Member
|
Is there a way to create a formula that calculate the exponential moving average of the daily hi and lo based on a specified number of past bars? |
||
|
|
marco
|
Not at the moment. The 'series' parameter does not allow high,low or open. I took a look at the code and it seems easy to add. I'll report back. ---------------------------------------- Portfolio123 Staff |
||
|
|
marco
|
It's easy to add EMA of high or low, but not the midpoint of hi/lo. If there's value to having EMA of Highs or Lows, we can easily add them ---------------------------------------- Portfolio123 Staff |
||
|
|
gfagerlin
Advanced Member
|
Marco: I think it would be valuable to have ema of the Hi and Lo if it is not a big deal. I am running daily strategies using ema rules and quick ranks of the close in the ETF and stock screeners as well as stock sims. It would be interesting to test the Hi and Lo to see the benefit. Glenn |
||
|
|
jerrodmason
Advanced Member UNITED STATES Joined: Jan 14, 2005 Posts: 600 Status: Offline |
(OT) Hurray! Five days drought with no posts has been broken! Over the past year I've occasionally wondered if the rate of posting here and/or elsewhere is a predictor of market direction or non-direction. ---------------------------------------- The smart money was on Goliath. "He's not the Messiah. He's a very naughty boy." |
||
|
|
marco
|
We could create a series with #post/day and run some backtests :) ---------------------------------------- Portfolio123 Staff |
||
|
|
synchro
Advanced Member
|
Macro, thx for the quick turnaround of our suggestions. I just want to make sure I got the math correct: it seems that (using 5 days as the parameter, for example) EMA(5,(Hi-Lo)/2) is mathematically the same as (EMA(5,Hi) + EMA(5,Lo)) / 2 Do y'all agree? |
||
|
|
jerrodmason
Advanced Member UNITED STATES Joined: Jan 14, 2005 Posts: 600 Status: Offline |
Synchro, I think you mean (Hi + Lo) , not (Hi - Lo) ---------------------------------------- The smart money was on Goliath. "He's not the Messiah. He's a very naughty boy." |
||
|
| [Show Thread Printable Version] [Post new Thread] |