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

PanagiotisCharalampous
20 Aug 2024, 04:56

Hi Waxy,

Can you please also share symbol and timeframe?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Aug 2024, 04:52

Hi there,

Can you please also share the cBot's log?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Aug 2024, 04:51

Hi there,

I don't think anybody will write the strategy for you for free. If you need professional assistance, feel free to contact a consultant

https://ctrader.com/consultants/

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Aug 2024, 04:46

Hi there,

This happens because you are using the current open bar value in your conditions. The value of the current open bar can change by the time the bar closes, leading to several false signals. Try checking closed bars only e.g.

  if ((_fastTimeSeriesMovingAverage.Result.Last(2) < _slowTimeSeriesMovingAverage.Result.Last(2) && _fastTimeSeriesMovingAverage.Result.Last(1) > _slowTimeSeriesMovingAverage.Result.Last(1))

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Aug 2024, 04:43

Hi there,

Can you please share more information? Why do you think you have sufficient funds? What is the volume you are trying to trade, what is your leverage and what is your balance?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Aug 2024, 04:39

Hi there,

Unfortunately the source code for these methods is not available.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Aug 2024, 04:38

Hi there,

It would be better to contact the tool's developer regarding such questions.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Aug 2024, 04:36

RE: RE: How to find a specific pending market order?

rick2010 said: 

PanagiotisCharalampous said: 

Hi there, 

Pending orders are only limit, stop and stop limit orders. A market order is not a pending order.

Best regards,

Panagiotis

MetaTrader has a way to find orders before they actually become an open position. I need to do the same with cTrader. If I put on several async market orders all at once I need to be able to check if they've been filled otherwise I get duplicates. I don't want to use callbacks. I need to be able to look them up by their custom label. Something like my example:

            foreach(Order order in SomeListOfUnfilledOrders) {           

               if(order.Label == “order123”)
                   return true;        
 

Then you need to store this information on your side e.g. add market orders in a collection and remove them only after you have received an execution response from the server.


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 12:09

RE: RE: Training Stop loss

siddasaiganesh said: 

PanagiotisCharalampous said: 

Hi there, 

You cannot set a trailing stop loss using FIX API. If you need to set a trailing stop loss, you should use Open API instead.

Best regards,

Panagiotis

Hi Can I get any samples of code having trailing stop loss using this Open API.

You can find Python samples of Open API in the link below

https://github.com/spotware/OpenApiPy

Trailing stop loss is set in ProtoOANewOrderReq.trailingStopLoss property


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 06:34

Hi there,

You can change your candle colors by right clicking on the chart and selecting color options.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:57

Hi there,

How can we help you?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:56

Hi there,

Are you using any proxy to connect? Can you send us a screenshot of the Connection Settings?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:54

Hi there,

Price feeds are a responsibility of the broker. Please talk to your broker regarding this matter.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:53

Hi there, 

Pending orders are only limit, stop and stop limit orders. A market order is not a pending order.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:51

Hi there,

What is a “swiset”? Can you share some screenshots so that we can understand what you are looking at?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:45

Hi there,

You can go to History, open your Deal information and navigate to the Order details

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:36

Hi there,

Trading conditions are configured by your broker. Check with your broker.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:33

Hi there,

The easiest way would be to develop a cBot executing your strategy natively inside cTrader. You can check the documentation below

https://help.ctrader.com/ctrader-algo/how-tos-index/#defining-cbots

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:20

Hi there,

Can you record a video demonstrating the steps you are taking to reproduce this behavior?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Aug 2024, 05:14

Hi Raul,

The team confirmed this is a bug and it will be solved in an upcoming update.

Best regards,

Panagiotis


@PanagiotisCharalampous