Indicators: Market Time

 

Market Time:

Indicator Market Time.

Author: John Smith

 

Hi,

Could you create it in a separate window?


Thanks

 

The following two lines needs a correction.

103 PriceHighObject=High[iHighest(NULL, 0, MODE_HIGH, BarBegin - BarEnd, BarEnd)];
104 PriceLowObject=Low [iLowest (NULL, 0, MODE_LOW , BarBegin - BarEnd, BarEnd)];

Correction below:_____________________________________________

PriceHighObject=High[iHighest(NULL, 0, MODE_HIGH, BarBegin+1 - BarEnd, BarEnd)];
PriceLowObject=Low [iLowest (NULL, 0, MODE_LOW , BarBegin+1 - BarEnd, BarEnd)];

Correction ended: ____________________________________________________

The High and Low was beginning the next bar after the TimeBegin setting. After the 
correction the High and Low now begins on the same bar as the TimeBegin setting.
 ( I've checked, it also ends on the same bar as the TimeEnd setting. That setting was 
correct. It was just the beginning bar that was in error. )
Reason: