Topics
Replies
thriscio
26 Sep 2018, 18:23
RE:
Hi ! I have a probleme with new classes for drawing
I get a crash using the new DrawText, Color, DrawHorizontalLine etc..
If use the exemple you mentionned
var line = Chart.DrawHorizontalLine("my line", Symbol.Ask, Color.Red);
26/09/2018 15:15:18.000 | Crashed in OnStart with TypeLoadException: Impossible de charger le type 'cAlgo.API.ChartHorizontalLine' à partir de l'assembly 'cAlgo.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3499da3018340880'.
Is there anything to do to fix it ? It looks like my reference to cAlgo.API is junk.
@thriscio
thriscio
24 Mar 2018, 01:31
( Updated at: 21 Dec 2023, 09:20 )
There is a major bug in the new signature of ModifyPosition with the volume parameter.
The account balance doesn't cummulate the profit made if it was closed by a negative
In this exemple, I have a Sell Order of 5000. I sell 1000 of this in 5 steps with
Bot.ModifyPosition(positionSell, positionSell.VolumeInUnits - 1000);
@thriscio
thriscio
21 Feb 2019, 20:09 ( Updated at: 21 Dec 2023, 09:21 )
RE:
Panagiotis Charalampous said:
@thriscio