Replies

decanfrosty
18 Nov 2022, 00:34

RE: RE:You know what your doing MaxT

GDPR-83_694920 said:

OK.... so I setup and have been using a NYC Server (Windows Server 2012 R2...! which I am typing this on now) for the last week or two and running a few bots live and whilst initially everything seemed ok I am now experiencing relatively frequent broker disconnects which seem to happen when I connect to the VPS (cTrader goes into a bit of a fit and the GUI gets messed up and is not showing properly the list of bots in automate and the broker connect is attempting then after 10-20 seconds things spring back into life) but other times I am only aware of it as I have not received any emails from the bots running that trigger trades every few hours or so on average and when I logon to the VPS I see the previous mentioned ‘fit’ and the broker connection eventually made then a handful of trades trigger that should have triggered some time ago! very frustrating :(

I am fed up with it so decided to write the following code in an attempt to catch the issue but every time the disconnect happens the bot (below) has stopped and no email is sent (email setup is 100% ok/the other bots running fire off emails no problems) so please advise what is wrong with the code or how I can achieve the desired results of sending emails every time a connect/disconnect happens

But also just to add Panagiotis with all due respect I think you and I both know that a single point of failure in any system is not ‘good enough’ and using a recommended VPS is still a single point of failure no matter which way you look at it - I have seen other posts going back 5+ years that are requesting greater fault tolerance and resilience of cTrader such as being able to autostart bots if a machine restarts unexpectedly/system crash - I totally appreciate this is no doubt complicated but I also do not believe this can be passed off by saying it has anything whatsoever to do with ‘no system can run 24/7 without any intervention’ - this is is not what we are talking about here and I really think Spotware need to start putting some effort into making their software (up for an award I think I saw - hope that goes well!) more resilient (for example why isn’t there already a built in tick box in the settings to send an email on server connect/disconnect?) and what about developing the ability I already spoke about where the same bot can run concurrently on different machines (multiple machines managing the same code/positions at the same time - I am  sure that would win Spotware many awards! :)

Thanks

MaxT

 

using System;
using cAlgo.API;

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class ServerState : Robot
    {
        protected override void OnStart()
        {
            Server.Connected += OnServerConnected;
            Server.Disconnected += OnServerDisconnected;
        }

        protected  void OnServerConnected()
        {
            SendEmail("Connected "+Convert.ToString( Environment.MachineName),Convert.ToString(Server.TimeInUtc));
        }

        protected void OnServerDisconnected()
        {
            SendEmail("Disconnected " + Convert.ToString(Environment.MachineName), Convert.ToString(Server.TimeInUtc));
        }

        private void SendEmail(string subject, string body)
        {
            Notifications.SendEmail("abc@gmail.com", "xyz@outlook.com", Account.IsLive ? "[LIVE] " + subject : "[DEMO] "  + subject, body);
        }

        protected override void OnStop()
        {
            Server.Connected -= OnServerConnected;
            Server.Disconnected -= OnServerDisconnected;
        }
    }
}

 

Broker access to our accounts is now fully accessable in more ways than most know,to be manipulated for there own benifit.These things your speaking of Max are not workable in your favour and the commercial outlets advice is 100%Biased.I suggest revert back to a more semi manual management system and just except you need to do the work.All bots from my experience are lacking or you need to run multiple ea s to do the task .Waste of energy in the long run.Any advi e from the providers of indicators ,bots is worth nothing.Appears like there ,there to assist but in reality usless almost all of the time.Who in there right mind sells a product then says when it starts chewing ram....we also sell the chew less ram product and so on and so on.Slow and deliberately encumbered to mind.Double the required products to perform and double the profits....at your expense.Good luck my friend you know your stuff and trust in yourself.Avoid the snake oil salesman where you can.


@decanfrosty

decanfrosty
18 Nov 2022, 00:34

RE: RE:You know what your doing MaxT

GDPR-83_694920 said:

OK.... so I setup and have been using a NYC Server (Windows Server 2012 R2...! which I am typing this on now) for the last week or two and running a few bots live and whilst initially everything seemed ok I am now experiencing relatively frequent broker disconnects which seem to happen when I connect to the VPS (cTrader goes into a bit of a fit and the GUI gets messed up and is not showing properly the list of bots in automate and the broker connect is attempting then after 10-20 seconds things spring back into life) but other times I am only aware of it as I have not received any emails from the bots running that trigger trades every few hours or so on average and when I logon to the VPS I see the previous mentioned ‘fit’ and the broker connection eventually made then a handful of trades trigger that should have triggered some time ago! very frustrating :(

I am fed up with it so decided to write the following code in an attempt to catch the issue but every time the disconnect happens the bot (below) has stopped and no email is sent (email setup is 100% ok/the other bots running fire off emails no problems) so please advise what is wrong with the code or how I can achieve the desired results of sending emails every time a connect/disconnect happens

But also just to add Panagiotis with all due respect I think you and I both know that a single point of failure in any system is not ‘good enough’ and using a recommended VPS is still a single point of failure no matter which way you look at it - I have seen other posts going back 5+ years that are requesting greater fault tolerance and resilience of cTrader such as being able to autostart bots if a machine restarts unexpectedly/system crash - I totally appreciate this is no doubt complicated but I also do not believe this can be passed off by saying it has anything whatsoever to do with ‘no system can run 24/7 without any intervention’ - this is is not what we are talking about here and I really think Spotware need to start putting some effort into making their software (up for an award I think I saw - hope that goes well!) more resilient (for example why isn’t there already a built in tick box in the settings to send an email on server connect/disconnect?) and what about developing the ability I already spoke about where the same bot can run concurrently on different machines (multiple machines managing the same code/positions at the same time - I am  sure that would win Spotware many awards! :)

Thanks

MaxT

 

using System;
using cAlgo.API;

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class ServerState : Robot
    {
        protected override void OnStart()
        {
            Server.Connected += OnServerConnected;
            Server.Disconnected += OnServerDisconnected;
        }

        protected  void OnServerConnected()
        {
            SendEmail("Connected "+Convert.ToString( Environment.MachineName),Convert.ToString(Server.TimeInUtc));
        }

        protected void OnServerDisconnected()
        {
            SendEmail("Disconnected " + Convert.ToString(Environment.MachineName), Convert.ToString(Server.TimeInUtc));
        }

        private void SendEmail(string subject, string body)
        {
            Notifications.SendEmail("abc@gmail.com", "xyz@outlook.com", Account.IsLive ? "[LIVE] " + subject : "[DEMO] "  + subject, body);
        }

        protected override void OnStop()
        {
            Server.Connected -= OnServerConnected;
            Server.Disconnected -= OnServerDisconnected;
        }
    }
}

 

Broker access to our accounts is now fully accessable in more ways than most know,to be manipulated for there own benifit.These things your speaking of Max are not workable in your favour and the commercial outlets advice is 100%Biased.I suggest revert back to a more semi manual management system and just except you need to do the work.All bots from my experience are lacking or you need to run multiple ea s to do the task .Waste of energy in the long run.Any advi e from the providers of indicators ,bots is worth nothing.Appears like there ,there to assist but in reality usless almost all of the time.Who in there right mind sells a product then says when it starts chewing ram....we also sell the chew less ram product and so on and so on.Slow and deliberately encumbered to mind.Double the required products to perform and double the profits....at your expense.Good luck my friend you know your stuff and trust in yourself.Avoid the snake oil salesman where you can.


@decanfrosty

decanfrosty
14 Mar 2022, 07:01

RE: RE: RE:

Yes very sad it s been so long,unsupported platform,only geared toward the brokers benifit.

Crosshair sync across multiple charts is a basic necessity. 

Previous day open close high low another.

All free indicators are worthless and come with a legal wavier ,for you to give FULL access rights to your account.no risk reward tools that work.

Limit orders can't be set up with multiple tp s.

Ctrader could change it s name to Encumbered .

Time reflecting to close  also crap.

crosshair on off to move chart.Also doesn't show date time while doing move .

waste of multiple unnecessary clicks.

 

 

Nick39 said:

decanfrosty said:

Nick39 said:

I had sent this list a few weeks ago, but unfortunately I haven't received a reply or anything back from Spotware yet. Hopefully someone doesn't mind and could give me an update. That would be great and appreciated.

Thanks a lot!

Good luck with the list .Ive been waiting 5 years for CROSSHAIR SYNC (Not 3rd PARTY crap,That doesnt work)

5 years? That's insane. I don't know why it takes so long for them to start implementing user suggestions. I don't like it either that Spotware isn't responding. I mean, I take a lot of time to provide them feedback, ask kindly for a reply, and they just seem to skip it. I think this is pretty disrespectful.

And yeah, crosshair sync will be a great addition indeed. I have added it to my list aswell.

 


@decanfrosty

decanfrosty
13 Mar 2022, 09:30

RE: RE:

decanfrosty said:

Good luck with all that.Spoware dont support retail traders just brokeres.Cant even get a built in cross hair sync tool(#rd party rubbish doesnt work and is removed by brokers due to freezing)

becker248 said:

This is mainly in regards to the mobile (but also to the desktop version)

Market Order:

1. It is currently not possible to set a stop loss price with neither limit or market order. But it is especially annoying for market orders, since the price changes as you would type it.

The only option right now is to set the pip value (e.g: -10.4). The first problem is, that if you want the SL to be above/below a recent high/low as the price moves while setting up the order the SL might move to a place were you dont want it to be. So please, give us the option to type in a price and make it stay at that price, even if the pip distance changes.

(TradingView already offers this, sadly most brokers dont have TradingView)

2. The next thing is in regard to trading size. I prefer to risk the same amount of money on every trade (e.g. 0,5%), regardless of the SL distance. Therefore i adjust the lotsize. However, the same problem as described in (1.) occures. I am only able to type in the lotsize. The problem here is: Price moves while setting up the order --> Stop Loss distance increases --> Trade size would have to be adjusted. By just adding the option to type in a "% of balance" or "€/$ risk amount" the lotsize could update automatically as the price changes.

(TradingView already offers this)

 

The only difference to the desktop version is, that with the desktop version you are able to type in a SL price and fix it at that level (so this should be easy to add for mobile) - if you then give the option to add the % risk amount i would never use anything else than cTrader.

 

To avoid confusion. Yes, i know you are able (only on the desktop version) to set a %risk. But that only moves the SL line, it doesnt change the lotsize

Been waiting 5 years for all the above .Spotware not interested in Retail having access to anything that will improve your odds.Just Brokers!.

 

 


@decanfrosty

decanfrosty
13 Mar 2022, 09:30

RE: RE:

decanfrosty said:

Good luck with all that.Spoware dont support retail traders just brokeres.Cant even get a built in cross hair sync tool(#rd party rubbish doesnt work and is removed by brokers due to freezing)

becker248 said:

This is mainly in regards to the mobile (but also to the desktop version)

Market Order:

1. It is currently not possible to set a stop loss price with neither limit or market order. But it is especially annoying for market orders, since the price changes as you would type it.

The only option right now is to set the pip value (e.g: -10.4). The first problem is, that if you want the SL to be above/below a recent high/low as the price moves while setting up the order the SL might move to a place were you dont want it to be. So please, give us the option to type in a price and make it stay at that price, even if the pip distance changes.

(TradingView already offers this, sadly most brokers dont have TradingView)

2. The next thing is in regard to trading size. I prefer to risk the same amount of money on every trade (e.g. 0,5%), regardless of the SL distance. Therefore i adjust the lotsize. However, the same problem as described in (1.) occures. I am only able to type in the lotsize. The problem here is: Price moves while setting up the order --> Stop Loss distance increases --> Trade size would have to be adjusted. By just adding the option to type in a "% of balance" or "€/$ risk amount" the lotsize could update automatically as the price changes.

(TradingView already offers this)

 

The only difference to the desktop version is, that with the desktop version you are able to type in a SL price and fix it at that level (so this should be easy to add for mobile) - if you then give the option to add the % risk amount i would never use anything else than cTrader.

 

To avoid confusion. Yes, i know you are able (only on the desktop version) to set a %risk. But that only moves the SL line, it doesnt change the lotsize

Been waiting 5 years for all the above .Spotware not interested in Retail having access to anything that will improve your odds.Just Brokers!.

 

 


@decanfrosty

decanfrosty
13 Mar 2022, 09:29

RE: RE:

decanfrosty said:

Good luck with all that.Spoware dont support retail traders just brokeres.Cant even get a built in cross hair sync tool(#rd party rubbish doesnt work and is removed by brokers due to freezing)

becker248 said:

This is mainly in regards to the mobile (but also to the desktop version)

Market Order:

1. It is currently not possible to set a stop loss price with neither limit or market order. But it is especially annoying for market orders, since the price changes as you would type it.

The only option right now is to set the pip value (e.g: -10.4). The first problem is, that if you want the SL to be above/below a recent high/low as the price moves while setting up the order the SL might move to a place were you dont want it to be. So please, give us the option to type in a price and make it stay at that price, even if the pip distance changes.

(TradingView already offers this, sadly most brokers dont have TradingView)

2. The next thing is in regard to trading size. I prefer to risk the same amount of money on every trade (e.g. 0,5%), regardless of the SL distance. Therefore i adjust the lotsize. However, the same problem as described in (1.) occures. I am only able to type in the lotsize. The problem here is: Price moves while setting up the order --> Stop Loss distance increases --> Trade size would have to be adjusted. By just adding the option to type in a "% of balance" or "€/$ risk amount" the lotsize could update automatically as the price changes.

(TradingView already offers this)

 

The only difference to the desktop version is, that with the desktop version you are able to type in a SL price and fix it at that level (so this should be easy to add for mobile) - if you then give the option to add the % risk amount i would never use anything else than cTrader.

 

To avoid confusion. Yes, i know you are able (only on the desktop version) to set a %risk. But that only moves the SL line, it doesnt change the lotsize

Been waiting 5 years for all the above .Spotware not interested in Retail having access to anything that will improve your odds.Just Brokers!.

 

 


@decanfrosty

decanfrosty
13 Mar 2022, 09:27

RE:

becker248 said:

This is mainly in regards to the mobile (but also to the desktop version)

Market Order:

1. It is currently not possible to set a stop loss price with neither limit or market order. But it is especially annoying for market orders, since the price changes as you would type it.

The only option right now is to set the pip value (e.g: -10.4). The first problem is, that if you want the SL to be above/below a recent high/low as the price moves while setting up the order the SL might move to a place were you dont want it to be. So please, give us the option to type in a price and make it stay at that price, even if the pip distance changes.

(TradingView already offers this, sadly most brokers dont have TradingView)

2. The next thing is in regard to trading size. I prefer to risk the same amount of money on every trade (e.g. 0,5%), regardless of the SL distance. Therefore i adjust the lotsize. However, the same problem as described in (1.) occures. I am only able to type in the lotsize. The problem here is: Price moves while setting up the order --> Stop Loss distance increases --> Trade size would have to be adjusted. By just adding the option to type in a "% of balance" or "€/$ risk amount" the lotsize could update automatically as the price changes.

(TradingView already offers this)

 

The only difference to the desktop version is, that with the desktop version you are able to type in a SL price and fix it at that level (so this should be easy to add for mobile) - if you then give the option to add the % risk amount i would never use anything else than cTrader.

 

To avoid confusion. Yes, i know you are able (only on the desktop version) to set a %risk. But that only moves the SL line, it doesnt change the lotsize

Been waiting 5 years for all the above .Spotware not interested in Retail having access to anything that will improve your odds.Just Brokers!.

 


@decanfrosty

decanfrosty
13 Mar 2022, 09:26

RE:

Nick39 said:

I had sent this list a few weeks ago, but unfortunately I haven't received a reply or anything back from Spotware yet. Hopefully someone doesn't mind and could give me an update. That would be great and appreciated.

Thanks a lot!

Good luck with the list .Ive been waiting 5 years for CROSSHAIR SYNC (Not 3rd PARTY crap,That doesnt work)


@decanfrosty

decanfrosty
02 Sep 2021, 14:58

Counter ,to Candle close is a disgrace

Tradingview as a bench model.

Ctrader buttons to small.....Everything encumbered,intentionally.


@decanfrosty

decanfrosty
02 Sep 2021, 14:54

RE: RE:COMPLETELY AGREE

wepinaj189 said:

Unfortunately so many brokers are on the other side,the more wasted encumbered platforms are the better for them.

Cant even use a decent risk reward tool.Fib is a waste of time.Pitchfork terrible.Broker price feeds knocking off pre market hours wicks my personal hate.Ctrder cant move chart to left.Advanced management tools of open trade,etc etc.

 

Unfortunatelly, 

cAlgo limits some charting functions which is not user friendly once its running. 

 

We don't need more indicators cTrader, we need essential stuff...

 

ClickAlgo said:

Until cTrader has included this feature you can download the tool below, try it out first on a 14-day trial to see if it helps you.

 

 

 


@decanfrosty