Topics
Replies
PanagiotisCharalampous
26 Jul 2019, 10:37
Hi 158197794,
Yes this is correct.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2019, 10:23
Hi 158197794,
Thanks for posting in our forum. You can use baseSlippagePrice = 1.11305 and slippageInPoints = 30.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2019, 09:46
Hi FireMyst,
The indicator you are showing has UpTrend and DownTrend values. In your code you use Result
GetLatestIndicatorData(); double b0 = _superTrend.Result.Last(0); double b1 = _superTrend.Result.Last(1); double b2 = _superTrend.Result.Last(2);
Also the multiplier you are showing is 1.5. In the code you have 2.5
_superTrend = Indicators.GetIndicator<Supertrend>(13, 2.5);
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2019, 09:28
Hi gutygs,
The reason is that this package is built using a .Net framework version higher than 4.0. At the moment the supported framework for cTrader Automate is v4.0.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2019, 09:23
( Updated at: 21 Dec 2023, 09:21 )
Hi FireMyst,
This is what I get. Seems fine
Are you sure you are using the same indicator with the same parameters? Because it doesn't to me. The indicator in your image has two colors while the indicator in the post does not have such a feature.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2019, 17:27
Hi gutygs,
Can you please post a link to the NuGet package and the cBot code you are using?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2019, 12:05
Hi FireMyst,
Same explanation applies. The values you get in the log are the correct since all ticks are considered. The values you see on the chart are not as accurate as some ticks are skipped.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2019, 11:06
Hi FireMyst.
We discussed the same issue here
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2019, 09:38
Hi danius,
Thanks for posting in our forum. You can see under which broker which of them support cTrader Copy and which not.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2019, 09:11
Hi Ben,
We already have a horizontal line. I am not sure what is the difference with what you propose.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
25 Jul 2019, 09:08
Hi danblack9988,
There isn't at the moment but it is in our plans to add such functionality.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2019, 16:50
Hi Ahmad,
No at the moment it is not possible. You can only add a CustomControl class which can only contain Chart API elements. See below an example
public class BuySellButtons : CustomControl { public event Action BuyButtonClick; public event Action SellButtonClick; public BuySellButtons() { var buyButton = new Button { Text = "Buy", Width = 80 }; var sellButton = new Button { Text = "Sell", Width = 80, Margin = "5 0 0 0" }; var stackPanel = new StackPanel { Orientation = Orientation.Horizontal }; stackPanel.AddChild(buyButton); stackPanel.AddChild(sellButton); AddChild(stackPanel); buyButton.Click += args => BuyButtonClick.Invoke(); sellButton.Click += args => SellButtonClick.Invoke(); } }
var tradeButtons = new BuySellButtons { VerticalAlignment = VerticalAlignment.Top, HorizontalAlignment = HorizontalAlignment.Left, Margin = 5 }; Chart.AddControl(tradeButtons); tradeButtons.BuyButtonClick += () => Print("Buy button clicked"); tradeButtons.SellButtonClick += () => Print("Sell button clicked");
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2019, 16:43
Hi tmfd,
The plan is for v3.7.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2019, 16:12
Hi Trizocy,
You can also contact a Consuntant directly.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2019, 14:50
Hi danblack9988,
Thanks for posting in our forum. This is by design and there is no way to change it. The rays remain constant related to X and Y angles so that the ray passes from the same X,Y points no matter what the scale is. Therefore the angles will change depending on the scale of the axes.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2019, 09:46
Hi marshalmax9,
You can send the cBot to community@spotware.com with instructions on how to reproduce the problem.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2019, 09:42
Hi trnd054,
Thanks for posting in our forum. You can use the object list on the main window. Your selection is applicable on the detached chart as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
23 Jul 2019, 16:52
( Updated at: 21 Dec 2023, 09:21 )
Hi Eliezer,
It looks fine on mine.
Can you send me a full screenshot of the interface as well?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
26 Jul 2019, 11:08
Hi 158197794,
The order is cancelled because you ser as baseSlippagePrice = 135.014 and slippageInPoints = 40 which makes the limit 135.054 while the market price is 135.092 therefore the order is cancelled.
Best Regards,
Panagiotis
@PanagiotisCharalampous