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

PanagiotisCharalampous
24 Oct 2024, 11:33

RE: Unacceptable RAM usage !!!

Petr01 said: 

Noticed the same problem after getting BSOD on “Memory Management” multiple times. I was observing memory consumption of cTrader and it went from 1700MB at the start to 2700MB in about 20 minutes, and still growing. My 64GB RAM can probably handle some load but i's flustrating to monitor it and restart cTrader time to time. Other platforms - MT4, ATAS - are working fine. CTrader is otherwise great platform.

Hi there,

Are you running custom indicators/cBots (Your screenshot indicates that you do, there are 14 processes running)? If yes,  please remove them/stop them and let us know if the issue persists.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 11:30

Hi there,

Can you explain what is the exact problem?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 06:03

RE: RE: Does Mac ver. has DoM?

langston_ho said: 

PanagiotisCharalampous said: 

Hi there,

No, the active symbol panel is not available in cTrader for Mac at the moment.

Best regards,

Panagiotis

Hi Panagiotis,

Thank you for the answer. May I inquire about any expected timelines for bringing this feature to macOS?

We do not have an ETA unfortunately


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 06:01

RE: RE: RE: RE: RE: When a bot was "unexpectedly terminated", cTrader shows the bot as still running

firemyst said: 

PanagiotisCharalampous said: 

zossles said: 

PanagiotisCharalampous said: 

 

Hi firemyst,

We were able to reproduce this some days ago and we are working on a solution.

Best regards,

Panagiotis

 

It's still happening for us. Any ETA's on a fix? Another week? Month? 

We do not have an ETA unfortunately. It will be released in one of the following updates

 

Is this issues resolved in the 5.0.40 release? 

 

No it's not resolved yet


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 06:00

RE: cTrader Desktop 5.0.40 Release Notes

firemyst said: 

Does this post need to be updated?

Title says, “5.0.40 Release Notes”

First sentence in post says, “cTrader Desktop 5.0.39

Done :)


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 05:59

RE: RE: Referencing a different chart CBot?

Giorgi_1 said: 

firemyst said: 

I'm not sure about a plugin situation, but you can save the toggle button states to a file, and when the file is updated have your other running cBots read/update their charts based on whatever values you have saved in the file.

 

Note that this method isn't possible if you're running bots in the cloud as I don't believe bots in the cloud can read/write files.

 

Keep us posted with the solution you implement.

Thanks firemyst, i did think of the external file solution, but thought there may be a more “built-in” solution. Something similar to the Sync Chart Objects Indicator that allows a change on one, to affect all. I'll keep looking and will update with any solution i find. If anyone does know if you're able to reference plug-ins from within a cBot, i'd be very interested as to how to implement it. 

Many Thanks, 

Hi there,

Have a look at this video. It will give you some ideas


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 05:48

RE: RE: MA TYPE PARAMETERS IN THE CLOUD

GauchoHood said: 

PanagiotisCharalampous said: 

Hi there,

I cannot reproduce any problem. Can you share screenshots demonstrating this issue?

Best regards,

Panagiotis

As you can see. In the Cloud. The MA TYPES, Simple, triangular, hull, etc. Can not be selected.

What do you mean, when you said you found no error? Are the MA TYPE SHOWING in the cloud for you? Can you actually select them? Could you share a screen shot? Many thanks PANAGIOTIS!

Hi there,

Here is a screenshot

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 05:33

Hi there,

I do not understand what do you mean. Can you provide a better explanation?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 05:30

Hi there,

You can find Fibonacci tools here 

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
24 Oct 2024, 05:28

RE: RE: my cbot create but cant run,is there any problem

bryantan1012 said: 

PanagiotisCharalampous said: 

Hi there,

Please provide the code in text format so that we can copy and paste it, and let us know what the actual problem is.

Best regards,

Panagiotis

using cAlgo.API;
using cAlgo.API.Indicators;
using System;
using System.Linq;

