Page 1 of 1

Date time of Previous Year

Posted: Fri Jan 26, 2018 2:30 am
by FxVolumes
Hi there,
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);
I find how to get the high and low price of the previous year

Code: Select all

PREV_YEAR_HIGH = iHigh(NULL, PERIOD_MN1, iHighest(NULL, PERIOD_MN1, MODE_HIGH, 12, Month()));
And i need the open time now.

Regards.

Re: Date time of Previous Year

Posted: Fri Jan 26, 2018 3:39 am
by mntiwana
Post your request in appropriate section/thread "Coding help"
here
"viewtopic.php?f=578623&t=8412211"
For every single question/request,seems not suitable to open a new thread that will be end (orphan) after few posts

Re: Date time of Previous Year

Posted: Fri Jan 26, 2018 3:42 am
by FxVolumes
I have already did it, but no response my friend.

EDIT :
viewtopic.php?f=578623&t=8412211&start=630

Re: Date time of Previous Year

Posted: Fri Jan 26, 2018 3:52 am
by mntiwana
FxVolumes wrote: Fri Jan 26, 2018 3:42 am I have already did it, but no response my friend.

EDIT :
viewtopic.php?f=578623&t=8412211&start=630
Have you guarantee,it will be replied/response when within new thread
dear there can be many reasons for late response
experts cant manage time currently
question is not clear enough
there is no solution code wise
there is no suitable reply
and some more alike causes
so please be patient , and thanks for your patience :)