Replies

PanagiotisCharalampous
18 Dec 2020, 09:11

Hi Yuval,

This information cannot be accessed through the API.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
18 Dec 2020, 08:04

Hi pancakeman,

To achieve this you need to use different IndicatorDataSeries outputs for each color and use the DiscontinuousLine plot type. You can find an example here.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
18 Dec 2020, 07:59

Hi sshhaayyeekk,

cTrader Automate provides all the functionality you need to develop this yourself if you have programming experience. Alternatively you can hire a programmer to do this for you.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
18 Dec 2020, 07:54

Hi jackhpfilerrowson,

Can you be more specific? Give us an example of how do you expect this to work.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
18 Dec 2020, 07:52

Hi mk1786,

You should contact ClickAlgo regarding this issue.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
18 Dec 2020, 07:48

Hi matayas,

Please provide us with your broker, the account number you use for your strategy and the account number you use for the fees so that we can investigate further.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
17 Dec 2020, 16:25

Hi JeanPaul,

I am not sure why do you multiply with the bid price. The margin is calculated as follows

Margin = (Volume/Leverage) * QuoteSymbolToBalanceSymbolConversionRate

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
17 Dec 2020, 16:16

Hi yaghouti,

Can you you send us a video demonstrating the steps you are taking to reproduce this behavior?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
17 Dec 2020, 16:15

Hi Leon,

The reason is probably that your broker does not allow trading such a low volume. As far as I know the minimum is 0.01 Lots.

Best Regards,

Panagiotis 

Join us on Telegram 


@PanagiotisCharalampous

PanagiotisCharalampous
17 Dec 2020, 12:03

Hi JeanPaul,

We had a look at this and it is an issue of backtesting. It seems to be using the current prices to calculate the margin instead of the historical ones. We will fix this in a future update.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
17 Dec 2020, 11:03

Hi Martin_I,

When you send an order and there is not enough margin available, the server will reject the orders with NOT_ENOUGH_MONEY message. To avoid this, you need to calculate the margin that will be required for your position (volume/leverage) and make sure that you have enough free margin, before executing the orders.

Best Regards,

Panagiotis 

Join us on Telegram 

 


@PanagiotisCharalampous

PanagiotisCharalampous
17 Dec 2020, 10:59

Hi Leon,

It is possible to open positions with a volume higher than your balance because of leverage. There is nothing you need to do to enable it, it is a built in feature. If you have a leverage of 1:100 and 1000 units balance then you can open positions worth of 100000 units.

Best Regards,

Panagiotis 

Join us on Telegram 

 


@PanagiotisCharalampous

PanagiotisCharalampous
17 Dec 2020, 08:08

Hi emmasystems,

Please provide us with the complete cBot code.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
17 Dec 2020, 07:55

Hi JeanPaul,

This does not sound like a cTrader issue but a VS issue. I did not experience this issue before, I can step into methods without a problem. If you want to send me your project to have a look, feel free to do so.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
16 Dec 2020, 11:04

Hi Shares4us,

The API is not thread safe. You should have that in mind in case you are developing multi-threaded code.

Best Regards,

Panagiotis 

Join us on Telegram 


@PanagiotisCharalampous

PanagiotisCharalampous
16 Dec 2020, 10:34

Hi parkermark446,

I would advise you to check our sample cBots to see how indicators are referenced e.g. Sample RSI cBot or Sample SAR Trailing Stop.

Best Regards,

Panagiotis 

Join us on Telegram 


@PanagiotisCharalampous

PanagiotisCharalampous
16 Dec 2020, 10:13

Hi parkermark446,

So what is the question? How to reference an indicator? Did you try something and it did not work? What did you try? If you don't bother giving information about your problem, nobody will bother helping you. We have our problems to solve as well :).

Best Regards,

Panagiotis 

Join us on Telegram 


@PanagiotisCharalampous

PanagiotisCharalampous
16 Dec 2020, 09:04

Hi Daniel,

The indicator is calculated even if the tab is not displayed.

Best Regards,

Panagiotis 

Join us on Telegram 


@PanagiotisCharalampous

PanagiotisCharalampous
16 Dec 2020, 08:30

Hi klaudiusz.rohde,

Do you use the same broker's cTrader on both laptops?

Best Regards,

Panagiotis 

Join us on Telegram 

 


@PanagiotisCharalampous

PanagiotisCharalampous
16 Dec 2020, 08:28

Hi parkermark446,

You need to be more specific regarding your request. What are you trying to program? What is your cBot code? What error do you get when you build? If you need somebody to build a cBot for you, you can post a Job or contact a Consultant.

Best Regards,

Panagiotis 

Join us on Telegram 

 


@PanagiotisCharalampous