Analysis Backtesting Only Shorts are taken , Long positions not showing

Hi,Any one can help ,what settings are needed for getting Long & Short Positions combined in analysis.I tried Only Long also ,not giving analysis for LONG Positions

No one can help you if we don't know what you're doing. Please post your code and follow the guidelines here: How do I debug my formula?

For backtest to take SHORT trades you need the following:

  1. Have Short and Cover variable assignments present in your formula
  2. In the Analysis Settings window, "General" tab you have to select
    Positions: "Long and short" option

Only then the system would be able to trade both long and short positions

More information:
https://www.amibroker.com/guide/h_backtest.html

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.