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.
How long will it take until the new version is released, with which MAC users can also access 'Backtesting' and 'Optimization' in the 'Automate' application?
hello, I have downloaded this on my Mac, but I can not find the backtesting tab its non existent. I've even deleted the application and downloaded a new one. can you help me please?
Hi there,
These features will come in a later version.
Best regards,
Panagiotis
thank you for the reply, will this also include being able to add c bots from the download site
Hi there,
You should be able to run cBots in real time mode with the current version.
Best regards,
Panagiotis
Hi there,
There is no ETA at the moment but the team is currently working on these features.
Please send us some troubleshooting info and quote the link to this discussion by pasting a link to this discussion inside the text box before you submit it.
Best Regards,
Panagiotis
OK I sent!
I wait for a response!
Tks!
I think it's a problem related to the new accounts (DEMO (possibly?!?!?!)).
No matter if I have newly opened account on spotware, topfx, icmarkets... The problem is the same... I cannot do backtesting tests without checking the VISUAL box, or in the optimization tab.
I asked a friend to log in into my computer with his older account and everything seems to be working normally. (So, it is not a computer problem !!!)
If I log in, with my account (which is a newer account than his) backtesting and optimization no longer work.
Do you have a solution to this problem? Please if you have to post it, I am bored of writing... monologue!
Thanks!
Hi,
As explained above, this issue will be resolved in an upcoming update. We do not have any other solution at the moment. If you have found a workaround i.e. using a different account, then you could use it.
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.
PanagiotisCharalampous
07 Feb 2024, 07:28
RE: RE: RE: RE: Candle Stick Appearance
fufu369 said:
Hi there,
We will investigate this further and come back to you.
Best regards,
Panagiotis
@PanagiotisCharalampous