
Topics
Replies
PanagiotisCharalampous
08 Oct 2019, 16:57
Hi ciripa,
Your question is irrelevant to the thread. Please create a new thread and I will answer it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 16:52
( Updated at: 21 Dec 2023, 09:21 )
Hi Lisa,
Did you use the code I pasted? This is what you are supposed to see.
Is there any way of attaching a colour variable as the line is being drawn rather then needing to reference one of two different lines ?
No this is not possible,
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 16:45
Hi ctid712216,
We had a look at this issue. The reason behind the "ghost" deal is that there are cases when the equity to equity ratio changes (provider makes withdrawal, copier pays commissions etc) and the system needs to restore the ratio. This was one of these cases. This behavior is clearly explained in our EULA section 11.1.I.D. Quoting the relevant passage below
If you add or remove funds from the Copy Trading Account or the Strategy Provider adds or removes funds from the account used to provide the strategy then positions will be recalculated according to equity to equity ratio.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 14:59
Hi Chris,
Please send it at community@spotware.com.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 12:08
Hi Lisa,
You need to use discontinuous lines. See below how
using System; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.Indicators; // Written by Lisa Beaney - September 2019 // Multiplier added to allow unit changes between brokers to be evened out namespace cAlgo.Indicators { [Levels(0.0)] [Indicator(IsOverlay = false, ScalePrecision = 5, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)] public class OsMA : Indicator { [Parameter(DefaultValue = 13)] public int shortCycle { get; set; } [Parameter(DefaultValue = 21)] public int longCycle { get; set; } [Parameter(DefaultValue = 8)] public int signalPeriod { get; set; } [Parameter(DefaultValue = 10000)] public int multiplier { get; set; } [Output("OsMa Line Up Trend", LineColor = "Green", PlotType = PlotType.DiscontinuousLine)] public IndicatorDataSeries ResultUp { get; set; } [Output("OsMa Line Down Trend", LineColor = "Red", PlotType = PlotType.DiscontinuousLine)] public IndicatorDataSeries ResultDown { get; set; } MacdHistogram macd; protected override void Initialize() { macd = Indicators.MacdHistogram(shortCycle, longCycle, signalPeriod); } public override void Calculate(int index) { if ((macd.Signal[index] - macd.Histogram[index]) > (macd.Signal[index - 1] - macd.Histogram[index - 1])) { ResultUp[index] = (macd.Signal[index] - macd.Histogram[index]) * multiplier; ResultDown[index] = double.NaN; if (double.IsNaN(ResultUp[index - 1])) ResultUp[index - 1] = ResultDown[index - 1]; } else { ResultUp[index] = double.NaN; ResultDown[index] = (macd.Signal[index] - macd.Histogram[index]) * multiplier; if (double.IsNaN(ResultDown[index - 1])) ResultDown[index - 1] = ResultUp[index - 1]; } } } }
Let me know if this helps,
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 09:22
Hi FireMyst,
I am not sure what do you mean with
"I want to "attach" these dataseries to the _marketSeries timeframe, not the current chart's time frame"
DataSeries is not attached to any timeframe, it is just a series of doubles. Can you please elaborate?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 08:35
Hi to both,
We managed to reproduce this and we will fix it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 08:25
Hi donbona,
Thanks for posting in our forum. No, this is not possible. Sub accounts cannot become strategy providers.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 08:24
Hi Carlos,
The account balance is shown on the Account Information Bar.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 08:22
Hi zedodia,
You can use a flag and put the logic in OnTick or OnBar. The flag should be initialized to false and the condition checked on each tick/bar. If the condition is met set the flag to true. Execute the rest of the logic only if the flag is true.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 08:19
Hi GoldnOil750,
The issue usually occurs when a lot of drawings remain on the chart, usually forgotten from another setup. We usually ask for the settings file to confirm this. In case such a behavior occurs again, just make sure there are no forgotten drawings on the chart.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
08 Oct 2019, 08:16
Hi spasemansikorski,
Thanks for posting your suggestion. Please use the Suggestions section to post your suggestions. Also note that such an indicator can be easily developed using cTrader Automate.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Oct 2019, 14:19
Hi ctid712216,
You have posted your cTID but I also need your trading account number. Then we will have a look at this. Note that we do not provide official support to traders therefore you should not expect a reply from any other channel than the forum.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Oct 2019, 12:15
Hi Sander,
Thanks for posting in our forum. Range and Renko bars are not available yet in cTrader Web. They are planned for a future update of the platform. Stay tuned!
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Oct 2019, 11:58
Hi GoldnOil750,
Thanks. Can you also send us your settings file at community@spotware.com? You can find it at C:\Users\UserName\AppData\Roaming\broker cTrader\Settings.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Oct 2019, 11:39
Hi drayzen,
There is no shudown date for cMirror at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Oct 2019, 10:03
Hi Chris,
I can email you several example posMaintRptID's if this helps.
Yes, please.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Oct 2019, 10:01
Hi drayzen,
cTrader Copy is more of an investment platform rather than a copying service. In cTrader Copy, you invest an amount in a strategy and let the strategy provider manage your funds in the same fashion as would happen if you have invested your money in e.g. a mutual or a hedge fund. It is your responsibility to choose the person that will manage your money wisely. If you need a platform with more flexibility and control over the copying procedure, cMirror is still available.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
07 Oct 2019, 09:28
Hi drayzen,
We have plans to add cTrader Copy in desktop and mobile in the future. However, it is not clear for which reasons you think it is limited. Could you please explain?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Oct 2019, 08:14
Hi stereynolds92,
Thanks for posting in our forum. Please use the Suggestions section to post your suggestions.
Best Regards,
Panagiotis
@PanagiotisCharalampous