PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
23 Aug 2024, 13:45

Hi there,

It is not clear what you are trying to highlight with this post. Can you please elaborate?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 13:44

RE: RE: RE: RE: RE: RE: Bars can only fetch latest 200 bars

Shares4us said: 

PanagiotisCharalampous said: 

This method does not work on backtesting at the moment. If you need more bars for backtesting, you can start your bactesting at a previous date.

That's not a good solution you will have to change your code just for the sake of backtesting & optimizing if you use duration based calculations.
 

It's a solution when there is no other option. This will be enabled in backtesting in future releases.


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 13:42

RE: RE: Improving backtesting speed

scotpip said: 

Hi Panagiotis

My backtester is fairly comparable, and as I say a lot faster. The speed increase was mainly due to tackling a large number of small issues, but the cumulative effect was impressive.

I was also a beta tester for Tickblaze, another C# platform that's faster. Tickblaze is a professional trading platform and highly featured.

And I've done some work in Zorro - which is highly featured and very much faster - though to be fair it's built in C++. 

Are you really saying there's no scope for increasing the speed?

 

Performance improvements are always within the scope of every release. Can you share your backtester?


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 13:36

RE: RE: RE: RE: RE: RE: RE: Advanced TP

steven.booth5151 said: 

PanagiotisCharalampous said: 

steven.booth5151 said: 

PanagiotisCharalampous said: 

salvo.rubera said: 

PanagiotisCharalampous said: 

greg83 said: 

Just downloaded cTrader for MacOS last night.. 

Are there no Advanced Take Profit options yet?

I can see the shield icon on the orders???

Hi there,

Advanced protection will be released in an upcoming update of the application.

Best regards,

Panagiotis

Buongiorno sono passati mesi. Tantissime app utilizzano il multi Tp e Sl anche per gli ordini limit, così che il trader sia tranquillo. Posso capire quanto ci vuole per questi banali aggiornamenti? iOS inesistente, Mac inesistente. Grazie

Hi there,

We do not have an ETA at the moment.

Best regards,

Panagiotis

Hi Panaglotis

Is there an update on the ETA of these features please? The advanced protection and watchlist/news feature is definitely something that is missing from the app being in my opinion, the best trading platform there is currently. Of course it's nice I can login to the web platform and do these things but kind of defeats the purpose of the app and not something I want to continuously do. Thanks for the relatively good experience so far! 

No, we do not have an ETA unfortunately

Would you be able to confirm that the features are being actively worked on?

They are on the backlog but I cannot know what the product team does each and every day neither I can commit that their priorities will not change. It will be eventually developed but I cannot provide any further commitment than that.


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 13:33

RE: RE: too many messages and the cbot gets stuck

karatedog said: 

PanagiotisCharalampous said: 

Hi there,

No it is not. You need to minimize the messages you print in the log.

Best regards,

Panagiotis

Is there any way to configure what is “too many”? I don't mind if the application eats more memory or slows down. I need to know what is happening inside the code as I'm in a learning phase and many times there is a clear clash between how I understood the Help (which sometimes does not answer my question) and how really cTrader works. Eventually I will remove almost all of them when I get a better understanding but until then when find a non-syntax issue (when it compiles but does not do what I want), I put a lot of Print around it, draw a lot objects to the chart to understand what I did wrong.

No, however you can find all your messages in the relevant folder.


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 13:24

RE: RE: Proposal: Improved Project Structure for cBots Development in cTrader

kaxalope said: 

PanagiotisCharalampous said: 

Hi there,

Why don't you use an external IDE like Visual Studio instead? I don't think the team will invest time in reinventing the wheel.

Best regards,

Panagiotis

I do it, and although it improves things like IntelliSense, the management of duplicated code between bots doesn't get better since each bot is a solution, as I mentioned in the previous post. If there were a way to make each bot a project instead of a solution, then the development experience could be greatly improved. And if there is a way, I'm not aware of it.

No it is not possible, however you can reference shared projects across many solutions, if this is what you are looking for.

