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

PanagiotisCharalampous
02 Dec 2019, 08:47

RE: ChartObject.DrawLine definition missing

jani said:

Spotware said:

Dear Trader,

Please be advised that you can Draw the  lines with using ChartObject.DrawLine function. You can then refer to the respective objects. /api/reference/internals/chartobjects/drawline 

Hello,

Can you please tell me where the API reference for ChartObject.DrawLine is?

 

The above url /api/reference/internals/chartobjects/drawline you posted above is not valid  and returns:

 

The server returned a "404 Not Found".

 I tried to search everywhere and could not find anything.

DrawLine() is obsolete and not supported anymore. Therefore it is not included in the reference. You should use DrawTrendLine() instead.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Dec 2019, 08:30

RE: RE:

ctid393445 said:

As I understand it, the username is the account number that is speciefied in field49
I am able to log in to demo, but not live - it is impossible to find out why since the broker won't offer support for fix, and ctrader don't offer any support either.

4 days of trying so far, I am about to give up
 

 

Do you use the correct proxy?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Dec 2019, 08:28 ( Updated at: 21 Dec 2023, 09:21 )

Hi kitretificagui,

If you mean a moving average then you can do it by adding a TRIX indicator to the chart and then set it as a source to your moving average. See below

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Dec 2019, 08:16

Hi stalkerxxl,

This is a bug and we will fix it in an upcoming update.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Nov 2019, 14:08

Hi sifneosfx,

Can you please advise the scale you use for Windows and for cTrader?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Nov 2019, 09:54

Hi tradermultimillonario,

That the users could select to see the unrealized (Gross and Net) of PIPS instead of the unrealized (Gross and Net) of $

You can see the unrealized pips P&L per position. 

With a key the user could change to the crosshair tool

 This is already available. Try pressing Ctrl + C.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Nov 2019, 15:26

Hi godsy360,

A calendar has already been incorporated in the Active Symbol Panel area of cTrader Web and will be added in the next version of cTrader Desktop. It is already included in the mobile application as well

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Nov 2019, 11:33

Hi sifneosfx,

This issue has been fixed on Spotware Beta. It will be rolled out to brokers soon.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Nov 2019, 10:03

Hi ctid1663833,

It seems that at the moment only one symbol per request is supported. We will update the documentation to reflect that. We will implement multisymbol support in an upcoming update.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Nov 2019, 09:06

Hi tgjobscv,

No this is not possible at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Nov 2019, 09:04

Hi ctid1663833,

Can you tell us which symbol is 10012?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Nov 2019, 08:58

Hi tgjobscv,

There is only one issue, in line 52

_Hvol = Indicators.HistoricalVolatility(Source, HVPeriod, HVBarhistory, HVD);

This indicator takes only three parameters but you are passing four.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Nov 2019, 08:51

Hi Josef,

You can consider posting a Job or contacting a Consultant to develop such a tool for you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Nov 2019, 08:45 ( Updated at: 21 Dec 2023, 09:21 )

Hi A.R. 

Commissions should not be taken into account for required margin calculation. See below a simple example from Spotware Beta. 

Unfortunately I cannot reproduce your numbers since I do not have enough information, like the complete cBot you are using, your account type and the symbol you are using. Can you please reproduce such a behavior on Spotware Beta and provide me a complete cBot that will allow me to see the same numbers as you? 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Nov 2019, 17:08

Hi A.R. 

I am not sure why do you calculate margin this way

Print("\tMarginRequired/Used\t" + ((units / leverage) + (units * (entryPrice - pointPrice) / (tickSize / tickValue))).ToString("F2"));

In principle the formula for calculating the margin is the following

Margin = Units / Leverage * Conversion Rate

Where Conversion Rate is the rate between the balance currency and the quote currency

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Nov 2019, 16:24

Hi FireMyst,

Any chance we can get the indicator code?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Nov 2019, 11:18 ( Updated at: 21 Dec 2023, 09:21 )

Hi A.R. 

There is a reason I need exact information to reproduce i.e. a plug and play cBot. For example, I tried this myself and values seem to match

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Nov 2019, 09:04

Hi leightontjohn,

cTrader needs to run for the cBots to be executed.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Nov 2019, 09:02

Hi ctid393445,

Please make sure your username and password are correct and that you are using the correct proxy.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Nov 2019, 08:49

Hi stalkerxxl,

This is not possible at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous