Replies

Vitali Gajdabrus
27 Dec 2018, 10:15 ( Updated at: 21 Dec 2023, 09:21 )

RE:

 

What do you want to do? It is not clear to me.

I solved my problem.
Many thanks for your attention.
Sorry for my English. 

 


@Vitali Gajdabrus

Vitali Gajdabrus
25 Dec 2018, 07:54

RE:

Panagiotis Charalampous said:

Hi Vitaly,

Yes you can. See an example below

            Chart.DrawTrendLine("test", Server.Time.AddHours(-24), 1.14, Server.Time, 1.13, Color.Red);
            Chart.IndicatorAreas[0].DrawTrendLine("test", Server.Time.AddHours(-24), 0, Server.Time, 100, Color.Red);

Best Regards,

Panagiotis

How to do it?

[Output("Result_1", Color = Colors.Orange)]
public Chart.IndicatorAreas[0].IndicatorDataSeries Result_1 { get; set; }

[Output("Result_2", Color = Colors.Orange)]
public Chart.IndicatorAreas[1].IndicatorDataSeries Result_2 { get; set; }

 


@Vitali Gajdabrus

Vitali Gajdabrus
12 Dec 2018, 21:03

RE:

 

Panagiotis

You are the best.
Thank. :)


@Vitali Gajdabrus

Vitali Gajdabrus
12 Dec 2018, 00:03 ( Updated at: 21 Dec 2023, 09:21 )

RE:

 

Panagiotis

Can I programmatically drawTrendLine in the indicator window?


@Vitali Gajdabrus

Vitali Gajdabrus
11 Dec 2018, 23:55 ( Updated at: 21 Dec 2023, 09:21 )

RE:

Panagiotis

How to programmatically read and change (get, set) the state of the cursor?

thank...


@Vitali Gajdabrus

Vitali Gajdabrus
08 Dec 2018, 07:40

Why can't I edit or delete my post on the forum?
(for example: I would like to edit or delete my post 06 Dec 2018, 23:51  in the same thread)

(And the need for reconnect and loss of whereabouts on the forum just pisses me off.)


@Vitali Gajdabrus

Vitali Gajdabrus
06 Dec 2018, 23:51 ( Updated at: 21 Dec 2023, 09:21 )

cTrader setup: "Launching the application is not possible. Contact your application vendor."

СВЕДЕНИЯ О ВЕРСИИ ПЛАТФОРМЫ

Windows : 10.0.17134.0 (Win32NT)

Common Language Runtime : 4.0.30319.42000

System.Deployment.dll : 4.7.3056.0 built by: NET472REL1

clr.dll : 4.7.3221.0 built by: NET472REL1LAST_C

dfdll.dll : 4.7.3056.0 built by: NET472REL1

dfshim.dll : 10.0.17134.1 (WinBuild.160101.0800)

 

ИСТОЧНИКИ

URL-адрес развертывания : http://dl.ctrader.com/spotware/xTrader.application

Сервер : nginx/1.14.0

URL-адрес поставщика развертывния : http://spotware.ctrader.com/xTrader.application

Сервер : nginx/1.14.0

URL-адрес приложения : https://sdl.ctrader.com/spotware/cTrader%20AppFiles/3.4.65534.35479/xTrader.exe.manifest

Сервер : nginx/1.14.0

 

УДОСТОВЕРЕНИЯ

Удостоверение развертывания : xTrader, Version=3.4.65534.35479, Culture=neutral, PublicKeyToken=37dabdf737419672, processorArchitecture=msil

Удостоверение приложения : xTrader, Version=3.4.65534.35479, Culture=neutral, PublicKeyToken=37dabdf737419672, processorArchitecture=msil, type=win32

 

СВОДКА ПРИЛОЖЕНИЯ

* Устанавливаемое приложение.

* Параметр доверенного адреса URL задан.

СВОДКА ОШИБОК

Ниже приводится сводка ошибок, сведения об этих ошибках перечислены далее в журнале.

* В результате активизации http://dl.ctrader.com/spotware/xTrader.application произошла ошибка с исключением. Определены следующие сообщения о сбоях:

+ Значение не попадает в ожидаемый диапазон.

 

СВОДКА СБОЯ ТРАНЗАКЦИИ СОХРАНЕНИЯ КОМПОНЕНТА

Не определена никакая ошибка транзакции.

 

ПРЕДУПРЕЖДЕНИЯ

Во время этой операции предупреждения не выводились.

 

СОСТОЯНИЕ ВЫПОЛНЕНИЯ ОПЕРАЦИИ

* [06.12.2018 23:43:02] : Активация http://dl.ctrader.com/spotware/xTrader.application начата.

* [06.12.2018 23:43:03] : Обработка манифеста развертывания успешно завершена.

* [06.12.2018 23:43:03] : Начата установка приложения.

* [06.12.2018 23:43:03] : Обработка манифеста приложения успешно завершена.

* [06.12.2018 23:43:03] : Найдена совместимая версия среды выполнения 4.0.30319.

