Error CS0612: 'cAlgo.API.StaticPosition' is obsolete
Created at 29 Mar 2019, 03:33
Error CS0612: 'cAlgo.API.StaticPosition' is obsolete
29 Mar 2019, 03:33
is there any reference on what to replace the old version code with?
public StaticPosition InfoLocation; ... if (rsi.Result.LastValue < 50) { InfoLocation = StaticPosition.TopRight; } else { InfoLocation = StaticPosition.BottomRight; } ... ChartObjects.DrawText(Symbol.Code + "_SymbolPnL", symbolTextDisplayed, InfoLocation, Colors.White);
PanagiotisCharalampous
29 Mar 2019, 10:45
Hi Mario,
Check below
https://ctrader.com/api/reference/chartarea/drawstatictext
https://ctrader.com/api/reference/charttext/horizontalalignment
https://ctrader.com/api/reference/charttext/verticalalignment
Best Regards,
Panagiotis
@PanagiotisCharalampous