
Topics
Replies
PanagiotisCharalampous
29 Oct 2019, 14:34
Hi Matt,
The deal map is actually available when you highlight deals in the History tab. Enabling deal map on the chart has not been added yet but will be enabled in an upcoming version of cTrader.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 12:54
Hi cardie.03,
I cannot reporduce such an issue on Pepperstone. Can you please provide me with some screenshots demonstrating this?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 12:38
Hi cardie.03,
Historical data availability depends on the broker. Which broker do you use?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 10:44
Hi darcome,
In this case you will need to add funds manually.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 09:15
Hi Matt,
Deal map is available on renko charts as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 09:14
Hi Jani,
Yes you always need to pass all the parameters to a custom indicator.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 09:12
Hi Jani,
Thanks for your feedback but it is not clear to me which information you thing is missing. Regarding
Also I cannot find any info on how I reference past custom indicator values
It is exacly the same as for built in indicators and an example is provided in the link you posted. Pasting it again below
[Indicator(IsOverlay = true, TimeZone = TimeZones.UTC)] public class SampleReferenceSMA : Indicator { [Parameter("Source")] public DataSeries Source { get; set; } [Parameter(DefaultValue = 14)] public int SmaPeriod { get; set; } [Output("Referenced SMA Output")] public IndicatorDataSeries refSMA { get; set; } private SampleSMA sma; protected override void Initialize() { sma = Indicators.GetIndicator<SampleSMA>(Source, SmaPeriod); } public override void Calculate(int index) { refSMA[index] = sma.Result[index]; } }
If you need older values you can use the Last() function.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 08:51
Hi buccinator,
Your values do not match because you are printing the close value of the current bar which will probably change when the bar closes. See below how you should have implemented this test
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 NewcBot : Robot { [Parameter(DefaultValue = 0.0)] public double Parameter { get; set; } protected override void OnStart() { // Put your initialization logic here } protected override void OnBar() { int index = MarketSeries.Close.Count - 2; int Bot_IndexLast = index - 1; // Put your core logic here Print("-----------------"); Print("MarketSeries.Close[{0}] = {1}", Bot_IndexLast, MarketSeries.Close[Bot_IndexLast]); Print("MarketSeries.Close[{0}] = {1}", index, MarketSeries.Close[index]); } protected override void OnStop() { // Put your deinitialization logic here } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 08:33
Hi radoslawkupisek,
You can consider saving your data in a csv file and read them again on cBot start up. There are a lot of useful resources on the internet on how to do that like this one.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 08:28
Hi Siyabonga,
Thanks for posting in our forum. Please use the Suggestions section to post your suggestions.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 08:26
Hi radoslawkupisek,
One way to check if the position is open or closed is to check if it is included in the Positions collection. If yes, it is still open else it is closed.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Oct 2019, 08:14
Hi lisabeaney,
They will be included in your cBot. However other users will not be able to modify and build the cBot.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2019, 16:25
Hi bienve.pf,
I would suggest to anybody using cTrader Copy to familiarize themselves with the Terms and Conditions first. What you are desccribing is coverend in section 11.1.I.E.1. Quoting below
E. The exception to the above rules is the situation where according to the equity to equity ratio, your position size would be below the minimum allowed trade size or above the maximum allowed trade size, those exceptions are;
- If your position size is calculated to be below the minimum size allowed by your broker, it will be opened, but rounded up to the nearest minimum volume step allowed.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2019, 15:29
Hi RayAdam,
IndicatorDataSeries can only be used as an output of an indicator. Try creating an indicator instead.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2019, 10:50
Hi sifneosfx,
We are aware of this issue and we will fix it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2019, 10:47
Hi Luvolwethu,
Thanks for posting in our forum. You can find some here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2019, 10:39
Hi Peter,
No this is not possible. This is the fundamental copying logic of cTrader Copy.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2019, 09:23
Hi Vivek,
Can you please send us your settings file to community@spotware.com? You can find it in C:\Users\User\AppData\Roaming\FxPro-cTrader\Settings. An immediate fix would be to delete your settngs file but you will lose all the local settings for this broker.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Oct 2019, 08:36
Hi FireMyst,
Yoo should set the position to null after the position is closed.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 Oct 2019, 09:29
Hi FireMyst,
We managed to reproduce the behavior and we are working on it.
Best Regards,
Panagiotis
@PanagiotisCharalampous