malas7malas
malas7malas's avatar

Info

Username:malas7malas
Name:malas7malas
Member since: 08 Dec 2019

About

None

Signature

None

Last Forum Posts

@Price Alert cBot:  24 Nov 2022, 17:45


Hi Support

Can I get an update please?

@Price Alert cBot:  22 Nov 2022, 11:14


Hi Support

How can I call or set price alert from cBot and Indicators?

Can you show in an example?

Thanks

@Chart issue with scaling:  11 Aug 2022, 16:37


Hi Support

I have noticed when I scroll chart the screen scale automatically changes and it's so annoying, it should change the scale only when you zoom in/out and not when you scroll the chart.

For example if I place a trend line with an angle, if I scroll to the left then the angle number changes by it self, therefore all screen tools becomes useless.

Is there anyway I can disable auto scaling and keep the same scale even when I scroll historic data?

Have you an update?

Thanks

@Angle of the trendline:  10 Feb 2021, 18:53


Hi Support

I have a test cbot and I'm looking how to assign trend angle into variable, but I can see any property to do that.

Can you please let me know if it possible to assign a trend angle into variable?

If not, can you please advice how trend angle is calculated so I can create a method myself?

Please see my code below

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

namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class NewIndicator : Indicator
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

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


        protected override void Initialize()
        {
            // Initialize and create nested indicators
        }

        public override void Calculate(int index)
        {
            ChartTrendLine tl = Chart.DrawTrendLine("trendline", Bars.OpenTimes.Last(10), Bars.OpenPrices.Last(10), Bars.OpenTimes.Last(1), Bars.OpenPrices.Last(1), Color.White);
            tl.ShowAngle;

        }
    }
}

@Charts stretched impossible to see:  01 Feb 2021, 14:52


Hi Panogiotis

Sorry for not explaining properly, basically the issue is when the chart is stretched out as in the screenshot I manually stretch vertically to correct it, but when I press zoom in/out button chart goes back to previous vertical position, so I have to stretch vertically on every pressed zoom in/out button and it's very frustrating. 

My question: Is there an option in cTrader to disable auto scale or if can be implemented, in traidingview its called auto. If auto is disabled you can zoom in/out on charts and it will not change your screen ratio. 

PanagiotisCharalampous said:

Hi malas7malas,

To be honest, I did not understand what the problem is. Why don't you just stretch your charts vertically to get a better ratio?

Best Regards,

Panagiotis 

Join us on Telegram  

@Charts stretched impossible to see:  19 Jan 2021, 23:24


malas7malas said:

Hi Support

I have few indicators below char, when I zoom in my chart is stretch out horizontaly and I cannot read charts.

In order for me to see chart I need stretch up to have better ratio, but then if I zoom in or out it goes back to stretch screen.

I like ctrader but at the moment it's completely useless tool because I have constantly fix the screen and it's so annoying.

Is there an option in ctrader where I can disable auto screen adjustment, or any other solution?

It would be great to have similar what tradingview has.

Thanks

@Charts stretched impossible to see:  14 Dec 2020, 12:29


Hi Support

I have few indicators below char, when I zoom in my chart is stretch out horizontaly and I cannot read charts.

In order for me to see chart I need stretch up to have better ratio, but then if I zoom in or out it goes back to stretch screen.

I like ctrader but at the moment it's completely useless tool because I have constantly fix the screen and it's so annoying.

Is there an option in ctrader where I can disable auto screen adjustment, or any other solution?

It would be great to have similar what tradingview has.

Thanks

@Incorrect Time Bars.LastBar.OpenTime:  15 Jul 2020, 15:39


PanagiotisCharalampous said:

Hi malas7malas,

Your cTrader timezone is set to UTC+1. Your cBot is set to Greenwich Mean Time. As mentioned above, Greenwich Mean Time is the same as UTC time. The time is correct.

Best Regards,

Panagiotis 

Join us on Telegram

Hi Panagiotis

If I change to UTC+0 (which my time is UTC+0 Irish time)  then the time does not match with my computer time.

Is this because we're on summer time?

Is there anything can be changed?

See the screenshot below

@Incorrect Time Bars.LastBar.OpenTime:  13 Jul 2020, 23:27


PanagiotisCharalampous said:

Hi malas7malas,

Seems correct to me. Greenwich Mean Time is the same as UTC time.

Best Regards,

Panagiotis 

Join us on Telegram

HI Panagiotis

No it's not correct.

My computer time is Greenwich (UTC)

If you look in the screenshot my computer time is 16:56 (second screenshot) and if I run command Print(Bars.LastBar.OpenTime) on the cBot with the timeframe set to 5 minutes, the output is 15:55 and it should be 16:55,  because last bar was opened a minutes ago and not one hour and 1 minute ago, therefore the output time is incorrect.

@Incorrect Time Bars.LastBar.OpenTime:  10 Jul 2020, 19:03


Hi Support

I'm getting incorrect time when I'm using Bars.LastBar.OpenTime.

My PC time matches cTrader time and chart shows correct time and I have set correct time zone

[Indicator(IsOverlay = false, TimeZone = TimeZones.GreenwichStandardTime, AccessRights = AccessRights.None)]

But as you can see in the screenshot below Print output does not match my current time

Print(Bars.LastBar.OpenTime);

Can you please advice if I'm missing something or what is the issue?

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.

No uploaded.

Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.

No uploaded.