Topics
Replies
Spotware
23 Aug 2023, 05:01
RE: RE: BACKTESTING AND OPTIMIZATION FAILURE IN VERSION 4.8.21
thebeinvest said:
Spotware said:
Dear traders,
Can you please provide us with exact steps on how to reproduce this problem?
Best regards,
cTrader Team
double TrailingStopPips = (result * AjstSLM2); var newStopLoss = pos.TradeType == TradeType.Buy ? Symbol.Bid - Symbol.PipSize * TrailingStopPips : Symbol.Ask + Symbol.PipSize * TrailingStopPips; var StopLoss = ModifyPosition(pos, newStopLoss, pos.TakeProfit, true); if (StopLoss.Error == ErrorCode.InvalidStopLossTakeProfit && (Account.Equity >= (Account.Balance * 1.01)) ) ClosePosition(pos);
if I simply put "FALSE", deactivating the modify position, it doesn't give the error anymore, the error is in the position modification.
If I do a ModifyPosition and change StopLoss only once, the cbot doesn't crash, however, if I activate HasTrailingStop (true), then yes, it's crashing.Again, in other versions this did not happen.
I've done the test by changing all trailingStop methods and all give the same error.
In summary, if I deactivate HasTrailing Stop (false) it works, if I activate it, it gives an error. And again... in the other versions, this didn't happen.
in backtesting, I activated the visual mode, and believe me, in visual mode I have no problem with backtesting, but without visual mode and also in optimization it has a problem, that is, I cannot perform optimization, nor backtesting without visual mode.
I have just tested it on ctrader version 4.7.13 and confirmed that backtesting works normally even without visual mode activated.
Thus confirming that version 4.8.21 brought this error bug.
Please... help me take this message to the developers, it will help a lot of people.
the algorithm is correct, however, with the new update it is giving this error.
Dear trader,
Can you please provide us with the complete cBot code so that we can reproduce the problem?
Best regards,
cTrader Team
@Spotware
Spotware
18 Aug 2023, 08:05
Dear trader,
Unfortunately we were not able to reproduce this behavior. If you can provide us with TeamViewer access to inspect this issue on your computer, please contact us at community@ctrader.com
Best regards,
cTrader Team
@Spotware
Spotware
18 Aug 2023, 05:54
Dear trader,
Please follow the steps described in the following guide and let us know if they resolve the issue.
https://help.ctrader.com/ctrader/miscellaneous/connectivity-issues-guide/
Best regards,
cTrader Team
@Spotware
Spotware
15 Aug 2023, 05:21
RE: RE: copytrader does not copy my trades
almarcha10 said:
Spotware said:
Dear trader,
Did you create a new following account after you have changed your account's leverage? If not, please stop following with the old account and restart following with a new one, since the old one will still have the old leverage.
Best regards,
cTrader Team
I have changed the leverage to the old account... and it appears to me that both have the same leverage. and if I withdraw the money from the investment I lose €91
Dear trader,
You need to stop following the strategy and restart with a new account. If your follower accounts has not followed the strategy's trades, then you should not lose any amount.
Best regards,
cTrader Team
@Spotware
Spotware
14 Aug 2023, 11:20
Dear trader,
Did you create a new following account after you have changed your account's leverage? If not, please stop following with the old account and restart following with a new one, since the old one will still have the old leverage.
Best regards,
cTrader Team
@Spotware
Spotware
11 Aug 2023, 05:09
Dear trader,
Thank you for reporting this issue. In order to assist you we will need some more information. Therefore please follow the steps below
- Try to reproduce the issue once more and send us send us some troubleshooting information. Paste a link to this discussion inside the text box/
- Please reset your local data and try again. Let us know if this resolves the issue
- Please let us know if you are using two different versions side by side.
Best regards,
cTrader Team
@Spotware
Spotware
24 Aug 2023, 04:55
Dear trader,
It seems you are using IC Markets symbol IDs with a Spotware Demo account. Please get the correct IDs using the Security List message or from the cTrader UI.
Best regards,
cTrader Team
@Spotware