something wrong in backtest? [SOLVED]
something wrong in backtest?
when I use data ‘bars.upticks’ for backtest in the data of 1min,I found something impossible in my backtest,and I think when I use ‘bars.upticks’ for backtest, MC.net actually use the data ‘bars.volume’,so I design a simple test for this. I give the order : If Bars.UpTicks[0] - Bars.Volume[0] == 0 buy_order.Send; Bars.UpTicks[0] - Bars.Volume[0] == 0 sellShort_order.Send() and in my test ,for all the data of 1min , the value of ‘bars.upticks’ always equals 'bars.volume'. so I wanna know if i do something wrong during backtest or there's a bug in the system ofbacktest.
- Attachments
-
- report.png
- report
- (173.21 KiB) Downloaded 668 times
-
- Bars.UpTicks[0] - Bars.Volume[0] == 0.png
- order
- (22.37 KiB) Downloaded 668 times
-
- data1.png
- the data of 1min
- (105.32 KiB) Downloaded 668 times
- Anna MultiCharts
- Posts: 560
- Joined: 14 Jul 2017
- Has thanked: 42 times
- Been thanked: 140 times
Re: something wrong in backtest? [SOLVED]
Hello, whqt!
If you use ASCII mapping please make sure that UpVol and DownVol are properly supplied to your MultiCharts from the mapped file.
I also forwarded this reply to you by email as you sent us an email request. If you still have questions on this matter, please address them to me directly.
If you use ASCII mapping please make sure that UpVol and DownVol are properly supplied to your MultiCharts from the mapped file.
I also forwarded this reply to you by email as you sent us an email request. If you still have questions on this matter, please address them to me directly.