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
The SetVLine() function.
This function sets the OBJ_VLINE object vertical line on the current chart.
Examples of how to use SetVLine().
SZY. Attached is a script to test the SetVLine() function.
EXECUTIVE. >> I'M GOING TO.
Show me a picture, let's try to make one.
Show it in the figure, let's try to do it.
A custom function that calculates the areas described by the indicator, e.g. RSI and the middle line.
The space bounded by the curve below the middle line and the middle line itself is area -S1, and above the middle line is +S2.
Posted to https://www.mql5.com/ru/forum/109590 not to interfere.
The SetTLine() function.
This function sets the OBJ_TREND trendline object on the current chart.
Examples of how to use SetTLine().
HH. Attached is a script to test the SetTLine() function.
Igor, I'm addressing you as a more experienced MQL4 coder.
I started to write a library for Kohonen's network.
I want to make it as flexible and convenient as possible, but I've faced a moment that I can't overcome yet.
Example1:
Is it possible to do this using MQL4, and how, if yes?
Example2:
Again, if it is possible, please give me the code. This example seems realizable to me.
Thank you in advance.
I want to make it most flexible and convenient, but I've faced a moment that I can't overcome yet.
>> Example1:
Is it possible to do it with MQL4 tools and how, if yes?
I understand that you want to organise work with pointers. So that one variable points to another... Or maybe I've got it wrong? Try to explain in words what you need.
Example2:
Again, if it is possible to do such a thing, please give me the code. This example seems to me to be implementable.
I understand that you want to organise work with pointers. So that one variable points to another... Or maybe I've got it wrong? Try to explain in words what you need.
Yes, sort of.
About second -- how about to initialize with random values?
Yes, also, I need exactly dynamic arrays.
Yeah, sort of.
Pointers in MQL4 are tricky. There is no direct support. Someone here on the forum tried to do it with arrays, I think. I can't be more precise. Search for it yourself.
About the second -- what about initializing with random values?
MathRand()
Yeah, also, I need exactly dynamic arrays.