Topics
Replies
PanagiotisCharalampous
10 Feb 2020, 09:16
Hi firemyst.
The cloud option works only between two IndicatorDataSeries. In your case just add another continuous transparent IndicatorDataSeries that will have all the values and use it for your cloud.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 09:03
Hi koktos632,
No it is not.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:58
Hi koktos632,
It is the same issue. It will be fixed in an upcoming update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:53
Hi bb1902,
Go to Settings > Advanced and make sure your email is configured properly.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:50
Hi casiimwe,
The price alert icon is still there.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:48
Hi thoy1,
1) You have placed your checks in OnTick. If the server is disconnected, you will not receive any ticks hence no checks will be made. Use a timer instead.
2) I could not reproduce any NaN values with your BollingerTest. Can you provide exact steps to reproduce this problem and post some screenshots as well?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:36
Hi Rob,
See below
Symbol symbol = Symbols.GetSymbol("AUDJPY");
Print(symbol.Bid);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:34
Hi Jan,
Say we use Step=5 and buy has moved to Step but Sell only halfway, if (position.Pips >= TriggerWhenGaining) would allow also the Sell stop to be moved/trailed even though it has not yet reached the step, am I correct?
I am not sure how you came to this conclusion but seems wrong. Can you please explain? The cBot is designed to trigger a TSL only for one position as soon as it has reached the trigger level. If you want to use it on multiple positions. then you will need to have multiple instances with multiple labels. Each instance should be independent and not affect other positions.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:26
Hi w.b.z,
You can send it at community@spotware.com.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:25
Hi Manuel,
Can you please post your cBot's code so that we can check?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 08:24
Hi Jan,
No that is not possible.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Feb 2020, 16:34
Hi mbv4f,
There is no option to select to which proxy to connect. cTrader selects automatically the proxy with the best connection for you.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Feb 2020, 14:16
Hi FX28,
I tried this but I cannot reproduce such a problem. Can you make sure that the form does not pop up somewhere where it is not immediately visible e.g. another screen?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Feb 2020, 12:01
Hi Tengu,
I tried to reproduce this behavior on Spotware Beta but I could not. Rescaling seems to work even after I close and open cTrader. Can you provide exact steps to reproduce this issue or record a video demonstrating this behavior?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Feb 2020, 11:30
Hi again,
As a temporary workaround, please add the below code snippet to your cBots/Indicators
private MarketSeries _ms;
public new MarketSeries MarketSeries
{
get
{
if (_ms == null)
_ms = base.MarketSeries;
return _ms;
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Feb 2020, 11:30
Hi again,
As a temporary workaround, please add the below code snippet to your cBots/Indicators
private MarketSeries _ms;
public new MarketSeries MarketSeries
{
get
{
if (_ms == null)
_ms = base.MarketSeries;
return _ms;
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Feb 2020, 11:22
Hi w.b.z,
No what we are saying is that we have changed a lot of things and we cannot guess which one is affecting your code unless we know what caused the exception. We have already identified some issues reported by other users but we don't know if it is the same issue affecting you as well or something else.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Feb 2020, 11:18
Hi firemyst,
See below
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
/// <summary>
/// HOW TO REPRODUCE THE ISSUE
///
/// Add this indicator to the US30 M1 chart.
/// The bug is it won't draw anything for the IndicatorDataSeries.
/// Prior to V3.7, this used to work.
/// Expected behavior: draw a solid green line along the value of zero.
/// </summary>
namespace cAlgo
{
[Levels(0)]
[Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class Test : Indicator
{
[Output("Main", LineColor = "Green", LineStyle = LineStyle.Solid, PlotType = PlotType.Line, Thickness = 3)]
public IndicatorDataSeries Result { get; set; }
bool _calculateCalled;
protected override void Initialize()
{
_calculateCalled = false;
Timer.Start(1);
Timer.TimerTick += _timer_TimerTick;
}
private void _timer_TimerTick()
{
if (_calculateCalled)
{
Print("Calculating index " + Bars.ClosePrices.Count + " in TimerTick()");
}
}
public override void Calculate(int index)
{
if (!_calculateCalled)
{
Print("Calculating index " + index + " in Calculate()");
}
if (IsLastBar)
_calculateCalled = true;
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Feb 2020, 10:52
Hi all,
We have identified a performance issue in indicators. We will fix it and push a hotfix soon
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Feb 2020, 09:20
Hi Alistair,
These are not account numbers but account IDs (ProtoOATrader.ctidTraderAccountId). If you want to get the trading account number use the ProtoOATrader.traderLogin field.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous