I can not understand why in the loop stops finding and closing positions, I've already turned the loop and increased the number of positions, in the tester still skips (leaves) position. advise if you can see where and what is wrong ...
I can't understand why the search and close positions stops in the loop, I've already turned the loop and increased the number of positions, in the tester still skips (leaves) position. advise me if you can see where and what is wrong ...
I need to load once in an EA or indicator in MT4 anothercustom indicator to learn from it reference points in the form of results of calculation of this indicator. The indicator I want to get data from is a wasteful one and is not needed for further work. How can I unload this indicator without unloading the Expert Advisor (indicator) that used this indicator once?
I need to load once in an EA or indicator in MT4 anothercustom indicator to learn from it reference points in the form of results of calculation of this indicator. The indicator I want to get data from is a wasteful one and is not needed for further work. How can I unload this indicator without unloading the Expert Advisor (indicator) which has used this indicator once?
advise how to solve this problem: when the Expert Advisor on MT5 on Sishka, the bot opened a position. after the day clearing, the Expert Advisor took the clearing price and closed the trade at a loss. the average price was on a totally different level. is it possible to ignore the clearing price? or should I prescribe in the Expert Advisor to save my average price. thanks in advance for the substantial answers.
vovka40: i would like to advise how to solve this problem: when the Expert Advisor on MT5 is running on syshka, the bot opened a position. after the day clearing, the Expert Advisor took the clearing price and closed the trade at a loss. the average price was on a totally different level. is it possible to ignore the clearing price? or should i specify in the Expert Advisor to save the average price. thanks in advance for the substantial answers.
The opening price should be memorized by the Expert Advisor itself. You cannot go by the opening price after the clearing.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I take it you have hedging? It goes like this:
I take it you are hedging? It should go like this:
Please help me to solve this problem!
I need to load once in an EA or indicator in MT4 anothercustom indicator to learn from it reference points in the form of results of calculation of this indicator. The indicator I want to get data from is a wasteful one and is not needed for further work. How can I unload this indicator without unloading the Expert Advisor (indicator) that used this indicator once?
Please help me to solve this problem!
I need to load once in an EA or indicator in MT4 anothercustom indicator to learn from it reference points in the form of results of calculation of this indicator. The indicator I want to get data from is a wasteful one and is not needed for further work. How can I unload this indicator without unloading the Expert Advisor (indicator) which has used this indicator once?
In fiveIndicatorRelease, in four no way
In fiveIndicatorRelease, in four no way
i would like to advise how to solve this problem: when the Expert Advisor on MT5 is running on syshka, the bot opened a position. after the day clearing, the Expert Advisor took the clearing price and closed the trade at a loss. the average price was on a totally different level. is it possible to ignore the clearing price? or should i specify in the Expert Advisor to save the average price. thanks in advance for the substantial answers.
The opening price of a position must be memorised by the advisor himself. You cannot use the opening price after clearing.
The question is whether it is possible to teach the Expert Advisor to ignore the clearing price by memorizing its average transaction price?