Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 463
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Can you tell me why the compiler gives the warning "expression has no effect" in the line for
So do it if you don't want to just do it:
And you don't need i to catch up to the OrdersTotal() value - jump out of bounds. From zero you're looking for.
So do it if you don't want to just do it:
Or even like this o_o
Or even like this o_o
Or like this for(;;)![](https://c.mql5.com/mql4/forum/2014/02/qd_coffee.gif)
And then like this:
By the way, it's not
is not a good way to do it. Something may change during the cycle (also due to actions in the cycle itself) and you'll be screwed.
Correct
By the way, it's not
is not a good way to do it. Something may change during the cycle (also due to actions in the cycle itself) and you'll be screwed.
Correct
Does anyone know if there is any way to assign hotkeys to the trend line?
Alexei, don't stutter(not)! Here's his question: ". how can we implement when writing an indicator so that the indicator readings on the 0th bar add up to the readings on the 1st bar?" So the first bar will fly into the sky! I don't know why he would, but I was just throwing in what can be operated on. He who seeks may find! And I learn from my mistakes, like anyone else who wants to know! ( ;)))=
Maybe I used the word "readings" wrong. By this word I meant the indicator value, i.e. the written indicator makes calculations on each bar and displays the results in a separate window as a histogram (like MACD for example). How to make the histogram columns summing up, i.e. indicator value on the 0th bar will be added to the result on the 1st bar?
I must have used the word "readings" incorrectly. By this word I meant the indicator value, i.e. the indicator I have written performs calculations on each bar and displays the results in a separate window as a histogram (like MACD, for example). How to make the histogram columns summing up, i.e. indicator value on the 0th bar will be added to the result on the 1st bar?
the example of which I will try to show you remaking it. you can do it as a text code or as a file. or post it here . because it's hard to say one recipe for all indyuks at once. the easiest solution in the Start .Buffer[i] = (more actions or a way to calculate values) if you put + you get Buffer[i] +=(.........). the summation to the previous value. in general, you need to see the basic calculation algorithm of the indicator and whether it has a period or end cycle definition etc. so the indicator and its description will help.
I can't solve the problem, I'm getting dull, and beer doesn't help.
I have:
1 - there are 30 EAs working on a chart or symbol and all have different Medgic number
2- Each EA has 3-5 open orders ...
The task is to print all numbers in a bar on a chart and total profit/loss on them ...
I am digging but not getting anywhere:
Good people help who can!!! )))))))