I am posting here a very basic question but I've been trying to make this work and its not making any sense to me let me type you the questions I have so far:
- I wanted this comparison below to be in percentage, where I define that?
if (Close[1] > Closes[1][1])
{
fuzzy += 1.00;
}
- Add("BVSP", PeriodType.Day, 1); I did this to have an external stock used to compare with my stock list but instead of that the backtest is being ran with that symbol too which makes no sense to me, I wanted to have that instrument just for a comparison according with my code.
- EnterShort(DefaultQuantity, "");
- The backtest returns me very odd results and sometimes even buys and short this stock I added above not the one is being ran on backtest, why?
- I set ExitOnClose true but it never does exit only when it reaches final date, why?
Check the prints I am providing on output.txt the test is being run with "BVSP", again I DO NOT WANT THAT, I only followed the Add documentation to Add new stocks.
Please try helping me on this .cs file is attached
Any help is appreciated I am pretty new to your platform
Comment