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
Before each position opening (OpenBuy() and OpenSell() methods), the possibility to open a position with a specified lot InpLot is checked. Therefore, situations of margin shortage can occur only in moments of sharp movement or deposit loading close to the maximum.
In this regard, I believe that it is not necessary to introduce a parameter limiting the number of open positions.
Before each position opening (OpenBuy() and OpenSell() methods), the possibility to open a position with a specified lot InpLot is checked. Therefore, situations of margin shortage can occur only in moments of sharp movement or deposit loading close to the maximum.
In this regard, I believe that there is no need to introduce a parameter limiting the number of open positions.
Good day. You still do not understand me. I raised the issue of margin shortage for nothing - it confused you. Let's start from the stove: A signal to open a position is received (say three candlesticks of the same colour), then another candlestick is drawn - the Expert Advisor opens another position. This is enough - the price goes in the direction we need. If we continue to open positions, we will have to close the same number of times in case of trend reversal, and this significantly reduces the potential profit, because we need to open a position at the beginning of the trend, but not in the middle and especially not at the end. This is why it is necessary to limit the number of open positions. Thank you for the useful dialogue.
Good afternoon. You did not understand me after all. I raised the issue of lack of margin for nothing - it confused you. Let's start from the stove: We receive a signal to open a position (say three candlesticks of the same colour), then another candlestick is drawn - the Expert Advisor opens another position. This is enough - the price goes in the direction we need. If we continue to open positions, we will have to close the same number of times in case of trend reversal, and this significantly reduces the potential profit, because we need to open a position at the beginning of the trend, but not in the middle and especially not at the end. This is why it is necessary to limit the number of open positions. Thank you for the useful dialogue.
Good, you made it easy :)
I will do this: a single input parameter "Maximum number of positions". Before opening a new position, positions of the SAME direction will be counted. That is, when a BUY signal is received, the already OPEN BUY positions will be counted.
OK, that's easy :)
I will do this: a single input parameter "Maximum number of positions". Before opening a new position, positions of the same direction will be counted. That is, when a BUY signal is received, the already OPEN BUY POSITIONS will be counted.
Thank you! When can I expect the finalised version to be released?
Thank you! When to expect the finalised version to be released?
When published, the link: N-_Candles_v3 will become active.