Topics
Replies
PanagiotisCharalampous
07 Apr 2020, 08:45
Hi Luca,
Net profit is always reported in your account's currency. If your account is in euro, then Net profit will be in euros as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Apr 2020, 08:42
Hi agent.xzxz,
You need to change
double openPriceByIndex = Bars.OpenPrices.Last(index);
to
double openPriceByIndex = Bars.OpenPrices[index];
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 14:40
Hi kobit,
Can you try a hard refresh (Ctrl+F5) or accessing in Private Mode and let me know if it resolves the problem?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 12:11
Hi ctid1794863,
Can you please send us your settings file at community@spotware.com? You can find it in C:\Users\User\AppData\Roaming\broker-cTrader\Settings
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 10:15
Hi mcth80,
Go to Visual Studio>tools>Extensions and Updates. Check if cBots and Custom Indicators extension is installed. See below
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 10:05
Hi mcth80,
Did you download and install the extension for VS 2019? If yes, can you please uninstall and reinstall?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 09:20
Hi ctid1794863,
Can you please share a screenshot of what you are looking at?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 09:18
Hi mcth80,
Can you please try a newer version of Visual Studio e.g. 2019?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 09:15
Hi Sanny,
There is no option to do this at the moment. It will be added in a future version.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 09:12
( Updated at: 21 Dec 2023, 09:21 )
Hi MoonMoon,
For the chart symbol to change on clicking on a symbol in the MarketWatch, the chart needs to be a linked chart. Make sure your chart is linked.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 09:07
Hi nguyenluat.6996,
Can you provide us the complete code?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 09:02
Hi bsinclair2076,
You can post a Job or contact a Consultant to help you with this.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 09:00
Hi agent.xzxz,
Can you provide us an example demonstrating this issue?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 08:53
Hi Shares4UsDevelopment,
Can you share cBot code that will allow us to reproduce this issue?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 08:51
Hi K100,
See 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
{
[Parameter(DefaultValue = 0.0)]
public double Parameter { get; set; }
protected override void OnStart()
{
var bars = MarketData.GetBars(TimeFrame.Daily);
bars.BarOpened += OnBarsBarOpened;
}
void OnBarsBarOpened(BarOpenedEventArgs obj)
{
Print("D1 Bar Opened");
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Apr 2020, 08:47
Hi centurioncassio,
You need to change IsOverlay = true to IsOverlay = false.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Apr 2020, 16:06
Hi K100,
If the bar change event of your custom data series is different than the standard timeframe, then you will need to develop this logic yourself.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Apr 2020, 14:07
Hi K100,
I am not sure what do you mean. With MarketData.GetBars() you can get the bars for another timeframe. Then using Bars.BarsOpened you can subscribe to the event raised each time a new bar is added to this collection. Isn't this what you are looking for?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Apr 2020, 08:32
Hi K100,
You can use Bars.BarOpened event to check bar changes for bars on other timeframes.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Apr 2020, 08:48
Hi trudealz,
Thanks for your suggestion. Please use the Suggestions section to post your suggestions.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous