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.
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
You need to create a cTrader ID with the correct email address and ask your broker to link your accounts to the new cTrader ID.
Best regards,
Panagiotis
Thanks for the prompt reply. What I don't understand is that I am getting emails from cTrader.com to my correct email address with my account statement. If the account is not linked, surely I would not receive those emails? Which makes me wonder why I can't see my account when logging into cTrader.
Hi there,
You can see which accounts are linked to your correct cTrader ID in the link below
If your account is listed there but does not show on the cTrader platform, then you need to talk to your broker
Best regards,
Panagiotis
Thanks again, I followed the link and the account is not listed there. The only one listed is my old trading account with another broker. I also logged out and logged in again to double check and it's not there. What is puzzling is I got an email from cTrader with this cTrader ID showing my statement with my current broker and current account. So it appears to be linked somewhere however it's not showing up in my cTrader profile and account settings.
Hi there,
Can you share screenshots demonstrating this i.e. the email you received and the account not showing in the relevant list? In your screenshots, your email address, the account numbers and the cTrader ID need to be evident.
Best regards,
Panagiotis
Hi Panagiotis,
Sure thing, is there an email address that I can send the screenshots to. I'd prefer not having my account information visible on a public forum.
It seems you are sending an invalid password. Please check your password.
Best regards,
Panagiotis
I've hidden the password with *** to keep it secure, as I'm sharing this response in a publicly accessible section. However, when I intentionally enter an incorrect password, I receive a different response. This leads me to believe that the original password is correct.
Hi there,
As per the documentation, when you receive the RET_INVALID_DATA error, it means that login has failed. So your credentials must be wrong. Also make sure you are connecting to the correct host.
Can you explain what do you mean when you say it's not working?
Best regards,
Panagiotis
Hello and thanks for asking
What i mean the Margin level % criterion which is being applied by Ctrader on live and demo accounts, that is if below 100% no further trades can be executed. and when it is 30% the STOP OUT limit all trades stop and close positions in the order specified by ctrader. When back testing the cbots such criterions are not applied and the cbot continues trading until finishing account balance
Hi there,
Indeed, this behavior is not simulated at the moment. This will be added in a future release.
My apologies, I seem to be unable to create a new topic.
Quick question. Can you explain why there have been no new cBots or indicators on your Algorithms section since 8th September? Normally, both those areas are pretty busy, but just seems to have drawn to a halt abruptly without any company PR/explanation. I personlly think this is bad for platform morale (the lack of comms) and makes you guys seem a little disconnected.
Anyway, apologies if it's just my login for some reason that's only seeing back to 8th September and if so, can you fix it for me -thanks
Hi there,
Now all new algorithms need to be uploaded ..
Best regards,
Panagiotis
So Panagiotis, just to confirm. Is the Algorithms [Indicators/Bots/Plugins] section dead then??
I never saw any announcement mentioning this, nor was there anything on any of the Algo pages, so was a bit confused.
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