What's New in cTrader Automate API 3.01

23 Nov 2018, 11:18What's New in cTrader Automate API 3.01#21
Panagiotis Charalampousposts: 2112since: 13 Jan 2017

Hi sean.n.long,

Thanks for the nice comments. I am not sure what you mean with Exponential Moving Average Line. How is this different from the EMA indicator?

Best Regards,

Panagiotis


Head of Community Management at cTrader
01 Dec 2018, 10:28RE:#22
sean.n.longposts: 5since: 18 Jun 2018

Panagiotis Charalampous said:

Hi sean.n.long,

Thanks for the nice comments. I am not sure what you mean with Exponential Moving Average Line. How is this different from the EMA indicator?

Best Regards,

Panagiotis

Just wondering if can now draw the indicator in the chart without having a separate indicator running.For example, i am wanting to draw 4 different ema indicators, but i am wanting my cbot to draw them, not manually put them in myself.

03 Dec 2018, 10:37#23
Panagiotis Charalampousposts: 2112since: 13 Jan 2017

Hi sean.n.long, 

This is not possible at the moment.

Best Regards,

Panagiotis

 


Head of Community Management at cTrader
11 Dec 2018, 23:55RE:#24
Vitali Gajdabrusposts: 30since: 20 Aug 2015

Panagiotis

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

thank...

12 Dec 2018, 00:03RE:#25
Vitali Gajdabrusposts: 30since: 20 Aug 2015

 

Panagiotis

Can I programmatically drawTrendLine in the indicator window?

12 Dec 2018, 11:47#26
Panagiotis Charalampousposts: 2112since: 13 Jan 2017

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


Head of Community Management at cTrader
12 Dec 2018, 21:03RE:#27
Vitali Gajdabrusposts: 30since: 20 Aug 2015

 

Panagiotis

You are the best.
Thank. :)

25 Dec 2018, 07:54RE:#28
Vitali Gajdabrusposts: 30since: 20 Aug 2015

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; }

 

27 Dec 2018, 09:54#29
Panagiotis Charalampousposts: 2112since: 13 Jan 2017

Hi Vitali,

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

Best Regards,

Panagiotis


Head of Community Management at cTrader
27 Dec 2018, 10:15RE:#30
Vitali Gajdabrusposts: 30since: 20 Aug 2015

 

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.