Topics
Replies
aimerdoux
14 Jun 2016, 18:04
yes the thing is that in the case of a cbot is impossible to scroll back due to the amount of marketseries manage algoritmically ok we'll stay tuned thank you
@aimerdoux
aimerdoux
01 Apr 2016, 19:38
( Updated at: 20 Apr 2016, 11:57 )
This post was removed by moderator because it duplicates another post. /forum/cbot-support/8886?page=1#2
@aimerdoux
aimerdoux
04 Nov 2015, 16:46
RE:
Spotware said:
Dear Trader,
Please have a look at the TimeSeries section of our API Reference.
im begging I really need I tried to implement it as IndicatorDataSeries but somehow some of the values become NeuN so please write an example of TimeSeries here, Do i have to initialize the Time Series like this?
public TimeSeries Series;
OnStart()
Series= CreateDataSeries();
OnTick()
Series[MarketSeries.Close.Count-1]= marketSeries.Close.Last(0)/ MarketSeries.Close.Last(1);
This is an example of how you do an InicatorDataSeries implementation posted on API please provide one to TimeSeries Due that if not is kind of impossible to implement it... thank you
@aimerdoux
aimerdoux
04 Nov 2015, 15:54
RE:
This post was removed by moderator because it duplicates another post. /forum/cbot-support/7059
@aimerdoux
aimerdoux
04 Nov 2015, 00:00
yes sure i have done that, it is exactly the reason why i would like you to show an example of it, i only see in the API the list of items inside of the interface index, last, count, etc but no exmaple to show how is the implementation
@aimerdoux
aimerdoux
30 Oct 2015, 18:56
RE:
Spotware said:
Dear Trader,
Please have a look at the GetSeries method in the API Reference section of cTDN.com
and at the following code snippet:
MarketSeries data = MarketData.GetSeries(TimeFrame.Hour);
But i cant add a timeFrame of 1Tick how can I?
@aimerdoux
aimerdoux
30 Oct 2015, 18:56
RE:
Spotware said:
Dear Trader,
Please have a look at the GetSeries method in the API Reference section of cTDN.com
and at the following code snippet:
MarketSeries data = MarketData.GetSeries(TimeFrame.Hour);
But i cant add a timeFrame of 1Tick how can I?
@aimerdoux
aimerdoux
27 Oct 2015, 17:46
RE:
maxim_7 said:
Thanx for response.
If so, (plan to add one more property to position) is it possible add one more property Color of position line. - For Robot Label (Comment) for User different color of grouped positions.
M.
hhi sir which type of spy|protect method u want to use?
@aimerdoux
aimerdoux
10 Oct 2015, 05:54
RE: RE: Is there still a need to Importing external signal files?
ninosgr said:
joeatbayes said:
see: /algos/cbots/show/588 and /algos/cbots/show/591 I have also written the portion which does the import and executes trades based on external signals. If others will find it of value then let me know and I can post it as a new CBot. It takes quite a bit of extra effort to package things for external consumption but if there is sufficient demand I will do so. Thanks Joe E.
could you please share your code? thanks
please show how to import data to cAlgo
@aimerdoux
aimerdoux
17 Jul 2015, 19:11
RE:
spike.bhv said:
protected override void OnStart() { Positions.Opened += PositionsOnOpened; ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, MyLabel); Positions.Closed += PositionsOnClosed; } private void PositionsOnOpened(PositionOpenedEventArgs args) { var position = args.Position; Print("Position {0} found, waiting for trigger.", position.Label); } private void PositionsOnClosed() { _isTrigerred = false; }for Example ;)
thanks mate
@aimerdoux
aimerdoux
13 Jul 2015, 22:06
I wonder if is too much to ask if u can Show the two lines code that will correct the issue?
@aimerdoux
aimerdoux
13 Jul 2015, 02:04
the Sample is not totally good written due to the fact that the boolean IsTriggered Works Only once, in the login information you can see that if the trailling stop is activated more than once the Boolean _Istrigerred Only shows the Print information the first time because there is not code to make it go back to the state false;
@aimerdoux
aimerdoux
09 Jul 2015, 00:55
RE:
hgorski said:
Thanks,
And if I wanted to close, let's say 50k of 100k position in the same time to moving stops to BE? How should I modify this example code?
you have to modify the method Close to receive the amount of volume you want to close when the breakeven is hitted then use a bool to notify the method that the breakeven is activated
private void Close1(TradeType tradeType, long volume)
{
foreach (var position in Positions.FindAll("ace1", Symbol, tradeType))
ClosePosition(position, long Volume);
}
@aimerdoux
aimerdoux
04 Mar 2017, 23:20
Hi Mind Breaker
Hi How are you MindBreaker I hope you're doing ok, I'd like to talk to you about business sutff, if interested please contact me at andrew@infinitechtrading.com thanks for your time.
@aimerdoux