Topics
Replies
PanagiotisCharalampous
04 Nov 2020, 08:39
Hi Xavier,
You should contact your broker regarding execution issues.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Nov 2020, 08:35
Hi ferrati_f,
This is not possible at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Nov 2020, 08:32
Hi there,
The indicator does not have any public variables that can be read. You need to rewrite the indicator in a way that it exposed the relevant information through public properties.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Nov 2020, 08:29
Hi ajbozdar,
I used cTrader, so I can use detachable charts. However, chart detaching is not available in web edition. Could you please confirm if it is available? I haven't figured it out.
No this feature is not available at the moment
Could you please tell me why web and desktop editions are treated as two different applications when their real purpose is same?
As explained above, the two applications are developed by different teams having to work different technologies and facing different challenges. If were to keep the applications synchronized, you would only receive the common features missing many of the features you currently have. We don't see any reason to do that, instead we choose to release whichever feature is ready on each application without waiting for the other team to complete it as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Nov 2020, 15:59
Hi Christian,
There is no such option unfortunately.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Nov 2020, 14:13
Hi jayteasuk,
ProtoOADeal includes all the information you need. Each position has an opening and a closing deal and ProtoOADeal.executionPrice has the price at which the each deal was executed.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Nov 2020, 07:58
Hi ajbozdar,
The two applications are developed by different teams, each with their own priorities and backlogs. Hence the two applications are not 100% identical.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Nov 2020, 07:56
Hi matfx,
cTrader offers Open API that allows you to receive live price data feeds and build on top of it whatever application you can imagine.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2020, 15:21
Hi pistrituadrian16,
Here you go
using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;
namespace cAlgo.Robots
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class NewcBot : Robot
{
[Parameter(DefaultValue = 0.0)]
public double Parameter { get; set; }
protected override void OnStart()
{
Positions.Closed += OnPositionsClosed;
}
void OnPositionsClosed(PositionClosedEventArgs obj)
{
ExecuteMarketOrder(TradeType.Buy, Symbol.Name, 1000);
}
protected override void OnTick()
{
}
protected override void OnStop()
{
// Put your deinitialization logic here
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2020, 08:54
Hi matfx,
You need to contact your broker regarding this issue.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2020, 08:36
Hi pistrituadrian16,
You can check the Positions.Count property and open new positions only if the value is 0.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2020, 08:33
Hi yuval.ein,
No there isn't.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2020, 08:31
Hi cranmer767,
This functionality can be easily coded by the community. See a cBot example below
using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;
namespace cAlgo.Robots
{
[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class ScrollTo : Robot
{
[Parameter(DefaultValue = 2014)]
public int Year { get; set; }
[Parameter(DefaultValue = 1)]
public int Month { get; set; }
[Parameter(DefaultValue = 1)]
public int Day { get; set; }
protected override void OnStart()
{
var date = new DateTime(Year, Month, Day);
while (Bars.OpenTimes[0] > date)
Bars.LoadMoreHistory();
Chart.ScrollXTo(date);
}
protected override void OnTick()
{
// Put your core logic here
}
protected override void OnStop()
{
// Put your deinitialization logic here
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Nov 2020, 08:23
Hi SmartArtsStudio,
We plan to add more customization options in future releases like the option to develop plug ins, but we have not started working on such features yet, hence you should not expect them in the next few versions.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Oct 2020, 15:24
Hi jayteasuk,
The port is 5035, the same as for demo.ctraderapi.com. I am not sure which code are you referring to, if you are looking for open authentication instructions, check here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Oct 2020, 12:15
Hi Lisa,
No this is not possible at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Oct 2020, 12:15
Hi SmartArtsStudio,
At the moment it is not possible to customize such functionality in cTrader.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Oct 2020, 12:08
Hi jayteasuk,
I do not see what is the problem. If you only have one demo account then you can authorize it only on demo.ctraderapi.com:5035. tradeapi.spotware.com is not a valid proxy for Open API 2.0 and live.ctraderapi.com should be used only for live accounts.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Oct 2020, 12:00
Hi aldo.zorzi,
It would be better to use the Suggestions section for your suggestion so that the product team can consider them.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Nov 2020, 09:47
Hi adzpapz28,
cTrader Copy does not allow the same names for different strategies or same cTID names but similar names are possible. You should always carry out some due diligence before following a strategy.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous