Topics
Replies
PanagiotisCharalampous
09 Mar 2020, 09:22
Hi acrigney,
To delete an account, you need to contact your broker.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Mar 2020, 09:16
Hi Jani,
You do the substitution but you do not change the line below to
dataseries = MarketData.GetSeries(Symbol, AnotherTimeFrame);
to
dataseries = MarketData.GetBars(AnotherTimeFrame, Symbol.Name);
Here is the updated code
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
namespace cAlgo.Indicators
{
[Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class HighestHighLowestLow2 : Indicator
{
[Parameter(" Period", DefaultValue = 10, MinValue = 1)]
public int Period { get; set; }
[Parameter(" Timeframe")]
public TimeFrame AnotherTimeFrame { get; set; }
[Output("Close Up", LineColor = "Red")]
public IndicatorDataSeries CloseUp { get; set; }
[Output("High", LineColor = "Pink")]
public IndicatorDataSeries High { get; set; }
[Output("Close Down", LineColor = "Blue")]
public IndicatorDataSeries CloseDown { get; set; }
[Output("Low", LineColor = "Aqua")]
public IndicatorDataSeries Low { get; set; }
public Bars dataseries;
// public Bars dataseries;
protected override void Initialize()
{
dataseries = MarketData.GetBars(AnotherTimeFrame, Symbol.Name);
// dataseries = MarketData.GetBars(Symbol, AnotherTimeFrame);
}
public override void Calculate(int index)
{
// Top[index] = MarketSeries.High.Maximum(PeriodsHigh);
//Bottom[index] = MarketSeries.Low.Minimum(PeriodsLow);
High[index] = dataseries.HighPrices.Maximum(Period);
//High[index] = dataseries.Bars.HighPrices.Maximum(Period);
CloseUp[index] = dataseries.ClosePrices.Maximum(Period);
CloseDown[index] = dataseries.ClosePrices.Minimum(Period);
Low[index] = dataseries.LowPrices.Minimum(Period);
}
}
}
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Mar 2020, 09:10
Hi Vipin,
The error indicates that you are doing something wrong in your code. Please share the cBot code so that we can have a look.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Mar 2020, 09:03
Hi g4ryjones,
Check here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Mar 2020, 09:01
Hi ulises.guerrero,
From your description it seems that the stop limit order is sent but it cannot be executed due to the strict market range you set. Regarding the second post, you cannot do this with a stop limit order. You need to program a cBot that will place a limit order when the condition is met.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Mar 2020, 08:55
Hi there,
Can you please explain what do you mean with "fixed charts position"?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Mar 2020, 08:49
Hi Peter,
cTrader Copy works on an equity to equity model. The size of the positions is relevant to your account size. You can read more information here. If you still have questions, please provide us more information like your account size, the strategy provider's account size and the relevant positions. Please post screenshots wherever applicable.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Mar 2020, 08:45
Hi Peeranut.c21,
You can always set a stop loss at the point where the stop out level is reached and exit the trade.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Mar 2020, 09:55
Hi Steve,
Make sure you have installed Telegram first. You can also find brokers here.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Mar 2020, 09:45
Hi Steve,
Thanks for your encouraging feedback. The selection of symbols is a matter of the broker and not the platform. cTrader supports stocks CFDs and there are brokers that offer them. Join us on Telegram and the community can recommend you some.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Mar 2020, 08:40
Hi cryptlabs,
You can always disable Single-Tab mode from Settings > Quick Trade.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Mar 2020, 08:35
Hi noeyamn,
I cannot reproduce any errors when installing from NuGet. Why do you add references manually? The Package Manager should take care of this automatically.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Mar 2020, 08:30
Hi tientvcdt52,
For executions issues, please talk to your broker.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Mar 2020, 08:29
Hi Milos,
We do not support editing tick data downloaded from the server neither we recommend you to do this. If you decide to modify those files, it is at your own risk.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Mar 2020, 08:26
Hi RicoRico,
Which application do you try to install on iPad? cTrader mobile? And what is the problem you have? Do you get any errors? You need to provide us with more information. Also, Pepperstone does not offer cTrader Copy.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Mar 2020, 09:43
Hi acrigney,
You can use ProtoOAGetTickDataReq to get data for specific period of time. If there are tick data in the specified time span they will be returned. If there are not, the repsonce will be empty.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Mar 2020, 08:49
Hi Hans,
Unfortunately it is not possible to read the color value of a parameter.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Mar 2020, 08:44
Hi Hans,
You need to use DrawStaticText instead.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Mar 2020, 08:40
Hi Hans,
No there is no such option. Another approach would be to use multiple IndicatorDataSeries with different color on each and add values only to the series with the relevant color each time.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
09 Mar 2020, 09:24
Hi KeatonLukas,
Thanks for reaching out. Unfortunately there is no such option at the moment.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous