- Messages
- 549
- Likes
- 2
I came across a site that sells software that tells you what the closing price will have to be today in order to give a moving average crossover.
Well 50 quid seemed a lot of money to pay for that (and some other odd bits and pieces) so I worked it out using third form arithmetic and here it is in case anybody wants to use it.
If you use a 10 day moving average and you are looking for a buy signal, today's closing price must be greater than or equal to the 9 day moving average.
In general the method is to use an n-1 day moving average close for an n day moving average/price cross over. This follows simply from the definition of a simple moving average.
I like the idea because you can check for the cross-over at 15:00h and buy in before the open the next day.
If anybody finds a way of identifying buy candidates in the current market let me know - but if course it works with shorting too.
Darth.
Well 50 quid seemed a lot of money to pay for that (and some other odd bits and pieces) so I worked it out using third form arithmetic and here it is in case anybody wants to use it.
If you use a 10 day moving average and you are looking for a buy signal, today's closing price must be greater than or equal to the 9 day moving average.
In general the method is to use an n-1 day moving average close for an n day moving average/price cross over. This follows simply from the definition of a simple moving average.
I like the idea because you can check for the cross-over at 15:00h and buy in before the open the next day.
If anybody finds a way of identifying buy candidates in the current market let me know - but if course it works with shorting too.
Darth.