
Topics
Replies
PanagiotisCharalampous
23 Sep 2019, 08:42
Hi nick_e_93,
Thanks for posting in our forum. If you need to install this indicator, just download it and double click on it. Then you will find it in your Indicators list.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Sep 2019, 08:36
Hi bishbashbosh,
Please post your suggestion in the Suggestions section.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Sep 2019, 10:50
Hi Wiktor,
I do not see any problem in your message. I have forwarded this to the product team for further investigation.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Sep 2019, 09:29
Hi hakaneroglu2018,
Thanks for posting in our forum. Where do you get this error message? Can you send us a screenshot? Also can you make sure the dll exists in the specified location?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 16:59
Hi rememberthelost777,
cTrader offers three types of margin calculation Net, Sum and Max. Net can cancel out margin requirements of positions in the opposite direction. It is the broker's choice which margin calculation type mthey will use.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 16:25
Hi rememberthelost777,
Thanks for posting in our forum. This depends on the broker. Better contact your broker regarding this issue.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 16:14
Hi beej.sanchez,
You can get in touch with a Consultant.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 15:55
Hi Pedro,
But it doesn't go that far. It probably stops at the first value it has available on the chart.
Indeed this is true. See below a workaround
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 NewcBot : Robot { [Parameter(DefaultValue = 0.0)] public double Parameter { get; set; } protected override void OnStart() { Chart.ScrollChanged += OnChartScrollChanged; if (MarketSeries.OpenTime[0] > new DateTime(2014, 1, 1)) { Chart.ScrollXTo(MarketSeries.OpenTime[0]); } } void OnChartScrollChanged(ChartScrollEventArgs obj) { if (MarketSeries.OpenTime[0] > new DateTime(2014, 1, 1)) { Chart.ScrollXTo(MarketSeries.OpenTime[0]); } } protected override void OnStop() { // Put your deinitialization logic here } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 12:41
Hi ctid1541941,
When we say we do not support Chromium or Linux (or any other browser/OS not on the list), it means that we do not test cTrader on these environment neither we fix bugs specific to them. However this does not mean that you cannot use them and they work fine 99.9% of the cases. But if you want a fully functional platform, use one of the supported environments.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 12:33
Here it is
using System; using cAlgo.API; using cAlgo.API.Internals; using cAlgo.API.Indicators; using cAlgo.Indicators; namespace cAlgo { [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class NewIndicator : Indicator { [Parameter(DefaultValue = 14)] public int Periods { get; set; } [Parameter(DefaultValue = 50)] public double Level { get; set; } [Output("Main")] public IndicatorDataSeries MA { get; set; } [Output("Leven Up")] public IndicatorDataSeries LevelUp { get; set; } [Output("Leven Down")] public IndicatorDataSeries LevelDown { get; set; } SimpleMovingAverage _sma; protected override void Initialize() { _sma = Indicators.SimpleMovingAverage(MarketSeries.Close, Periods); } public override void Calculate(int index) { // Calculate value at specified index MA[index] = _sma.Result[index]; LevelUp[index] = _sma.Result[index] + Symbol.TickSize * Level; LevelDown[index] = _sma.Result[index] - Symbol.TickSize * Level; } } }
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 11:53
( Updated at: 21 Dec 2023, 09:21 )
Hi darcome,
This is already available using the Market Snapshot. See below
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 11:45
Hi beej.sanchez,
I used pips but it seems that MT4 uses points. It can be easily modified if you wish.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 11:31
Hi Wiktor,
You can reset the sequence number whenever you want using 35=4. Check the documentation.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 11:24
Hi ctid1541941,
Please note that Chromium and Linux are not supported for cTrader Web.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 11:10
Hi beej.sanchez,
There is no such feature in cTrader but you can easily achieve this with a custom indicator. See below an example
using System; using cAlgo.API; using cAlgo.API.Internals; using cAlgo.API.Indicators; using cAlgo.Indicators; namespace cAlgo { [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class NewIndicator : Indicator { [Parameter(DefaultValue = 14)] public int Periods { get; set; } [Parameter(DefaultValue = 5)] public double Level { get; set; } [Output("Main")] public IndicatorDataSeries MA { get; set; } [Output("Leven Up")] public IndicatorDataSeries LevelUp { get; set; } [Output("Leven Down")] public IndicatorDataSeries LevelDown { get; set; } SimpleMovingAverage _sma; protected override void Initialize() { _sma = Indicators.SimpleMovingAverage(MarketSeries.Close, Periods); } public override void Calculate(int index) { // Calculate value at specified index MA[index] = _sma.Result[index]; LevelUp[index] = _sma.Result[index] + Symbol.PipSize * Level; LevelDown[index] = _sma.Result[index] - Symbol.PipSize * Level; } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 08:39
Hi Matt,
To be able to give advice you need to share with us the cBot code, cBot parameters and exact steps to reproduce these issues.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Sep 2019, 08:37
Hi Meer,
Thanks for posting in our forum. Please use the Suggestions section for posting such suggestions.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Sep 2019, 09:29
Hi chim,
The fix is expected in v3.7.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Sep 2019, 08:43
Hi tgjobscv,
Even thoubh adding more indicators in cTrader Web and cTrader Mobile is in our future plans, there is no such plan for the upcoming versions yet.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Sep 2019, 08:46
Hi radoslawkupisek,
This is not possible unfortunately.
Best Regards,
Panagiotis
@PanagiotisCharalampous