WindowXOnDropped - Chart Operations - MQL4 Reference

MQL4 Reference Chart Operations WindowXOnDropped

WindowXOnDropped

Returns the value at X axis in pixels for the chart window client area point at which the Expert Advisor or script was dropped.

int  WindowXOnDropped();

Parameters

None.

Returned value

The value at X axis in pixels for the chart window client area point at which the expert or script was dropped. The value will be true only if the expert or script were moved with the mouse ("Drag'n'Drop") technique.

Example:

  Print("Expert dropped at point x=",WindowXOnDropped()," y=",WindowYOnDropped());

See also

WindowYOnDropped(), WindowTimeOnDropped(), WindowOnDropped()