Topics
Replies
PanagiotisCharalampous
10 Dec 2024, 07:01
Hi there,
If you want to create a live cTrader account, you need to contact a broker that offers cTrader. You can find some here.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2024, 06:43
Hi there,
This means that the strategy providers have these positions open.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2024, 06:41
Hi there,
There is no built in option for this at the moment. You would need to develop your own custom indicator to achieve this.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2024, 06:38
Hi there,
There is no such feature at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2024, 06:37
RE: RE: RE: Backtest
Chapitre said:
Chapitre said:
PanagiotisCharalampous said:
Hi there,
Each broker has a different price feed therefore it is expected that the results will be different. You should backtest/optimize using the price feed of the broker you are planning to trade with.
Best regards,
Panagiotis
Oui c'est exactement ce que j'ai fais. Et avec les flux du courtier, les résultats étaient trop à la baisse par rapport aux flux de ctrader. En plus de ça le backtes et l'optimisatio avec les flux de fpmarkets sont beaucou plus rapide que ceux de ctrader. Chez fpmarket le backtest et l'optimisatio finissent très très vite et les résultat sont énormément à la baisse par rappor aux résultat avec les flux de ctrader.
Vous me conseillez quoi sil vous plaît ?
S'il vous plaît, répondez moi
Hi there,
Please make sure that the backtesting settings are the same (e.g. you use tick data in both cases). If all settings are the same, feel free to provide more information e.g. screenshots/videos of what you are looking at.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2024, 06:32
Hi there,
You did not describe how you initiated the partial closing. Did you do it manually? Through a cBot? Can you provide the exact steps you followed to reproduce the behavior?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2024, 06:29
RE: RE: Add Ctrader Custom indicator in my cbot open source.
dossabroker said:
PanagiotisCharalampous said:
Hi there,
Check the video below
Best regards,
Panagiotis
Thank you. If i send the cbot to someone who doesn't have this custom indicator, he can use the cbot without this custom indicator ? If not is there a way to include the custom indicator as a ressource in my cbot or it will be automatically included in the .algo fille I will send to the user ?
Yes the compiled cBot already contains the custom indicator. You only need to send the custom indicator if the receiver plans to modify the cBot's code. He will require the custom indicator to compile the cBot.
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 14:14
Hi there,
Please send your complaint with more information about your case to community@ctrader.com.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 12:53
Hi there,
Check the video below
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 12:47
Hi there,
You can hire a consultant to implement such an indicator for you.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 10:27
Hi there,
Please post your suggestion in the correct forum section
https://ctrader.com/forum/suggestions/
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 10:26
Hi there,
There is no such option at the moment but we will add it in a future update.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 10:17
RE: RE: ERROR When closing 1 Plugin (with a tradewatchTab) while Running Another Plugin
TommyFFX said:
PanagiotisCharalampous said:
Hi there,
Can you please share your plugins code and provide exact steps on how we can reproduce this behavior?
Best regards,
Panagiotis
I used the sample codes from cTrader they are build in samples..
- Previous Bar Info
- TradeWatch Tab Sample
Best regards
Do I need to post while they are available in cTrader?
Hi there,
I tried to reproduce this but with no luck. Any change you can record a video that would allow us to see the steps you are taking to reproduce this behavior?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 07:44
Hi there,
Can you please share your plugins code and provide exact steps on how we can reproduce this behavior?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 07:41
Hi there,
This is a known issue and it will be resolved in an upcoming update of cTrader Desktop.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 07:35
RE: RE: RE: Issue with Slow Stochastic on cTrader
ctid8719770 said:
Hi Panagiotis,
the issue persists, do you know if it has been resolved?
Perhaps I need to update the platform manually instead of waiting for the automatic update?
Thanks!
ctid8719770 said:
PanagiotisCharalampous said:
Hi there,
It is a known issue and it will be resolved in an upcoming update.
Best regards,
Panagiotis
Thanks a lot!
Hi there,
We have not released an update yet, when we do it will be pushed automatically and you will see the relevant message on the top right corner.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 07:28
RE: RE: I can't use the Bars.ClosePrices.Last(1) line of code in the onTick method from the plugins
kouekam18alain said:
PanagiotisCharalampous said:
Hi there,
OnTick() is a method of a robot, not of a plugin. Same for Bars property. Here is a starting point for handling tick events and accessing bars in a plug in
using System;using cAlgo.API;using cAlgo.API.Collections;using cAlgo.API.Indicators;using cAlgo.API.Internals;namespace cAlgo.Plugins{ [Plugin(AccessRights = AccessRights.None)] public class Test : Plugin { Bars _bars; Symbol _symbol; protected override void OnStart() { // To learn more about cTrader Automate visit our Help Center: // https://help.ctrader.com/ctrader-automate _bars = MarketData.GetBars(TimeFrame.Minute); _symbol = Symbols.GetSymbol("EURUSD"); _symbol.Tick += _symbol_Tick; } private void _symbol_Tick(SymbolTickEventArgs obj) { Print(_bars.ClosePrices.Last(1)); } protected override void OnStop() { // Handle Plugin stop here } } }
Best regards,
Panagiotis
There is an error on this line :
Print(_bars.ClosePrices.Last(1));
_bars doesn't know the methods or ClosePrices.Last and therefore fails to call them.
_bars. doesn't call any method, hence the error
Can you share the exact error you receive?
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 07:14
Hi there,
In order to get a closed position's p&l, you need to get the deals using ProtoOADealListReq. The ProtoOADeal.ProtoOAClosePositionDetail will provide you with the information of the closed position and from there you can calculate the P&L of each position.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2024, 06:57
Hi there,
Each broker has a different price feed therefore it is expected that the results will be different. You should backtest/optimize using the price feed of the broker you are planning to trade with.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2024, 07:50
Hi there,
Can you please let us know your broker and your operating system?
Best regards,
Panagiotis
@PanagiotisCharalampous