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
I have a very basic question: say I have a buy position and I close it with
trade.PositionClose(_Symbol);
Is it safe to say that PositionSelect(_Symbol) will be false immediately after that?
I ask because I have developed an EA that has the following basic structure:
This is run only once per candle, and in many cases both the exit criterion and a new entry criterion will be satisfied. So if PositionSelect(_Symbol) doesn't immediately change to false after closing a trade, the new trade will not be opened.
==