Topics
Replies
PanagiotisCharalampous
13 Dec 2019, 11:50
Hi velu130486,
It will need some work to add these features in the cBot. You can consider posting a Job or contacting a Consultant to develop a single, tailor made cBot for you.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2019, 11:25
Hi velu130486,
If you do not have the cBot code then you can use the cBot below in parallel. This cBot will close all positions of the chart symbol that have loss bigger than the pips specified in the parameters
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 = 100)]
public double Pips { get; set; }
protected override void OnStart()
{
}
protected override void OnTick()
{
foreach (var position in Positions.Where(x => x.SymbolName == Symbol.Name))
{
if (position.Pips < -Pips)
{
position.Close();
}
}
}
protected override void OnStop()
{
// Put your deinitialization logic here
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2019, 08:18
Hi Matt,
This is not possible. To follow a strategy provider you need to have a cTrader account.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2019, 08:17
Hi velu130486,
In order to help you, you will need to share the cBot code with us.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2019, 08:15
Hi tgjobscv,
You can manage your notifications here. If you are referring to the cTrader notifications, you can go to Settings > Notifications and manage them there.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2019, 08:11
Hi tgjobscv,
There is no built in feature for this but you could develop an indicator to do it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2019, 08:10
Hi tgjobscv,
The faster the CPU and the more RAM, the better.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2019, 08:06
RE:
tgjobscv said:
When ? How ?
You can do this using a cBot in 3.7 and using SetBarColor() method. You can read more here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 16:11
Hi tnt_22,
We have fixed the issue but we have not released the fix yet.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 15:27
Hi anthony.vella.2409,
It is possible to do this, you just need to use Chart.IndicatorAreas. See below an example
Chart.IndicatorAreas[0].DrawText("Test", "Test", Server.Time, 1, Color.Red);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 14:43
Hi VFX Managing Trader,
There are many reasons this can happen. As you can see there are different entry and exit prices as well as different commissions. You can find all the possible reasons that can cause copying results to differ between a strategy provider and an investor here in section 11.1.II.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 14:32
Hi VFX Managing Trader,
To be able to help you, you need to provide us with more information about your issue. You need to tell us the strategy being followed, the details of the positions being copied and explain the issue. Please share screenshots as well that would help us understand the problem.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 14:24
Hi dynamites,
Can you share the link to the indicator?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 14:15
Hi dynamites,
There is no bug here. The color used is the one defined in the LST toolbar
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 14:09
Hi jcr1818,
I am not sure I understood which click do you mean. Where did you click to maximize the window and how did this change in 3.7? Maybe you can share a screenshot as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 11:42
Hi kahsa,
If you need a more complete example using Open API, try our .Net Open API Sample. We will check the Playground section.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 11:00
Hi kahsa,
The Java example works fine, you just need to use the correct data.
It is
data.accountId
from "Trading Accounts" in Playground of your application".
Yes this is correct. You can also get all the trader's accounts using ProtoOATraderReq.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 10:09
Hi kahsa,
You can find the Open API documentation here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Dec 2019, 09:37
RE: RE:
Hi kahsa,
I have written it above. It can be found in ProtoOATrader.ctidTraderAccountId.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Dec 2019, 12:09
Hi velu130486,
Did you try contacting the consultants directly?
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous