How to force short/cover instead of buy/sell

I would like only short/cover positions but I am only getting buy long and sell positions or nothing at all in backtesting.

If i assign buy= sell = 0 in addition to short and cover below, there are no positions at all. If I list short = sell ; cover = buy ; only the long positons are reported in the backtest.

Is there a setting or code line to exclusively allow short/cover

Short = shortcondition; 
Cover = covercondition; 

thanks so much,

@djjazzy213 perhaps your settings in the Analysis window need to be changed
image

1 Like

@djjazzy213,
check out this page
https://www.amibroker.com/guide/w_settings.html

Thank you for this helpful info.