Best regards,


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 07:02

RE: RE: RE: RE: RE: Advanced TP

steven.booth5151 said: 

PanagiotisCharalampous said: 

salvo.rubera said: 

PanagiotisCharalampous said: 

greg83 said: 

Just downloaded cTrader for MacOS last night.. 

Are there no Advanced Take Profit options yet?

I can see the shield icon on the orders???

Hi there,

Advanced protection will be released in an upcoming update of the application.

Best regards,

Panagiotis

Buongiorno sono passati mesi. Tantissime app utilizzano il multi Tp e Sl anche per gli ordini limit, così che il trader sia tranquillo. Posso capire quanto ci vuole per questi banali aggiornamenti? iOS inesistente, Mac inesistente. Grazie

Hi there,

We do not have an ETA at the moment.

Best regards,

Panagiotis

Hi Panaglotis

Is there an update on the ETA of these features please? The advanced protection and watchlist/news feature is definitely something that is missing from the app being in my opinion, the best trading platform there is currently. Of course it's nice I can login to the web platform and do these things but kind of defeats the purpose of the app and not something I want to continuously do. Thanks for the relatively good experience so far! 

No, we do not have an ETA unfortunately


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 07:00

Hi there,

There is no easy way since each cBot runs on a separate environment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 06:55

RE: RE: RE: RE: How to make cBot setting Take Profit when pushing button in Indicator

TommyFFX said: 

PanagiotisCharalampous said: 

TommyFFX said: 

PanagiotisCharalampous said: 

Hi there,

Why don't you just set the take profit from the indicator?

Best regards,

Panagiotis



Because Indicators can not open, close or modify positions/orders ..
And I need some stuff to communicate in the indicator with a cBot then.

I need a way to modify positions (TP) and close positions witch is not possible with Indicator.
I would like to have an Indicator on each symbol I Trade and use it's logic and only have 1 cBot open in the Automate section.

So each indicator can communicate for the actions it can't do like modifying or closing positions when neccessary.
 

TommyFFX

 

Since version 5.0 they can, so make your life easier and just trade through the indicator :)

Hi PanagiotisCharalampous

Thank you for your feedback. I was using previous version of broker.
At first it didn't work.. Now I figured out that an Indicator that is not created in version 5.0 doesn't work.
Then I created a new Indicator in 5.0 and it worked.
So when having old Indicators you need to paste it into new ones in 5.0 if you want it to work ..
But it would be usefull to know how to communicate with a cBot.
I'm developing management software. So like MagicKeys for instance. They have a bot and indicator..
Because I'm facing the next obstacle when timeframe is changing I lose my objects or globals, while a cBot is not..
MagicKeys has somewhere a method to communicate cause they have the indicator and the cbot..  

Best Regards
TommyFFX
 

There are several ways to achieve communication between a cBot and an Indicator e.g. you can use files or named pipes.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 06:53

Hi there,

Which main page are you referring to? Can you share some screenshots so that we can understand what you are referring to?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 06:51

RE: Backtesting Settings -> Data Dropdown Bug

scotpip said: 

I'm not clear where we're supposed to report bugs. If this is the wrong spot, please advise.

In this release, I'm seeing a repeated option in the Backtesting Settings → Data dropdown dialogue.

Hi there,

The one option is always m1 and the other one adjusts based on the selected timeframe. If you select m1, then these two options coincide. I don't think this is a big issue to be honest.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 06:49

Hi there,

Is your backtester equivalent to cTrader i.e. handles all necessary calculations, like margin calculation, conversions between currencies etc. If it is not, then the comparison is not really valid.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 06:46

RE: RE: How to Access OHLC Prices in the Backtester?

scotpip said: 

Hi Panagiotis

Many thanks! That seems to be working now, both with m1 data and tick data.

I assume that all 4 prices are used when evaluating exit stops, and calculating indicators like the ATR which need OHLC values?

If you're open to feedback, I feel that the bar event methods and docs are confusing. This is something you might care to review.

