Hi, I am learning to code, but just doing the very basics right now.
I have just noticed that the weekly range does not start on Sunday.
My code is a simple one,
zRange = W1_High - W1_Low ;
So this calculates the weekly range, but it apparently starts on Monday. How do I code it to start on Sunday? I live in the US so FX trading here starts on Sunday, and am trying to code an indi that keeps the weekly range updated. My code did not roll over to the new week.
Thanks
Regards
Joe
I have just noticed that the weekly range does not start on Sunday.
My code is a simple one,
zRange = W1_High - W1_Low ;
So this calculates the weekly range, but it apparently starts on Monday. How do I code it to start on Sunday? I live in the US so FX trading here starts on Sunday, and am trying to code an indi that keeps the weekly range updated. My code did not roll over to the new week.
Thanks
Regards
Joe
If you are good at something, never do it for free--Joker