Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1240
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
How to increase the number of optimized parameters in the tester? Maybe there are some virtual ways in MQL, maybe in Python or somewhere else ? Give me some pointers, please...
OnTester()
Take an example from the reference! How many times? Don't use your own made-up constructs if you don't understand much of their meaning. Use standard constructs - figure out how they work. After that, throw your own constructs in the trash.
And use 'MQL Wizard' to generate a template.
Code
and result
Vladimir, I have the feeling they're trying to talk between a mute and a deaf person.
When I run the indicator rates_total = ХХХ (let's say ХХХ = 1000), prev_calculated = 0, rates_total - prev_calculated (1000 - 0 = 1000) greater than 1! The condition worked!
Next
When you start the indicator, prev_calculated = 0. The condition worked!
And then explain me how yours differs
from mine
considering myArraySetAsSeries is set to true ???
Why yours candlesticks are rendered, but mine are not?
I've been asking you to explain it to me for almost 2 weeks now! No need to send me to read documentation! I know it almost by heart. Just tell me WHY? Either explain, or tell me you don't know, or tell me you don't want to answer!
Oh shit, have you forgotten the title of this thread?
How about this? You have all indexes assigned to a zero index in the buffers.
That's what I'm trying to teach you: I keep giving you examples, but you keep banging your head against the wall.
For the last time: throw your designs in the trash and use the standard ones. Then you can ask: how to draw (for example, the five rightmost candlesticks on the chart) according to your rules. But not before you trash your constructs, not before you stop using prefixincrement instead ofpostfix increment...
Example
Result:
That's what I'm trying to teach you: I keep giving you examples, but you keep banging your head against the wall.
For the last time: throw your designs in the trash and use the standard ones. Then you can ask: how to draw (for example, the five rightmost candlesticks on the chart) according to your rules. But not before you throw away your constructs, not before you stop using prefixincrement instead ofpostfix increment...
What do you have against it? Because you don't understand it? I often use this loop, for example
and there's no problem at all.........
What is it that you don't like about him? Because you don't understand it? I, for example, often use this cycle
and there's no problem at all.........
How about trying to read it instead of rushing to respond? You use (like most) postfix. And your example is postfixed. You shouldn't rush just to answer instead of thinking.
CPU load 100% and after a few minutes of work the computer crashes (processor phenom II x4 955 (4 cores, 3.2 GHz), the cooler is to spare). After two times I decided not to risk any more. How should this be interpreted?
Check your computer with Aida64 or Linx - if there are no problems with CPU and memory tests and the temperature is within normal limits, then check the HDD. Generally it looks like the power supply, if it has not been changed for a long time, it is likely to be the problem. The terminal works fine on the second phenoms.