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

PanagiotisCharalampous
13 May 2024, 05:56

Hi there,

In order to identify to which request the response is related to, you need to use tag 11. Tag 41 is about identifying the order to be amended. 

I see OrigClOrdID and the ClOrdID fields being echoed by CSERVER

I don't see where is OrigClOrdID sent back to you and it should not. I only see ClOrdID. OrigClOrdID should have been sent to you when the order was executed.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 07:34

RE: installation stuck at downloadind v 4.8.30

auaginvest said: 

I have the same problem. Will not go past 52.3 MB no matter how long I wait.

Waited up to 30 minutes. Tried multiple times. Always stuck at 52.3 MB.

How to fix? 

Thank you.

Hi there,

Did you try stopping and restarting the application?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 07:32

RE: RE: Price manipulation - explanation needed - Wriggle Fast Comback strategy

domino said: 

PanagiotisCharalampous said: 

Hi there

cTrader Copy results are not guaranteed and may vary compared to those of the strategy provider due to the following reasons:

  • Differences between your positions' entry and closing prices and those of the strategy provider
  • Differences in the size of your positions compared to those of the strategy provider
  • Variations in the commissions you pay to your broker compared to those of the strategy provider
  • The possibility that your broker does not offer the same trading symbols used in the strategy
  • Insufficient margin in your account to copy some of the orders executed in the strategy
  • Differences in the stop out levels, which might cause your account to be stopped out, while the strategy provider continues to trade

Best regards,

Panagiotis

Thank you for your answer. I know all the reasons you gave, but none of them have anything to do with my case, that at the same moment of opening a position, a different base price is visible to me and the supplier, a difference of 6 points. Please look at the screenshots showing the opening of positions with me and with the supplier. Same hour and completely different price. This is not how it should be …

Hi there,

It's explained in the first point. If you trade on a different price feed than your strategy provider, then you will get different entry and exit prices as well.

Best regards,


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 07:28

Hi there,

The tool is only available on cTrader Web at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 07:26

Hi there,

Unfortunately this information is not available in FIX API. You can consider Open API instead.

Best regards,

Panagioti


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 07:24

Hi there,

Thanks for posting in the forum. Please let us know when we can help you.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 07:18

RE: RE: RE: RE: Massive problems with new update. Objects freezing when you try to move by every tick in Live trading

Jaffa said: 

PanagiotisCharalampous said: 

Jaffa said: 

Jaffa said: 

https://c.gmx.net/@329626503937525196/OXeOGb5dS1-zqDWuEu6Ntg

please try again. i´ve uploaded the file in mov and mp4. 

is there a solution to the problem? What can you do to make ctrader usable for trading again?

Hi there,

Unfortunately we still cannot access the video.

Best regards,

Panagiotis

that is quickly explained. When dragging objects, the process always stops at every tick. In addition, the objects do not move with the chart progression, but remain in the center of the image while the chart moves.

Unfortunately it is hard to understand the problem if we don't see it


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 07:05

Hi there,

Can you make your question more specific and explain to us how we can help you?

Best regards,

Panagiotis 


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 07:01

I checked both cases with tick data and the results are identical

Best  regards,


@PanagiotisCharalampous

PanagiotisCharalampous
11 May 2024, 06:46

RE: RE: RE: RE: OnPositionClosed event firing multiple times

mattbarfoot said: 

PanagiotisCharalampous said: 

mattbarfoot said: 

PanagiotisCharalampous said: 

Hi there,

Can you please share with us the source code of your cBot and provide us with instructions on how to reproduce this problem?

Best regards,

Panagiotis

Hey Panagiotis, I am attempting to log each position that closes in either the OnPositionClosed event or a CloseTrade sub. Multiple cbots with multiple instances will be running. Positions are logged in a csv file. Typically multiple entries are created in the csv which have different instanceIDs but have the same Label, which is set to the InstanceId when opening.

scenario 1 (CloseTrade)

Position Opened: ExecuteMarketOrder(TradeType.Buy, SymbolName, adjustedContracts, InstanceId, null, null); 

Position Closes on x number of bars being reached, which then calls CloseTrade

        private void CloseTrade(Position position)
       {                     
           LogTrade(position);                               
           ClosePosition(position);            
       }

 

scenario 2 (OnPositionClosed event)

Position Opened: 

                ExecuteMarketOrder(TradeType.Sell, SymbolName, adjustedContracts, InstanceId, StopLossPips, TargetPips);
               result.Position.ModifyTrailingStop(true);

 

 private void OnPositionClosed(PositionClosedEventArgs args)
       {
          LogTrade(args.Position);                                              

       }

 

    private void LogTrade(Position _position)
       {
     
           string log = $"{strategyName},{DateTime.Now},{Chart.TimeFrame},{0},{_position.TradeType},{_position.EntryTime}, {DateTime.UtcNow},{_position.Symbol},{_position.Pips},                      {_position.NetProfit},{_position.GrossProfit},{_position.Id},{_position.Label}";
           string Path;
                
           File.AppendAllText(Path,log + Environment.NewLine);

        }

 

Hi there,

If multiple instances are running then the event will be triggered multiple times, once per instance. You should check inside the event handler if the closed position has been created by the specific instance and only then log it.

Best regards,

Panagiotis

Hey Panagiotis, So to confirm, a new instance is created every time a new position opens. So would the code below reference the correct instance:

  ExecuteMarketOrder(TradeType.Sell, SymbolName, adjustedContracts, InstanceId, StopLossPips, TargetPips);
               result.Position.ModifyTrailingStop(true);

 

and close event looks like:

 private void OnPositionClosed(PositionClosedEventArgs args)
       {
          if(instanceID == args.Position.Label)

           LogTrade(args.Position);                                              

       }

 

It looks correct but you should test it


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 06:18

Hi there,

If the issue persists please send us some troubleshooting info and quote the link to this discussion.

Best Regards,

Panagiotis


 


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 05:48

Hi there

cTrader Copy results are not guaranteed and may vary compared to those of the strategy provider due to the following reasons:

  • Differences between your positions' entry and closing prices and those of the strategy provider
  • Differences in the size of your positions compared to those of the strategy provider
  • Variations in the commissions you pay to your broker compared to those of the strategy provider
  • The possibility that your broker does not offer the same trading symbols used in the strategy
  • Insufficient margin in your account to copy some of the orders executed in the strategy
  • Differences in the stop out levels, which might cause your account to be stopped out, while the strategy provider continues to trade

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 05:46

RE: RE: RE: RE: RE: RE: RE: Issue in "Modifying" Positions/Pending Orders in Ctrader Desktop

sivajimarketwizard said: 

Spotware said: 

sivajimarketwizard said: 

sivajimarketwizard said: 

PanagiotisCharalampous said: 

sivajimarketwizard said: 

PanagiotisCharalampous said: 

Hi there,

Can you share a screenshot demonstrating what you are looking at?

Best regards,

Panagiotis

When attempting to click on "Modify Position," there's no response or display. The same issue occurs when trying to click on "Modify Order" for Pending Orders. Overall, the "Modify" function isn't functioning.

Hi there, 

Make sure the form does not open on an external display that has been disconnected. Try also restarting cTrader and your pc.

Best regards,

Panagiotis

I tried everything you mentioned. I've been facing the issue for 10 days. So, in between, I switched off my laptop many times. I don't think it's a problem with the PC. Also, I reinstalled cTrader. But still facing the same issue. Just don't know how to solve it. Desperately need help brother.

The issue is still not resolved.Kindly have a look at this. 

Hi there,

Can you please record a video demonstrating this happening? Also in the video, please show the Display Settings open showing that there is only one screen used by your computer.

Best regards,

Panagiotis

How can I send the video here related to the problem ? It is not accepting files from my PC and even Google drive link 

Hi there, 

