MQL4 Reference Chart Operations WindowYOnDropped

MQL4 Help as One File:

WindowYOnDropped

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

int  WindowYOnDropped();

Parameters

None.

Returned value

Returns the value at Y axis in pixels for the chart window client area point at which the Expert Advisor 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 was attached to the window in the point x=",WindowXOnDropped()," y=",WindowYOnDropped());

See also

WindowYOnDropped(), WindowPriceOnDropped(), WindowOnDropped()