Topics
Replies
PanagiotisCharalampous
31 Jul 2018, 15:50
Hi Lavio,
This information is not available currently via the cTrader Automate API.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2018, 10:18
Hi JiuYue,
Thanks for the clarification. You need ask your broker if he offers this symbol.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2018, 10:00
Hi hatnancik,
Yes I understand that, but what does he mean with "code"? The Symbol Id?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2018, 09:34
Hi Lavio,
If you have installed Spotware cTrader Public Beta 3.01 then there might be a conlfict in the API libraries. API.Color is available only in 3.01.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2018, 09:29
Hi JiuYue,
Can you please explain what do you mean with US dollar index code?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2018, 17:45
Hi Sasha,
Use ClosePositionAsync.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2018, 12:03
Hi ceakuk,
Yes we knew about it before the post. It is the same issue as https://ctrader.com/forum/whats-new/13492?page=1#8
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2018, 11:51
Hi g61232,
If you need to cancel pending orders, you need to use CancelPendingOdrer method.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2018, 11:43
Hi ceakuk,
cAlgo team is arelady aware of this and working on fixing it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2018, 09:57
Ηι hideki,
index=[MarketSeries.TickVolume.Count-1] is the value of the last bar which is equal to MarketSeries.TickVolume.Last(0). index=[MarketSeries.TickVolume.Count] does not exist since indexing in C# starts from 0.
Let me know if this makes things clearer for you.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Jul 2018, 09:42
Hi deanmikan@gmail.com,
Thanks for posting this issue. We will have a look at it and come back to you.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2018, 17:10
Hi uvwxyz,
Could you please post more information about your set up? What indicators do you use? How many charts do you have open? Can you share a screenshot?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2018, 16:54
Hi Lavio,
Code formatting functionality will be available again in cTrader v3.02.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2018, 15:51
Hi Lavio,
The check takes place on every tick.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2018, 09:54
Hi Lavio,
Please send it at community@spotware.com
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2018, 09:53
Dear Trader,
The cBot crashes in a function that has not been provided in the code sample above. Please share the full cBot code so that we can advise you on what the issue might be.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2018, 09:51
Hi Daniele.
- Entry price is increased only when you increase the size of the positions, thus adding new new deals to the position at different entry prices. When you close deals, entry price is not affected.
- True.
- From a first sight at the screenshot, there seems to be an issue. Can you please send me a cBot and backtesting parameters so that I can reproduce and investigate?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2018, 09:38
Hi hideki,
The same logic applies for MarketSeries.Close. Check it with the code below
Print(MarketSeries.TickVolume[MarketSeries.TickVolume.Count - 2]); Print(MarketSeries.TickVolume.Last(1)); Print(MarketSeries.Close[MarketSeries.TickVolume.Count - 2]); Print(MarketSeries.Close.Last(1));
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2018, 16:30
Hi Richard,
Thanks for noticing this. I will report it to the QA team for investigation.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Jul 2018, 16:10
Hi Lavio,
It is not in our immediate plans. However we can consider this in the future.
Best Regards,
Panagiotis
@PanagiotisCharalampous