Date time of Previous Year

1
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

4
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 :)
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.


Who is online

Users browsing this forum: No registered users and 12 guests