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

PanagiotisCharalampous
26 Nov 2024, 07:10

Hi there,

The issue is under investigation.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:48

RE: cbot process unexpectedly terminated

ctid402288 said: 

After a reboot on my machine, upon restarting my cbot l am now experiencing this issue.

21/08/2024 00:33:20.000 | Error | CBot instance [USDCHF, m30] process was unexpectedly terminated.

I have checked all timeout settings of downstream applications and have found they are generously set. Including  HTTP Timeout setting for RestSharp etcThey are all set for long running connections. I cannot understand why CTrader is dropping connection immediately after the connection is established. Please can you help. 

Hi there,

Could you please send us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.

Best regards,

Panagiotis


 


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:41

RE: RE: How to calculate lot sizing from one market to another?

rick2010 said: 

PanagiotisCharalampous said: 

Hi there,

I did not understand what calculation you are trying to do. Can you elaborate a bit more, providing us with some examples?

Best regards,

Panagiotis

How can I find out the min lot size, max lot size, and lot step for a given symbol? 

Hi there,

You can use Symbol.VolumeInUnitsMin, Symbol.VolumeInUnitsMax and Symbol.VolumeInUnitsStep

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:38

Hi there,

The screenshots you attached are not visible. Can you please send them again?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:37

Hi there,

Thank you for reporting this issue. Could you please send us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.

Best regards,

Panagiotis


 


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:36

Hi there,

Can you please provide us more information on how to reproduce this issue?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:32

Hi there,

This is a known issue and will be fixed. Please download the statement from https://ct.spotware.com

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:25

RE: Backtest

nabilvigninou said: 

Un enregistrement de capture vidéo ? vous n'avez pas d'autres moyens pour m'aider ?

 

Before I can help you I first need to understand what the problem is. The screenshot does not show any problem


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:14

Hi there,

Historical prices are provided by brokers. You should contact your broker regarding this.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
26 Nov 2024, 06:12

RE: RE: Backtesting

marcelriede said: 

PanagiotisCharalampous said: 

Hi there, 

The backtesting function should be at the same place as on the cTrader Windows application. Just click on the instance and you should get the tab on the right.

Best regards,

Panagiotis

Danke für die schnelle Antwort.

Leider kann ich die Funktion nicht finden. Sie wird mir nicht angezeigt.

Übersehe ich sie vielleicht? Gibt es einen Screenshot?

Vielen Dank

I don't have a Mac, can you share a screenshot of what you are looking at?


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 07:31

RE: RE: RE: RE: RE: Backtest for a multisymbol strategy crashes after upgrade to ctrader 5.0.x

richardsmits007 said: 

Thank you for fixing this issue in the Windows 5.0.46 version.

The same issue is also occurring on the latest Mac version (5.0.22), with a different error code.

23/07/2024 13:31:00.000 | Trade | Executing Market Order to Buy 32,7 AMGN.US
23/07/2024 13:31:00.000 | Trade | → Executing Market Order to Buy 32,7 AMGN.US SUCCEEDED, Position PID2
24/07/2024 13:31:00.000 | Error | CBot instance [MultiSymbolTest, BA.US, D1] crashed with error #05067645.
 

Could you also have a look at the Mac version and apply the fix there?

Hi there,

The issue will be fixed on cTrader for Mac as well.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 07:12

Hi there,

This is a known issue and it will be fixed soon.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 07:11

Hi there,

You should talk to FxBlue about this.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 07:06

Hi there,

The deal map is not available yet on cTrader for Mac. It will be added in a future release.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 07:05

Hi there,

Make sure you are using the .Net compiler

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 07:01

Hi there,

Here they are

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 06:48

Hi there,

Thank you for reporting this issue. Could you please send us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.

Best regards,

Panagiotis
 


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 06:46

RE: RE: RE: cTrader 5, wrong backtesting result, when not using Visual Mode. m1 Bars.

Algo_robot said: 

Hi,

You asked for the source code.

This is the source code. Default parameter settings were used.

 

// -------------------------------------------------------------------------------------------------
//
//    This code is a cTrader Automate API example.
//
//    This cBot is intended to be used as a sample and does not guarantee any particular outcome or
//    profit of any kind. Use it at your own risk.
//    
//    All changes to this file might be lost on the next application update.
//    If you are going to modify this file please make a copy using the "Duplicate" command.
//
//    The "Sample RSI cBot" will create a buy order when the Relative Strength Index indicator crosses the  level 30, 
//    and a Sell order when the RSI indicator crosses the level 70. The order is closed be either a Stop Loss, defined in 
//    the "Stop Loss" parameter, or by the opposite RSI crossing signal (buy orders close when RSI crosses the 70 level 
//    and sell orders are closed when RSI crosses the 30 level). 
//
//    The cBot can generate only one Buy or Sell order at any given time.
//
// -------------------------------------------------------------------------------------------------

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

namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class SampleRSIcBot : Robot
    {
        [Parameter("Quantity (Lots)", Group = "Volume", DefaultValue = 1, MinValue = 0.01, Step = 0.01)]
        public double Quantity { get; set; }

        [Parameter("Source", Group = "RSI")]
        public DataSeries Source { get; set; }

        [Parameter("Periods", Group = "RSI", DefaultValue = 14)]
        public int Periods { get; set; }

        private RelativeStrengthIndex rsi;

        protected override void OnStart()
        {
            rsi = Indicators.RelativeStrengthIndex(Source, Periods);
        }

        protected override void OnTick()
        {
            if (rsi.Result.LastValue < 30)
            {
                Close(TradeType.Sell);
                Open(TradeType.Buy);
            }
            else if (rsi.Result.LastValue > 70)
            {
                Close(TradeType.Buy);
                Open(TradeType.Sell);
            }
        }

        private void Close(TradeType tradeType)
        {
            foreach (var position in Positions.FindAll("SampleRSI", SymbolName, tradeType))
                ClosePosition(position);
        }

        private void Open(TradeType tradeType)
        {
            var position = Positions.Find("SampleRSI", SymbolName, tradeType);
            var volumeInUnits = Symbol.QuantityToVolumeInUnits(Quantity);

            if (position == null)
                ExecuteMarketOrder(tradeType, SymbolName, volumeInUnits, "SampleRSI");
        }
    }
}

Hi there,

This issue will be solved in 5.0.47

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 06:45

Hi there,

Did you write the code or ChatGPT :) ?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
25 Nov 2024, 06:37

Hi there,

This is not possible at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous