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

PanagiotisCharalampous
02 Nov 2023, 07:07

RE: RE: Repeated Disconnections

eynt said: 

Thank you for your reply

 

I am still invastigating this issue. I have 2 questions:

  1. Is there away to control the OnServerDisconnected timeout or any other variables which are related to a connection/disconnection issue? Either by code, GUI or CLI
  2. Is seems that some disconnections (but not all) happenes at the same time on several computers. Those disconnections happened only on Pepperstone and not IC Markets.  This suggests its a broker related issue and not a local one. Is there a known disconnection issue with Pepperstone?

Hi eynt

  1. I am not sure what do you mean, can you elaborate?
  2. There is no known disconnection issue at the moment. If it happens again, please post the exact time and proxy you are using and I will investigate further.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Nov 2023, 07:04

Hi there,

There are several reasons this can happen. Here is a list of them

  1. The entry and exit prices of your positions differ to those of the Strategy Provider.
  2. The size of your positions differ to those of the Strategy Provider.
  3. The commissions you pay to your broker differ to those of the Strategy Provider.
  4. Your broker does not offer the same symbols which are being traded in the strategy.
  5. You did not have enough margin to follow some of the orders placed in the strategy.
  6. You may have a different Stop-Out Level causing your account to be stopped out, while the Strategy Provider continues to trade.

To determine which one applies to your case, you need to compare your trades one to one and see what are the differences.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Nov 2023, 07:01

Hi there,

Please address this question to your broker.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Nov 2023, 06:59

Hi there,

After further investigation, this is a known bug and it will be fixed in an upcoming update

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
02 Nov 2023, 06:53

RE: RE: HOW TO DISPLAY A VALUE ON CHART

sarvann24 said: 

PanagiotisCharalampous said: 

Here is an example

        protected override void OnTick()        {            var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);                        Chart.DrawText("Diff", DIFF.ToString(),  Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red);                               if (rsi.Result.LastValue < 30)                {                    Close(TradeType.Sell);                    Open(TradeType.Buy);                }                else if (rsi.Result.LastValue > 70)                {                    Close(TradeType.Buy);                    Open(TradeType.Sell);                }            }

HI Panagiotis,

can the displayed text  be moved to top left?

Here you go

        protected override void OnTick()
        {
            var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);
            
            Chart.DrawStaticText("Diff", DIFF.ToString(),  VerticalAlignment.Top, HorizontalAlignment.Left, Color.Red);
               
                if (rsi.Result.LastValue < 30)
                {
                    Close(TradeType.Sell);
                    Open(TradeType.Buy);
                }
                else if (rsi.Result.LastValue > 70)
                {
                    Close(TradeType.Buy);
                    Open(TradeType.Sell);
                }
            }

@PanagiotisCharalampous

PanagiotisCharalampous
01 Nov 2023, 10:37

Hi there,

You won't get the same results if the fitness function is different


@PanagiotisCharalampous

PanagiotisCharalampous
01 Nov 2023, 10:35

Here is an example

        protected override void OnTick()
        {
            var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);
            
            Chart.DrawText("Diff", DIFF.ToString(),  Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red);
               
                if (rsi.Result.LastValue < 30)
                {
                    Close(TradeType.Sell);
                    Open(TradeType.Buy);
                }
                else if (rsi.Result.LastValue > 70)
                {
                    Close(TradeType.Buy);
                    Open(TradeType.Sell);
                }
            }

@PanagiotisCharalampous

PanagiotisCharalampous
01 Nov 2023, 10:35

Here is an example

        protected override void OnTick()
        {
            var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);
            
            Chart.DrawText("Diff", DIFF.ToString(),  Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red);
               
                if (rsi.Result.LastValue < 30)
                {
                    Close(TradeType.Sell);
                    Open(TradeType.Buy);
                }
                else if (rsi.Result.LastValue > 70)
                {
                    Close(TradeType.Buy);
                    Open(TradeType.Sell);
                }
            }

@PanagiotisCharalampous

PanagiotisCharalampous
01 Nov 2023, 10:35

Here is an example

        protected override void OnTick()
        {
            var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);
            
            Chart.DrawText("Diff", DIFF.ToString(),  Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red);
               
                if (rsi.Result.LastValue < 30)
                {
                    Close(TradeType.Sell);
                    Open(TradeType.Buy);
                }
                else if (rsi.Result.LastValue > 70)
                {
                    Close(TradeType.Buy);
                    Open(TradeType.Sell);
                }
            }

@PanagiotisCharalampous

PanagiotisCharalampous
05 Apr 2023, 10:09

Hi MongolTrader,

Instead of passing a Robot object to the Init() method, try passing a TestMulti object.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisCharalampous

PanagiotisCharalampous
05 Apr 2023, 10:07

Hi Goulk

Try the following

var trade = PositionLabelID.OrderBy(x => x.EntryTime).First()

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisCharalampous

PanagiotisCharalampous
02 Jan 2023, 09:39

Hi there,

You could consider using market range orders instead of limit orders. Limit orders are on the server so your check will only execute after the orders have opened positions. If you need full control, you need to run everything on your side.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisCharalampous

PanagiotisCharalampous
02 Jan 2023, 09:35

Hi there,

In MT4 and JForex it's possible to create a new chart via the API and populate it with your own bars, indicators and trade visualisations.

You can't.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisCharalampous

PanagiotisCharalampous
02 Jan 2023, 09:31

Hi,

Is there a way to mitigate this limitation?

I am not aware of any. Regarding the crash, better send troubleshooting to the team the next time this happens.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


@PanagiotisCharalampous

PanagiotisCharalampous
05 Oct 2022, 16:45

Hi there, 

That was always like this by design. You cannot save a default color.

Aieden Technologies

Need Help? Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
05 Oct 2022, 16:43

RE: RE:

Mate,

If you haven't noticed there has been a major update of cTrader during the last months and the debugging procedure has changed. I am using cTrader for six years now and I had to get accustomed to the new process.

Aieden Technologies

Need Help? Join us on Telegram

acrigney said:

Mate as I said before I have been using Ctrade for 3 years now and had no problems with debugging till now. I am using the latest version which is 4.3.13.9323, can you post a youtube with this version?

Best Regards,

                          Alistair

 

PanagiotisChar said:

Hi Shares4Us,

Make sure your cBots/Indicators have AccessRights set to FullAccess.

Aieden Technologies

Need Help? Join us on Telegram

 

 

 


@PanagiotisCharalampous

PanagiotisCharalampous
01 Oct 2022, 10:16

Hi there,

Market hours are set by the brokers, therefore you need to contact FTMO regarding this matter.

Aieden Technologies

Need Help? Join us on Telegram

 


@PanagiotisCharalampous