If you have trouble sending a video, please send it to community@ctrader.com

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 05:44 ( Updated at: 10 May 2024, 05:45 )

Hi there,

Can you please provide more information about your issue? When does the application close? Can you record a video? What do you mean with preset commands?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 05:41

Hi there,

Unfortunately your question is not clear for me. Can you please rephrase?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 05:38

RE: RE: OnPositionClosed event firing multiple times

mattbarfoot said: 

PanagiotisCharalampous said: 

Hi there,

Can you please share with us the source code of your cBot and provide us with instructions on how to reproduce this problem?

Best regards,

Panagiotis

Hey Panagiotis, I am attempting to log each position that closes in either the OnPositionClosed event or a CloseTrade sub. Multiple cbots with multiple instances will be running. Positions are logged in a csv file. Typically multiple entries are created in the csv which have different instanceIDs but have the same Label, which is set to the InstanceId when opening.

scenario 1 (CloseTrade)

Position Opened: ExecuteMarketOrder(TradeType.Buy, SymbolName, adjustedContracts, InstanceId, null, null); 

Position Closes on x number of bars being reached, which then calls CloseTrade

        private void CloseTrade(Position position)
       {                     
           LogTrade(position);                               
           ClosePosition(position);            
       }

 

scenario 2 (OnPositionClosed event)

Position Opened: 

                ExecuteMarketOrder(TradeType.Sell, SymbolName, adjustedContracts, InstanceId, StopLossPips, TargetPips);
               result.Position.ModifyTrailingStop(true);

 

 private void OnPositionClosed(PositionClosedEventArgs args)
       {
          LogTrade(args.Position);                                              

       }

 

    private void LogTrade(Position _position)
       {
     
           string log = $"{strategyName},{DateTime.Now},{Chart.TimeFrame},{0},{_position.TradeType},{_position.EntryTime}, {DateTime.UtcNow},{_position.Symbol},{_position.Pips},                      {_position.NetProfit},{_position.GrossProfit},{_position.Id},{_position.Label}";
           string Path;
                
           File.AppendAllText(Path,log + Environment.NewLine);

        }

 

Hi there,

If multiple instances are running then the event will be triggered multiple times, once per instance. You should check inside the event handler if the closed position has been created by the specific instance and only then log it.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 05:34

RE: RE: Push Notifications stopped on iOS

robert.john.edgar said: 

PanagiotisCharalampous said: 

Hi there,

The issue is under investigation and will be resolved asap.

Best regards,

Panagiotis

Thanks,
Notifications started again about 3 hours ago.

Just FYI but assume you are probably aware, the notifications are currently showing UNKNOWN for the asset type i.e. “SELL position for UNKNOWN of 1.00 closed successfully”

Cheers

Rob

Hi Rob,

Does this happen on all symbols or a specific one? Can you share the broker, the symbol and a screenshot?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 05:33

RE: RE: Active symbol panel

akhilascoder said: 

PanagiotisCharalampous said: 

Hi there,

Active Symbol Panel will be added in a future update of the application.

Best regards,

Panagiotis

Hey! Do you have any updates on this? Can we expect the Active Symbol Panel anytime soon? Without ASP, the user experience is quite bad. 

As an alternate to Mac OS version, I'm currently using the web app but unfortunately web app performance is not that great. (The web page suddenly crashes with a message ‘Aw, Snap!’. ). 

More info on device: I'm using latest version of chrome browser on MacOS latest version, Macbook Pro M3 Pro, 32GB ram.

Hi there,

We do not have an ETA unfortunately.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 May 2024, 05:29

RE: RE: RE: RE: Connecting C-trader desktop to mongodb

said.moridi said: 

said: 

These are my errors

 

Hi there,

Make sure you are using the SDK compiler

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 May 2024, 12:55

Hi all,

On the left you see the balance. Inside the main panel you are highlighting the equity.

Best regards,

Panagiotis 


@PanagiotisCharalampous