It seems you are using a third party licensing service which we are not familiar with. Maybe you should try contacting the licensing service provider first.
Best regards,
Panagiotis
Greetings Panagiotis,
Thank you very much for the response.
l understand your response. in this case which licensing service providers are you familiar with perhaps l can check what they offer.
I haven't used one for ages and I would not be able to support you on that. For such integrations you should get support from the providers directly
I was reading about this and wondering if, for instance, users will have the possibility to control/manage multiple cBot/CLI instances via these plugins.
Hi ncel01,
Users will have access to charts and will be able to manage only cBots that are already added on these charts. Plugins do not have access to CLI instances since they run outside of cTrader. You can create your own application to manage CLI instances.
It seems you are using a third party licensing service which we are not familiar with. Maybe you should try contacting the licensing service provider first.
i know how to colorize the outline. but it only colors the wicks instead the outlines of the Candle-body. Like you see in my example: i colored the outlines in black, but the candel-body is still blue.
on other platformes it colors the wicks AND the candle outlines.
Hi there,
I tried it and works fine for me
my problem is half solved.. :D
i just updated my macOS. installed ctrader 100x new . version of ctrader is 4.8.900. is this correct?
Hi there,
We will investigate this further and come back to you.
{ // If Trailing Stop Loss is set to true, then we execute the following code block if (UseTSL) { // we iterate through all the instance's positions foreach (var position in Positions.Where(x => x.Label == TradeLabel)) { // If position's pips is above the trailing stop loss pips and the position has not trailing stop loss set if (position.Pips > TSLTrigger && !position.HasTrailingStop) { // We check the position's trade type and excute the relevant code block if (position.TradeType == TradeType.Buy) { // We calculate the stop loss based on the TSL Distance To Add parameter var stopLoss = Symbol.Bid - (TSLDistance * Symbol.PipSize);
// We modify the stop loss price position.ModifyStopLossPrice(stopLoss);
// We set the trailing stop loss to true position.ModifyTrailingStop(true);
Print("Trailing Stop Loss Triggered"); } else { // We calculate the stop loss based on the TSL Distance To Add parameter var sl = Symbol.Ask + (TSLDistance * Symbol.PipSize);
// We modify the stop loss price position.ModifyStopLossPrice(sl); position.ModifyTrailingStop(true);
Print("Trailing Stop Loss Triggered"); } } } } }} private void OnPositionClosed(PositionClosedEventArgs args) { // Reset the flag when a position is closed isTradeOpen = false; } } }
This condition does not allow the TSL code to be executed. Place the TSL code above it
// Check if a trade is already open
if (isTradeOpen)
return;
Hi im still unable to get it working even with the tried and tested code am i being silly? lol i pasted the exact code im using, im altering parameters and he results are no different when running back test im lost now any further help will be much appreciated thank you once again.
using System; using System.Linq; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.API.Internals; using cAlgo.Indicators;
namespace cAlgo.Robots { [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class ADXCrossingBot : Robot { private bool isTradeOpen = false;
{ // If Trailing Stop Loss is set to true, then we execute the following code block if (UseTSL) { // we iterate through all the instance's positions foreach (var position in Positions.Where(x => x.Label == TradeLabel)) { // If position's pips is above the trailing stop loss pips and the position has not trailing stop loss set if (position.Pips > TSLTrigger && !position.HasTrailingStop) { // We check the position's trade type and excute the relevant code block if (position.TradeType == TradeType.Buy) { // We calculate the stop loss based on the TSL Distance To Add parameter var stopLoss = Symbol.Bid - (TSLDistance * Symbol.PipSize);
// We modify the stop loss price position.ModifyStopLossPrice(stopLoss);
// We set the trailing stop loss to true position.ModifyTrailingStop(true);
Print("Trailing Stop Loss Triggered"); } else { // We calculate the stop loss based on the TSL Distance To Add parameter var sl = Symbol.Ask + (TSLDistance * Symbol.PipSize);
// We modify the stop loss price position.ModifyStopLossPrice(sl); position.ModifyTrailingStop(true);
Print("Trailing Stop Loss Triggered"); } } } } }} private void OnPositionClosed(PositionClosedEventArgs args) { // Reset the flag when a position is closed isTradeOpen = false; } } }
We have checked your followers accounts and the trades have been rejected due to low margin in their accounts. This was clearly described in the points I have shared above. If your followers thing this should not be the case, they should contact their broker.
cTrader Copy results are not guaranteed and may vary compared to those of the strategy provider due to the following reasons:
Differences between your positions' entry and closing prices and those of the strategy provider
Differences in the size of your positions compared to those of the strategy provider
Variations in the commissions you pay to your broker compared to those of the strategy provider
The possibility that your broker does not offer the same trading symbols used in the strategy
Insufficient margin in your account to copy some of the orders executed in the strategy
Differences in the stop out levels, which might cause your account to be stopped out, while the strategy provider continues to trade
Best regards,
Panagiotis
If your company does not guarantee 100% copying of positions, why do you still run and offer such a business?
cTrader is not a broker and does not handle trade execution. The platform only facilitated the trade copying process. It cannot guarantee any execution.
man so the fault is from broker side?
There is no fault. This is how markets work and it is expected. The points above are taken from the EULA which describes the conditions of this service.
cTrader Copy results are not guaranteed and may vary compared to those of the strategy provider due to the following reasons:
Differences between your positions' entry and closing prices and those of the strategy provider
Differences in the size of your positions compared to those of the strategy provider
Variations in the commissions you pay to your broker compared to those of the strategy provider
The possibility that your broker does not offer the same trading symbols used in the strategy
Insufficient margin in your account to copy some of the orders executed in the strategy
Differences in the stop out levels, which might cause your account to be stopped out, while the strategy provider continues to trade
Best regards,
Panagiotis
If your company does not guarantee 100% copying of positions, why do you still run and offer such a business?
cTrader is not a broker and does not handle trade execution. The platform only facilitated the trade copying process. It cannot guarantee any execution.
PanagiotisCharalampous
08 Feb 2024, 09:44
RE: RE: Oops! An Error Occurred
michael.kroll said:
Hi Michael,
Probably it was something temporary
Best regards,
@PanagiotisCharalampous