Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 974
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
Thank you.
Indeed the numbere = 1.828331349163451e-40 is very small for the formula 1/(1+e).
The result is 1+ infinity approximating 0.
This means only one thing - I have to look for a reason for such a number in principle.
The point is that when expecting a number 1 at the output of the network. When you calculate it, you get 0. The error shouldn't be so
insignificant. It turns out that the network is satisfied that when expecting 0 to come out, it gets 1.
Thank you.
Indeed the numbere = 1.828331349163451e-40 is very small for the formula 1/(1+e).
The result is 1+ infinity approximating 0.
This means only one thing - I have to look for a reason for such a number in principle.
The point is that when expecting a number 1 at the output of the network. When you calculate it, you get 0. The error shouldn't be so
insignificant. It turns out that the network is satisfied that when expecting the output of 0 you get 1.
please
and be careful when working with real numbers, here is an example written:
the answer is correct e = 0.5 and h = 0.6666666666
But to avoid looking where something went wrong, it is better to write it in such a way that the compiler is not ambiguous - or rather, it is unambiguous, but we may see what we want differently)))
Thank you. It's all clear. You have to write the number as a double at once.
Unfortunately, this is not the solution for this particular case.
I need to search for a "bug" in the network code (i.e. where I got the number 91.4999999999993754).
It should be slightly less than 1.0.
But that's another question.
Best wishes.
Valentin.
help me set up mt5 i have a 32bit pc and 64bit processor, question is it possible to make the buttons work
And what tools are you not picking up from the panel (symbols are grey, New Order is also grey what else?)?
Greetings all. I want to solve the problem - to write an indicator that is based on two MA, for example, MA 10 and MA 15, by these MA take the RSI also with different periods, such as RSI 30 and RSI 50, and displays the result in the chart as two lines of RSI. The file indicator is attached, it does not give errors and warnings when compiled, but the schedule does not show anything. Please advise what is the error(s). Thank you in advance for your help.
Duplicating my message. Can anyone tell me why it's not working and how to fix it?
Otherwise seems to be fine now, maybe in the process it will turn up
Have you looked at my code? I don't have the two RSI summary lines displayed on the chart. I don't know what to do...
I had an idea, I need a lot of cycles, so I decided to check the speed this way
... As a result MT5 stops working, glitches and I have to close it via task manager
Is this a problem in the power of my pc or something else?
*PS - I want to try to write a neural network, and there will be billions of cycles, and here I have to lie on a million