Replies

PanagiotisCharalampous
28 Feb 2019, 13:53

Hi wisegprs,

Based on your description it seems possible.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 12:51

Hi Glen,

This is not how it should work. The object list displays only objects of belonging to the specific chart. I tried this on a couple of cTrader versions and works fine. Can you provide us exact steps to reproduce this behavior and maybe some screenshots/videos to see the problem?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 12:37

Hi Max T,

It is meant to detect both. If the order has not been accepted for any reason, the order will not be successfull.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 12:28

Hi Eliezer,

1. If you want to check the trend of the 14 period during the last 3 periods, you can just compare the last value with the value 3 periods before. See below an example

if(sma.Result.LastValue > sma.Result.Last(3)
{
    //Do something for bullish sma
}

2. Regarding the warnings, just replace the Color property with LineColor e.g. Color = Colors.Red should become LineColor = "Red"

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 11:49

Hi Max T,

There is a risk that your code might end up in an infinite loop. It is better to examine the reason of the unsuccessful order before sending a new one. If for example you are sending a wrong volume or TP/SL levels then you will end up in a loop.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 11:42

Hi ycomp,

You will need to generate new classes from the new proto files and adjust your code accordingly. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 11:34

Hi ycomp,

1) I do not see any problems either. v1 and v2 will work in parallel for now. 

2) The java sample for v2 is here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 09:54

Hi moezm4h,

Trailing stop loss means that the 10 pips stop loss you have set at the beginning will start trailing immediately. It is not related with the Take Profit. The Take Profit is still executed at 30 pips.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 09:50

Hi Ben,

Thank you for posting in our forum. They both sound as permission issues. Can you make sure that cTrader has read/wrire access to the specific folders?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 09:46

Hi DelTrader,

At the moment this information is not available. We will add it in a future update.

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 09:43

Hi ramahka_22,

Please send more information about your signin issue at feedback@spotware.com and they will help you sign in to the platform.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 09:40

Hi Max T,

Your solution is correct. It was my oversight that I did not notice this overload.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 09:39

Hi wisegprs,

The RSI is calculated based on a single value i.e. the close value. This is why it cannot be represented as a candlestick but only as a line. The last value of the RSI is changing because the close price of the last candle is changing on every tick. As soon as the candle is finalized the RSI value will be finalized as well.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 09:28

Hi Ton,

I just noticed that you set the expiry time 100 ms after the current time. That could be the source of the problem, since until is placed it might have already expired. 

Regarding "if it can't get filled it's cancelled isn't it" the answer is no, it will be filled partially and the rest cancelled. FOK means either filling it completely or killing it.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
28 Feb 2019, 09:22

Hi lec0456,

To resolve the issue you can just check if the IndicatorArea is null before calling the DrawText() function

            if (IndicatorArea != null)
                IndicatorArea.DrawText("Test", "Test", Server.Time, 1, Color.Green)

Best Regards,

Panagioits


@PanagiotisCharalampous

PanagiotisCharalampous
27 Feb 2019, 15:24

Hi leohermoso,

You should have received an email from me.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Feb 2019, 12:16

Hi Ton,

There is no way to simulate a FOK at the moment. All orders feature partial execution. IOC is available only for market orders so you can try a marker mrder with a market range.

Best Regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
27 Feb 2019, 11:47

Hi Ton,

Try rounding the target price to the Symbol digits.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Feb 2019, 11:18

Hi Vitore,

At the moment this is not possible. We might add this option in a future release.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
27 Feb 2019, 10:55

Hi Patrick, 

As you have been informed by email, we have reproduced the issue and will be fixed in an upcoming update. In the meanwhile you can avoid using dashed lines on fiboniacci retracement tool which seems to cause the issue.

Best Regards,

Panagiotis


@PanagiotisCharalampous