
Topics
Replies
PanagiotisCharalampous
22 Jan 2019, 17:02
Hi touch.mjb,
Is your checksum correct? how do you calculate it?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Jan 2019, 16:44
Thanks,
Also check your password and your IP. It is better to use the hostname instead of the IP.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Jan 2019, 16:40
Hi touch.mjb,
Your SenderCompID (tag 49) seems wrong. Can you please check it?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Jan 2019, 16:29
Hi the5amkebab,
We are still investigating this issue. We are not able to reproduce it. If you can reproduce it consistently then we would appreciate if we could arrange a remote access session with our QA team for further investigation.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Jan 2019, 10:17
Hi cysecsbin.01,
Here it is
using System; using cAlgo.API; using cAlgo.API.Internals; using cAlgo.API.Indicators; using cAlgo.Indicators; namespace cAlgo { [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class ATRMTF : Indicator { [Parameter()] public int per { get; set; } [Parameter()] public TimeFrame tf { get; set; } [Output("Main")] public IndicatorDataSeries Result { get; set; } AverageTrueRange atr; MarketSeries series; protected override void Initialize() { series = MarketData.GetSeries(tf); atr = Indicators.AverageTrueRange(series, per, MovingAverageType.Exponential); } public override void Calculate(int index) { var index1 = series.OpenTime.GetIndexByExactTime(MarketSeries.OpenTime[index]); if (Result[index - 1] != atr.Result[index1]) Result[index] = atr.Result[index1]; } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Jan 2019, 09:54
Hi viniciusfre,
Yes you can run your robot on Linux. Open API is based on Protocol Buffers and it is not bounded to an operating system.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Jan 2019, 09:52
Hi yearn2012,
Custom indicators are not available in mobile applications.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jan 2019, 16:09
Ηi ctid849818,
You need to contact your broker regarding this issue.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jan 2019, 14:43
Hi to both,
Please try a clean installation and let us know if it resolves the problem. If you want to save your settings, you can find them in the following folder C:\Users\username\AppData\Roaming\broker\Settings.
Let us know if a clean installation fixes the issue.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jan 2019, 12:36
Hi viniciusfre,
Thanks for posting in our forum. Trend bar data is not available in FIX API. If you need trend bar data, you can consider Open API.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jan 2019, 12:16
Hi Alex,
There is no such feature at the moment. However you can vote for it in UserVoice.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jan 2019, 12:12
Hi prosperousphantom,
We have received the video and we replied to your email.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jan 2019, 12:01
Hi snwargame,
This can be sorted out only by your broker. Please contact them again.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jan 2019, 11:58
Hi Sylwester,
Check my suggestion here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Jan 2019, 10:18
( Updated at: 21 Dec 2023, 09:21 )
Hi silvio,
See screenshot below
You can change the code as below and run the cBot on a Renko chart.
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 { protected override void OnStart() { for (var i = 0; i < 10; i++) { Print("ON-ST-(renko O;C) [", i, "]: ", MarketSeries.Open.Last(i), ";", MarketSeries.Close.Last(i)); } } protected override void OnBar() { } protected override void OnStop() { // Put your deinitialization logic here } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Jan 2019, 09:53
Hi silvio,
Is there a reason you do not use the built in Renko Charts?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Jan 2019, 15:40
Hi pmcarvalho,
Currently Close Series contains only values that are displayed on the chart. To get more values, you will need to scroll the chart to the left. See an example 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 NewcBot : Robot { protected override void OnStart() { Chart.ScrollXTo(0); } private void Positions_Closed(PositionClosedEventArgs obj) { } protected override void OnBar() { Print(MarketSeries.Close.Last(5000)); } protected override void OnStop() { // Put your deinitialization logic here } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
17 Jan 2019, 15:21
Hi one541,
Thanks for posting in our forum. live.ctraderapi.com is a proxy and indeed is located in Germany. Our servers are in London, however you cannot have direct access to them.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Jan 2019, 15:20
Hi nijudavid,
Yes cTrader Web needs to be kept open in your browser.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Jan 2019, 09:37
Hi touch.mjb,
The problem is that I am not very familiar with Python, so I cannot check if there is anything wrong with your code. If you could use our C# example, it would be much easier to assist you.
Best Regards,
Panagiotis
@PanagiotisCharalampous