I tested this script on weekly bar by using
"BarPeriod = 1440; TimeFrame = 1 * 5;"
They are wrong too.
BarPeriod = 1440 * 5;
BarPeriod = 60;
TimeFrame = 1 * 24 * 5;
But the result that zorro has showed is not what I expected.
Maybe I am wrong about how to make weekly bars.
Could you please show me how to make an exact normal weekly chart in zorro?
In the original code , the code is correct and it produces what I want in other TFs less than weekly.
Thanks in advance.
Last edited by SFF; 02/02/13 07:21.