Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 924

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
Unfortunately, this method doesn't work in MQL4. The PlotIndexSetInteger(0,PLOT_ARROW_SHIFT,ExtArrowShift) function is absent in MQL4, as far as I know.
I do not know how this shift can be implemented in MQL4 and I haven't found the MQL4 code either :(
Maybe you have a similar link for MQL4?
I haven't done it if it's not needed, but you may still try to shift the price into ChartTimePriceToXY pixels and shift it back to the price by adding or subtracting a few pixels of Y coordinate.
I didn't do it when I wasn't needed, but try converting the price into ChartTimePriceToXY pixels and adding or subtracting a few pixels from the Y coordinate to convert it back into a price.
Thanks ) I'll have to give it a try.
Unfortunately, this method doesn't work in MQL4. The PlotIndexSetInteger(0,PLOT_ARROW_SHIFT,ExtArrowShift) function is absent in MQL4, as far as I know.
I do not know how this shift can be implemented in MQL4 and I haven't found the MQL4 code either :(
Maybe you have a similar link for MQL4?
It doesn't work in MQL4. I searched a couple of times in this thread and found the answer to this question - how to shift indicator's icons from the chart scale... can't find it
but search rules!
https://www.mql5.com/en/forum/203336#comment_5241756
It doesn't work in MQL4, I searched the topic a couple of times to find the answer to this question - how to move indicator icons from the chart scale... can't find it
but search rules!
https://www.mql5.com/en/forum/203336#comment_5241756
I'm trying something similar at the moment but so far it hasn't worked.
I just need to encircle the icons of a standard Fractals indicator ) I need the circle to be at a fixed distance from max/min candle.
Hi, could you please tell me how to work with an array of strings while interacting with dll (C++)? String, numbers... everything is sorted out, and an array of numbers works fine too. But string array...will soon hit the table with my head(( and for future reference - is it possible to pass/return objects from dll? Have a good day everyone.
I had the same problem, I used C# to write a dll for MT5 and failed to solve it. I tried to send one line per loop, added lines to the array in dll, and then I used an array of lines by calling another function
In general, try the author of any of the articles on writing a dll on this forum, or open a separate thread, there are coding professionals, probably right away will answer
Good afternoon! Need some help! I've been trying to load data from a file for a few days now. Either I get zeros or wrong values.
The data is stored in a .csv file.
Format, starting with the first line:
Example taken from https://book.mql4.com/ru/functions/files, put it into int OnInit() function:
The output is a value greater than 1, which shouldn't be the case.
Please help me to correct the code. I need your help to fix the code.
If it is possible to use this array without creating a new one
Has anyone encountered anything like this?
2 13:54:52.558 VR EURUSD,M15: modify #0 buy 0.00 at 0.00000 sl: 0.00000 tp: 0.00000 ok
2 13:54:55.651 VR EURUSD,M15: modify #0 buy 0.00 at 0.00000 sl: 0.00000 tp: 0.00000 ok
Strange orders are being sent out by the broker.
Mt5 code: There is an array of colour
If it is possible to use this array without creating a new one
Used as a normal array. There is no need to create a new one.