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.
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.
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.
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?
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.
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.
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
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
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
26 Jun 2024, 08:13
Hi Mat,
Unfortunately it is not.
Best regards,
Panagiotis
@PanagiotisCharalampous