Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1170
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
My indicator works, I ' m just expanding.
OK, I'll get it myself.
If this is your indicator, the question looks, to put it mildly, alarming...
If this is your indicator, the question looks, to put it mildly, alarming...
It's working. The question was about the "form" of the string variable declaration. I'm still learning, if anything, gentlemen programmers.
It worked. The question was about the "form" of the string variable declaration. I'm still learning, if anything, gentlemen programmers.
Everyone's learning, that's normal.
My question arose because your example was not of beginner's level, and the question about variable types and scope is the first thing you have to understand when you first try to write your code - without understanding this, you will not get anything at all in the future
It worked. The question was about the "form" of the string variable declaration. I'm still learning, if anything, gentlemen programmers.
I'm still learning too )))) And hopefully I can still learn a lot ;)
Greetings All ! How to pass to the button , name + value ( example button Lots = 0.1 ) ?
Thanks in advance !
Added arrows to the SuperTrend indicator downloaded from kodobase. It draws the arrows normally on startup,
but if I scroll back/left on the chart, the gibberish appears and everything crashes.
Here is the code:
Please tell me what's wrong with it.
Please tell me what I did wrong.
I made a mistake by inserting this add-on separately. The arrows should be put only at the moment of buffer change. At the same time, do not forget to put an empty value in the buffer in all other cases.
Even better: put an empty value at once, and fill one of the buffers with an arrow when the trend changes.
but if I scroll backwards/leftwards, the gibberish appears and everything breaks.
is the history being swept up? you don't have a recalculation for this case and the new indicator buffer items that appear are filled with rubbish.