I tried and tried to get the open date of the previous year.
Can you help me please ?
Now, i do it like this but, it's not "pro".
I do not get any error.
But i need it to be like the previous month (for example).
Code: Select all
datetime PREV_MONTH_OPEN_DATE=iTime(Symbol(),PERIOD_MN1,1);
Code: Select all
PREV_YEAR_HIGH = iHigh(NULL, PERIOD_MN1, iHighest(NULL, PERIOD_MN1, MODE_HIGH, 12, Month()));
Regards.