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

PanagiotisCharalampous
11 Jan 2024, 06:26

RE: cTrader Mobile - Unwanted notificationss

ncel01 said: 

Dear Panagiotis,

I am not convinced by your arguments, however I can accept this limitation.

In any case, the app act as an intermediary to send these notifications, which could be disabled/filtered in case an option for this was available.

I really believe that every step made by Spotware to provide traders with the tools to become less dependent on the brokers, would be highly appreciated by the community.

I've been noticing that some settings that are not even brokers' business but a sole traders' choice, still need to be requested to the brokers, which is very annoying (e.g. lowering an account leverage).

Thanks for considering the above.

Hi ncel01,

I am not trying to convince you about anything, I am explaining to you how it works. If you have a different opinion, feel free to post a suggestion and the product team will consider it.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Jan 2024, 06:23

RE: RE: RE: RE: cTrader "pip scale" constantly goes flukey, and nowhere near being correct

firemyst said: 

PanagiotisCharalampous said: 

 

Hi firemyst,

Our team is still investigating this issue. Can you please send us the template you are using at 00:29 of the video?

Best regards,

Panagiotis

Sent as requested to the “community” address with subject ATTN PANAGIOTIS

Hopefully it'll help the team figure out what's going on.

Hi firemyst,

Thank you. Unfortunately we were not being able to reproduce this yet. But we will keep trying.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 10:10

RE: RE: cTrader "pip scale" constantly goes flukey, and nowhere near being correct

firemyst said: 

PanagiotisCharalampous said: 

Hi firemyst,

Any chance you can provide us with more clear images? I cannot see the pip scale in these images.

Best regards,

Panagiotis

Any updates on this? Have they discovered the issue? It's getting to be real annoying. 

Check out the GER40 today in multichart mode.

You can see the same numbers on the right side of both charts, but notice how one chart is screwed and says “100” pips while the other is correct and says “10” pips based on the values:

 

 

Hi firemyst,

Our team is still investigating this issue. Can you please send us the template you are using at 00:29 of the video?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 10:08

RE: cTrader Mobile - Unwanted notificationss

ncel01 said: 

Hello,

Yes, like any other user I have an account with some broker, but that's not the point to me.

Main point:

Would't make sense to have an option to turn the notifications off in the app itself? After all, these are sent via cTrader app, right?

Hi ncel01,

These notifications are sent by the broker, not by the cTrader app it self. In other words, they are not sent automatically by the platform as a response to an event happening in your account. They are sent by the broker on demand, it is equivalent to the broker emailing you directly. Therefore you need to talk to your broker regarding this matter.

Best regards,

Panagiotis   


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:38

Hi there,

We have sorted out the issue through email communication.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:37

You can use Math.Round to round the result


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:35

Hi there,

If you want to delete the account, please send an email to community@ctrader.com

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:34

RE: RE: RE: RE: ChatGPT cBot Issues

danerius said: 

PanagiotisCharalampous said: 

danerius said: 

PanagiotisCharalampous said: 

Dear darenius,

If you need assistance with your cBot, you would need to provide at least the following information

  • What is the cBot supposed to do?
  • What does it do instead?
  • What is the exact problem you are trying to solve?

Best regards,

Panagiotis

Hello Panagiotis and thanks for getting back to me

Ive been working too long on trying to fix the cBot, my brain was fried and I completely missed providing more information. Sorry about that. And pardon the messy look of the code. I used the “code” function, hope you can read it anyways.

- The major issue is that its not performing any Buys or Sells. Im not even sure if its the code or my settings for the demo account. The Log messages reads:

04/01/2024 02:00:00.000 | CBot instance [DanRobot, BTCUSD, Re40] started. 
04/01/2024 02:00:00.000 | Indicator instance [DoubleRenko, BTCUSD, Re40] loaded. 
04/01/2024 02:00:00.000 | Indicator instance [Average True Range, BTCUSD, Re40] loaded. 
04/01/2024 02:00:00.000 | CBot instance [DanRobot, BTCUSD, Re40] crashed with error #F00E2180.

Lets start there and see if we can find a way to make the cBot work. Thanks /Bo

