Topics
Replies
PanagiotisCharalampous
03 Jan 2024, 06:58
Responded here https://ctrader.com/forum/calgo-support/42617#post-106610
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2024, 06:57
Hi there,
If your strategy's logic is based on tick data information e.g. uses take profit or stop loss, then you need to use tick data to get accurate results. Bar data should only be used if your strategy opens and closes positions on every bar.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Jan 2024, 06:42
Hi there,
You cannot use the current index with the BarsDaily collection. You need to match the index with correct BarsDaily index. Try something like the following
var barsDailyIndex = BarsDaily.OpenTimes.GetIndexByTime(Bars.OpenTimes[index]);
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Jan 2024, 06:32
Hi there,
Can you please clarify what is the question here?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Jan 2024, 06:30
Hi there,
Please try a clean installation of cTrader and let us know if this resolves your problem
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Jan 2024, 06:28
Hi Mat,
The indicator should be able to see the storage. Can you please share with us the cBot code and the indicator code so that we can investigate this issue?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Jan 2024, 06:27
RE: RE: waiting to execute a market order
910247359 said:
PanagiotisCharalampous said:
Hi there,
Can you share some source code that would allow us to reproduce the problem?
Best regards,
Panagiotis
Yes, please gimme your email
Hi there,
You can send it to community@ctrader.com
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Dec 2023, 16:25
RE: Custom Indicators
eXyuman said:
Hello, how can I add custom Indicators to Ctrader Mac Desktop app?
Hi there,
This is not possible at the moment. It will be implemented in an upcoming update of the application.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Dec 2023, 16:24
Hi there,
You should always normalize your volume, before placing orders, using NormalizeVolumeInUnits method. Else the volume will not be a valid tradable volume.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Dec 2023, 16:19
Hi there,
Unfortunately it is not possible at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Dec 2023, 16:17
Hi Rob,
Try restarting cTrader. The last day is usually fixed to the day cTrader started.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Dec 2023, 16:14
Hi there,
Can you share some source code that would allow us to reproduce the problem?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Dec 2023, 16:12
Hi there,
Is it a .Net 6.0 indicator? Can you share the code with us?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
31 Dec 2023, 16:10
Hi Christian,
4.9.1 is a special version for IC Markets but there are no noticeable differences to 4.8.3.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Dec 2023, 07:11
RE: RE: Stop Loss OnBar, Backtesting vs Live
edubecerra said:
Thanks for your answer but that's not what i meant. I want to know if there's a way to trigger the stop loss or the take profit only on bar formation and not on tick when I run the bot live.
No, you would need program such a custom functionality yourself. Stop losses and take profits are actually pending orders with are triggered when the price is reached
@PanagiotisCharalampous
PanagiotisCharalampous
29 Dec 2023, 06:09
Hi there,
It would be simpler to check if there are any positions open instead of using this method. You can use Positions.Count to do this.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Dec 2023, 06:07
Hi there,
Make sure you use tick data for your backtesting
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Dec 2023, 06:04
RE: RE: Bug with Text Boxes - box gets stuck open and freezes program
leonwij said:
PanagiotisCharalampous said:
Hi there,
Any chance you can send us a recording demonstrating this issue and the steps you take to reproduce it?
Best regards,
Panagiotis
Hello, I was able to capture it on video - do you have an email address for me to send it to?
Thanks
Hi there,
Send it to community@ctrader.com
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
28 Dec 2023, 07:13
Hi there,
Thanks for reporting this problem. We have identified the issue and it will be resolved in an upcoming update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jan 2024, 07:31
RE: RE: Logical error I cannot see
mihlali700 said:
Hi there,
You can use the BarOpened event.
Best regards,
@PanagiotisCharalampous