How to add Additional MovingAverageTypes?

Created at 06 Apr 2020, 15:33
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
FI

firemyst

Joined 26.03.2019

How to add Additional MovingAverageTypes?
06 Apr 2020, 15:33


HI everyone:

I've coded up my own versions of the Zero lag EMA, VMA, and other moving averages.

Where I'm stuck now is I'd like to be able to have them added to the MovingAverage Type for parameter dropdowns:

How can I do this?

Thank you.


@firemyst
Replies

firemyst
08 Apr 2020, 17:14

@Spotware? @Panagiotis?

Thank you.


@firemyst

PanagiotisCharalampous
09 Apr 2020, 08:12

Hi firemyst,

You cannot add them to the built-in enum. You will need to develop your own enum for this.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous