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
All the time 130, on different terminals, maybe it's the code after all ? )
profit fixing takes place - when this profit is reached... The profit is fixed when the eq_profit parameter is reached (in pips) and everything is closed out globally.
Yes, I have found it. It is provided, but you have if (all_prof>=profit) close_all(); it should be if (all_prof>=eq_profit) close_all(); But somewhere in the profit calculation there is an error. As it works incorrectly.an error in these lines:
Да нашёл. Предусмотрено, но у вас if (all_prof>=profit) close_all(); а должно быть if (all_prof>=eq_profit) close_all(); Но где-то в вычислении профита есть ещё ошибка. Так как работает неправильно.
Um... you must have misunderstood the code...it should be exactly as it is.
The variable prof is passed to the function as a parameter.
there is no error in this function... it's certainly not written for this toy... it has been working successfully in other serious EAs for a long time.
Um... you must have misunderstood the code...it should be exactly as it is.
the variable prof is passed to the function as a parameter.
there is no error in this function... it's certainly not written for this toy... it has been working successfully in other serious EAs for a long time.
Yes, my mistake, my fault. I did not notice that this code is inside the function. This is what you get when fixing profit = 1$ from 01.11.09 till today.
Um... you must have misunderstood the code...it should be exactly as it is.
the variable prof is passed to the function as a parameter.
there is no error in this function... it's certainly not written for this toy... it has been working successfully in other serious EAs for a long time.
I have a question for you in the codebase about cfp Waiting for you there :)I really didn't calculate the profit correctly.
The function was pulled from another EA, which counted profit separately for long and short positions... I did not even think about it.
I literally just did it on my knees, so sorry...
Here's the revised version.