Maximum open position for trading

Can anyone help me to control maximum open position in auto trading at a time in amibroker.
Setoption(maxopenposition,5), not working for actual trading

@rasheedsm, you need to get "Verified" before you post questions.

Search "Verified" or "Verified Badge" to find out how.