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

PanagiotisCharalampous
01 Sep 2022, 09:04

Hi mattynicho13,

Can you share one of these indicators to see if this helps?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
01 Sep 2022, 08:48

Hi there,

You can ask one of our consultants to program it for you.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
31 Aug 2022, 14:05

Hi there,

Can you record a video showing this happening?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
31 Aug 2022, 11:49

Hi there,

You need to explain to us in detail what is not working with examples. Please provide examples of what is happening and what did you expect to happen instead.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
31 Aug 2022, 08:48

Hi there,

For Marker Orders you need to set the relativeStopLoss. stopPrice is not supported for Market orders.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
31 Aug 2022, 08:43

Hi Filip,

Can you please send us some troubleshooting information. Please provide a link to this discussion as well.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
31 Aug 2022, 08:39

Hi tradersanga,

Label became nullable, hence you need to check if it is null first before using it

 if (obj.Position.Label != null && obj.Position.Label.Equals(_longlabel))

Hope this helps

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
31 Aug 2022, 08:19

Hi there,

You need to provide more information regarding what is not working. But an obvious issue is that you do not use brackets for your if statement. So the Stop() method is always executed.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
30 Aug 2022, 10:39

Hi there,

Can you provide more specific information e.g, a video deonstrating what you are looking at?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
30 Aug 2022, 09:05

Hi there,

You can use the Stop() method.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
30 Aug 2022, 08:26

Hi there, 

There is no such feature at the moment.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
30 Aug 2022, 08:23

Hi there,

This is by design.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
30 Aug 2022, 08:18

Hi there,

Can you please let us know if you still experienc this issue?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
29 Aug 2022, 10:09

Hi belasto,

First you need to declare some Output IndicatorDataSeries

        [Output("Threshold", LineColor = "Green")]
        public IndicatorDataSeries High { get; set; }

        [Output("Threshold", LineColor = "Red")]
        public IndicatorDataSeries Low { get; set; }

Then you need to pass the values to the data series


                if(HighPrice < Bars[index].High){
                    HighPrice = Bars[index].High;
                    High[index] = HighPrice;
                }

                if(LowPrice > Bars[index].Low){
                    LowPrice = Bars[index].Low;
                    Low[index] = LowPrice;
                }

At last, you can access these data series from your cBot

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
29 Aug 2022, 09:53

Hi soulini,

Can you provide the links to the indicators?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
29 Aug 2022, 09:50

Hi there,

Check with your broker if they offer fractional lot sizes for indices.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
29 Aug 2022, 09:44

Hi Jay,

I tried this both on 4.2.22 and 4.3.9 and works fine for me. The cBot terminates without problems.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
26 Aug 2022, 16:10

Hi Jay,

It is possible to provide something that runs, so that I can run it and see the error immediatelly? 

The code you provided has errors and I cannot be guessing.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
26 Aug 2022, 14:27

Hi Jay,

Can you share the cBot code so that we can have a look?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
26 Aug 2022, 12:12

Hi soulini,

Which indicators are you using?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous