Topics
Replies
PanagiotisCharalampous
10 Dec 2020, 08:01
Hi enrico.rossi.7,
Can you provide us with the code of the cBot you are using to backtest/optimize so that we can reproduce this behavior?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2020, 07:58
Hi a_j_cliff,
FTMO cTrader Web can be accessed here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2020, 15:58
Hi Phil,
You need to contact your broker regarding this issue.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2020, 15:24
Dear pahwasachin,
Please contact your broker regarding this issue.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2020, 10:01
Hi peter.hubcej,
Thanks for letting us know about this. We will fix it in an update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2020, 09:57
Hi Shares4us,
We are aware of this behavior but is seems to be more of a VS issue than a cTrader issue. It seems something is not updated in VS references.It looks like you found the workaround yourself.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2020, 08:49
Hi dbesadem,
Backtesting is not available on cTrader Web.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2020, 08:45
Hi collinismaelci203,
By default cBots run on .Net Framework 4.0. This library needs a higher version of the framework to run. Even though it is not supported, you can try changing your cBot's target framework to 4.5.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Dec 2020, 08:40
Hi fx.pro,
The problem is here
adx_hist[index] = adx.DIMinus[index] - adx.DIPlus[index];
You are not initializing adx_hist anywhere.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Dec 2020, 15:10
Hi shop.n33,
Your cBot is still executing random orders. See here
if (position.GrossProfit > 0)
{
ExecuteOrder(InitialVolume, GetRandomTradeType());
}
else
{
ExecuteOrder((int)position.Volume * 2, position.TradeType);
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Dec 2020, 14:25
Hi Lisa,
Sorry I misread your question. I do not remember cTrader having such a message.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Dec 2020, 12:34
( Updated at: 21 Dec 2023, 09:22 )
Hi Lisa,
This warning pops up until you check not to show this message again. If you want to get it back, you need to perform a clean installation.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Dec 2020, 09:37
Hi ctid2607700,
You can find all available methods documented in the reference, Have a look at the ChartArea interface and its methods.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Dec 2020, 09:30
Hi ctid2908776,
You can write a condition like the below
if(Bars.ClosePrices.Last(1) > xxx)
{
// Close trades
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Dec 2020, 16:36
Hi giulio_boschim
Can I choose that it auto-changes to match the current exposure (which evolves as I execute more orders)?
No there is no such built-in option. But you can always develop a custom cBot adjusted to your needs.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Dec 2020, 14:53
Hi giulio_boschim
My reply remains the same. SL levels in cTrader does not change.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Dec 2020, 11:02
Hi giulio_boschim
However, I want to know if the auto stop loss functionality which adjusts automatically (its not me manually changing the size of the stop loss as the position size i have in the instrument also changes with scaling in and scaling out orders, it is done automatically by the system) is already included into cTrader.
To be honest, I did not understand any auto adjustment functionality described in your requirements. What you described is that you don't want the SL to change each time a position is modified, which is what happens in cTrader.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Dec 2020, 09:47
Hi rowandtimhawkins26,
Please see my reply to your other post here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Dec 2020, 09:43
Hi volkov.alexandro,
Backtesting dates are based on UTC time. Markets open at 21:00/22:00 UTC, depending on DST status. Therefore, if you start your backtesting on a Sunday, then it will start on Sunday 22:00, UTC If you start it on Monday then it will start on Monday at 00:00 UTC.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Dec 2020, 09:34
Hi mh17462,
This is how it currently works. We will improve this in a future release.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous