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

PanagiotisCharalampous
23 Mar 2024, 05:45

Hi there,

You need to ask specific questions to get specific answers. Leaving the code and waiting that somebody will finish the job for you will not get you much help as community members are busy with their own projects.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
23 Mar 2024, 05:42

Hi timosilver,

Your comment does not make much sense to me. Can you provide examples of what do you thing is wrong?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 14:53

Hi there,

Trading times are set by the broker. You should talk to your broker about this.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 14:53

RE: RE: difference between web and desktop

rvandez said: 

PanagiotisCharalampous said: 

Hi there,

The two applications are developed independently so as soon as a feature is ready on one of them, it is released without having to wait for the rest to have it as well.

Best regards,

Panagiotis

OK, do you know when the risk reward tool will be available on the desktop?

It is currently under development


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 14:50

Hi there,

This happens because Calculate() method is called for historical bars as well. If you don't want to call it for historical bars, you can use IsLastBar to check that you are on the last bar.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 12:55

RE: App Ctrader mobile Crashes after Android 14 update

ncel01 said: 

What's the status here?

When can we expect any answers on this?

Thanks for informing!

Hi ncel01,

We are releasing a fix soon.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 08:17

Hi there,

The two applications are developed independently so as soon as a feature is ready on one of them, it is released without having to wait for the rest to have it as well.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 08:15

RE: RE: RE: RE: Is it possible in C bot?

flappiyt said: 

PanagiotisCharalampous said: 

flappiyt said: 

PanagiotisCharalampous said: 

Hi there,

Yes it is. You need to calculate your candle's duration and then detect when the upcoming closing time is closer that 10 seconds, then execute your logic.

Best regards,

Panagiotis

Hi Panagiotis

Could you please tell me how to do that? Do I have to start the bot at the exact hour, like 15:35:00, and then calculate it, or is there an easier way? The bot will be opening trades on a 5-minute chart.

I have created a bot like this, but it only prints "Green candle" after the candle closes; it prints it at exact hours not 10 s before.

 

using System;
using cAlgo.API;

namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC)]
    public class BOT : Robot
    {
        int PeriodInSeconds = 300;
        int Seconds = 10;
        
        protected override void OnBar() // On tick doesn't work either
        {
            var timeToClose = PeriodInSeconds - (Server.Time - MarketSeries.OpenTime.Last(1)).TotalSeconds;

            if (timeToClose <= Seconds)
            {
                var lastCandle = MarketSeries.Open.Last(1);
                if (lastCandle > MarketSeries.Close.Last(1))
                {
                    Print("Green candle");
                }
            }
        }
    }
}
 

Hi there,

Unfortunately I cannot write the code for you. If you need professional assistance, you can contact a consultant

Best regards,

Panagiotis

Hi Panagiotis

I don't want you to write code for me, I only want to ask what methods are used to implement this in C#.

There is no specific method. You need to write the logic yourself. You need to find the candle duration based on bar open times and then keep track of the time elapsed in each candle. When the specified time has elapsed, you need to execute your logic. The only way to help you further is to write the code for you.


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 08:11

Hi there,

The risk reward tool will be added soon in all applications.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 08:09

Hi there,

The risk reward tool will be added soon in all applications.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Mar 2024, 07:53

Hi there,

Can you share the exact FIX message you are sending?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Mar 2024, 07:00

Hi there,

The risk reward tool will be added to cTrader for Mac in an upcoming release.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Mar 2024, 06:58

Hi there,

Missing features will be added to the cTrader for Mac application in incremental releases.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Mar 2024, 06:57

Hi there,

You can post your suggestions here

https://ctrader.com/forum/suggestions

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Mar 2024, 06:55

Hi there,

The desktop team is already working on this feature but there is no ETA at this moment.

Best regards,


@PanagiotisCharalampous

PanagiotisCharalampous
21 Mar 2024, 06:50

Hi there,

The feature is under development and should be released soon.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Mar 2024, 06:49

Dear trader,

Thank you for posting your issue. Our team is currently investigating this issue.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Mar 2024, 08:18

Hi there,

Do you still experience this issue or was it temporary?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Mar 2024, 07:10

RE: RE: RE: Sudden drop in Balance

bemati88 said: 

bemati88 said: 

PanagiotisCharalampous said: 

Hi there,

You should talk to FTMO about this.

Best regards,

Panagiotis

cheers

Good afternoon, 

I spoke to FTMO but they don't seem to have an answer. The thing is pretty weird and annoying not only by this outrageous change in my balance but it also feels as if I was making this up. So my question here is that regardless what i say about this particular issue,  that it obviously could be true or could be the opposite for a third person,  i understand nowadays this changes must be registered somewhere so this is no longer an issue of believing or not what someone says.

Best regards

 

Hi there,

You can see your balance modifications in your Transactions history


@PanagiotisCharalampous

PanagiotisCharalampous
20 Mar 2024, 07:07

Hi there,

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

Best Regards,

Panagiotis 


 


@PanagiotisCharalampous