Replies

PanagiotisCharalampous
09 Apr 2020, 11:56

Hi mark_govender,

This behavior is by design. Chart objects are kept om the chart even if you change a symbol. If you need to set up a different symbol, you need to open a new chart.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Apr 2020, 11:54 ( Updated at: 21 Dec 2023, 09:22 )

Hi cysecsbin.01,

I could not reproduce such a behavior. Instead I get an exception in the log. Did you debug it to find out what it is causing it?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Apr 2020, 09:37

Hi firemyst,

See my response above.

 

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Apr 2020, 09:12

Hi calgodemo.

Coordinated Universal Time is not affected by Daylight Saving Time changes. Your local timezone, set by the operating system, does. Just google UTC time and you will find out that it is the same as in cTrader.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Apr 2020, 08:37

Hi luke52e,

Your pc does not need to run for trades to be copied. All the copying process takes place on our servers.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Apr 2020, 08:28

Hi mark_govender,

Can you please record a short video demonstrating this issue so that we can understand what you are actually doing.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Apr 2020, 08:18

Hi Luca,

The code runs only on start. This is why it does not change. You need to put the login in OnTick().

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
09 Apr 2020, 08:12

Hi firemyst,

You cannot add them to the built-in enum. You will need to develop your own enum for this.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 17:03

Hi kittu.ce10,

Yes of course you can.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 16:47

Hi kittu.ce10

First observation. The below condition is wrong. 

if (rsi.Result.Last(0) > 70 && rsi.Result.Last(1) < 70)

When the bar changes both values will be almost the same. The comparison should be between Last(1) and Last(2). See below

if (rsi.Result.Last(1) > 70 && rsi.Result.Last(2) < 70)

Fix this and check again if it works as you expect.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 14:39

Hi kittu.ce10,

Can you send us some information like backtesting parameters and dates where you expect the events to happen but they don't so that we can explain to you what happens?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 11:25

Hi Takis,

We managed to reproduce this issue and we will fix it in the next version of cTrader. If you need to have the actual number of MaxVisibleBars at any time and you need to get notified when this size changes, you can subscribe to Chart.SizeChanged event.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 09:29

Ηι piwowar.jakub,

Spread is considered but not commissions.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 08:52

Ηι piwowar.jakub,

Can you please explain which section are you referring to? Maybe post a screenshot?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 08:46

Hi zulfikar.essop,

Thanks for posting your suggestion. Please use the Suggestions section for suggestions.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 08:30

Hi WienAT,

Are you sure you are looking at the correct position? SL and entry price also seem different.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 08:25

Hi Luca,

Check this condition

 if (newSLprice1 > position1.StopLoss)

If you are trailing a sell position SL then the new SL should be lower, not higher.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
08 Apr 2020, 08:20

Hi 1222Ht,

Your question is not very clear. The if statement does not affect the number of bars to be loaded. If you want to load up to specific number of bars you need to use a while statement. However if the symbol does not contain that amount of bars, you will end up in an infinite loop. Therefore you need to implement the relevant check to break the loop when all bars have been loaded.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
07 Apr 2020, 10:59

Hi Luca,

Positions have a NetProfit property. You can use that.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
07 Apr 2020, 08:49

Hi traderfxmaster007,

No you cannot. You need to wait until your IC Markets application is updated.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous