Date number and tine number
EXAMPLE:
1. if you want to know the BarIndex() value at a given date:
Index = ValueWhen( DateNum()== Date_To_Num("10012004") ,
BarIndex(), 1);
2. if you want to know the Close price at a given time:
Date_Value = DateNum() == Date_To_Num("10012004");//ddmmyyyy
Time_Value = TimeNum() == Time_To_Num("094500"); // or ("155900"),hhmmss
valueWhen( Date_Value And Time_Value, C,1);
3. if you want to know the High value at a given date:
Hdt = ValueWhen( DateNum()== Date_To_Num("10012004") ,
H, 1);
These syntax may be useful for Gann time cycle.
EXAMPLE:
1. if you want to know the BarIndex() value at a given date:
Index = ValueWhen( DateNum()== Date_To_Num("10012004") ,
BarIndex(), 1);
2. if you want to know the Close price at a given time:
Date_Value = DateNum() == Date_To_Num("10012004");//ddmmyyyy
Time_Value = TimeNum() == Time_To_Num("094500"); // or ("155900"),hhmmss
valueWhen( Date_Value And Time_Value, C,1);
3. if you want to know the High value at a given date:
Hdt = ValueWhen( DateNum()== Date_To_Num("10012004") ,
H, 1);
These syntax may be useful for Gann time cycle.