I have the following code extracted from one of my indicators. It is working fine using last weeks opening price to do the calculations.
Please tel me what must be changed to use the current weeks open.
ArrayInitialize(Weekly_Price, 0);
ArrayCopyRates(Weekly_Price, Symbol(), 10080);
WeekOpen = Weekly_Price[1][3];
//WeekLow = Weekly_Price[1][2];
//WeekClose = Weekly_Price[1][4];
Your help will be appreciated
Regards
Please tel me what must be changed to use the current weeks open.
ArrayInitialize(Weekly_Price, 0);
ArrayCopyRates(Weekly_Price, Symbol(), 10080);
WeekOpen = Weekly_Price[1][3];
//WeekLow = Weekly_Price[1][2];
//WeekClose = Weekly_Price[1][4];
Your help will be appreciated
Regards