MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Window functions  WindowYOnDropped

 
int WindowYOnDropped( )
Returns the value at Y 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.
See also WindowXOnDropped(), WindowPriceOnDropped(), WindowOnDropped()
Sample:
  Print"Expert was attached to the window in the point x=",WindowXOnDropped()," y=",WindowYOnDropped());