Topics
Replies
PanagiotisCharalampous
19 May 2020, 15:10
Hi Yuval,
No this is not possible.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 13:55
Hi again,
Another option is this video. However this is clearly a Windows problem not a cTrader one so you will need to find what is causing this behavior on your machine.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 12:45
Hi Yuval,
IsLastBar is true when the index points to the last bar. The last bar is always the live bar.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 12:39
Hi there,
It seems that Windows do not allow you to install the application. Can you try these suggestions and let me know if they help resolving the problem?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 12:31
Hi Yuval,
How did you come to this conclusion?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 11:03
Hi Nofomo,
Can you please send us some troubleshooting information when this happens again? To do so, press Ctrl+Alt+Shit+T, paste a link to this thread in the text box and press submit. After that, close cTrader and delete the settings file located in C:\Users\<USER_NAME>\AppData\Roaming\<BROKER_NAME>-cTrader\Settings
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 10:56
Hi,
We received your troubleshooting information and it seems you are using a lot of custom indicators and that could be the cause of the problem. Please remove all indicators let us know if the freeze still happens. If not, then you will need to send us your indicators so that we can reproduce this issue internally.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 08:34
Hi chinovicente312,
No there is no such notification.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 08:29
Hi there,
These chart types will be added in future versions of the applications.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 08:28
Hi Yuval,
I tried this but I could not reproduce it. Can you send us a video demonstrating the exact steps you follow to have this result?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 May 2020, 08:16
Hi Yuval,
1. You can do this using a cBot.
2. No there is no such hotkey
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2020, 15:23
Hi again,
When it happens again, just resend troubleshooting information but instead of a description just paste a link to this discussion. That should suffice.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2020, 14:56
Hi John,
On a second thought, yes that would work too.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2020, 14:41
Hi there,
I need exact links to the issues you think are the same to check if this is something we know about, if they have been resolved of if this is a new issue. We cannot reproduce such a behavior therefore we will need more information.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2020, 14:04
Hi John,
No there isn't. You need to check if the change occurred on Bid or on Ask price.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2020, 12:12
Hi Vamsi,
Here is the example you requested
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 BreakoutSample : Robot
{
SimpleMovingAverage _sma1;
SimpleMovingAverage _sma2;
int _singalCandleIndex;
bool _hasCrossedAbove;
int _breakoutCandleIndex;
protected override void OnStart()
{
_sma1 = Indicators.SimpleMovingAverage(Bars.ClosePrices, 5);
_sma2 = Indicators.SimpleMovingAverage(Bars.ClosePrices, 20);
}
protected override void OnBar()
{
if (_sma1.Result.HasCrossedAbove(_sma2.Result, 0))
{
// if sma 1 has crossed above sma 2, we record the index of the bar
_singalCandleIndex = Bars.ClosePrices.Count - 1;
_hasCrossedAbove = true;
}
if (_hasCrossedAbove && Bars.HighPrices.Last(1) > Bars.HighPrices[_singalCandleIndex])
{
// If last bar high is above the signal bar high, we record the breakout index
_breakoutCandleIndex = _singalCandleIndex = Bars.ClosePrices.Count - 2;
Print("Breakout Candle Index: " + _breakoutCandleIndex);
}
}
protected override void OnStop()
{
// Put your deinitialization logic here
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2020, 11:52
Hi there,
Thanks for reporting this behavior. Can you please provide us links to the older forum posts you are referring to so that we can check which issue is it about?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2020, 10:43
Hi Yuval,
Calculate is a public function hence you can call it yourself from the cBot if you want.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 May 2020, 10:41
Hi sascha.dawe,
There seem to be a lot of issues with your code. A couple of points you should revisit
1) Try adding output attributes to your SampleSignalMultiSymbol indicator
2) Revisit your indexing. Doesn't seem to make much sense to me.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 May 2020, 08:41
Hi Yuval,
You might find this interesting.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous