Thanks Dascore - a big help. I will get busy with some code - I like a heiken cross for entry but your ADX comes in a day earlier most times and would give me a heads up maybe.CheersRaine