Topics
Replies
PanagiotisCharalampous
13 Aug 2024, 05:06
Hi there,
If you are looking to delete your demo accounts, you can use the link below. Please make sure you have closed all your positions and canceled all your orders before deleting your accounts.
https://id.ctrader.com/my/settings/accounts
You can use the link below to delete your cTrader ID. Note that in order to delete your cTrader ID, all your accounts need to be deleted first.
https://id.ctrader.com/my/settings/credentials
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Aug 2024, 05:05
RE: RE: What's the sanest way to access a completed bar?
karatedog said:
PanagiotisCharalampous said:
…we cannot change something that works and thousands of cBots are built on it…
Though this post is a bit old, I disagree with the statement as I see the opposite being true all the time.
You are not really changing something that has thousands of working code relying on it, you create a new one and cleverly separate the two so people have time to adapt to the new version (and you give help and hints on the way to assist them). Otherwise you are locking yourself to a fixed path and I'm sure what was good and mainstream 10 years ago is outdated today. You cannot maintain v1.0 compatibility forever.
Most of the programming languages do this between major versions but Python is a good example with its change between v2.x and v3.x. As a trading language example Tradingview uses code version annotation in their Pine script to allow them completely revamp the code if they want to.
Hi there,
The argument was about changing OnBar() method, not adding something new. Since then we have added OnBarClosed() method for this purpose.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 11:16
RE: RE: Web Pending Orders
ctid6390262 said:
PanagiotisCharalampous said:
Hi there,
Can you share screenshots/videos so that we can understand what are you referring to?
Best regards,
Panagiotis
So here is market order with the Lot and TP/SL Lines which are moveable
But when I select limit the lines vanish
Thanks, this feature will be added in the next update of cTrader Web
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 08:55
Hi there,
Can you share screenshots/videos so that we can understand what are you referring to?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 08:50
Hi eynt,
You need to understand how cTrader and trading works. The event is not triggered late. It's triggered as soon as the message arrives from the server. There will always be latency between the price closing the position and the execution of the order. You can't know that something happened before it happened.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:24
Hi there,
Spotware cTrader is used for demonstration purposes only and the settings are not kept up to date. If you wish to backtest on realistic market data, it is better to use your broker's demo account.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:20
RE: RE: RE: RE: RE: RE: RE: Load more History on Backtest
eynt said:
When is v5.2 expected to be released?
Thanks
We do not have an ETA unfortunately
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:20
RE: RE: RE: RE: RE: RE: RE: RE: How can I know when the stop loss is triggered
eynt said:
It makes a lot of sense if cTrader cant provide accurate real time data.
Is there a way via code to tell cTrader at OnTick to check *now* from the broker the positions status instead of waiting for the Positions.Closed event to be triggered?
Thanks
Broker is using the cTrader platfrom. The positions information is stored in cTrader Server. cTrader Desktop gets its information from cTrader Server. This information is available on Positions collection. There is no other source of positions. There is no way to know that a position has closed before the Positions.Closed event is triggered.
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:15
RE: Daily Limit on loss and Win
firemyst said:
There is a way to do it, but you have to code it into your bots. Here's an example:
//Get historical tradePosition p1 = args.Position;//Running Totals_runningTotalsPipsGainedLost += p1.Pips;_runningTotalsNetGainLoss += p1.NetProfit//Stop the bot if the running net gain/loss pips falls below our specified amountif (_runningTotalsPipsGainedLost < StopBotWhenPipLossesFallBelow){ //stop bot Stop();}//Stop the bot if the running net gain/loss total falls below our specified amountif (_runningTotalsNetGainLoss < StopBotWhenLossesFallBelow){ //stop bot Stop();}
Note that this only works on each individual bot instance for each bot.
If you want the running totals to be across all instances of a particular bot, then you need to set static variables that are public that all bot code would have access to.
Have your bots check that value every time they start, and before entering any positions. If that global static amount is below a certain threshold, either stop your bot, or don't allow it to enter a new position.
I assume that the trader wants to block trading for the entire account.
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:12
Hi there,
As per the message, email notifications are disabled for cloud execution.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:09
RE: RE: How to upload my algos to cloud?
leonwijeyesinghe said:
PanagiotisCharalampous said:
Hi there,
You can read about synchronization in the link below
https://help.ctrader.com/ctrader-algo/synchronisation/
Best regards,
Panagiotis
Hello,
I've looked through, but can't see the actual instructions on how to upload. Can you please display the exact section?
Thanks
Hi there,
You just need to enable synchronization in settings. As soon as you do, cTrader will upload your cBots to the cloud.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:05
Hi there,
If you need somebody to develop the code for you, you can reach out to a consultant.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:03
Hi there,
No, internet access is not permitted for cBots executed on the cloud.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 05:01
Hi there,
It would be better to address this issue with your broker first.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 04:58
RE: RE: Calling DLL functions help.
rick2010 said:
PanagiotisCharalampous said:
Hi there,
cBots are based on .Net. Therefore you can only call dll files based on managed code. If your dll is based on managed code, you should be able to use it.
Best regards,
Panagiotis
Thanks for the reply. I figured that was the case. I got a DLL written in managed C/C++. I need to be able to call this DLL from the cBot. I guess the only way to do that is to create a .Net DLL proxy that will call my C++ DLL?
Check the article below. It should help
https://learn.microsoft.com/en-us/dotnet/framework/interop/consuming-unmanaged-dll-functions
@PanagiotisCharalampous
PanagiotisCharalampous
12 Aug 2024, 04:58
RE: RE: Calling DLL functions help.
rick2010 said:
PanagiotisCharalampous said:
Hi there,
cBots are based on .Net. Therefore you can only call dll files based on managed code. If your dll is based on managed code, you should be able to use it.
Best regards,
Panagiotis
Thanks for the reply. I figured that was the case. I got a DLL written in managed C/C++. I need to be able to call this DLL from the cBot. I guess the only way to do that is to create a .Net DLL proxy that will call my C++ DLL?
Check the article below. It should help
https://learn.microsoft.com/en-us/dotnet/framework/interop/consuming-unmanaged-dll-functions
@PanagiotisCharalampous
PanagiotisCharalampous
10 Aug 2024, 05:55
( Updated at: 10 Aug 2024, 05:56 )
RE: RE: RE: RE: RE: Unable to copy trades via my FPMarkets account.
manigault said:
PanagiotisCharalampous said:
manigault said:
PanagiotisCharalampous said:
manigault said:
Hi there is an update to my issue..Now I can copy trades again from my FPMarkets account but there is an issue where my funds appear to be stuck.
It says that I am currently invested but I cannot access the funds to remove or reinvest them
When I reach out to the broker they say to reach out to ctrader..when I reach out to ctrader they say to reach out to my broker. Is there someone able to specifically look into my account and fix my unable to access funds issue?
EMAIL RECEIVED FROM CTRADER:
Dear trader,
In order for the service to be available to traders, the broker needs to offer it to their clients. Based on the message you receive, the broker does not offer the service to you at the moment. Unfortunately we cannot know why the service is not available for you by your broker. You need to address this question to them.
Best regards,
cTrader Community Team
EMAIL RECEIVED FROM BROKER
Dear Client,
Thanks for your email.
Please note, copy trading on cTrader is run by Spotware and it is not controlled by FP Markets.
Please contact Spotware directly for any copy trading questions on cTrader platform.
Any other questions, please let us know.
Kind regards,
William
FP Markets LLC,
Hi there,
As explained above this is a broker issue. cTrader does not manage your account settings.
Best regards,
Panagiotis
Are you able to see that the broker says to reach out to ctrader and then ctrader says to reach out to the broker.Is there someone specifically able to look into my issue?
As explained numerous times, your broker. cTrader cannot help you with your issue. You will not get a different answer in this forum.
Is there someone way that I can get someone to specifically look at my ctrader account and perhaps coordinate with the broker to look at this issue? I have reached out to the broker as suggested but they don't seem to be able to address the issue.
When I look at stopped signals..it shows the balance 655.45 owed to me but there is some bug or glitch that it did not transfer to my main fpmarkets account so I cannot see or access the funds.
When I click on restart copying, it shows
So there appears some glitch with the software (ctrader) and fpmarkets is not seeing the account..So how do I get both parties involved..Thanks
If FP Markets thinks there is a glitch in cTrader, it's their responsibility to report what they think the glitch is to cTrader support. Based on your screenshots, there is no obvious glitch. cTrader Copy has been disabled for your account.
@PanagiotisCharalampous
PanagiotisCharalampous
09 Aug 2024, 13:03
RE: RE: RE: Unable to copy trades via my FPMarkets account.
manigault said:
PanagiotisCharalampous said:
manigault said:
Hi there is an update to my issue..Now I can copy trades again from my FPMarkets account but there is an issue where my funds appear to be stuck.
It says that I am currently invested but I cannot access the funds to remove or reinvest them
When I reach out to the broker they say to reach out to ctrader..when I reach out to ctrader they say to reach out to my broker. Is there someone able to specifically look into my account and fix my unable to access funds issue?
EMAIL RECEIVED FROM CTRADER:
Dear trader,
In order for the service to be available to traders, the broker needs to offer it to their clients. Based on the message you receive, the broker does not offer the service to you at the moment. Unfortunately we cannot know why the service is not available for you by your broker. You need to address this question to them.
Best regards,
cTrader Community Team
EMAIL RECEIVED FROM BROKER
Dear Client,
Thanks for your email.
Please note, copy trading on cTrader is run by Spotware and it is not controlled by FP Markets.
Please contact Spotware directly for any copy trading questions on cTrader platform.
Any other questions, please let us know.
Kind regards,
William
FP Markets LLC,
Hi there,
As explained above this is a broker issue. cTrader does not manage your account settings.
Best regards,
Panagiotis
Are you able to see that the broker says to reach out to ctrader and then ctrader says to reach out to the broker.Is there someone specifically able to look into my issue?
As explained numerous times, your broker. cTrader cannot help you with your issue. You will not get a different answer in this forum.
@PanagiotisCharalampous
PanagiotisCharalampous
09 Aug 2024, 12:23
RE: Unable to copy trades via my FPMarkets account.
manigault said:
Hi there is an update to my issue..Now I can copy trades again from my FPMarkets account but there is an issue where my funds appear to be stuck.
It says that I am currently invested but I cannot access the funds to remove or reinvest them
When I reach out to the broker they say to reach out to ctrader..when I reach out to ctrader they say to reach out to my broker. Is there someone able to specifically look into my account and fix my unable to access funds issue?
EMAIL RECEIVED FROM CTRADER:
Dear trader,
In order for the service to be available to traders, the broker needs to offer it to their clients. Based on the message you receive, the broker does not offer the service to you at the moment. Unfortunately we cannot know why the service is not available for you by your broker. You need to address this question to them.
Best regards,
cTrader Community Team
EMAIL RECEIVED FROM BROKER
Dear Client,
Thanks for your email.
Please note, copy trading on cTrader is run by Spotware and it is not controlled by FP Markets.
Please contact Spotware directly for any copy trading questions on cTrader platform.
Any other questions, please let us know.
Kind regards,
William
FP Markets LLC,
Hi there,
As explained above this is a broker issue. cTrader does not manage your account settings.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Aug 2024, 05:11
Hi there,
You can find all the information you need in the link below
https://help.ctrader.com/fix/
Best regards,
Panagiotis
@PanagiotisCharalampous