
Topics
Replies
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
26 Jul 2018, 15:45
Hi Lavio,
Is it possible to have the full cBot code so that we can reproduce?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2018, 14:20
Hi John,
Yes this is what I mean. The issue appears only on cTrader Web.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2018, 09:50
Hi Waxy,
Transparency has already been added. We have a new Colors.FromArgb() function that allows you to set the alpha channel. Regarding interactivity, all chart objects have an IsInteractive property which is set to false by default.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2018, 09:42
Hi John,
I do not have a release date but it has been marked with the highest priority, so it should be released with the first update after it is resolved.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2018, 09:40
Hi hideki,
Thanks for posting in our forum. MarketSeries.TickVolume.Last(1) is equivalent to MarketSeries.TickVolume[MarketSeries.TickVolume.Count - 2]. See corrected code below.
using System; using System.Linq; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.API.Internals; using cAlgo.Indicators; namespace cAlgo.Robots { [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class TestTickVolume : Robot { [Parameter(DefaultValue = 0.0)] public double Parameter { get; set; } protected override void OnStart() { // Put your initialization logic here } protected override void OnBar() { Print(MarketSeries.TickVolume[MarketSeries.TickVolume.Count - 2]); Print(MarketSeries.TickVolume.Last(1)); } protected override void OnStop() { // Put your deinitialization logic here } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2018, 09:32
Hi Noureldin,
Welcome to cTrader forum. Check this disucssion, it might be helpful for you https://ctrader.com/forum/fix-api/12196
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2018, 09:26
Dear Richard,
Welcome to the cTrader community. These lines visualize your deals and all of them together are called the deal map. The starting point represents the price and entry time of your opening deal and the ending point is the price and entry time of your closing deal. If you want to remove the deal map from the graph, just right click, go to Viewing Options and uncheck Deal Map.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2018, 16:40
Hi John,
Fix is in progress. It will be fixed in an upcoming update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2018, 10:33
Hi tjahjadibudiali,
You can start by studying the following resources
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2018, 09:30
Hi hiba7rain,
First of all you need to sort out the logic of what you are trying to do. Do you want the indicator to send an email once and never again? Then just raise a flag and do not reset it ever. But I guess your purpose is not that. Probably you would like to send one email per bar, when conditions are met. That is why proposed a cBot since it is easier to track bar changes with the OnBar() method. If you still want to keep the code in an indicator, there is nothing wrong with that, you just need to decide when you want your flag to be reset.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2018, 09:20
Hi Vince,
I don't think getting rid of the indicator is a good idea. Keep the indicator and just move the notification sending part into the cBot. The indicator should keep working as is does and the cBot should just read the values of the indicator and send the emails whenever necessary.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2018, 15:34
Dear Trader,
Thanks for posting in our forum. Renko charts are still not available in cTrader. They will be available in v3.02 sometime this autumn. They will be available in cTrader Automate as well.
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