Elliott wave principle applied to the foreign exchange markets