Attached below, y'all will find an indicator I found over at Babypips a while back and I've been using for some time.
What the indicator does is draw horizontal lines after reading the levels to draw from a text file (also attached) placed in the MQL4\Files directory.
The text file looks like so:
Anyways, the attached ex4 and text file should work in all MT4 builds, so feel free to use it. I use it all the time to keep my horizontal lines record safe instead of having manually drawn lines deleted every time I changecurrency pairs templates in the same window.
What I need help on is to have the mq4 code re-written to be more new-build friendly.
For now, the existing mq4 file compiles (with some warnings, and ZERO errors) but the resulting ex4 file doesn't draw any lines when installed i.e. it doesn't do anything at all in the most current builds.
I know I should just continue using the working version, but...
1. I can't trust that it will continue to work in future MT4 builds,
2. I would like to be able to re-write old-build indicators on my own, and knowing how to do it on this mq4 file will go a long way to helping me learn.
Thanks very much for your time!
What the indicator does is draw horizontal lines after reading the levels to draw from a text file (also attached) placed in the MQL4\Files directory.
The text file looks like so:
Attached Image
Anyways, the attached ex4 and text file should work in all MT4 builds, so feel free to use it. I use it all the time to keep my horizontal lines record safe instead of having manually drawn lines deleted every time I change
What I need help on is to have the mq4 code re-written to be more new-build friendly.
For now, the existing mq4 file compiles (with some warnings, and ZERO errors) but the resulting ex4 file doesn't draw any lines when installed i.e. it doesn't do anything at all in the most current builds.
I know I should just continue using the working version, but...
1. I can't trust that it will continue to work in future MT4 builds,
2. I would like to be able to re-write old-build indicators on my own, and knowing how to do it on this mq4 file will go a long way to helping me learn.
Thanks very much for your time!
Attached File(s)
Option_Lines.mq4
4 KB
|
518 downloads
Option_Lines_working.ex4
5 KB
|
408 downloads
options.txt
< 1 KB
|
489 downloads
I'm not trying to convince anyone. I'm not in the "convincing" business.