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

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
You have the "GetAveragePrice()" function
Make one for "max_ticket" and "min_ticket"
Here's Makar having a constructive conversation
Here's Makar having a constructive conversation
It all depends on the correctness of the question.
Help me change the code so that instead of Profit there are points. Thank you.
My question was simple - instead of Profit in currency specify that min/max orders will close after breakeven point after a certain amount of pips
Can you feel the difference?
You have the average price function "GetAveragePrice()"
Make the same one, but only for "max_ticket" and "min_ticket"
Here it is time to address the audience I will formulate a question tomorrow and ask the forum members
It all depends on the right question being asked
Can you feel the difference?
Yes, maybe I haven't worked out the question and I've brought it up on the forum. I will formulate it more concretely tomorrow.
Someone explain why x in OnTick is always false even when foo2 returns true?
Can someone explain why x in OnTick is always false even when foo2 returns true???
Usually there's a logic error somewhere. Print each step.
Trying to organise a calculation for all TFs.
HELP dear servants!I am trying to organise a calculation across all the TFs.
HELP dear servants!This can be done without OnCalculate
The OnCalculate() function is called only in custom indicatorsThere is usually an error of logic somewhere. Print each step.
Someone explain why x in OnTick is always false even when foo2 returns true?
If foo2 returns true, then look for an error here