Open new position only when new trigger is hit

Created at 25 Aug 2014, 09:13
YM

Ymer

Joined 03.05.2014

Open new position only when new trigger is hit
25 Aug 2014, 09:13


If my cBot opens a long position if the RSI is below 50 and a short when the RSI is above 50, once one of the positions is closed, it will directly open a new one. How can I amend the CBot so that once one the positions is closed, it will wait for the new trigger (either below or above the RSI 50) before opening a new position?

Thanks


@Ymer