Topics
Replies

tacnet
17 Jun 2017, 14:03

Thank you cyfer for your respond. I was blaming my novice skills on c# but apparently cAlgo is the cultprit. Pity that  a user cannot modify such small aspect with a powerful tool as c#.

I have noticed that already in 2014 this feature has been requested but spotware has not reacted yet. If some other users would like to have this feature they can vote here:

http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/5502949-custom-parameters


@tacnet

tacnet
15 Jun 2017, 15:24

To be able to create a code as suggested below would be great.

Is it still not possible to create a custom type to select from a dropdown list to set a parameter?

public enum MovingAverageType
{
EMA,
HMA,
SMA,
WMA,
}
[Parameter("MAType", DefaultValue = EMA)]
public MovingAverageType MAType{ get; set; }


@tacnet

tacnet
03 Jun 2017, 20:20

The suggestion of Paul apparently works only with VS 2015. I cannot make it work with VS 2017. Can anyone suggest a workaround? Does cAlgo think to update it?


@tacnet