The opinions expressed in these forums do not represent those of C2, and any discussion of profit/loss is not indicative of future performance or success. There is a substantial risk of loss in trading. You should therefore carefully consider whether such trading is suitable for you in light of your financial condition. You should read, understand, and consider the Risk Disclosure Statement that is provided by your broker before you consider trading. Most people who trade lose money.

Backtest error (even with sample programs)

unfortunately backtesting in Seetu does not seem to work at all for me.
I always get this error message:

Backtest error: Could not convert string to integer: NA. Path ‘BackTesterSettings.HoldMinBars’, line 39, position 23. undefined

To clarify, line 39 does not exist in my script at all. This seems to be internal.
If I try to set the HoldMinBars option I get a compiler error.

Anyone faces the same issue?

Just for other members information:

HoldMinBars is still not fixed.

If your intention is to buy and sell on the same day with Seetu based on daily data, then it can be substituted by SetTradeDelays and AllowSameBarExit options:

SetOption( "AllowSameBarExit", TRUE );
Buy = 1;
Sell = 1;

The same problem here

Back to C2 Platform