
Topics
Replies
PanagiotisCharalampous
21 Oct 2020, 08:27
Hi there,
It seems that for some reason this file was deleted from your system. Can you try a clean installation and let me know if it resolves the problem?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Oct 2020, 08:25
Hi there,
There is nothing special in automating Renko strategies. cBots work the same way as with time based candles.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Oct 2020, 08:19
Hi kieranwaldron,
Any strategy provider that wishes to be contacted can state his/her contact details in their strategy description. If they do not do so, they do not wish to be contacted.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Oct 2020, 08:17
Hi genappsforex,
We cannot provide you with this data since we are not allowed to distribute this information. If you need access to this data, you can subscribe to the services yourself and use their APIs.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Oct 2020, 08:12
Hi charitydv,
The code you posted does not build and you have not posted the indicator either. But the problem should be fixed if you change your indicator initialization to
_fractal = Indicators.GetIndicator<cAlgo.Indicators.Fractals>(_period);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Oct 2020, 08:06
Hi genappforex,
I am not sure what do yo think the problem is. You have not initialized these parameters, that's why they are NaN. If you initialize them, you will see them
using System;
using cAlgo.API;
using cAlgo.API.Requests;
using cAlgo.API.Internals;
namespace cAlgo
{
[Robot(AccessRights = AccessRights.None)]
public class Test : Robot
{
Button TestButton;
StackPanel stackPanel;
protected override void OnStart()
{
Print("Set Button");
TestButton = new Button();
TestButton.Margin = 3;
TestButton.Text = "Test";
stackPanel = new StackPanel
{
Width = 120,
Left = 10,
Right = 10,
Top = 10,
Bottom = 10,
Height = 10,
HorizontalAlignment = HorizontalAlignment.Left
};
stackPanel.AddChild(TestButton);
Chart.AddControl(stackPanel);
Print("Buttons set:" + stackPanel.Left, stackPanel.Right, stackPanel.Top, stackPanel.Bottom, stackPanel.Width, stackPanel.Height);
}
protected override void OnTick()
{
Print("Tick:" + stackPanel.Left, stackPanel.Right, stackPanel.Top, stackPanel.Bottom, stackPanel.Width, stackPanel.Height);
Stop();
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Oct 2020, 07:57
Hi notzen,
I have deleted your accounts.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Oct 2020, 07:54
Hi 4selftrade,
This is not what I proposed. I proposed to use a VPN to download and install cTrader. Some countries are blocking cTrader and there is nothing we can do about this,
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 16:40
Hi 4selftrade,
Something blocks the files from being downloaded. Try using a VPN and repeating the installation.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 15:28
Hi JeanPaul,
You do not have access to the actual visual candle but you have all the information you need to develop this yourself. You know the OHLC values and time/index of the candle so you can check where the mouse was clicked and place the text accordingly.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 11:32
Hi charitydv,
You need to use the complete reference for the indicator. Post the code and I will fix it for you.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 09:05
Hi intracables,
This feature is not in our immediate plans.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 09:03
Hi Collins,
This happens because the indicator's Calculate method implements a lazy loading logic and is only called when an IndicatorDataSeries is called. So you should add an IndicatorDataSeries to your indicator, even a dummy one, and call it from your cBot to trigger the Calculate method.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 08:55
Hi genappforex,
Please provide more information about the problem e.g. steps to reproduce.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 08:53
Hi Nobody,
Try using GetIndexByTime() instead.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 08:47
Hi JeanPaul,
- You can get the current bar in OnBar using Bars.Last(0)
- You use a TextBlock or DrawText to display your text
- You can use Chart.MouseDown to listen to mouse clicks on the chart.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 08:17
Hi Massimo,
No this is not possible. You will have to use csv files.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 08:15
Hi m.francomano,
Did you try a clean installation?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Oct 2020, 08:13
Hi p.peroomal05,
Please do the following,
- Make sure that you have an internet connection and that cTrader is connected to the server
- Share some screenshots of the charts in this thread.
- Send us some troubleshooting information (Ctrl+Alt+Shift+T). Please paste a link to this discussion in the text box and press Submit.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Oct 2020, 11:37
Hi duketv,
You should divide by pip size, not multiply. You can also use ModifyStopLossPrice and set the exact price you wish, instead of making calculations.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous