Topics
Replies
Spotware
05 Feb 2014, 11:07
All 4 points are not supported by the API at the moment. We will implement these points one by one when we receive enough requests.
Please vote for your favorite features: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/category/76800-calgo
@Spotware
Spotware
05 Feb 2014, 10:14
You can not retrieve such information at the moment. At some point we will add Commissions to the Symbol object.
Please vote for your favorite features: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/category/76800-calgo
@Spotware
Spotware
04 Feb 2014, 10:15
We don't have plans to add such functionality to cTrader. However you can write a simple cBot which will move stop loss in the described way.
Please look at educational resources:
You can also use Jobs and Consultants sections to find a cBot developer.
@Spotware
Spotware
04 Feb 2014, 08:41
This video can help you to understand how to backtest your cbots:
http://help.spotware.com/calgo/videos?v=ncwni4pCl1o
@Spotware
Spotware
03 Feb 2014, 14:40
Yes it is. Please vote for your favorite features: vote.spotware.com
@Spotware
Spotware
03 Feb 2014, 12:16
If you don't want to expose DataSeries from indicator, you don't need to use Output attribute. But in this case you need to initialize DataSeries manually using CreateDataSeries method:
[Output("VisibleDataSeries")] public IndicatorDataSeries VisibleDataSeries { get; set; } private IndicatorDataSeries HiddenDataSeries; protected override void Initialize() { HiddenDataSeries = CreateDataSeries(); }
@Spotware
Spotware
03 Feb 2014, 12:08
I'm trying to find more doco on the Account management functionality of cBot.
For example, how to query account balance, available equity, leverage, margining, etc
You can find documentation for Account class there: /api/reference/internals/iaccount
Also, does cBot allow the opening of simultaneous long and short positions from within a single strategy/account?, similar to the non-US version of MT4, or does it automatically net out like MT5?
cBot allows hedging. You can open several positions of the same symbol.
@Spotware
Spotware
03 Feb 2014, 11:57
I read that this functionality is available and used the MarketData.GetSeries("XXXXXX", TimeFrame) function but my backtest crashed and gave me a message that this is 'not yet' available for backtests.
Is this function available during live trading?
We have plans to support GetSeries in backtesting. You are able to use it during live trading.
You can vote for this feature there: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/5435043-multi-currency-backtesting.
Also is there a way of knowing the status of the market data coming in, ie whether it is historical or live ticks? NinjaTrader for example uses the boolean 'Historical' keyword, does CBot have anything similar?
MarketSeries object contains historical data. However last item in MarketSeries is a live trendbar. You can also read current prices from Symbol object.
@Spotware
Spotware
05 Feb 2014, 15:46
You can not use hex or RGB values. It is only possible to use predefined colors.
@Spotware