Rosh thanks for your support.
I get your point of using iHighest and iLowest for my problem, but just need assistance of using them.
Say at 10EST today, I need to know the highest and lost of previous day's highest and lowest (5pm to 5pm EST). How do I know which index number matches with 5pm EST.
See GMT from external Source and Clock v 1.3
And use function iBarShift
A bit high level solution.
Is there any easier one??
o Thanks Rosh,
Just solved the problem as following
int CurrentHour=Hour(),X;
double Maximum,Minimum;
if (CurrentHour>21)
{
X=CurrentHour-21;
Maximum=High[iHighest(NULL,0,MODE_HIGH,23,X)];
Minimum=Low[iLowest(NULL,0,MODE_LOW,23,X)];
}
My Server time of 21 is equivalent of 5PM EST.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
is there a program/function available which can find the highest and lowest of the previous trading day (5EST to 5EST)