Topics
Replies
PanagiotisCharalampous
21 Jul 2020, 08:33
Hi rgasch,
Yes it is.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jul 2020, 08:29
Hi kobit,
A subaccount following another strategy cannot become a strategy provider.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jul 2020, 08:22
Hi Sam,
What parameters are you using?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 16:41
Hi Alessandro,
There was no change in this functionality in the latest updates and did not have any complaints regarding this until now. However we will check how can we improve this in order to become more user friendly.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 16:21
Hi tradermatrix,
It depends on what are you trying to achieve. In principle, you can set your timer to a fast interval e.g. one second, and then implement time checks on custom intervals. See an 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 NewcBot : Robot
{
[Parameter(DefaultValue = 30)]
public int Interval1 { get; set; }
[Parameter(DefaultValue = 50)]
public int Interval2 { get; set; }
DateTime _interval1;
DateTime _interval2;
protected override void OnStart()
{
_interval1 = Server.Time;
_interval2 = Server.Time;
Timer.TimerTick += Timer_TimerTick;
Timer.Start(1);
}
private void Timer_TimerTick()
{
if (_interval1.AddSeconds(Interval1) < Server.Time)
{
Print("Interval 1 Triggered");
_interval1 = Server.Time;
}
if (_interval2.AddSeconds(Interval2) < Server.Time)
{
Print("Interval 2 Triggered");
_interval2 = Server.Time;
}
}
protected override void OnTick()
{
// Put your core logic here
}
protected override void OnStop()
{
// Put your deinitialization logic here
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 15:49
Hi GlenHendriks,
This is the intended behavior in the current version. In v4.0 we plan to introduce the Object Manager which will work as is works currently in cTrader Desktop 3.8.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 15:14
Hi tradermatrix,
I do not see why you cannot implement different checks with a single timer event, one for every strategy. It needs some coding but its achievable.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 14:31
Hi K100,
Can you provide steps that we can follow to reproduce the problem?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 11:09
Hi malleswaramma.ram,
No that is not possible. The only solution would be to somehow change the values of your Williams R so that they fall within the range of the Awesome oscillator.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 10:38
Hi marcovs,
Send it to community@spotware.com
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 10:31
Hi marcovs,
You did not sent any video. Can you please send it to us?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 09:58
Hi K100,
Make sure you are not using trailing stop loss.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 09:27
Hi malleswaramma.ram,
The problem is the scale
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 09:21
Hi ramio,
Can you explain what do you mean when you say "linked with the ccopy"? Do you want to become a strategy provider or a follower? You can find all required information for cTrader Copy here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 09:16
Hi Vadivelan,
If you are looking for somebody to develop the logic for you then unfortunately I cannot help you. I cannot engage in custom development requests.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 09:12
Hi Luca,
There is no API method for this. You need to program this logic yourself.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 09:10
Hi tradermatrix,
At the moment you can only have one instance of the Timer. You will need to implement your logic with this limitation in mind.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 09:08
Hi GridTrader,
You need to be more specific with the terminology you use. There are no "trades" or "trade operations" in cTrader so I am not sure to what are you referring to. In cTrader there are orders, positions and deals, each one with its own unique identifier. For a better explanation of the domain model check this article. If you are looking for the deal IDs through the API, check History and HistoricalTrade.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Jul 2020, 08:59
Hi Sam,
I checked it and seems to work fine for me.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jul 2020, 09:57
Hi all,
We have released a hotfix for this issue. Can you please check again?
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous