I usually used open at market orders while building visual jforex strategy. But recently I started to use pending orders also thus I want to share my thoughts concerning usage of pending orders in visual jforex strategy logic.
2. Basic idea
It could seem that everything might be calculated in strategy logic and open of trades could be realized in real time. But it is theoretical approach. When market starts moving fast strategy also should calculate everything very fast. When question how effective algorithm is and how powerful is computer where mentioned algorithm runs. If somewhere is weak points strategy logic might not be so speedy as market and as consequence trades might be opened not in such a way what was anticipated.
In order to overcome mentioned problems pending orders might be used. Such orders could be generated and it could wait for right time to trigger and if such time will not come there is always possibility to cancel such order and generate new one. That's why I think that in specific cases pending orders usage might be good idea and it could be even better in such a cases to use pending orders than calculate something in real time and try to open pos…