Replies

PanagiotisCharalampous
06 Jul 2022, 15:36

Hi Florent,

No its not. Delete doesn't work either? Did you try reinstalling cTrader?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2022, 14:44

Hi MongolTrader,

Here you go

using cAlgo.API;
using cAlgo.API.Indicators;

namespace cAlgo.Robots
{
    [Robot(AccessRights = AccessRights.None)]
    public class ADXOtherTimeFrame : Robot
    {
        private BollingerBands _bb;
        private Bars _otherTimeFrameBars;

        [Parameter("Other Time Frame")]
        public TimeFrame OtherTimeFrame { get; set; }

        [Parameter("Periods")]
        public int Periods { get; set; }

        [Parameter("Deviation")]
        public int Deviation { get; set; }

        protected override void OnStart()
        {
            _otherTimeFrameBars = MarketData.GetBars(OtherTimeFrame);

            _bb = Indicators.BollingerBands(_otherTimeFrameBars.ClosePrices, Periods, Deviation, MovingAverageType.Simple);
        }
    }
}

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2022, 14:26

Hi Florent,

I just tried and I have no problem erasing it. Just put the cursor after the last character and press backspace.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2022, 14:23

Hi MongolTrader,

You need to make your question more specific. What exactly do you need to find out? How to initialize the indicator using data from another timeframe?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2022, 14:20

Hi waym77,

Here is an example

 Chart.DrawRectangle("Rectangle", Server.Time.AddHours(1), Symbol.Bid, Server.Time.AddHours(10), Symbol.Bid + (Symbol.PipSize *10),Color.Red);

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2022, 14:15

RE: Live account don't link with bidaskbit

Hi jthtrading0,

You need to contact your broker regarding this matter.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2022, 14:14

Hi ncel01,

Just tried on live execution this and looks fine

On backtesting there is an issue indeed because margin is calculated based on the current rate and not the historical one, hence the discrepancy. It will be fixed in a future version of the application.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2022, 14:06 ( Updated at: 21 Dec 2023, 09:22 )

Hi noolohp,

This extension works only for these versions of VS Studio

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 18:14

Hi waym77,

You can't use Bars.OpenTimes because it does not contain the time you want. You need to set the actual time you need.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 17:51

Hi there,

You need to read the specification. Field 55 is for the symbol. There is no timeframe field, since you are subscribing to spot prices and DoM, not to historical candles.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:38

Hi there,

1. MDReqID is set by you, you don't find it somewhere.

2. You need to send heartbeats every 10 seconds else you might get disconnected

Check our samples on GitHub, they will help you

https://github.com/spotware?q=fix&type=all&language=&sort=

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:24

Hi ergun+de,

4.2 has already been released. It should reach all brokers soon.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:21

Hi waym77,

There is nothing special about this. You just need to use the starting and ending time you need.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:18

Hi Ja wid,

It's not possible to know what your problem is with such a little information. If you need somebody to help you, you need to explain exactly what the problem is and share the indicators code so that somebody can reproduce it.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:15

Hi tradeaccnt001,

You can check Server.Time to check the current time and MarketHours.Sessions for the sessions.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:08

Hi rjalopes,

It seems that the exception is coming from your indicators. Please check your indicators.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:06

Hi vt-aero,

There is no such option at the moment.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

 


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:05

Hi ncel01,

Can you provide us  with a cBot that will allow us to reproduce what you are looking at?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:01

Hi there,

Is it possible to explain the problem in English and provide some more information e.g. screenshots?

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

PanagiotisCharalampous
05 Jul 2022, 12:00

Hi osospeed,

Here are some detailed instructions on how to do this.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous