You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Guys and Gals,
Trying to write a weekly pivot that starts at 2 am Monday and ends 1:59.59 Monday.
This is because my broker's servers are in Cypress, 2 hours ahead of GMT.
How do I retrieve the final bid price value of 1:59 and 59 seconds on Monday only and plug it into the pivot point formula as last weeks close (W_yesterday_close)?
How do I retrieve the initial bid price value of 2:00 and 00 seconds on Monday only and plug it into the pivot point formula as this weeks open (W_today_open)?
All my variables at the beginning are stated as "double" and =0 initially.
If anyone could help it would be much appreciated.
Thanks