PanagiotisCharalampous's avatar
PanagiotisCharalampous
26 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
29 Jul 2019, 09:34

Hi Aslan,

There is no way at the moment to set default values for built in indicators. A workaround is to create your own indicator, call the Stochastics indincator from it and add your own default values.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jul 2019, 09:26

Hi ryanoia@gmail.com,

I ran the cBot for several days but could not reprodce this behavior. Can you isolate the problem in a cBot that prints the value in the log instead of sending it to Telegram and post it alongside with some screenshots of the log?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jul 2019, 09:24

Hi 66281850,

Probably you are sending more requests that you think. If you still believe you are sending only 3 requests, please send us at connect@spotware.com the following information to investigate further

  • Exact time of receiving REQUEST_FREQUENCY_EXCEEDED
  • Messages sent before receiving REQUEST_FREQUENCY_EXCEEDED
  • Application ID
  • Proxy (live or demo)
  • Broker
  • Account ID

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
29 Jul 2019, 09:20

Hi 66281850,

Use spot price * 10^(-Symbol Digits).

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
26 Jul 2019, 14:32

Hi Rad,

Here is how you should write it

var orders = PendingOrders.Where(x => x.SymbolCode == Symbol.Name);

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Jul 2019, 14:07

Hi Rad,

Use Symbol.Name

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Jul 2019, 13:47

Hi Rad,

No there is no such option at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Jul 2019, 11:18

Hi 158197794,

Sorry I didn't notice the price well. I made a typo in my first answer, should have been baseSlippagePrice = 1.11335. In that case the slippage price should be baseSlippagePrice = 135.079

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

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, 10:03

No worries :)


@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