
Topics
Replies
PanagiotisCharalampous
26 Jan 2021, 08:02
Hi PUdPUd,
Can you send us information to reproduce this behavior on backtesting?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jan 2021, 07:59
Hi CaD,
Yes, this event is called for any position closed on the specific account.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jan 2021, 07:58
Hi Lars,
Any chance you can share some screenshots so that we can understand what are you looking at?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 14:38
Hi ctid2514471,
Swing index is calculated based on the difference of the previous open and close prices. Open and close price for tick bars is always the same so the specific indicator cannot be calculated.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 14:34
Hi davidgough,
Spread is set by the brokers. Please talk to your broker.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 12:41
Hi Juergen,
Subaccounts were never available through the API. We do not allow access to these accounts.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 09:15
Hi Fron,
Volume data is available in Bar.TickVolume.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 09:10
Hi fsanchezd57,
If you need somebody to write the cBot code for you, you can post a Job.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 09:09
RE:
Hi PUdPUd,
Why did you write your logic in OnTick(). You can just subscribe to daily bars and execute the logic in BarOpened once per day. 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 dailyBars = MarketData.GetBars(TimeFrame.Daily);
dailyBars.BarOpened += OnDailyBarsBarOpened;
}
void OnDailyBarsBarOpened(BarOpenedEventArgs obj)
{
// Put your order placement logic here
}
protected override void OnTick()
{
// Put your core logic here
}
protected override void OnStop()
{
// Put your deinitialization logic here
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 09:02
Hi jmrony999,
We will need more information about your issue. Could you please provide some screenshots/videos of the issues you are facing?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 09:00
( Updated at: 21 Dec 2023, 09:22 )
RE:
ctid2514471 said:
Just to add to the chorus, I am trying to do something similar in 3.8, so any updates/information would be great!
In fact, some of the standard Indicators, like SwingIndex, simply don't seem to display in tick T1 view, in my cTrader 3.8 :
Is this normal / to be expected, or is something wrong?
Hi ctid2514471,
This seems to be irrelevant to the issue described in this post. Can you please create a new thread?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 08:58
RE:
dubmocio said:
Hi,
I have the exact same problem, very annoying.
I'm using cTrader 3.8.
Please, Might you give us any feedback ?
Hi dubmocio,
This is an old issue which I cannot reproduce at the moment. Can you please provide more information about your issue so that we can reproduce?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 08:50
Hi ctid2514471,
This happens only during visual backtesting to indicators added on the backtesting chart. This is by design to speed up the backtesting process. Indicators references by cBots and cBot execution should not be affected.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 08:36
Hi ctid2514471,
Print() method works only in the Automate tab for indicators. Check the Log tab.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 08:32
Hi jayteasuk,
is it done like this because markets open from 10pm Sundays
Yes this is correct.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 08:31
Hi JerryTrader,
As I explained above you will need to wait for the official cTrader update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 08:28
Hi progy85,
Minimum trading size is configured by brokers. You should contact your broker regarding this issue.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jan 2021, 08:26
Hi Roger,
If you have a specific question that you need answered to proceed with the development, please let us know and we will answer it. If you need somebody to develop the cBot for you, you can post a Job.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Jan 2021, 10:32
Hi tahseen147,
Symbols are provided by brokers, not by the platform. Please talk to your broker.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jan 2021, 12:34
Hi Zenbook,
Please create a new thread for a new issue and provide some more information e.g. where do you get this message?
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous