Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1403

 
Aleksei Stepanenko:

Thank you for your help.

 
klub2003:
So, how should everything look like in the end to fix the price at the moment of MA crossing?

Write it however you like. I have given you two options on how to write a variable so that it does not change at each function call. Open Help and read Static variables. I think you should know about global variables.

 

Good afternoon!

There is a problem - the terminal freezes horribly. Practically. - It's not working.

Started last week and over the weekend - it's totally screwed up.

Thought it lacked paging from ALPARI server at the weekend.

But here and today, practically can't work.

Didn't put anything new in there.

I've found MT4 cleaner on the net - clear. But it didn't work so well.

I downloaded a new installer from Alpari site. I installed it. I transferred all my indicators, profiles and other stuff to it.

Didn't work. And new installer did not work.

Conclusion - terminal hangs.

What to do?

Thank you!

 
Kedrov:

Afternoon!

Moved all my indicators, profiles and the rest there.

Try clean charts and if all is OK, then transfer all your indicators, profiles and the rest step by step

 
I'll give it a try!
 

I suspected that the reason was a paid positioning advisor.

Isolated it in a separate folder and it's working.

I will try to update it

Thank you!

 

Can you tell me how to get the first five characters from the text?

It was here somewhere, but I can't find it(

 
MakarFX:

Can you tell me how to get the first five characters from the text?

It was here somewhere, but I can't find it(

StringSubstr()
 
Taras Slobodyanik:
Thank you
 
Hello. Can you tell me how to find the High and Low values of the past H1 hour on the M1 minutes? Thank you.
Files:
EURUSDM1.png  27 kb