Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1019
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
It was easier to redo the whole thing
Thank you very much for fixing the indicator, but I would like to know what was the reason of slow work of my code?
I don't think I will always be corrected in this way. Besides, I have to study somehow, and you cannot be sure that no error will occur again if you don't know it.
Thank you very much for fixing the indicator, but I would like to know what was the reason for my code being slow?
I don't think I will always be corrected in this way. Besides, I have to learn somehow, and if you don't know about errors, you cannot be sure that they won't occur again.
The main error is working with the graphics (object) in the loop. Although only the last calculated value was needed.
The first developer obviously was not aware of the standard functions and implemented his own. There is nothing bad in this, but nothing good either.
It was easier to redo the whole thing
Why simpler, just two rearrangements.
Just
+
Why simpler. just two permutations.
Just
+
My conscience doesn't allow me to give away bad code.
My conscience doesn't allow me to give away bad code.
Good afternoon. Faced with a problem. Need a dynamic naming which was not repeated. Below is an example how, I have done but the problem is that in one tick may need several names. What is your advice?
Good afternoon. Faced with a problem. Need a dynamic naming which was not repeated. Below is an example how, I have done but the problem is that in one tick may need several names. What do you advise?
TimeCurrent()+GetMicrosecondCount()
or
int counter=1;
TimeCurrent()+=counter;
TimeCurrent()+GetMicrosecondCount()
or
int counter=1;
TimeCurrent()+=counter;
And the other solution? I work with fractals and there the M1, M5, M15 can be matched in time.
What about another solution? I work with fractals and there the M1, M5, M15 can overlap in time.
please advise :
I need to edit information in a binary file (there are html tags and text inside)
what is the correct way ?
1 open the file for reading, read text into an array char one character at a time or into an array string with words edit the array open the file for writing pour it back into the file
2 can you edit in the file?
ps what is the easiest and most correct path to take when editing text within a file ?