Hi all,
I am a newbie to this so please dont laugh.
I've finished reading my first forex book "day trading the currency market" by kathy lien. I decided I wanted a programming exercise for myself so I decided to implement an algorithm she describes as "trading the doublezeros", it seemed to be an easy algorithm to implement and I thought it would be fun if it would be possible to make money on such a silly algorithm.
The algorithm goes like this:Basicly - buying when the price is at a value that ends with two zeros. Criteria is also it should be high above/below moving average. I also added an adx check to see if its trending or not (should be trending for a trade)
When I was running this on !!eur/usd!! it seems to be making loads. Can it really be possible to make money on this
?
....I have only been able to run it on the two lasts months of data though. I downloaded metatrader from the metaquotes page and are logged in to a server called "AlpariUK-Demo". Is there any way to get access to more historic data? Is there any provider specificly that has more historic data available than others??
I am attaching the code. I have no clue how correct it is though. It would be fun if you could let me know the result if you can run it on more than 2 months of data.
I believe it has to be run on 1M.
I am a newbie to this so please dont laugh.
I've finished reading my first forex book "day trading the currency market" by kathy lien. I decided I wanted a programming exercise for myself so I decided to implement an algorithm she describes as "trading the doublezeros", it seemed to be an easy algorithm to implement and I thought it would be fun if it would be possible to make money on such a silly algorithm.
The algorithm goes like this:Basicly - buying when the price is at a value that ends with two zeros. Criteria is also it should be high above/below moving average. I also added an adx check to see if its trending or not (should be trending for a trade)
When I was running this on !!eur/usd!! it seems to be making loads. Can it really be possible to make money on this
....I have only been able to run it on the two lasts months of data though. I downloaded metatrader from the metaquotes page and are logged in to a server called "AlpariUK-Demo". Is there any way to get access to more historic data? Is there any provider specificly that has more historic data available than others??
I am attaching the code. I have no clue how correct it is though. It would be fun if you could let me know the result if you can run it on more than 2 months of data.
I believe it has to be run on 1M.
Attached File(s)