MQL4 Reference Chart Operations ChartTimeOnDropped

MQL4 Help as One File:

ChartTimeOnDropped

Returns the time coordinate corresponding to the chart point the Expert Advisor or script has been dropped to.

datetime  ChartTimeOnDropped();

Return Value

Value of datetime type.

Example:

   datetime t=ChartTimeOnDropped();
   Print("Script was dropped on the "+t);

See also

ChartXOnDropped(), ChartYOnDropped()