PI
Topics
10 Oct 2017, 11:02
3276
3
03 Jul 2017, 20:28
2806
2
09 May 2017, 15:51
2062
2
07 Jan 2017, 21:28
1788
2
21 Dec 2016, 18:38
4033
10
Replies
pipsniper123
21 Dec 2016, 22:05
RE:
andi21 said:
Hello pipsniper123, the solution is the correct method defintion: public override void OnBar() { } // notice the override keyword Best Regards, Andi21
Hi Andi, thanks for your response.
But when I try this, I get the error: Error CS0115: 'cAlgo.NewIndicator.OnBar()': no suitable method found to override.
When exactly are you allowed to use override? I got this message a lot of times before when I tried implementing override somewhere.
Kind regards
@pipsniper123
pipsniper123
10 Oct 2017, 15:34
RE:
Panagiotis Charalampous said:
Works perfectly, thanks!
@pipsniper123