ChartTimeOnDropped - Chart Operations - MQL4 Reference

MQL4 Reference Chart Operations ChartTimeOnDropped

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()