Bugfix in Amibroker AFL

Job ID: 32555929

Budget: $30 – $250 AUD

I have an existing amibroker AFL. In this AFL, 2 orders are triggered whenever the condition meets which means buy = cover and sell = short.

However whenever the sell/short condition is met, only one order is getting triggered.
Buy/Cover also faces the same problem sometimes.
I am looking to get some help to fix this issue.

This issue is explained with the attached log.
Related categories: Amibroker Formula Language