
Topics
Replies
PanagiotisCharalampous
14 Feb 2019, 16:22
Hi ruylopez,
We managed to reproduce the message and it only happens when access is denied to the file. Can you please check the permissions of the specific file and folder?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Feb 2019, 09:45
Hi ctid863631,
Can you tell us where did you get this screenshot from?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Feb 2019, 09:36
Hi ctid731646,
Thank you for your suggestion but I believe it is clear that the page refers to our FIX API and not the FIX protocol in general. However, we can consider rephrasing some parts if this is still not clear
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Feb 2019, 09:23
Hi Rui,
Can you give us exact steps to reproduce this issue? Do you have any cBot and Indicator that we can use to observe this behavior?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Feb 2019, 09:18
Hi sky pips,
In this case you should not use Mimimum and Maximum functions but perform the check yourself. See an example below
double maximum = MarketSeries.High.Last(1); for (int i = 2; i < BarCount; i++) { if (MarketSeries.High.Last(i) > maximum) maximum = MarketSeries.High.Last(i); }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 16:54
Hi mathmaia,
There is no such feature in cTrader at the moment. However, you can do this with a cBot.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 15:34
Hi terryww2,
Can you please tell us the proxy you use and if this happens on demo or live accounts?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 15:18
Hi ruylopez,
You can build a cBot using Visual Studio however the fact that you say that this happens on ALL computers for ALL cBots doesn't make much sense. Do you say that if you build e.g. Sample RSI cBot on any computer, you get that error on all computers you try? If the problem was so widespread then somebody else would have noticed too. Which broker's cTrader do you use?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 15:00
Hi rooky06,
See below an example
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 NewIndicator : Indicator { [Output("Main")] public IndicatorDataSeries Result { get; set; } private MovingAverage _ma; private FractalChaosBands _fcb; private BollingerBands _bb; protected override void Initialize() { _fcb = Indicators.FractalChaosBands(14); _ma = Indicators.MovingAverage(MarketSeries.Close, 14, MovingAverageType.Simple); _bb = Indicators.BollingerBands(MarketSeries.Close, 14, 2, MovingAverageType.Simple); } public override void Calculate(int index) { //Result[index] = .. } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 12:27
Hi Ogacha,
Thanks I understood now. Unfortunately this is not possible at the moment. You can only specify the level value at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:47
Hi Ogacha,
Yes it is. See an example below
[Output("Test Series", PlotType = PlotType.Histogram, Color = Colors.Green, LineStyle = LineStyle.Solid, Thickness = 2)] public IndicatorDataSeries TestSeries{ get; set; }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:39
Hi terryww2,
Regarding your questions
1. The server does not drop the connection as soon as you pull the cable from the server but when it stops receiving heartbeats for a specific period of time.
2. Yes this is expected
We will investigate the issue with Roboforex.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:35
Hi incdpr,
Thanks for posting in our forum. To access the current value of any series you can use LastValue e.g.
MarketSeries.Close.LastValue
To access previous values you can use Last(x) where x indicates the number of bars you want to move backwards e.g.
MarketSeries.Close.Last(1)
for the previous bar value.
Let me know if this helps.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:26
Hi rooky06,
There are no immediate plans for this. You can suggest it in our UserVoice forum.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:24
Hi shrumr,
You can send us an email at community@spotware.com
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:21
Hi rooky06,
Why do you need to convert these indicators since they already exist in cTrader? The best option to convert an indicator is to contact a Consultant.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:18
Hi uwyness,
The index for Results and series.Close do not necessarily match. To set a valid value to results use the following
Result[index] = series.Close[series.OpenTime.GetIndexByTime(MarketSeries.OpenTime[index])];
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:11
Hi ctid731646,
Spot price subscription will return you only the top of the book price. Depth subscription with return the entire depth of market. For differences in the price feed, please contact your broker since they are in charge of their price feed.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Feb 2019, 10:05
Hi sky pips,
thank you for posting in our forum. Take profit can be set in the following function
//+------------------------------------------------------------------+ //| Order send command | //+------------------------------------------------------------------+ private TradeResult OrderSend(TradeType type, double sl) { long ivol = VolumeSetup(); return (ExecuteMarketOrder(type, Symbol, ivol, Label, sl, 0)); }
Just replace 0 with the Take Profit you want
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
15 Feb 2019, 09:11
Hi ruylopez,
You can find more information about Visual Studio here.
Best Regards,
Panagiotis
@PanagiotisCharalampous