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
swap it around:
but what does it mean if
HistoryOrderGetString
gives false
gives out false
It's a shitty ticket then.
They all suck. How do they suck?
The ones that are taken for trades and tucked into orders.
Just started studying MQL, and here I wrote an EA that draws an iMA and draws a tangent (very close) to the chart in the iMA at the point where the mouse pointer is on the time axis.
Problem one. The Expert Advisor is VERY slow. It means that the tangent is redrawn for a long time and does not keep pace with the mouse movement.
Problem two. I thought it may take a long time to draw graphical objects (a straight line in this case) or copy data into dynamic arrays. But profiling of the algorithm has shown that it takes a very long time to recalculate mouse coordinates into time and price and vice versa (lines 99 and 105). Does anyone know why this happens and how to speed it up?
To the expediency of the algorithm, please do not pick on, because it is nothing more than an exercise.
The algorithm was tested on the clock.
Just started to learn MQL, and ....
If you want help, you should paste the code correctly or attach it as a file.
If you want help, insert the code correctly or attach it as a file.
Corrected)))))