Hi danerius,

I still do not have the code in a readable format. Can you please fix the format so that we can copy/paste and build it?

Best regards,

Panagiotis

Hi. Sure. Here it is….


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

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

       // Additional parameters for DoubleRenko

       public DoubleRenko doubleRenko;
       public const string label = "DoubleRenko Trend cBot";
       
       // Log method here
       private void Log(string message)
       {
           Print($"[{Time}] {message}");
       }

       protected override void OnStart()
        {
           // Initialize DoubleRenko
           Log($"Initializing DoubleRenko with parameters: 12, 1.0, 1.0, 1000, MovingAverageType.Exponential");
           doubleRenko = Indicators.GetIndicator<DoubleRenko>(12, 1.0, 1.0, 1000, MovingAverageType.Exponential);
           Log("DoubleRenko initialized.");
       }


protected override void OnBar()
{
   try
   {
       Log("OnBar started");

       if (doubleRenko.CurrentBrick.Count < 2)
       {
           Log("Not enough data for CurrentBrick");
           return;
       }

       double currentBrick = doubleRenko.CurrentBrick.Last(0);
       double previousBrick = doubleRenko.CurrentBrick.Last(1);

       Log($"CurrentBrick: {currentBrick}, PreviousBrick: {previousBrick}");

       if (double.IsNaN(currentBrick) || double.IsNaN(previousBrick))
       {
           Log("NaN value encountered in CurrentBrick");
           return;
       }

       // Check for existing positions
       var longPosition = Positions.Find(label, SymbolName, TradeType.Buy);
       var shortPosition = Positions.Find(label, SymbolName, TradeType.Sell);

       // Trend detection and trading logic
       if (currentBrick > previousBrick && longPosition == null)
       {
           if (shortPosition != null)
               ClosePosition(shortPosition);

           ExecuteMarketOrder(TradeType.Buy, SymbolName, VolumeInUnits, label);
       }
       else if (currentBrick < previousBrick && shortPosition == null)
       {
           if (longPosition != null)
               ClosePosition(longPosition);

           ExecuteMarketOrder(TradeType.Sell, SymbolName, VolumeInUnits, label);
       }

       Log("OnBar completed without errors");
   }
   catch (Exception ex)
   {
       Log($"Error in OnBar: {ex.Message}");
   }
}


       public double VolumeInUnits
       {
           get { return Symbol.QuantityToVolumeInUnits(Quantity); }
       }
   }
}
 

Can you please advise what DoubleRenko is?

public DoubleRenko doubleRenko;

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:32

Hi there,

You receive them because you have an account with the specific broker. You should contact the broker if you want them to be disabled.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:25

Hi there,

Please send us some troubleshooting info and quote the link to this discussion.

Best Regards,

Panagiotis 


 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Jan 2024, 07:15

Hi firemyst,

We do not have any such plans at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jan 2024, 06:45

RE: RE: ChatGPT cBot Issues

danerius said: 

PanagiotisCharalampous said: 

Dear darenius,

If you need assistance with your cBot, you would need to provide at least the following information

  • What is the cBot supposed to do?
  • What does it do instead?
  • What is the exact problem you are trying to solve?

Best regards,

Panagiotis

Hello Panagiotis and thanks for getting back to me

Ive been working too long on trying to fix the cBot, my brain was fried and I completely missed providing more information. Sorry about that. And pardon the messy look of the code. I used the “code” function, hope you can read it anyways.

- The major issue is that its not performing any Buys or Sells. Im not even sure if its the code or my settings for the demo account. The Log messages reads:

04/01/2024 02:00:00.000 | CBot instance [DanRobot, BTCUSD, Re40] started. 
04/01/2024 02:00:00.000 | Indicator instance [DoubleRenko, BTCUSD, Re40] loaded. 
04/01/2024 02:00:00.000 | Indicator instance [Average True Range, BTCUSD, Re40] loaded. 
04/01/2024 02:00:00.000 | CBot instance [DanRobot, BTCUSD, Re40] crashed with error #F00E2180.

Lets start there and see if we can find a way to make the cBot work. Thanks /Bo