namespace cAlgo.Robots
{
   [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
   public class GeekTraderV2 : Robot
   {
       [Parameter("风险百分比 (%)", DefaultValue = 1, MinValue = 0.1, MaxValue = 10, Step = 0.1)]
       public double RiskPercentage { get; set; }

       [Parameter("ADX 趋势阈值", DefaultValue = 25, MinValue = 1, MaxValue = 100)]
       public int AdxTrendThreshold { get; set; }

       [Parameter("止损 (点)", DefaultValue = 10, MinValue = 1, Step = 1)]
       public int StopLoss { get; set; }

       [Parameter("止盈 (点)", DefaultValue = 20, MinValue = 1, Step = 1)]
       public int TakeProfit { get; set; }

       private ExponentialMovingAverage ema200;
       private AverageDirectionalMovementIndex adx;

       protected override void OnStart()
       {
           ema200 = Indicators.ExponentialMovingAverage(Bars.ClosePrices, 200);
           adx = Indicators.AverageDirectionalMovementIndex(14);

           // GeekTrader V2 已启动,开始自动交易!
           Print("GeekTrader V2 已启动,开始自动交易!");
       }

       protected override void OnBar()
       {
           // 1. 确定趋势方向
           var trend = GetTrend();

           // 2. 找到支撑位和阻力位
           var (support, resistance) = GetSupportResistance();

           // 3. 在支撑位或阻力位附近进行交易
           if (trend == TradeType.Buy && Symbol.Bid <= support && adx.ADX.LastValue > AdxTrendThreshold)
           {
               var volume = CalculateVolume(Symbol.Bid, support);
               ExecuteMarketOrder(TradeType.Buy, SymbolName, volume, "Long", StopLoss, TakeProfit);
           }
           else if (trend == TradeType.Sell && Symbol.Ask >= resistance && adx.ADX.LastValue > AdxTrendThreshold)
           {
               var volume = CalculateVolume(Symbol.Ask, resistance);
               ExecuteMarketOrder(TradeType.Sell, SymbolName, volume, "Short", StopLoss, TakeProfit);
           }
       }

       private TradeType GetTrend()
       {
           // 使用 EMA200 判断趋势方向
           if (Bars.ClosePrices.Last(1) > ema200.Result.Last(1))
               return TradeType.Buy;
           else if (Bars.ClosePrices.Last(1) < ema200.Result.Last(1))
               return TradeType.Sell;
           else
               return TradeType.None;  // 注意这里,使用 TradeType.None 表示无趋势
       }

       private (double, double) GetSupportResistance()
       {
           // 使用最近的 swing high 和 swing low 作为阻力位和支撑位
           var swingHigh = Bars.HighPrices.Last(100).Max();
           var swingLow = Bars.LowPrices.Last(100).Min();

           return (swingLow, swingHigh);
       }

       private double CalculateVolume(double currentPrice, double stopLossPrice)
       {
           // 计算止损点数
           var stopLossPips = Math.Abs(currentPrice - stopLossPrice) / Symbol.PipSize;

           // 计算最大允许风险金额
           var riskAmount = Account.Balance * RiskPercentage / 100;

           // 计算交易量 (手)
           var volume = riskAmount / (stopLossPips * Symbol.PipValue);

           // 限制最大交易量为 0.01 手
           volume = Math.Min(volume, 0.01);

           return volume;
       }
   }
}
 

There is a lot on nonsense in this code. Was it generated by ChatGPT?


@PanagiotisCharalampous

PanagiotisCharalampous
23 Oct 2024, 12:15

Hi there,

No, the active symbol panel is not available in cTrader for Mac at the moment.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Oct 2024, 11:47

Hi there,

Can you explain where exactly you published your cBot and with which sales team you talked with?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Oct 2024, 09:11

Hi there,

Please provide the code in text format so that we can copy and paste it, and let us know what the actual problem is.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Oct 2024, 07:16

RE: RE: Private link Copytrader

Sparkymark123 said: 

PanagiotisCharalampous said: 

Hi there,

They just need to open the link in their browser and they will be able to follow your strategy.

Best regards,

Panagiotis

I am trying to link shared accounts in this way.

When I open the link in the browser it just shows my trading strategy and does not give me any way to link any of my own or the shared access accounts.

Hi there,

Try searching for the strategy and then press on the Start Copying button.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Oct 2024, 05:08

Hi there,

Can you share a screenshot?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Oct 2024, 05:06

RE: RE: How to view the lot size for orders in history

lewisg1400 said: 

PanagiotisChar said: 

Hi there,

There is no such column available. You would need to do the conversion yourself manually. You can find information about the lot size in the symbol's details in the active symbol panel.

Aieden Technologies

Need help? Join us on Telegram

 

Hi There,

I would like to know how the position size/volume can be made visible in the history tab of cTrader copy ? Also can the position and history tabs be dragged out/undocked and made larger as you can with the same tabs on desktop cTrader ?   Thank you

 

Hi,

I would like to know how the position size/volume can be made visible in the history tab of cTrader copy ?

Just right click on the header and select which columns you wish to see

 Also can the position and history tabs be dragged out/undocked and made larger as you can with the same tabs on desktop cTrader ?

No this is not possible.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Oct 2024, 12:51

Hi there,

You cannot get this information via the API. For planned disruptions in trading, you should be informed by your broker.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Oct 2024, 11:20

Hi there,

Unfortunately we cannot reproduce any such issues happening. You have also not shared any pop up of an error. Can you share it please and can you please record a video demonstrating this happening?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Oct 2024, 08:48

Hi there,

This is by design and it always uses the preselected color.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Oct 2024, 08:34

Hi there,

I cannot reproduce any problem. Can you share screenshots demonstrating this issue?

Best regards,

Panagiotis


@PanagiotisCharalampous