Replies

BigManDave
31 Aug 2022, 16:33

RE:

firemyst said:

They are already there.

 

Just declare the parameter to be a type of "int" or "double".

 

Then you can apply the min/max settings, "step" setting, etc.

As far as I am aware, they are not already there, because I asked Panagiotis and he said this functionality doesn't exist in the cAlgo API.

TextBlock and TextBox do not have any parameters as far as I know. Please can you give a code example of what you are talking about?


@BigManDave

BigManDave
08 Aug 2022, 01:43

RE:

apataymurat said:

Hi ,

In any time frame , esp. in lower time frame charts , to see the start of a move , we have to scroll back for a long time.
It becomes annoying , and hard since the software has difficulty when scrolling back.

Wouldn't it be very nice to have an input option to enter date and graphic scrolls  back to that period automatically ?

Also more input space to enter into fibonacci expansion tool would be very helpful.

Pls like or vote so that developers get to notice to add such a needed options.

Thanks,
Murat

This is in the wrong section: put this in Suggestions. and I think there is already a suggestion for this anyway, so please go look for it and upvote it.


@BigManDave

BigManDave
25 Jul 2022, 18:41

RE:

PanagiotisCharalampous said:

Hi David,

We will need the source code so that we can properly investigate.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

I should note also that this bug happens even if my cBot and all the indicators are built with .NET 4, but only on cTrader 4.3.

No issues on cTrader 4.1 though


@BigManDave

BigManDave
25 Jul 2022, 16:37

RE:

PanagiotisCharalampous said:

Hi David,

We managed to reproduce the problem. The team will investigate further and fix any issues identified in an upcoming update.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

Brilliant news! Thanks.


@BigManDave

BigManDave
21 Jul 2022, 15:07

RE:

PanagiotisCharalampous said:

Hi David,

We will need the source code so that we can properly investigate.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

Here you go.


@BigManDave

BigManDave
21 Jul 2022, 14:22

RE:

PanagiotisCharalampous said:

Hi David,

It seems we will need the TripleMASlopeAverage as well.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

Okay, this one should work. It doesn't have source code, however.

 

 


@BigManDave

BigManDave
27 May 2022, 13:11

RE:

amusleh said:

Hi,

We are working on a new cTrader.com site which support partially markdown.

Fantastic!


@BigManDave

BigManDave
23 Jan 2022, 04:00

RE:

BigManDave said:

Did you manage to fix these? I'm also having problems debugging, and cannot see values of local variables when debugging, and it's very annoying.

Okay, I managed to fix #5 by following this stackoverflow answer


@BigManDave

BigManDave
23 Jan 2022, 03:55

Did you manage to fix these? I'm also having problems debugging, and cannot see values of local variables when debugging, and it's very annoying.


@BigManDave

BigManDave
14 Dec 2021, 20:06

RE: RE: RE:

JerryTrader said:

JerryTrader said:

I will think of a workaround, and post it there if I find some.

Ok, that was an easy one ...

For those who are interested in doing similar things, here's how I did it (I did not test this code, so it might not compile as is).


Let's say I want to draw a cloud between MA(100) and MA(200), and this cloud has to be green sometimes, and red other times.

[Cloud(MA100RedCloud, MA200RedCloud, FirstColor = "Red", Opacity = 0.2)]
[Cloud(MA100GreenCloud, MA200GreenCloud, FirstColor = "Green", Opacity = 0.2)]
[Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public partial class CloudIndicator : Indicator
{
  [Output("MA100", LineColor = "Blue")]
  public IndicatorDataSeries OutMa100Red { get; set; }

  [Output("MA200", LineColor = "Yellow")]
  public IndicatorDataSeries OutMa200Red { get; set; }


  #region Invisible Lines to draw clouds
  [Output("MA100_RedCloud", LineColor = "Transparent")]
  public IndicatorDataSeries OutMa100Red { get; set; }

  [Output("MA200_RedCloud", LineColor = "Transparent")]
  public IndicatorDataSeries OutMa200Red { get; set; }

  [Output("MA100_GreenCloud", LineColor = "Transparent")]
  public IndicatorDataSeries OutMa100Green { get; set; }

  [Output("MA200_GreenCloud", LineColor = "Transparent")]
  public IndicatorDataSeries OutMa200Green { get; set; }
  #endregion

  public override void Calculate(int index)
  {
    // Calculate your MA100 / MA200
    // Then set outputs for green or red cloud depending on what you want
  }
}

 

I hope this is clear,
Let me know if you want a full sample

Cheers,
Jerry

Hello Jerry, could you please provide a full sample that would be easier to see how to use this? Or elaborate further on how this would be done.

Thanks


@BigManDave