اقتباس:
المشاركة الأصلية كتبت بواسطة minime
you did not have to change that from the code
there is an option from the user interface almost at the end where it says trading hours all you need to do is add or substarct the hours to suite your broker time |
I have seen those parameters before modifying the code, however I made it much more easier to imply this option.
Rather than calculating the difference between local time zone and broker time zone and setting up each parameter independently, you can now simply enter your broker time zone and forget about the rest.
The time parameters are now set in GMT, this will enhance code portability.
I think Mr. Pip will like this contribution to his code