Topics
Replies
PanagiotisCharalampous
26 Jun 2024, 07:55
RE: RE: Referencing active chart from plugin
matcwhite said:
matcwhite said:
Hi again, I have another query, related to this…
If there is currently no active frame, is it possible to get a list of current frames/charts and to programatically set the active frame, or at least reference a chart/frame instead?
What I've found is that often while e.g. using Remote Desktop etc. the chart has lost focus so there is no currently active frame. It would be nice to be able to set the frame/chart if there isn't an active one.
Many thanks in advance,
Mat
@Panagiotis?
Hi there,
This is not possible at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:53
Hi there,
This is not possible for the built in indicator unfortunately.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:52
Hi there,
You cannot use an MT5 account with cTrader. You need to ask your broker for a cTrader account.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:43
Hi there,
Cloud execution does not allow access to the internet at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:41
Hi there,
Do you still experience this issue?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:40
Hi there,
After you subscribe to the message, the prices should be streamed constantly. Make sure your code reads the incoming stream continuously.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:37
Hi there,
The freeze issue is under investigation. Regarding the SL issue, this usually happens when you are trying to set invalid stop losses i.e. inside the spread or with an invalid price. If you can provide steps to reproduce the problem with valid stop loss prices we are happy to have a look.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:15
Hi there,
We can't help you with this matter in this forum. Please contact your prop firm instead.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:05
Hi there,
This issue should have been resolved in cTrader v5.0. Try using the new version for your backtesting.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 07:01
RE: RE: Snap shot market data and real time market data thats continuesly updating
its.not.natasha.4 said:
PanagiotisCharalampous said:
Hi there,
I am not sure what the problem is but if you subscribe to market data using 35=V, then you will receive 35=W and 35=X responses, which are real market data.
Best regards,
Panagiotis
Yes i have received 35=w but j want prices constantly updating i dont want one price
Hi there,
When you subscribe, you should receive the prices constantly. You will receive a 35=W at the beginning and 35=X after that.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 06:52
Hi there,
Can you provide more information? What happens when you try to open the file? Can you share the file with us?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 06:48
( Updated at: 26 Jun 2024, 06:50 )
RE: RE: RE: RE: Non -executing the OnDestroy() function
AlgoCreators said:
Spotware said:
AlgoCreators said:
PanagiotisCharalampous said:
Hi there,
I don't think this was ever working. When the indicator is unloaded and destroyed, all references created by the indicator will do as well, same for the indicator's log. If you want to check this, write in an external file.
Best regards,
Panagiotis
Ok, now there is no way for the indicator to clear the interactive objects it created when it is deleted.
I am not sure what you mean, can you elaborate?
When my indicator is on the chart. Adds objects to the chart, such as rectangles and trend lines
These objects are interactive.
"IsInteractive = true;"
When I remove the indicator from the chart, those objects remain in the chart! If their interactive feature is false, they will be deleted automatically, but as I said, I will turn on their interactive feature.
I want to delete all the objects added to the chart when the indicator is deleted
Hi there,
Can you share the code you are using to delete the objects so that we can check?
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 06:44
RE: RE: RE: Custom indicator in cBot different results visual mode compared to silent mode
bernhardCM said:
No that is not what I said. Indicators referenced in a strategy will use the source set in the backtesting settings. Indicators applied on the chart will be rendered at the moment they are applied, so all past bars will be considered historical
first of all, Panagiotis thanks for your great replies to actually all threads I found in this forum already, as well to this one.
Just to make it sure in my own (not native English speaking … poorer) words ;-)
- with “strategy” I guess you mean a cBot.
- backtesting settings & optimization settings (e.g. ticks instead of chart timeframe data) will be correct processed, in the backend of backtesting & optimization
- point 2. is also applicable for indicators on the chart shown on backtesting in visual mode
- all other indicators (chart in trade section or chart in backtesting in NON visual mode) will show historically only chart timeframe data, for “IsLastBar” it will be also consider ticks
That's what I extracted as summary and it's no open question, except I wrote something wrong.
Thanks for all and have a nice weekend!
Hi there,
Yes correct.
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jun 2024, 10:43
Hi there,
There is no built in feature for this. Try the tool below
https://ctrader.com/algos/indicators/show/3015
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jun 2024, 10:36
RE: RE: RE: RE: RE: History tab not showing previous trades
Rx1ooo said:
Spotware said:
Rx1ooo said:
herve.limousy said:
I have the same issue with cTrader Desktop 5.0.25. There's only been one trade in the history for the past few days. It seems to be showing current day's trades correctly. However, I have the entire history on cTrader for Android. Demo account with FxPro: 10580044.
PanagiotisCharalampous said:
Hi there,
Can you take full screenshots so that we can see the account number, broker and cTrader version?
Best regards,
Panagiotis
Evening,
The cTrader desktop version 4.8.34 and the broker is Pepperstone Aus, I am not willing to share my account number. I do appreciate any help you can give.
The history is appearing today it has done this before and disappearing the next day, I am wondering if a clean install would help. today's history shot
Many thanks :)
Hi there,
Does this happen in cTrader v5.0?
Best regards,
Many thanks,
I have not tried V5.0 version only version 4.8.34.
If you recommend I will give it a try and upgrade to V5.
The history came back yesterday is is also ok today, I restart the platform once a day.
One question where is the history stored local machine or broker ?
Appreciate your support.
:)
The history is on the server, let us know if this still happens on v5.0
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jun 2024, 10:35
RE: RE: RE: My ctrader freeze when i'm using my cbot
karldawson99 said:
PanagiotisCharalampous said:
scottylace said:
Freezing issue still remains 😢
Hi there,
The issue has not been resolved yet.
Best regards,
Panagiotis
I am experiencing the same issue. CTrader freezes within a couple of minutes of commencing a backtest, every time. It is currently unusable for me until this is resolved. Using version 5.0.25. Can we roll back to a previous version?
Your broker should have an older version of cTrader
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jun 2024, 10:34
RE: Custom indicator in cBot different results visual mode compared to silent mode
bernhardCM said:
thanks for your prompt reply.
hmmm, so for backtesting in non visual mode, the setting “tick-data” (instead of m1 data) will not be used, that was not clear to me and looks frankly spoken … wrong ;-)
but now I know how it works. Thank you for clarification!
By the way, how about Optimization, there we can also select "tick-data accurate”. Are the indicators there also only calculated once per bar? Because there is no visual mode available.
Thank you.
No that is not what I said. Indicators referenced in a strategy will use the source set in the backtesting settings. Indicators applied on the chart will be rendered at the moment they are applied, so all past bars will be considered historical
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jun 2024, 08:54
Hi there,
Thank you, we have managed to reproduce the problem and we will fix it in an upcoming update.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Jun 2024, 05:53
Hi there,
If this was not a temporary issue, let's arrange a TeamViewer session to inspect this further.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jun 2024, 08:13
Hi Mat,
Unfortunately it is not.
Best regards,
Panagiotis
@PanagiotisCharalampous