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

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 use of classes in mt5 is pretty much imposed by the developers. In mt4 iBands returns indicator value, while mt5 returns handle, i.e. there will be more confusing writing than we would like (it's easier to write a function that returns bollinger values). At the same time, they also give an opportunity to use CiBands class, where you can write 3 short lines. In mt5 the functionality given by classes, for example CTrade,CSymbolInfo etc. is also too cumbersome when using other solutions. So for now the question is how to get values when using CiBands?
The use of classes in mt5 is quite heavily imposed by developers. In the same mt4 iBands returns indicator value, while mt5 returns handle, i.e. there will be more confusing writing than we would like (it's easier to write function that returns bollinger values). At the same time, they also give an opportunity to use CiBands class, where you can write 3 short lines . In mt5 the functionality given by classes, for example CTrade,CSymbolInfo etc. is as cumbersome using other solutions. So for now the question is how to get values when using CiBands?
what's the confusion?
one line in oninit for the handle and then a second line to call on the handle. (two lines to write)
The use of classes in mt5 is quite heavily imposed by developers. In the same mt4 iBands returns indicator value, while mt5 returns handle, i.e. there will be more confusing writing than we would like (it is easier to write a function that returns bollinger values). At the same time, they also give an opportunity to use CiBands class, where you can write 3 short lines. In mt5 the functionality given by classes, for example CTrade,CSymbolInfo etc. is also too cumbersome when using other solutions. So the question for now is how to get values when using CiBands?
Implied not by the developers, but by one moderator. As for the BB values, so Artem told you that it's easier to get everything directly... the sequence is like this...
THAT'S IT. Why bother with OOP¿¿¿¿¿? Unfortunately, I can't answer your question directly, because I'm not using it. It's easier for me as I described. There are only 4 actions.
Please advise. There are a couple of indicators that give good entry points, but they are in ex4. Can you please tell me how to get the arrows out of the buffer? That is, I want to make an indicator based on their readings.
YouTube link removed
iCustom
YouTube link removed
????
I do not have the source code of the indicators. only the ex4 file itself????
Advertising for a third-party resource and private channels. If it wasn't for me, I might have been banned.
????
I do not have the source code of the indicators. only the ex4 file itselfyou don't need the source code, in the "Data window" you see the indicator buffer number and use it in iCustom
OK, I'll give it a try. Thanks