* [06.12.2018 23:43:03] : Запрос доверительных отношений и определение платформы завершены.

* [06.12.2018 23:43:03] : Начато принятие скачанного приложения.

* [06.12.2018 23:43:03] : Установка приложения успешно завершена.

 

СВЕДЕНИЯ ОБ ОШИБКЕ

Во время выполнения этой операции обнаружены следующие ошибки.

* [06.12.2018 23:43:04] System.ArgumentException

- Значение не попадает в ожидаемый диапазон.

- Источник: System.Deployment

- Запись изменений стека:

в System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)

в System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)

в System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)

в System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)

в System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)

в System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)

--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---

в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

в System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)

в System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

 

СВЕДЕНИЯ О ТРАНЗАКЦИИ СОХРАНЕНИЯ КОМПОНЕНТА

* Транзакция в [06.12.2018 23:43:03]

+ System.Deployment.Internal.Isolation.StoreOperationStageComponent

- Состояние: Installed

- HRESULT: 0x0

- Манифест: V1XJDD96.DCN.application

+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata

- Состояние: Set

- HRESULT: 0x0

+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata

- Состояние: Set

- HRESULT: 0x0

+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)

- HRESULT: 0x0


@Vitali Gajdabrus

Vitali Gajdabrus
06 Dec 2018, 19:53

RE:

Why the site does not remember me and every time I have to log in to a new one?..


@Vitali Gajdabrus

Vitali Gajdabrus
05 Dec 2018, 22:08 ( Updated at: 21 Dec 2023, 09:21 )

How to write and how to read the "mdb" file MS Access? 
I could not find the answer.  
Please give an example.
Thank.


@Vitali Gajdabrus

Vitali Gajdabrus
05 Nov 2018, 07:29

RE: RE:

Vitali Gajdabrus said:

...

Chart.DrawTrendLine("test", dX0, dY, dX1, dY, Color.Red);

I have already solved this problem.

 Thank.


@Vitali Gajdabrus

Vitali Gajdabrus
04 Nov 2018, 18:24

RE:

Panagiotis Charalampous said:

How to do it?

double dY = 0.5 * args.ChartArea.Height;
double dX0 = 0.25 * args.ChartArea.Width;
double dX1 = 0.75 * args.ChartArea.Width;
Chart.DrawTrendLine("test", dX0, dY, dX1, dY, Color.Red);

 


@Vitali Gajdabrus

Vitali Gajdabrus
03 Nov 2018, 23:41

RE:

Panagiotis Charalampous said:

Hi Panagiotis...

How to use timeframe Tick: t1, t2 ... t50 and others?

series_t5 = MarketData.GetSeries(TimeFrame.Tick5); ???

 


@Vitali Gajdabrus

Vitali Gajdabrus
27 Sep 2018, 10:57

RE:

Panagiotis Charalampous

Thank you


@Vitali Gajdabrus

Vitali Gajdabrus
26 Sep 2018, 23:14

RE:

Spotware said:

There is no such functionality at the moment. We plan to implement it in future.

Well, how's the progress?


@Vitali Gajdabrus

Vitali Gajdabrus
24 May 2018, 09:22

RE:

Panagiotis Charalampous said:

Hi Vitali,

3.01 has not been released yet. Regarding your question about the color, check here.

"You can not use hex or RGB values. It is only possible to use predefined colors."

:(


@Vitali Gajdabrus

Vitali Gajdabrus
24 May 2018, 09:11

RE: RE:

2. How can I get version 3.01 ?  

or Beta cTrader...

 


@Vitali Gajdabrus

Vitali Gajdabrus
24 May 2018, 09:10

RE:

Panagiotis Charalampous said:

We will have this in version 3.01. We already have this feature on internal releases and we are testing it.

1. How can I get a color from a hexadecimal color code (e.g. #FFDFD991)?

2. How can I get version 3.01 ?


@Vitali Gajdabrus

Vitali Gajdabrus
23 May 2018, 11:10

RE:

Panagiotis Charalampous said:

We will have this in version 3.01. We already have this feature on internal releases and we are testing it.

 

Is it possible to read the cursor position in cAlgo?..


@Vitali Gajdabrus

Vitali Gajdabrus
14 Apr 2018, 08:03

RE:

Panagiotis Charalampous said:

Dear if.mihai@gmail.com,

We do not have an ETA yet but I can say that the development team is already working on it. It should be included in one of our next releases.

 

April 2018.

Is it possible to read the cursor position in cAlgo?..


@Vitali Gajdabrus

Vitali Gajdabrus
23 Jan 2017, 09:03

RE: RE: RE: RE:

Vitali Gajdabrus said:

 

Can I get the coordinates of the cursor in the processing of events MouseClick, MouseDoubleClick, MouseDown, MoseLeave, MuseTove, the MouseUp, and the like to the program trading robots draw on the chart.

Regrettable very poor support cAlgo... :(


@Vitali Gajdabrus