
Topics
Replies
PanagiotisCharalampous
06 Jun 2019, 09:25
Hi hsbcstor,
I just tried with the demo application and everyting seems to work fine. Can you still reproduce the issue?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Jun 2019, 09:22
Hi kevin2,
Thank you for posting in our forum. If you need help with your indicator you can consider posting a Job or contacting a Consultant.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 14:42
Hi M B,
Thanks for posting in our forum. When you draw an object on the chart, the is kept when symbols and timeframes change. If you need a clear chart for a new symbol, just open a new chart.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 12:18
Hi FireMyst,
Each provider has his own set of backtesting tick data and that is probably the reason for this behavior. Since the indicator is sensitive to each tick information received then I would expect different results on different brokers.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 10:24
Hi FireMyst,
We have investigated this issue. The reason this happens is that during Visual Backtesting chart and the indicators added to it receive a subset of all the ticks in backtesting. The number of lost ticks depends on backtesting speed and this a necessary compromise to achieve acceptable speed. However this does not come without side effects and this is one of them. For this specific indicator all ticks matter since the value for each bar is calculated for each index using the median price of the trend bar. If you miss one tick in a bar somewhere in the middle, indicator would have a different value than in case you calculate it on every tick. You should not experience this issue in silent backtesting or on during live execution.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 09:41
Hi stevennjuki,
Which cTrader do you use to build the cBot? Did you download Spotware Beta cTrader?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 09:27
Hi stevennjuki,
Can you share the cBot code with us?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 09:25
Hi diegorcirelli,
If you are looking for somebody to implement your strategy, you can contact a Consultant or post a Job.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 09:22
Hi bienve.pf,
This is not available in cTrader Copy since it features a different copying logic. It is based on an equity to equity model. In this case, it is the strategy provided who decides the amount to be risked and followers copy the trades in their accounts proportionately.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 09:13
Hi 1222Ht,
It seems fine to me. Is there anything you need help with?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
05 Jun 2019, 09:06
Hi Trading Sniper,
Thank you for posting in our forum. Renko charts are not available on cTrader Web yet.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Jun 2019, 16:24
Hi diegorcirelli,
In this case you will need to place limit orders with the desired price. See below an example
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("Buy", DefaultValue = true)] public bool TradeTypeBuy { get; set; } [Parameter(DefaultValue = 1)] public int Volume { get; set; } [Parameter(DefaultValue = "myLabel")] public string cBotLabel { get; set; } [Parameter(DefaultValue = 480)] public double TakeProfitPips { get; set; } [Parameter(DefaultValue = 1500)] public double StopLossPips { get; set; } [Parameter("Posição", DefaultValue = 1300)] public double EntryPrice { get; set; } protected TradeType cBotTradeType { get { return TradeTypeBuy ? TradeType.Buy : TradeType.Sell; } } protected override void OnStart() { Positions.Opened += OnPositionsOpened; Positions.Closed += OnPositionsClosed; ExecuteMarketOrder(cBotTradeType, Symbol, Volume, cBotLabel, StopLossPips, TakeProfitPips, EntryPrice); } protected void OnPositionsOpened(PositionOpenedEventArgs args) { var position = args.Position; if (position.Label == cBotLabel) Print("Position opened by cBot"); } private void OnPositionsClosed(PositionClosedEventArgs args) { var position = args.Position; if (position.Label == cBotLabel) { Print("Position closed by cBot"); PlaceLimitOrder(position.TradeType, Symbol, position.VolumeInUnits, position.EntryPrice, cBotLabel, StopLossPips, TakeProfitPips); } } } }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Jun 2019, 09:51
Hi midyadeb,
Thanks for posting in our forum. You will find the following resources helpful
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Jun 2019, 09:49
Hi diegorcirelli,
Thank you for posting in our forum. However it is not clear from your post what is the problem you are trying to solve. Could you please try explaining it in more detail?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Jun 2019, 09:46
Hi lec0456,
Please contact your broker to check this. They can check the status of your accounts via their backend systems.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Jun 2019, 09:45
Hi zedodia,
You can always reach out to our Consultants of post a Job as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Jun 2019, 09:42
Hi HOMERUN,
Thanks for posting in our forum. This method can only be used in indicators. When cBots are running changing symbol and/or timeframe is not allowed.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
04 Jun 2019, 09:27
Hi RayAdam,
You are retrieving the same data in both cases, this is why the lines are drawn at the exact same place. At the moment, you cannot retrieve Range bars using MarketData.GetSeries().
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Jun 2019, 15:27
Hi El Antonio,
No it shouldn't. Leverage is only related to the amount of margin required to open a position. If the volume of the position is the same then the result of backtesting will stay the same.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
06 Jun 2019, 17:41
Hi lec0456,
dotTrace is a nice tool for such investigations.
Best Regards,
Panagiotis
@PanagiotisCharalampous