Hello, I'm new to the forum just signed up! So, hello to everyone!!!
And apologies if I'm posting this in the wrong area...
Anyway, I have a mysql db of tick data, which I want to use for backtesting. The idea is to create a php script to search the db with my trade details, ie:
date/time, market, orderType, entryPrice, target, stop
2009-05-04 07:00:12.000, gbpusd, buy, 1.46, 1.5, 1.44
It should then tell me if the trade was good or bad.
I have created a simple php script, however I'm confused when it comes to logic side to it. ie the bid and ask price, how to check if a stop was hit, or when a target it hit, also trailing stops and other stuff etc
So, unfortunately its turning out to be more difficult than I thought...
Can anybody point me in the correct direction, or has anyone created something similar???
Infact is a there any PHP developers here who dabble in forex, cos you will be perfect... hehe
Thanks for reading
And apologies if I'm posting this in the wrong area...
Anyway, I have a mysql db of tick data, which I want to use for backtesting. The idea is to create a php script to search the db with my trade details, ie:
date/time, market, orderType, entryPrice, target, stop
2009-05-04 07:00:12.000, gbpusd, buy, 1.46, 1.5, 1.44
It should then tell me if the trade was good or bad.
I have created a simple php script, however I'm confused when it comes to logic side to it. ie the bid and ask price, how to check if a stop was hit, or when a target it hit, also trailing stops and other stuff etc
So, unfortunately its turning out to be more difficult than I thought...
Can anybody point me in the correct direction, or has anyone created something similar???
Infact is a there any PHP developers here who dabble in forex, cos you will be perfect... hehe
Thanks for reading