find date of bar or event

#11
Nonsense!
Would you please care to read the AB help.

Code:
periods1 = 80; 

hi = HHV( H, periods1);
bars = HHVBars( H, periods1); 

dt = DateTime();
dthigh = Ref( dt, -bars );

Filter = 1;
format = 1.2;

AddColumn(C , "close", format, -1,-1);
AddColumn(Hi, "HHV", format, -1,-1);
AddColumn(bars, "Bars", 1, -1,-1);
AddColumn(dthigh, "DateTime of HHV", [b][color=#990000]formatDateTime[/color][/b], -1,-1, 120);
As for Date() function.. it returns string!!
Again would you please care to read the AB help instead of dancing in the dark.
thank you for you help
 

Similar threads