Replies

thriscio
21 Feb 2019, 20:09 ( Updated at: 21 Dec 2023, 09:21 )

RE:

Panagiotis Charalampous said:

Hi thriscio,

Why do you say you can't? Most brokers offer US30.

Best Regards,

Panagiotis


@thriscio

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
03 Jan 2018, 00:09

I think you need to do check-up of margin on your OnTick() Method.

Yes it seems to be a good algo, but I'm pretty it fells below 500% margin level in a matter of time.

Can you post the code 


@thriscio