Please Help..

Created at 20 Oct 2019, 19:35
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ZO

zooz911

Joined 11.09.2019

Please Help..
20 Oct 2019, 19:35


Hello 

 

My cBot runing good but this 3 error show!!

 

ExecuteMarketOrder(TradeType.Buy, Symbol.Name, VolumeToOpenOrders, "", StopLoss, TakeProfitInPips);

Error CS0618: 'cAlgo.API.Positions.FindAll(string, cAlgo.API.Internals.Symbol)' is obsolete: 'Parameter 'Symbol symbol' was replaced with 'string symbolName'. More details here https://ctrader.com/forum/whats-new/#ToBeReplace'

 

 

             ExecuteMarketOrder(tradeType, Symbol, volumeInUnits, "SampleRSI", StopLoss, TakeProfit);

Error CS0618: 'cAlgo.API.Robot.ExecuteMarketOrder(cAlgo.API.TradeType, cAlgo.API.Internals.Symbol, double, string, double?, double?)' is obsolete: 'Parameter 'Symbol symbol' was replaced with 'string symbolName'. More details here https://ctrader.com/forum/whats-new/#ToBeReplace'

 

 

private int DDPos = 0;

Error CS0414: The field 'cAlgo.Robots.Gerbil.DDPos' is assigned but its value is never used

 


@zooz911
Replies

PanagiotisCharalampous
21 Oct 2019, 09:14

Hi zooz911,

Thanks for posting in our forum. I am not sure what kind of help do you need. The messages are clear about what the problem is.

Best Regards,

Panagiotis


@PanagiotisCharalampous