Please provide us with dates, cBot parameters and backtesting settings so that we can reproduce this behavior on backtesting. Also share some screenshots demonstrating these positions.
Best regards,
Panagiotis
Parameters are the default ones built into the bot as it's just an example and it's what I used to replicate. Back testing was a number of markets (forex, spot metals, spot indices, crypto, whatever else I tested it on) and dates are anything available in the range of 2013 - now that runs for longer than 100 trades. Tested on both 1m, the 2h and 15m charts I was testing on and tick data.
See below to show that the balance and equity is basically full but margin is more than the balance of the account:
And then you can see here the only position I have open is minimum lot size:
Thanks Vik,
We managed to reproduce the problem and it will be fixed in an upcoming update.
Best regards,
Panagiotis
Ah fantastic, glad to see it wasn't something I was doing! You got a rough timeframe on when that update may be?
Unfortunately we do not have a timeframe at the moment
Please provide us with dates, cBot parameters and backtesting settings so that we can reproduce this behavior on backtesting. Also share some screenshots demonstrating these positions.
Best regards,
Panagiotis
Parameters are the default ones built into the bot as it's just an example and it's what I used to replicate. Back testing was a number of markets (forex, spot metals, spot indices, crypto, whatever else I tested it on) and dates are anything available in the range of 2013 - now that runs for longer than 100 trades. Tested on both 1m, the 2h and 15m charts I was testing on and tick data.
See below to show that the balance and equity is basically full but margin is more than the balance of the account:
And then you can see here the only position I have open is minimum lot size:
Thanks Vik,
We managed to reproduce the problem and it will be fixed in an upcoming update.
Can you share a screenshot demonstrating what you are looking at?
Best regards,
Panagiotis
When attempting to click on "Modify Position," there's no response or display. The same issue occurs when trying to click on "Modify Order" for Pending Orders. Overall, the "Modify" function isn't functioning.
Hi there,
Make sure the form does not open on an external display that has been disconnected. Try also restarting cTrader and your pc.
Best regards,
Panagiotis
I tried everything you mentioned. I've been facing the issue for 10 days. So, in between, I switched off my laptop many times. I don't think it's a problem with the PC. Also, I reinstalled cTrader. But still facing the same issue. Just don't know how to solve it. Desperately need help brother.
The issue is still not resolved.Kindly have a look at this.
Hi there,
Can you please record a video demonstrating this happening? Also in the video, please show the Display Settings open showing that there is only one screen used by your computer.
Best regards,
Panagiotis
How can I send the video here related to the problem ? It is not accepting files from my PC and even Google drive link
I have already sent them an email regarding the issue, but I have not received any reply. Here is the screenshot I urgently need assistance; I have been dealing with this issue for quite some time now.
Hi there,
Can you try closing cTrader, removing all contents from this folder and restart cTrader? Let me know if it resolves the problem.
Your question is not clear. Please explain what you think is wrong and how you would like it to be corrected.
Best regards,
Panagiotis
hi, the code written as follows is not correct and I don't understand how to fix it. I used " Indicator.GetIndicator<> " as it is a custom indicator. I removed ".Result " but I need to manage the value of Result somewhere...
Does the indicator have a Result property? Can you share the indicator's source code?
I have the same problem, my bots (running on ctrader-cli) stop once a week without visible reason, with or without lost connection. I help myself with writing timestamps to a logfile and having a watchdog process, that restarts the cbot when the log entries don't occure anymore.
Greetings scherli
I've been experiencing this almost every morning when I check the CLI processes. “Attempting to reconnect” while everything else is still open and running. CTrader open and connected, MT5 connected and running.
@Spotware can you please have a look at this?
Hi there,
We would need more information regarding this matter. Also this seems to be a separate issue so please do the following
Create a new thread with a clear explanation of your issue
Provide your cBot code.
Provide us with exact steps on how to reproduce this problem.
Please provide us with dates, cBot parameters and backtesting settings so that we can reproduce this behavior on backtesting. Also share some screenshots demonstrating these positions.
is there a particular indicator calculation order or could we influence it, e.g. by priorities?
In the example mentioned above the custom indicator “NNFXInfosonChart” uses the values of custom indicator “SampleSMA”, but how we can make sure that SampleSMA.LastValue is belonging to current Index (Index of NNFXInfosonChart.Calculation(THIS_INDEX)) and not to the previous index when retrieved in NNFXInfosonChart.Calculation-method?
Thank you so much.
Best regards,
Bernhard
LastValue is always the value of the last index, since the Calculate() method is called when you call the property.
said: Thanks for the tips. Got the connection working. Only not plotting data. I think becouse I need to write a code to tell the database what data to send. Any tips or example python code?
I am not familiar with MongoDB, neither I understand what you are trying to do, sorry.
PanagiotisCharalampous
16 May 2024, 05:45
RE: RE: RE: RE: Account Margin not resetting when backtesting bot
Phluxxed said:
Unfortunately we do not have a timeframe at the moment
@PanagiotisCharalampous