How to copy price from current mouse location - MetaTrader 5
- Aindriu Mac Giolla Eoin: Do you know how I can copy copy the price from the current location with the mouse? I
Yes, I do.
Only ask questions with yes/no answers if you want “yes” or “no” as the answer. -
Perhaps you should read the manual.
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up. -
double mousePrice; // Price under mouse. int OnInit(){ ChartSetInteger(0, CHART_EVENT_MOUSE_MOVE, 1); // mousePrice ⋮ } void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam){ if( id == CHARTEVENT_MOUSE_MOVE){ datetime dt; int sub; ChartXYToTimePrice(0, (int)lparam, (int)dparam, sub, dt, mousePrice); } ⋮ }
-
Yes, I do.
Only ask questions with yes/no answers if you want “yes” or “no” as the answer. -
Perhaps you should read the manual.
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
Hi,
Do you know how I can copy copy the price from the current location with the mouse? I know you can do it in TradingView with the right click but I haven't found a way to do it in MetaTrader 5.
Many thanks!