Hi danerius,

I still do not have the code in a readable format. Can you please fix the format so that we can copy/paste and build it?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jan 2024, 06:40

Hi there,

You can use the Positions property to achieve this. Here is an example.

var netProfit = Positions.Sum(p => p.NetProfit);

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jan 2024, 06:38

RE: RE: RE: RE: RE: RE: Issue with Selected Instrument Window Closing on Compilation in VS2022

Vitali Gajdabrus said: 

PanagiotisCharalampous said: 

Vitali Gajdabrus said: 

When switching tabs, the configured settings are lost, which is quite inconvenient, as it requires reconfiguration every time. Is it possible to fix this in the new cTrader update?


Hi there,

Unfortunately we cannot reproduce such a behavior in the latest version. Can you record a video capturing the entire UI area and the exact steps to reproduce the problem?

Best regards,

Panagiotis

 

(I apologize for my poor language skills) I want to see the latest open positions and the latest closed positions. To do this, they should be positioned at the top of the window - within the visible area. But when I switch windows, the sorting disappears...

DQr1NrO.gif (888×359) (imgur.com)

h ttps://i.imgur.com/DQr1NrO.gif

(Remove the space "h ttps...")

Hi again,

I asked for a video capturing the entire UI area.  The one you sent does not, hence we cannot see the broker and the cTrader version.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Jan 2024, 06:36

RE: RE: error to run cbots

eliezer_barros said: 

PanagiotisCharalampous said: 

Hi Eliezer,

It's a known issue and will be solved in an upcoming update. In the meanwhile, try providing full access to your cBot and let us know if it works.

Best regards,

Panagiotis

Panagiotes

Look at the print screen I sent, I used a standart script for test and error to continue.

In your message you recommend giving cbots full access, so what do you really want me to do?

Tks

Eliézer

 

Hi Eliezer,

Here you go

    [Robot(AccessRights = AccessRights.FullAccess)]

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 12:15

RE: RE: RE: RE: Issue with Selected Instrument Window Closing on Compilation in VS2022

Vitali Gajdabrus said: 

When switching tabs, the configured settings are lost, which is quite inconvenient, as it requires reconfiguration every time. Is it possible to fix this in the new cTrader update?


Hi there,

Unfortunately we cannot reproduce such a behavior in the latest version. Can you record a video capturing the entire UI area and the exact steps to reproduce the problem?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 12:04

Hi firemyst,

We have no plans for introducing support for .Net 8.0 any time soon.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 12:03

RE: RE: RE: RE: Why does printing this give me random number ?

mihlali700 said: 

PanagiotisCharalampous said: 

mihlali700 said: 

PanagiotisCharalampous said: 

Hi again,

The values you provided are not for each tick but for each bar since the Calculate() method is called for every bar for historical bars. At the moment I see nothing wrong.

Best regards,

Panagiotis

I just want the value of just 1 bar , that either being the current or previous , how do I achieve that ?

Hi there, 

I am a bit confused about what the issue is now. You said that the values do not make sense to you but they seem to make sense to. I have ask for an explanation of what exact value would you expect instead of the ones you see printed and how that value is calculated but you did not provide it (e.g. the value printed at 12:00 is 1 but I would expect it to be 2 because a, b, c….). It is hard to help you further without this information.

Best regards,

Panagiotis

When I run this :
 var currentprice = Bars.ClosePrices[index-1];

I just expect to get the value of the currentprice or the price of the bar before that but as you are saying its giving me the value of every single bar starting from bar 1 , I don't want that , I just want the price of the previous bar so that I can minus it with Something Like S1 and get a pip value which is the distance between the current price and S1 

Hi there,

Then you can use the IsLastBar property to print the values only for the last bar. 


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 06:59

Dear darenius,

If you need assistance with your cBot, you would need to provide at least the following information

  • What is the cBot supposed to do?
  • What does it do instead?
  • What is the exact problem you are trying to solve?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2024, 06:56

Hi there,

It would be better to contact Quantower regarding this matter since it is their software that provides this information.

Best regards,

Panagiotis


@PanagiotisCharalampous