
Topics
Replies
PanagiotisCharalampous
27 Jul 2020, 11:41
Hi pankuolung0804,
If you use the code in OnBar then this is what you should expect. When the bar opens then the close price is the same with the open price.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 11:37
Hi koktos632,
Based on your description the feature works as designed. If you want to avoid reordering in this case then you should use Free Chart mode.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 11:23
Hi Luca,
Try this
if(args.Position.Label == "MyLabel1")
{
// Do something...
}
You need to use a more precise language.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 11:14
Hi pankuolung0804,
If you mean the current bar then use Last(0).
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 10:32
Hi pankuolung0804,
Try the below
Print("closeprice: " + Bars.ClosePrices.Last(1));
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 09:36
Hi alexnikon,
MarketSeries has been replaced by Bars.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 08:40
Hi ctraderftmo+115,
Can you please provide more information about the issue i.e. steps to reproduce?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 08:35
Hi karopega,
No this is not possible. Workspaces can be used only by the same application.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 08:33
Hi karopega,
This version is available in the latest version of cTrader.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 08:30
Hi aerich48,
1. We do not have plans to add this information in FIX API. If you need more information about the positions, you can use Open API instead.
2. You need to provide more information regarding this issue e.g. your log with the sequence of messages that demonstrate what you are describing, so that we can investigate further.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 08:22
Hi mipasame86,
Who is your broker? Do you use your broker's applications? Did you contact your broker?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 08:21
Hi Luca,
What do you mean when you say?
the bot does not recognize the position1 and position2 variables.
You need to use a more precise language.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2020, 15:46
Hi ac15x,
It does not seem you read the documentation. Your code doesn't make much sense. For example there is no such method. I don't know where you got this from
var indicator = Indicators.HighestHigh_LowestLow();
You can initialize the custom indicator as follows
_hl = Indicators.GetIndicator<HighestHigh_LowestLow>(PeriodsHigh, PeriodsLow);
Also I do not understand what the indicator class is doing inside the cBot code. It should be in a separate indicator instance.
At last, you are initializing the indicator within the indicator
private HighestHigh_LowestLow _hl;
protected override void Initialize()
{
_hl = Indicators.GetIndicator(PeriodsHigh, PeriodsLow, Top, Bottom);
}
I do not understand why do you do it. This will probably lead to a stack overflow.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2020, 14:55
Hi blessingoyelami,
Who is your broker? Do they offer AutoChartist?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2020, 09:35
Hi K100,
I have reported this behavior to the product team and they are having a look at it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2020, 08:19
Hi koktos632,
First an order is filled and then a position is opened.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2020, 08:18
Hi koktos632,
You can use DrawText() method.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2020, 08:15
Hi DelTrader,
No forecasts at the moment.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
24 Jul 2020, 08:13
Hi tomashfield0,
There is no option at the moment, all fees are deposited in the trading account providing the strategy.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
27 Jul 2020, 11:50
Hi lennoxconnerlc303,
I cannot reproduce such a behavior on Pepperstone cTrader. Can you send us a video demonstrating this behavior?
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous