Topics
Replies
Spotware
31 Aug 2015, 03:23
Dear Trader,
Please have a look at the following post: /forum/cbot-support/6387
@Spotware
Spotware
28 Aug 2015, 09:44
Dear Trader,
The Indicator class doesn't offer such method. You can see all methods available in the Indicator section of our API reference.
@Spotware
Spotware
28 Aug 2015, 08:58
Dear Traders,
Please have a look at the following article: http://help.spotware.com/getting-started/accounts#Remove
If your accounts are linked to your cTID you won’t be able to delete them. We will provide users the ability to unlink their accounts in the near future.
@Spotware
Spotware
28 Aug 2015, 08:58
Dear Traders,
Please have a look at the following article: http://help.spotware.com/getting-started/accounts#Remove
If your accounts are linked to your cTID you won’t be able to delete them. We will provide users the ability to unlink their accounts in the near future.
@Spotware
Spotware
27 Aug 2015, 14:02
Dear Trader,
We kindly ask you to perform the following steps:
-
Go ‘My Documents’ delete any cTrader and cAlgo folders
-
Enter the below in the SEARCH bar of your PC’s start menu: “%LOCALAPPDATA%”
-
Open folder “LOCAL”, then “APPS” and delete the “2.0” folder
-
Uninstall .NET framework from his computer (restart may be required)
-
Install the latest .NET from microsoft: https://support.microsoft.com/en-us/kb/3045560 and restart his computer
- Try to install cTrader again.
@Spotware
Spotware
27 Aug 2015, 07:33
Dear Trader,
Currently we do not provide users the ability to unlink/remove their trading accounts from their cTID. We will consider providing it in the future. Additionally you can post your ideas/suggestions to http://vote.spotware.com/
Stay tuned.
@Spotware
Spotware
26 Aug 2015, 13:47
Dear Trader,
We do not provide coding assistance services. We more than glad to assist you with specific questions about cAlgo.API. You also can contact one of our Partners or post a job in Development Jobs section for further coding assistance.
@Spotware
Spotware
26 Aug 2015, 13:18
Dear Trader,
Please take a look at the following article regarding NullReferenceExceptions: https://msdn.microsoft.com/en-us/library/system.nullreferenceexception(v=vs.110).aspx
This happens if you still try to access the position after it is closed. A simple solution to avoid such errors is to check if the position is not null prior trying to access it.
...
if (pos != null) ClosePosition(pos);
...
@Spotware
Spotware
26 Aug 2015, 12:43
Dear Trader,
Please have a look at the HistoricalTrade section of our API reference and at the following code snippet.
Position pos; HistoricalTrade histrade; protected override void OnStart() { ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "label"); pos = Positions.Find("label"); ClosePosition(pos); histrade = History.FindLast("label"); Print("Closing Price ", histrade.ClosingPrice); }
@Spotware
Spotware
25 Aug 2015, 09:06
RE:
usynn said:
Hi, it is possible to set the source of a simple moving average on a chart to the source of an rsi indicator. This then shows the moving average in the RSI window. However, the problem i'm having is being able to do this in code.
The SimpleMovingAverage requires a DataSeries source and I can't seem to be able to get the dataseries of the RSI.
Dear Trader,
Could you please explain your issue in more detail?
In the following code snippet the SMA and the RSI indicator will be initialized with the same DataSeries.
RelativeStrengthIndex rsi; SimpleMovingAverage sma; protected override void Initialize() { rsi = Indicators.RelativeStrengthIndex(DataSource, Period); sma = Indicators.SimpleMovingAverage(DataSource, Period); }
@Spotware
Spotware
25 Aug 2015, 07:16
Dear Trader,
Currently there is no way to execute multiple market orders at the same time. However we would recommend you to use:
ExecuteMarketOrderAsync(TradeType tradeType, Symbol symbol, long volume, [optional] Action callback)
The asynchronous method sends a market order and doesn’t wait for approval/rejection.
@Spotware
Spotware
31 Aug 2015, 23:31
Dear Trader,
Thank you for reporting it we will investigate.
@Spotware