Topics
Replies
Spotware
14 Mar 2014, 09:02
We don't have such functionality and we do not plan to add it in the future.
As a workaround you can run one terminal with live account and another terminal with demo account. Your cbots can communicate with each other using files, interprocess communication, etc.
@Spotware
Spotware
11 Mar 2014, 09:09
RE:
AimHigher said:
I am having the same problem as Hyperloop and since I am also new to C#, setting the correct references and objects is still hit or miss for me. As I believe Hyperloop was trying to do, I am trying to create a dll to hold methods that I will use in different robots. I have created other dlls that are working fine but I am struggling with using cAlgo,API in my custom dll.
I am working in VS 2010. I have added cAlgo.API in References (for this project) so I get IntelliSense and I can view it fine through the Object Browser. I also have no problem using VS2010 to write cBots in general. That part is working great. It is creating a custom dll that uses cAlgo.API dll that has me stomped.
The code I have so far for my custom dll is this:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using cAlgo.API; namespace cAlgoGeneralMethods { public class General { private int GetPosCnt() { int iPosCnt; iPosCnt = Positions.Count; return iPosCnt; } } }As anyone who knows C# (I don't) the line
iPosCnt = Positions.Count; will not work and I would get the same error as Hyperloop got.
I have looked at the responses that Hyperloop got but I have not found a specific example of how to get it to work. I would very much appreciate a quick sample of what I need to add to get cAlgo.API objects/methods recognized in my custom dll.
Regards,
Aim
/forum/cbot-support/1739?page=2#11
@Spotware
Spotware
10 Mar 2014, 09:21
RE:
Thanks for the suggestion. We will do this at some point in the future.
panupat said:
Dear CTDN team.
I really like the equidistance price channel tool.
I think an option to display center line with it would be really helpful. Would it be possible for you to implement this? Perhaps makes an option we can check to display the half line and the quarter line.
Currently I draw them myself using trend line. It's a bit of a guessing game to get the distance right.
Thank you!
@Spotware
Spotware
07 Mar 2014, 10:29
The abnormal prices shown on the chart for "BROKER A" have been investigated by our support team, in conjunction with the liquidity provider concerned. The liquidity provider has confirmed that the erroneous prices originated from one of their price providers due to a technical issue at that time. This technical issue has now been resolved, and preventative measures put in place to prevent a recurrence of the problem.
@Spotware
Spotware
07 Mar 2014, 09:37
In order to troubleshoot this issue we need your help.
Please sent to support@spotware.com the following information:
- your cTrader ID
- your Account number and Broker name
- journal file where you can see your invisible trades (Documents\cTraders\Journals\...)
- screenshot which illustrates that you do not see those trades in cTrader
- screenshot of myfxbook page which illustrates extra trades (with their IDs)
If there is an issue we will fix it as soon as possible.
@Spotware
Spotware
06 Mar 2014, 10:10
Thank you for your suggestion. We will consider to add (DateTime from) parameter to GetSeries method.
You can also post this idea to vote.spotware.com.
As a workaround you can write cBot which stores market series to a text file and backtest it. As a result you will have market series in text file. Then you will be able to load those market series in another cBot.
@Spotware
Spotware
14 Mar 2014, 09:04
There is no such functionality at the moment. We have plans to add method RefreshData() in the future.
@Spotware