Topics
Replies
PanagiotisCharalampous
03 Oct 2024, 05:32
Hi there,
Try loading more bars using Bars.LoadMoreHistory() method.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Oct 2024, 05:30
Hi there,
Many people think that stop limit orders somehow improve execution and magically eliminate slippage. They don't. They only thing a stop limit order does is that it does not execute the part of the order that falls beyond the slippage you can tolerate. This is what happens in your case. The stop limit order did what you instructed it to do. It did not execute the order because it could not meet your slippage criteria. If you want your orders to be executed, just use market orders.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Oct 2024, 05:24
RE: RE: I have the same problem
qubik.trading said:
bcronje said:
Exactly the same problem, see RSI indicator below. Happen in yesterday's update, and still happens in today's update.
Hi,
Unortunately, new version of cTrader change bahvior of memory management for Calculate() method. :(
In you case indicator MACD Crossover need to be removed or method Calculate(int index) modified accordingly .
If you don't know how to fix Calculate(int index), you will need to remove MACD Crossover indicatior, and most probably other custom indicators you are using.
UPDATE: Seems that cTrader in version 5.0.38 introduced yesterday fix memory management issues, but I'm still testing.
Hi there,
We have released a hotfix (5.0.38). Can you please advise if it resolves your issue?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 12:54
Hi there,
No it is not possible to disable input parameters.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 12:05
Hi there,
Please have a look at the documentation and let us know if you have any questions
https://help.ctrader.com/ctrader-invite/invite-link/
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 12:04
RE: RE: Syncronisation lack of alternative
eliezer_barros said:
PanagiotisCharalampous said:
Hi there,
You can't skip this as you cannot have full access cBots on the cloud. You need to choose one of the two choices.
Best regards,
Panagiotis
How can I stop syncing or choose between using cloud or local scripts?
You can disable synchronization in Settings
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 10:43
Hi there,
The correct property is PendingOrder.TargetPrice.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 10:39
Hi there,
We do not have an ETA regarding this feature.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 06:03
RE: RE: OnBar() not fired at specified interval
ys2310 said:
PanagiotisCharalampous said:
Hi there,
Bars are not time based but tick based. Therefore the OnBar() method will be triggered when the new tick for that time range arrives. So if the tick comes 10 seconds after the previous bar was supposed to be closed, the OnBar method will be triggered with 10 seconds delay. If no tick arrives within that timeframe, then no bar will be formed.
Best regards,
Panagiotis
Hello Panagiotis,
Thank you for your reply. I'm clear now.
What if I want to every 5 minutes event?
In this case it is better to use a Timer.
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 06:00
Dear traders,
Please find below the release notes for cTrader Desktop 5.0.36
- The following issues were addressed
- Broken backtesting report generated in plugins
- Transactions included in Statement only after Transactions tab was opened
- Apply button not working for loaded optimization results
- Calculate method not working properly
- IsLastBar set to False for first tick of new bar
- The following reported exceptions have been fixed
- #335F4A5C
- Unhandled exception in the thread: AutomateArenaThreadDispatcher
- #86A71A2F
- 3BD4A0B7
- #1C604F46
- Several minor improvements and optimizations.
Best regards,
cTrader Team
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 05:35
Hi there,
If you want to close an existing position, fully or partially, using FIX API, you need to use the New Order Single (MsgType(35)=D) message to send an order of the opposite direction and specify the position you want to modify in PosMaintRptID.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 05:29
Hi there,
Bars are not time based but tick based. Therefore the OnBar() method will be triggered when the new tick for that time range arrives. So if the tick comes 10 seconds after the previous bar was supposed to be closed, the OnBar method will be triggered with 10 seconds delay. If no tick arrives within that timeframe, then no bar will be formed.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 05:25
RE: When a bot was "unexpectedly terminated", cTrader shows the bot as still running
firemyst said:
cTrader updated to 5.0.36 and the issue still persists.
I've left my VPS up if the Spotware team wants to go back in and have a look and see for themselves.
Hi firemyst,
We were able to reproduce this some days ago and we are working on a solution.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 05:18
Hi there,
You should check this with your broker as they are responsible for their price feeds and price data.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 05:14
Hi there,
You can't skip this as you cannot have full access cBots on the cloud. You need to choose one of the two choices.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 05:11
Hi there,
There is no such feature in cTrader at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 05:07
Hi there,
There is no built in feature for this.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
02 Oct 2024, 05:03
RE: RE: Found a bug using Indicators.. in Initialize method
MehranM said:
PanagiotisCharalampous said:
Hi there,
Please share source code and exact steps that will allow us to reproduce this problem.
Best regards,
Panagiotis
Hi Dear Panagiotis
I have the same problem in the latest update. Please find the details in the video I sent to the Telegram group: https://t.me/cTrader_Official/131603
Please create a new thread regarding this issue
@PanagiotisCharalampous
PanagiotisCharalampous
01 Oct 2024, 06:26
Hi there,
Improvements in backtesting are in progress.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Oct 2024, 05:34
Hi there,
We didn't have any similar reports. Did you try debugging your cBot i.e. adding logs and understand what happens after this first week? Did you try comparing by executing using your own VPS? Is there a difference in execution?
Best regards,
Panagiotis
@PanagiotisCharalampous