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

PanagiotisCharalampous
09 Jan 2019, 09:59

Ηι lec0456,

There is no feature to take chartshors in the API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2019, 16:12

Hi Norbert,

It is not possible at the moment but it is in the backlog. You will get this in a future release.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2019, 11:59

Hi terryww2,

Yes I meant 35=V, sorry for the typo. You can find the example here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
08 Jan 2019, 09:43

Hi terryww2,

Does this happen every time you sent a 35=W? Can you reproduce with the example application?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Jan 2019, 16:45

Hi reza h,

There is no feature to do this currently. We are planning to implement reading color from output parameters in one of the future releases. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Jan 2019, 16:17

Hi reza h,

You can use something like the below

Chart.DrawStaticText("test", "test", VerticalAlignment.Bottom, HorizontalAlignment.Center, Color.FromHex("FFFE0000"));

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Jan 2019, 09:41

Hi missyeam,

Thanks for posting in our forum. You can use a flag. See an example below.

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.AlaskanStandardTime, AccessRights = AccessRights.None)]
    public class NewcBot : Robot
    {

        bool _orderExecuted;
        bool _conditionMet;
        protected override void OnStart()
        {

        }

        protected override void OnBar()
        {
            //Set your condition
            // _conditionMet = ...
            if (!_orderExecuted && _conditionMet)
            {
                _orderExecuted = true;
                //Execute your trading
            }

        }

        protected override void OnStop()
        {
            // Put your deinitialization logic here
        }
    }
}

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Jan 2019, 09:36

Hi Ben,

An indicator's Calculate method is called only on each bar for past bars and on each tick for the current bar. So using an indicator you can obtain such information only for the current bar. So it is not possible to acquire this information without using backtesting.

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
04 Jan 2019, 16:30

Hi testpossessed,

This feature became available in v3.3. FxPro still uses v3.0.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Jan 2019, 16:06

Hi eirik_1993,

The indicator is offered by the community for free as is. If you want additional features, you need to either implement them yourself or find somebody to do the job for you, either for free of for a fee. I don't know if you can find somebody to help you for free but if anyone is willing to do so, even better :).

Regarding the new question, you cannot hide indicators in cTrader. If you want them to disappear completely, you need to delete them.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Jan 2019, 15:29

Hi Dutch_Porto,

Renko and Range bars are planned to be released in one of the upcoming releases of cTrader Web.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Jan 2019, 14:51

Hi eirik_1993,

1) Pivot lines are hard coded to be white. See the below line of code

ChartObjects.DrawLine("pivot " + startIndex, pivotStartTime, pivot, pivotEndTime, pivot, Colors.White);

2) Same as above. Line colors are hard coded.

ChartObjects.DrawLine("r1 " + startIndex, pivotStartTime, r1, pivotEndTime, r1, Colors.Green);
ChartObjects.DrawLine("r2 " + startIndex, pivotStartTime, r2, pivotEndTime, r2, Colors.Green);
ChartObjects.DrawLine("r3 " + startIndex, pivotStartTime, r3, pivotEndTime, r3, Colors.Green);
ChartObjects.DrawLine("s1 " + startIndex, pivotStartTime, s1, pivotEndTime, s1, Colors.Red);
ChartObjects.DrawLine("s2 " + startIndex, pivotStartTime, s2, pivotEndTime, s2, Colors.Red);
ChartObjects.DrawLine("s3 " + startIndex, pivotStartTime, s3, pivotEndTime, s3, Colors.Red);

3) If you need additional functionality you post a Job or contact a Consultant.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Jan 2019, 13:58

Hi oneplusoc,

You can read the explanation here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Jan 2019, 10:24

Hi Ton,

Can you share the complete cBot code?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
04 Jan 2019, 09:15

Hi shrumr,

Thanks for posting in our forum and reporting this issue. I have forwarded this thread to myfxbook to have a look. You can contact them directly as well.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Jan 2019, 17:21

Hi tasr1r1,

This is because you have Default Template (Dark) checked. You cannot override this template since it is a built in template. You need to choose a default template (the one with the check box on the side) one of the custom ones. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Jan 2019, 16:26

Hi tasr1r1,

It is not clear from the video what you are doing, since the dropdowns are not visible but you do not seem to save the template after you make the change. For the change to apply you need to save the template first.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Jan 2019, 15:43

Hi tasr1r1,

I cannot reproduce such behavior. Changing default templates works fine for me. Any change you can record a short video for us to see what you are experiencing?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Jan 2019, 15:01

Hi oliveira.phc,

You can solve your problem by checking both combinations. If the one returns null then you can reverse the strings and check again.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
03 Jan 2019, 14:35

Hi oliveira.phc,

Thank you for your suggestion. Can you describe to us a use case for this? Symbol names are standard amongst almost all brokers. Also the order of the symbols is significant since it determines the price e.g. EURUSD is EUR/USD = 1.13. if it was USD/EUR it would be 0.88.

Best Regards,

Panagiotis


@PanagiotisCharalampous