Topics
26 Nov 2018, 02:58
 1357
 4
20 Sep 2018, 03:12
 1359
 5
06 Sep 2017, 10:43
 2620
 5
14 Mar 2017, 05:39
 2044
 3
Replies

yoannes
26 Nov 2018, 14:44

Hi Panagiotis,

But if the user link their account to another cTrader ID they will not be able to open their account right? or it will be linked to both IDs?


@yoannes

yoannes
20 Sep 2018, 11:38

I see, it is a pity because I can't transfer cTID.

I used to open my accounts and my dad's, but can't do it anymore, becaue he also uses it.

Anyway, thanks for the help. 


@yoannes

yoannes
20 Sep 2018, 10:49

Hi Panagiotis,

Thankyou for your answer. The other accounts I am trying to add are linked to another cTrader ID. Can the broker link the account with two cTrader's ID?

 


@yoannes

yoannes
01 Aug 2018, 15:31

 

Hello Panagiotis,

Thankyou very much, found the answer to my question.

 

In this case, OnTick() will be invoked for all four symbols.
Let me know if this helps you.

 


@yoannes

yoannes
01 Feb 2018, 09:42 ( Updated at: 09 Feb 2023, 11:42 )

Panagiotis

thanks for your answer. I will wait their update.

Ps. Sorry for not searching better for previous questions on forum.


@yoannes

yoannes
01 Feb 2018, 05:15 ( Updated at: 09 Feb 2023, 11:42 )

Hi,

How can I execute a order on cAlgo when the volume is only 0.1 Dash or Ethereum?

The volume on ExecuteMarketOrder should be long, so I'm getting error on this.

Thanks


@yoannes

yoannes
06 Sep 2017, 12:15

I see, so need to keep using my workaround.

Thanks for the support


@yoannes

yoannes
06 Sep 2017, 11:13

Hi,

Thanks for your answer. Below example of file

{"symbol":"EURUSD","dir":0,"eTime":"2017-09-06 08:01:17.36","cTime":"2017-09-06 08:01:21.16","ePrice":1.19339,"cPrice":1.19339,"volume":1000,"comm":-0.08,"swap":0.0,"net":-0.08,"comment":"","label":""}
{"symbol":"EURUSD","dir":0,"eTime":"2017-09-06 08:01:27.90","cTime":"2017-09-06 08:01:30.31","ePrice":1.19352,"cPrice":1.19345,"volume":1000,"comm":-0.08,"swap":0.0,"net":-0.15,"comment":"","label":""}

Trying to read file:

string[] lines = System.IO.File.ReadAllLines(pathOrders);
foreach (string line in lines)
{
   Print(p);
}

this is the error I get

06/09/2017 08:11:18.992 | Crashed in OnStart with FormatException: Input string was not in a correct format.

 

So i'm using this workaround to print my content:

string[] lines = System.IO.File.ReadAllLines(pathOrders);
foreach (string line in lines)
{
   string p = line.Replace("{", "{{");
   p = p.Replace("}", "}}");
   Print(p);
}

But is there a better way of doing it?


@yoannes

yoannes
14 Mar 2017, 13:31

Hi Spotware,

Sorry for the silly question... Now everything is working just fine.

Thank-you for the quick suport!!


@yoannes