Topics
28 Sep 2021, 09:52
 0
 929
 1
17 Aug 2020, 16:45
 1296
 9
07 Apr 2020, 18:04
 1029
 3
10 Dec 2019, 11:39
 1404
 2
10 Dec 2018, 20:06
 0
 1134
 1
10 Dec 2018, 09:54
 1903
 10
05 Nov 2018, 14:24
 1494
 5
11 Jul 2018, 10:28
 1
 1541
 1
27 Jun 2018, 16:44
 2214
 8
Replies

1222Ht
19 Jan 2021, 12:05

RE: RE:

prosteel1 said:

PanagiotisCharalampous said:

Hi 1222Ht,

cTrader Automate doesn't support .Net Standard at the moment.

Best Regards,

Panagiotis 

Join us on Telegram

"...PyTorch as Tensorflow is not the bleeding edge anymore."

interestin. any expert has any comment or insight to share as to broaden newbies conception on their differences n possibily individually each ones advantages n drawbacks, thanks


@1222Ht

1222Ht
06 Nov 2020, 18:22

Hi, 

Im not an advanced programmer, but I cannot agree more . there are hacks to do it currently referring to my limited knowledge: AutomationElement / TreeWalker / RawViewWalker, but at every update it needs to be tweaked slightly, and it would hardly be comparable if software supports it natively. I truly think that it would open up many outside functions for developers to expand on, ie changes charts tabs easily. It is barely working now with huge pain. Really hope that if anyhow cTrader team reads this and think about . Only reason for me as a tiny individual user that can think of not implementing this function is security issue as I'm no expert but with UI automation it would add SOOOO much ease and convenience to using the software .

Thank you for reading


@1222Ht

1222Ht
18 Aug 2020, 10:07 ( Updated at: 21 Dec 2023, 09:22 )

RE:

PanagiotisCharalampous said:

Hi 1222Ht,

Please send us troubleshooting information the next time this happens (Ctrl+Alt+Shift+T and paste the link to this discussion in the text box).

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi Panagiotis ,

I reported a few just now , would i get any email when this get reviewed or followed up . im just curious to know any progress lol . whether its my problem or anything about it . its certainly not my internet connection problem . not all ctrader instances get affected and i doubt its the indicator, which has been without any issue dating back to 3.6 or earlier lol maybe . only been getting better over time and now 3.8 is screwing it up . 

Thank you very much for your attention and time .

May I also attach a screenshot this is when i try to close the frozen 3.8


@1222Ht

1222Ht
17 Aug 2020, 17:00

Hi Panagiotis ,

Thank you for your reply . a few days ago i was wanting to post a random post praising the amazing work you guysve done on seemingly made 3.7 more efficient and reliable that it ran more smoothly, i never really monitored closely but cpu usage seemed lower too with all the same indicators loaded .

then this 3.8 came out man this is so screwing up i strongly believe that it is the new function of hiding objects that changes something internally and makes some workload like massively increased lol . may i encounter this lagging dc problem again ill post it here .

and ps i dont know how all of the other users are finding these new functions. i personally think that hiding objects and changes the fonts of text is just too fancy for a professional trading application lol and that i myself really have no chance to use them at all. 

Thank you very much


@1222Ht

1222Ht
09 Apr 2020, 06:18

Hi Panagiotis ,

Thank you very much for your reply . sorry that i didnt quite say my problem clearly . but i think your reply is useful. Thank you !


@1222Ht

1222Ht
26 Feb 2020, 11:44

Hi Panagiotis,

Thank you for your reply . May you please try this to see if you reproduce same problem as well : 

 

  [Output("Main")]
        public IndicatorDataSeries Result { get; set; }

        ExponentialMovingAverage EMA;

        protected override void Initialize()
        {
            if (TimeFrame != TimeFrame.Minute45)
                Chart.TryChangeTimeFrame(TimeFrame.Minute45);

            if (Bars.Count < 2500)
                Bars.LoadMoreHistory();

            EMA = Indicators.ExponentialMovingAverage(Bars.ClosePrices, 20);
        }

        public override void Calculate(int index)
        {
            Result[index] = EMA.Result[index];
        }

 

This doesnt cause problems on every time frame on my pc  "hour 1", .. but  not m45 , h3  h6.. or some more...

Thank you   


@1222Ht

1222Ht
26 Feb 2020, 06:08

Hi Panagiotis,

Thank you very much for your reply !


@1222Ht

1222Ht
15 Feb 2020, 05:38

Hi, I also read a recent post saying that indicator loading time becomes longer and i experience that as well....its certainly noticeably slower. but the spacing issue is more upsetting to me..

but ytd i somehow openned [ Spotware cTrader (Public beta) 3.7 ] , and both spacing and load time problems are not here .... Im using IC Markets cTrader 3.7 normally . would there be a chance that something went wrong when it--ic markets updated on my pc and that shd i try reinstalling it...

 

Thank you very much


@1222Ht

1222Ht
26 Jun 2019, 18:21

Panagiotis,

 

Thank you very much for your reply


@1222Ht

1222Ht
04 Apr 2019, 08:24

Dear Panagiotis

Thank you very much for your reply

 

@1222Ht

1222Ht
10 Dec 2018, 19:13

Dear Panagiotis​

 

Thank you very much for your reply


@1222Ht

1222Ht
24 Nov 2018, 06:04

Dear Panagiotis ,

Thank you very much for you reply . I've maybe found a reason for this though lil weird but somehow the problem is gone 

I removed codes related to

Account

Positions &&
PendingOrders
 

and put them separately in a cBot and the problem is somehow gone .  I cant tell if they caused it with my limited knowledge onbut the indicators are working

fine now. Thank you very much


@1222Ht

1222Ht
20 Nov 2018, 20:44

By the way i didnt mention that im using IC Market and it seems that that version is not most up to date would that somehow cause this problem .

Many Thanks

 


@1222Ht

1222Ht
05 Nov 2018, 14:56

Thank you very mcuh for your reply .

 


@1222Ht

1222Ht
24 Jul 2018, 06:59

I find a way that seems to work but not knowing if thats the right way ...

 

    Minutes_In_Day = MarketSeries.OpenTime.LastValue.TimeOfDay.TotalMinutes;
       
                    DateTime TZI = TimeZoneInfo.ConvertTime(MarketSeries.OpenTime.LastValue, TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"));
                    if (TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time").IsDaylightSavingTime(TZI))
                        Minutes_In_Day = MarketSeries.OpenTime.LastValue.TimeOfDay.TotalMinutes - 60;

Thank you very much for reading my question and if provides a solution ....


@1222Ht

1222Ht
02 Jul 2018, 05:54

Sorry i was confused and round target price too , now there is no problem thank you very much !


@1222Ht

1222Ht
28 Jun 2018, 12:30

Hi Panagiotis, Thank you for your reply .

i want the target price ie for buy pending order to move to a tick above current or last bars high .  

In JPY symbol when I round it to 2 or above , it crashes , when i round it to 0 / 1 it either is very far away or it goes to middle of current bar and fills .

This doesnt happen with other currency pairs .. Thank you for your time

Many Thanks


@1222Ht

1222Ht
27 Jun 2018, 19:03

Hi Panagiotis, Thank you for your reply .

I tried Math.Round() it to 0 and 1 , it didnt crash but still not perform what i wanted on USDJPY, if I math.round() to 2 or above it stops again ..

Please see the source code , thank you for your time 

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

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class ProblemWithJPY : Robot
    {

        private double BarSize;

        private double Average(DataSeries Data)
        {
            double Sum = 0;

            for (int i = 0; i < Data.Count; i++)
                Sum += Data[i];

            return Sum / Data.Count;
        }

        private double Buy_Pending_Order_Entry_Price;
        private double Sell_Pending_Order_Entry_Price;

        protected override void OnStart()
        {
            BarSize = Average(MarketSeries.High) - Average(MarketSeries.Low);
            Buy_Pending_Order_Entry_Price = MarketSeries.High.Maximum(2) + Symbol.TickSize;
            Sell_Pending_Order_Entry_Price = MarketSeries.Low.Minimum(2) - Symbol.TickSize;

            PendingOrders.Created += OnPendingOrdersCreated;
        }

        protected override void OnTick()
        {
            Buy_Pending_Order_Entry_Price = MarketSeries.High.Maximum(2) + Symbol.TickSize;
            Sell_Pending_Order_Entry_Price = MarketSeries.Low.Minimum(2) - Symbol.TickSize;
        }

        void OnPendingOrdersCreated(PendingOrderCreatedEventArgs obj)
        {
            if (obj.PendingOrder.TradeType == TradeType.Buy && obj.PendingOrder.OrderType == PendingOrderType.Stop && obj.PendingOrder.SymbolCode == Symbol.Code)
                ModifyPendingOrder(obj.PendingOrder, Buy_Pending_Order_Entry_Price, Math.Abs(Buy_Pending_Order_Entry_Price - Sell_Pending_Order_Entry_Price) / Symbol.PipSize, BarSize * 3.5 / Symbol.PipSize, Server.Time.AddMinutes(50), Symbol.NormalizeVolumeInUnits(Account.Balance * 0.025 / Math.Abs(Buy_Pending_Order_Entry_Price - Sell_Pending_Order_Entry_Price)));

            if (obj.PendingOrder.TradeType == TradeType.Sell && obj.PendingOrder.OrderType == PendingOrderType.Stop && obj.PendingOrder.SymbolCode == Symbol.Code)
                ModifyPendingOrder(obj.PendingOrder, Sell_Pending_Order_Entry_Price, Math.Abs(Buy_Pending_Order_Entry_Price - Sell_Pending_Order_Entry_Price) / Symbol.PipSize, BarSize * 3.5 / Symbol.PipSize, Server.Time.AddMinutes(50), Symbol.NormalizeVolumeInUnits(Account.Balance * 0.025 / Math.Abs(Buy_Pending_Order_Entry_Price - Sell_Pending_Order_Entry_Price)));
        }
    }
}

 

Many Thanks,


@1222Ht

1222Ht
27 Jun 2018, 16:56

Hi Panagiotis, Thank you for your reply .

it is just very simple code that changes target price to marketseries.high.maximum(2) , ie for buy pending order and it only has problem with JPY. 

27/06/2018 13:52:55.966 | cBot "Stop Loss Take Profit " was started successfully for USDJPY, m3.
27/06/2018 13:52:58.919 | Modifying pending order OID72458495 (Volume: 1000, Price: 110.392, SL: 4.40000000000111, TP: 9.94360319840695, ExpireTime: 27/06/2018 14:42:58)
27/06/2018 13:52:59.310 | → Modifying pending order OID72458495 (Volume: 1000, Price: 110.392, SL: 4.40000000000111, TP: 9.94360319840695, ExpireTime: 27/06/2018 14:42:58) FAILED with error "TechnicalError", PendingOrder OID72458495
27/06/2018 13:52:59.310 | Crashed in PendingOrders.Created with InvalidOperationException: Nullable object must have a value.
27/06/2018 13:52:59.325 | cBot "Stop Loss Take Profit " was stopped for USDJPY, m3.

Thank you very much 

 


@1222Ht

1222Ht
17 May 2018, 17:11

I tried it out and it works thank you very much !!


@1222Ht