In the tutorial, OnBarClosed() isn't even mentioned:

https://help.ctrader.com/ctrader-algo/articles/for-developers/create-a-cbot-in-5-mins/#add-a-new-cbot

The wording doesn't make it explicit that you will be accessing an incomplete new bar, rather than the newly completed old bar with all the OHLC data. In every other platform I've used (quite a few now) OnBar() passes or signals the interesting old bar rather than the uninteresting new bar.

The next point of confusion is the dropdown from the cog menu item, which clearly states that you are only getting open prices. While in fact as you have just explained you can access all 4 prices. (And there's also the bug where it shows the same option twice). Surely this is a UX glitch?

So unless the user takes a deep dig through the API docs, the procedure for accessing this vital data is both unintuitive (in the sense that other platforms do it differently) and well hidden (in the sense that the tutorial doesn't explain it and the cog dropdown text is misleading).

Maybe I'm unusually dim, but I'm surprised that more people haven't run into this roadblock. It would be helpful if the tutorial and the dropdown were more user-friendly…

Geoff

Hi Geoff,

Thanks for your suggestions. Here are my responses to some of the points raised

The next point of confusion is the dropdown from the cog menu item, which clearly states that you are only getting open prices.

You get all historical OHLC prices but the execution is based on the open prices only

And there's also the bug where it shows the same option twice

It's not really a bug. In general, these are two different options, the one is to use the selected timeframe's bars, the other is to use m1 bars (even if you are on h1). When you choose m1 these timeframes coincide. It looks weird in this specific case but I not think it's a real problem.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 06:39

Hi there,

I can see 11180. Can you check again?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 06:36

Hi there,

Why don't you use an external IDE like Visual Studio instead? I don't think the team will invest time in reinventing the wheel.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Aug 2024, 06:34

Hi there,

Check the video below

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Aug 2024, 14:40

RE: RE: RE: RE: RE: RE: cTrader - Plugins

nature.equity said: 

PanagiotisCharalampous said: 

cyril269 said: 

PanagiotisCharalampous said: 

cyril269 said: 

PanagiotisCharalampous said: 

Hi there,

Plugins will be available in the upcoming major update.

Best regards,

Panagiotis

Is there a potential timeline on when the major update will be released? 

Hopefully sometime in the following weeks :)

Is it possible to get a prerelease version of the ctrader.automate nuget that has plugin support?

Unfortunately we do not offer a prerelease version

Hi, following up on this thread from Feb 2024, have you released this updated version (which includes Plugins feature)?

I run my broker's latest cTrader version, and it doesn't include such features yet. 

Thanks!

Try downloading v5.0 from below

https://ctrader.com/download/


@PanagiotisCharalampous

PanagiotisCharalampous
22 Aug 2024, 14:39

RE: RE: How to make cBot setting Take Profit when pushing button in Indicator

TommyFFX said: 

PanagiotisCharalampous said: 

Hi there,

Why don't you just set the take profit from the indicator?

Best regards,

Panagiotis



Because Indicators can not open, close or modify positions/orders ..
And I need some stuff to communicate in the indicator with a cBot then.

I need a way to modify positions (TP) and close positions witch is not possible with Indicator.
I would like to have an Indicator on each symbol I Trade and use it's logic and only have 1 cBot open in the Automate section.

So each indicator can communicate for the actions it can't do like modifying or closing positions when neccessary.
 

TommyFFX

 

Since version 5.0 they can, so make your life easier and just trade through the indicator :)


@PanagiotisCharalampous

PanagiotisCharalampous
22 Aug 2024, 14:38

Hi there,

It's hard to answer such vague questions if we cannot see what you are actually doing. Logical errors do not generate any log messages as they are not considered problems by the system. The computer executes what you have instructed it to do, even if this is different from what you expect it to do or what you think it does.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Aug 2024, 09:14

Hi there,

Try this tool, you might find it helpful 

https://ctrader.com/algos/indicators/show/2969/

Best regards,

Panagiotis


@PanagiotisCharalampous