Questions from Beginners MQL5 MT5 MetaTrader 5 - page 315
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello, I have a question: I need an EA on mql5 to visually display the data calculated by it on a chart as a line. i.e. the EA returns the predicted price value for each bar. how to implement this exactly from the EA. Thank you in advance for your help.
p.s. The data calculated by the EA (prices) is stored in an array.
https://www.mql5.com/ru/docs/constants/objectconstants/enum_object
https://www.mql5.com/ru/docs/constants/objectconstants/enum_object
What type of object to use (essentially I have an array of points that need to be connected by a line)
https://www.mql5.com/ru/docs/constants/objectconstants/enum_object/obj_trend
https://www.mql5.com/ru/docs/constants/objectconstants/enum_object/obj_trend
Trending is good, but here's a question:
how can, or what can replace the trend line, be used to draw a line connecting points (some values) with coordinates in pixels rather than time/price. I can draw a histogram, but how can I draw a line?
The trend line can of course be used by converting the values to another coordinate system, but then this line drawn on the graph, the bastard, moves with the graph and does not stay in the correct coordinates when the graph is shifted.
Trend is good, but here's a question:
how can, or what can replace the trend line, be used to draw lines connecting points (some values) with coordinates in pixels rather than time/price. I can draw a histogram, but what about a line?
Of course, a trend line can be used by transforming values into a different coordinate system, but then, this line drawn on the chart moves together with the chart and does not stay in the correct coordinates when the chart is shifted.
haven't tried that
ChartXYToTimePrice()
Trend is good, but here's a question:
how can, or what can replace the trend line, be used to draw a line connecting points (some values) with coordinates in pixels rather than time/price. I can draw a histogram, but what about a line?
The trend can of course be used by converting the values to another coordinate system, but then this line drawn on the chart, the bastard, moves along with the chart and does not stay in the correct coordinates when the chart is shifted.
try this one, it shows coordinates at the top
the trend is pixel by pixel x1=100,y1=100,x2=680,y2=450
Only there are no ticks now, move the mouse over the chart.
Please advise how to download the indicator. I press the download button, a window pops up asking if mt5 is installed or not, I press installed, then nothing happens.
Please advise how to download the indicator. I press the download button, a window pops up asking if mt5 is installed or not, I press installed, then nothing happens.
Please advise how to download the indicator. I press the download button, a window pops up asking if mt5 is installed or not, I press installed, then nothing happens.
Try this one, at the top it says
the trend is pixel by pixel x1=100,y1=100,x2=680,y2=450
only there are no ticks now, move the mouse over the chart