Error | Crashed in OnBar with TypeLoadException...
Error | Crashed in OnBar with TypeLoadException...
09 Jan 2025, 14:43
Hello! I have the following problem with a cBot, when run it it does not set any positions, when I check the "instance information" the following error appears: Error | Crashed in OnBar with TypeLoadException: Could not load type 'cAlgo.API.Indicators.RelativeVigorIndex' from assembly 'cAlgo.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3499da3018340880'. Does anyone know what causes this problem and how to solve it?. Thanks!
Replies
oliver.r.m.92
10 Jan 2025, 14:39
RE: Error | Crashed in OnBar with TypeLoadException...
firemyst said:
Have you tried updating the cTrader.Automate package to the latest version?
I think not, how can I do it?
@oliver.r.m.92
firemyst
12 Jan 2025, 04:01
( Updated at: 21 Jan 2025, 21:07 )
RE: RE: Error | Crashed in OnBar with TypeLoadException...
oliver.r.m.92 said:
firemyst said:
Have you tried updating the cTrader.Automate package to the latest version?
I think not, how can I do it?
https://help.ctrader.com/ctrader-algo/visual-studio-ides/#creating-new-cbotsindicators
@firemyst
oliver.r.m.92
13 Jan 2025, 15:02
( Updated at: 21 Jan 2025, 21:07 )
RE: RE: Error | Crashed in OnBar with TypeLoadException...
oliver.r.m.92 said:
firemyst said:
Have you tried updating the cTrader.Automate package to the latest version?
I think not, how can I do it?
I found the information here "https://help.ctrader.com/ctrader-algo/visual-studio-ides/#creating-new-cbotsindicators" but I did not use Visual studio to create the cBot, does it also affect its operation?
@oliver.r.m.92
firemyst
21 Jan 2025, 23:30
( Updated at: 22 Jan 2025, 10:05 )
RE: RE: RE: Error | Crashed in OnBar with TypeLoadException...
oliver.r.m.92 said:
oliver.r.m.92 said:
firemyst said:
Have you tried updating the cTrader.Automate package to the latest version?
I think not, how can I do it?
I found the information here "https://help.ctrader.com/ctrader-algo/visual-studio-ides/#creating-new-cbotsindicators" but I did not use Visual studio to create the cBot, does it also affect its operation?
If you created the bot and have the source code, you need to post the code where the error is occurring. Otherwise, it's hard for anyone to help you because they can't see what your code is doing. It shouldn't matter whether you use visual studio or another development environment.
If you didn't create the bot and/or do not have access to the source code, then it's probably easiest to contact the bot's developer.
@firemyst
firemyst
10 Jan 2025, 00:17
Have you tried updating the cTrader.Automate package to the latest version?
@firemyst