Forex Price Script
The script should comapre forex rates and create a reort.
Let say we look at GBP/USD. And I want to know the
past 1 year data how price went between 01:00 and 21:00
every day. (except saturday/sunday)
I would have a config file where I can set:
=============
Start Time: 01:00 (Example)
End Time: 21:00 (Example)
Currency: GBPUSD (Example)
Start Year: 2005 (Example)
Start Month: 01 (Example)
Start Date: 01 (Example)
End Year: 2006 (Example)
End Month: 12 (Example)
End Date: 01 (Example)
=============
The Start URL looks like:
[login to view URL]
The End URL looks like:
[login to view URL]
So actually it is:
[login to view URL]{config_currency}&l=GB&w=CR&date={config_date_start}-{config_start_month}-{config_start_year}
Results Page:
Should print out:
Date / Price UP or DOWN / High Price At / Low Price At / Average Interval.
Date: Should be obvious.
Price UP: If START TIME is lower then END TIME print "U"
Price DOWN: If START TIME is higher then END TIME print "D"
(If START and END has same number print "-")
High Price At: Show what time the market made it's highest
price between START and END time. (In excel that would be =MAX)
Low Price At: Show what time the market made it's lowest
price between START and END time. (In excel that would be =MIN)
Average Interval: The script should compare and see what time START and END made most PIP (Most range).
Thanks,
Daniel