[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 416

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
That option doesn't work either
I wonder what you are looking for. There are other options for finding the maximum area. For example analytical
I wonder why the counter values need to be changed twice in the loop. And for some reason there is no (preliminary) assignment of S2. This value at the start is 0, and only on the second iteration (more precisely on the third) goes real value comparison (it depends on how to count from zero or from one).
I wonder what you are looking for, too. There are other options for finding the maximum area. Like the analytical one.
That's not the problem at all. This is a simple task used as an example of how the break operator works. I need to know why you cannot write for(int i=1, j=499; i<500; i++,j--) if you don't commit the i,j variables before the loop in order to write the right programs later!
It's probably a bug in the compiler.
It doesn't compile that way:
This is how it compiles:
And this is how it compiles:
Hello all!!!
Please help me get the RiskReward number out of the indicator. I can't get it into my Expert Advisor.
Hello all!!!
Please help me get the RiskReward number out of the indicator. I can't get it into my Expert Advisor.
Where is the source code?
People, why is it so hard to answer me or you just don't want to? You are sorting out such crap here, but you're too lazy to help write part of the code. I will try to ask you one more time, if you don't help me, I'll go to courses, I'm sick of begging you here.
Once again: after the EA has been attached to the chart with the first tick, it fixes the Ask price. Then, during trading, as soon as the price increases by, say, 10% (it is clear that it cannot be, it is figurative), the EA should notify a trader with the message "The price has increased by 10%".
Hello all!!!
Please help me get the RiskReward number out of the indicator. I can't get it into my Expert Advisor.
Help fix if orders open with SL, and if there are two opposite orders, for the second one it removes SL.... but this is not needed
Thanks
Hello. Once again I cannot solve the example from the tutorial.
Task 17. There are 1,000 sheep on the first farm. Every day the number of sheep on the first farm increases by 1%. On the day that the number of sheep on the first farm reaches 50,000, 10% of the sheep are transferred to the second farm. How long will it take for the number of sheep on the second farm to reach 35,000? (Assume that there are 30 working days in the month.)
In this example, the exit from the loop
The "extra day" is always added, i.e. a day for which no calculation is performed is added, but as the cycle is nested, the "extra day" remains.
every time the control returns to it, the days are recounted again, so it's not essential. But when the loop is exited
the "extra day" remains. And as a result the wrong answer will be printed.
Can you tell me if my reasoning is correct or did I get something wrong?