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

PanagiotisCharalampous
20 Feb 2019, 12:29

Hi lw3010996,

It does not appear because you do not have enough bars loaded. If you scroll your chart backwards so that more than 1440 bars are loaded then it will appear.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 11:35

Hi Conno123,

Thanks for posting in our community and for reporting this issue. Do the objects disappear from the object list as well or only from the charts? If at any stage you have any additional information, please let us know since with the available information it is hard to reproduce this.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 11:22

Hi netread2004,

Every account has an ID and a Trader Login (trading account number). They are both part of the ProtoOATrader message and this is how they are assosiated. See below ProtoOATrader definition and documentation.

message ProtoOATrader {
    required int64 ctidTraderAccountId = 1; // The unique Trader's Account ID used to match the responses to the Trader's Account.
    required int64 balance = 2; // Current account balance in cents (e.g. If USD 100.00 then value = 10000).
    optional int64 balanceVersion = 3; // Balance version used to identify the final balance. Increments each time when the trader's account balance is changed.
    optional int64 managerBonus = 4; // Amount of broker's bonus allocated to the account in cents.
    optional int64 ibBonus = 5; // Amount of introducing broker bonus allocated to the account cents.
    optional int64 nonWithdrawableBonus = 6; // Broker's bonus that cannot be withdrew from the account as cash.
    optional ProtoOAAccessRights accessRights = 7 [default = FULL_ACCESS]; // Access rights that an owner has to the account in cTrader platform. See ProtoOAAccessRights for details.
    required int64 depositAssetId = 8; // Deposit currency of the account.
    optional bool swapFree = 9; // If TRUE than account is Shariah compliant.
    optional uint32 leverageInCents = 10; // Account leverage (e.g. If leverage = 1:50 then value = 5000).
    optional ProtoOATotalMarginCalculationType totalMarginCalculationType = 11; // Margin computation type for the account (MAX, SUM, NET).
    optional uint32 maxLeverage = 12; // Maximum allowed leverage for the account. Used as validation when a Trader can change leverage value.
    optional bool frenchRisk = 13; // If TRUE then account is AMF compliant.
    optional int64 traderLogin = 14; // ID of the account that is unique per server (Broker).
    optional ProtoOAAccountType accountType = 15 [default = HEDGED]; // Account type: HEDGED, NETTED, etc.
    optional string brokerName = 16; // Some whitelabel assigned to trader by broker at the moment of account creation.
    optional int64 registrationTimestamp = 17; // Unix timestamp of the account registration. Should be used as minimal date in historical data requests.
}

Trader Login is the account number you see in cTrader. Account ID is used for Open API messages.

There is no document about sending FIX messages using Open API since this is not the purpose of Open API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 10:37

Hi Patrick,

We will need some more information regarding this. Can you please let us know the following?

  1. How many monitors do you use?
  2. What is the resolution of each one?
  3. Do you use any scaling and what scaling?

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 10:22

Hi ctid731646,

I checked this a bit more and tag 44 is not supported for market orders at the moment. So unfortunately there is no workaround for now.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 10:19

Hi Andrea,

Thanks for posting in our forum. Heikin Ashi chart are in our short term plans. I cannot commit on an ETA at the moment but we hope it will be sometime this year.

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 10:16

Hi Patrick,

I cannot reproduce such behavior. Any chance you can record a short video demonstrating this behavior?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 10:04

Hi Glen,

Drawing should be saved in your workspace. I cannot reproduce such behavior on my computer. Can you send us more information that could help us reproduce this issue like recording a short video demonstrating what steps you follow when it happens?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 09:59

Hi netread2004,

The numbers you are getting are account ids, not account numbers. If you want to get the trading account number as displyed in your cTrader application, you should use the TraderLogin parameter.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 09:53

Hi Chris,

This will come with v3.5. You should get the Beta version soon.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 09:42

Hi thriscio,

Why do you say you can't? Most brokers offer US30.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 09:40

Hi DelTrader,

This is not available yet.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Feb 2019, 09:38

Hi ctid731646,

Can you tell me your application ID?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 16:39

Hi bienve.pf,

cTrader Copy uses an equity to equity copying model therefore it works more or less like a PAMM. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 12:44

Hi Ton,

I would propose that as well. If you have heavy work going on in OnTick(), maybe you can consider a new thread. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 12:25

Hi Symposium,

This error comes up when you have a custom indicator and you pass the wrong number of parameters to the constructor. Can you please check your code?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 12:11

Hi Ton,

After checking further with the product team, my previous answer was not accurate. The way it works at the moment is that if a tick arrives before the execution of the previous OnTick() method is finished, then the tick will be ingored. Could you tell us more about what are you trying to achieve? Maybe we can provide an alternative solution.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 11:06

Hi terryww2,

Thanks for letting us know, we will investigate this.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 11:05

Hi sky pips,

The code seems to be a bit contradicting. E.g you check if the SMA has crossed below the close price and then you check if the price is below the SMA. I guess this will always be false.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Feb 2019, 11:02

Hi Patrick,

Thanks for your feedback. FYI linked charts has been one of the most voted features. Shortcuts will come in future versions but I cannot commit when. Nevertheless, they are in our backlog.

Best Regards,

Panagiotis


@PanagiotisCharalampous