[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 12

 

Thank you. And what does

" Invalid function parameter value"?

 

Good evening!

Do you know how to fix the Minimum Margin Level at 60 instead of 30 and the Maximum Decrease at 40 instead of 70 in optimisation mode? I set it and they go back to their defaults again. Maybe something needs to be corrected somewhere in the configuration or whatever...?

Thanks for the reply!

 
Guys, can you give me a hint? How do I compare the high of 3 previous bars and the low of the same 3 bars at the same time? If my condition is correct open a pending buylimit or selllimit order. This has to be compared all the time. If this condition is correct, then old buylimit or selllimit should be closed and new one should be opened. I am thankful in advance.
 
sergey_r:
Guys, can you give me a hint? How do I compare the high of 3 previous bars and the low of the same 3 bars at the same time? If my condition is correct open a pending buylimit or selllimit order. This has to be compared all the time. If this condition is correct, then old buylimit or selllimit should be closed and new one should be opened. I thank you in advance.
Sergei, persistent repetition of the same post is spam. Calm down, your post will be noticed. All the more so because you've even created a topic.
 
sergey_r:
Guys, can you give me a hint? How do I compare the high of 3 previous bars and the low of the same 3 bars at the same time? If my condition is correct open a pending buylimit or selllimit order. This has to be compared all the time. If this condition is correct, then old buylimit or selllimit should be closed and new one should be opened. I thank you in advance.
Where is the condition in your question? Describe it first before you ask... Compare the previous three High and Low with what? With the amount of sausage for tea?
 
sergey_r:
Guys, can you tell me please. How do I compare the high of 3 previous bars and the low of the same previous 3 bars at the same time? If my condition is correct open a buylimit or selllimit pending order. This has to be compared all the time. If this condition is correct, then old buylimit or selllimit should be closed and new one should be opened. I thank you in advance.

https://docs.mql4.com/ru/series/ihighest

https://docs.mql4.com/ru/series/iLowest

or

https://docs.mql4.com/ru/math/MathMin

https://docs.mql4.com/ru/math/MathMax

 
Thank you, there are some more questions in the post https://forum.mql4.com/ru/42398#502420
 

Excuse me! And answer me, please! It would be a violation of the rules to repeat myself. My question above, asked two hours ago... Thank you!

 
sergey_r:
Thank you, there are some more questions in the post https://forum.mql4.com/ru/42398#502420

https://book.mql4.com/ru/operators/index

https://book.mql4.com/ru/trading/index

https://docs.mql4.com/ru/trading/OrdersTotal

 
borilunad:

Excuse me! And answer me, please! It would be a violation of the rules to repeat myself. My question above, asked two hours ago... Thank you!


You've given the answer yourself - Maybe something needs to be fixed somewhere in the configuration or whatever...?