Replies

anthony21xu
19 Sep 2018, 14:19

Error CS0672: Member 'cAlgo.Robots.ArtificialIntelligence.OnPositionOpened(cAlgo.API.Position)' overrides obsolete member 'cAlgo.API.Robot.OnPositionOpened(cAlgo.API.Position)'. Add the Obsolete attribute to 'cAlgo.Robots.ArtificialIntelligence.OnPositionOpened(cAlgo.API.Position)'.

 

i have the same case on 2 bots. Should i change all OnPositionOpened? if so what should i change it to?


@anthony21xu

anthony21xu
18 Sep 2018, 18:30

RE: RE:

anthony21xu said:

Panagiotis Charalampous said:

Hi anthony21xu,

It is not easy to advise how to use a 500 lines cBot we did not write. Did you try contacting the cBot's creator?

Best Regards,

Panagiotis

Hi Panagiotis,

 

Thanks a lot for the reply. in fact i did. but he has been away for a while. i just want to know what should i add to open position. the bot is the most downloaded in ctrader/bots section. many are using it. so it is positively working.

slippage is a common problem for entry refuse. but i do everything right & backtesting also right. when live it refuses to open any position. logically it is the same settings.


@anthony21xu

anthony21xu
18 Sep 2018, 18:15

RE:

Panagiotis Charalampous said:

Hi anthony21xu,

It is not easy to advise how to use a 500 lines cBot we did not write. Did you try contacting the cBot's creator?

Best Regards,

Panagiotis

Hi Panagiotis,

 

Thanks a lot for the reply. in fact i did. but he has been away for a while. i just want to know what should i add to open position. the bot is the most downloaded in ctrader/bots section. many are using it. so it is positively working.


@anthony21xu

anthony21xu
18 Sep 2018, 17:50

no love anyone? what about the warning below? is it the cause?

 

Error CS0672: Member 'cAlgo.Robots.GoldenDragon.OnPositionOpened(cAlgo.API.Position)' overrides obsolete member 'cAlgo.API.Robot.OnPositionOpened(cAlgo.API.Position)'. Add the Obsolete attribute to 'cAlgo.Robots.GoldenDragon.OnPositionOpened(cAlgo.API.Position)'.


@anthony21xu