PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
03 Feb 2020, 14:02

Hi netmstnet,

You can use First() and Last() functions. See below an example

Positions.First().Close();

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 09:58 ( Updated at: 21 Dec 2023, 09:21 )

Hi jcr1818,

Here it is

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 09:48

Hi miloscicmil,

Unfortunately no. We do not have the right to redistribute Trading Central signals. If you need access to their API, you can contact them directly.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 09:44

Hi jcr1818,

We removed the multi-chart mode and we changed the timeframe labels to make the chart tabs smaller and allow cTrader to display more chart tabs. You can still use multi-chart mode from the line studies tools.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 09:36

Hi driftingprogrammer,

The built-in TSL does not allow you to set a trigger distance for your trailing stop loss. It starts trailing immediately. This sample does (TriggerWhenGaining parameter).

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 09:33 ( Updated at: 21 Dec 2023, 09:21 )

Hi thi80,

If you don't want the ASP to change the symbol of the chart, then you need to unlink it from the relevant chart. See below

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 09:28

Hi m.ghobeishavi1986,

To show an indicator on the chart, you will need to set the IsOverlay property to true. See below

  [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]

Unfortunately we cannot send you any code for this functionality. You will need to write it yourself.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 09:25

RE: RE:

Hi calgodemo,

You can send it to me at community@spotware.com.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 08:57

Hi Takis Genn,

Unfortunately I cannot know what the issue could be if I do not have any source code that reproduces such a behavior.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
03 Feb 2020, 08:40

Hi Zoe1,

No it doesn't. Please make sure that this was not caused by an external event, like your computer restarting.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
30 Jan 2020, 09:56

RE:

Hi miloscicmil,

Trading Central targets are not available through the API.

Best Regards,

Panagiotis 

Join us on Telegram

 

 

 


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 14:49

Hi VertoTrading,

cTrader currently is built using .Net v4.0. If you use components that use a higher version, you might run into problems. Regarding the new line code you posted, in order to receive messages, you need to give full access rights to the cBot.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 13:17

Hi zoe.wyzhang,

Without the cBot code I can only make guesses. Where is the MoveSL() called? What do you mean when you say the cBot stopped? Did it stop running completely and you had to restart it? Was there any information in the log?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 13:12

Hi VertoTrading,

The exception is caused by this line of code

var me = botClient.GetMeAsync().Result;

Which version of Telegram.Bot do you use? Do you build your project using .Net 4.0 or do you use a higher version?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 12:09

Hi zoe.wyzhang,

Can you share the cBot code with us so that we can check it?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 12:07

Hi VertoTrading,

Can you provide more information? What do you mean when you say the cBot immediately crashes? Do you get any messages in the log? Can you share the cBot code?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 12:05

Hi Mr4x,

Thanks for the positive feedback. Many brokers have already updated to v3.7. The rest will be updated soon.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 12:00

Hi Takis Genn,

Can you please provide us with a complete code example that allows us to reproduce this issue?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 11:31

Hi calgodemo,

This should work on indicators as well. If you can share the complete indicator code, we can have a look.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jan 2020, 11:29

Hi koktos632,

Can you share a video with us that demonstrates this behavior?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous