Set parameter checkbox unchecked by default for Exponential Moving Average

Created at 02 Dec 2022, 16:45
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!
PH

phaniophrero

Joined 02.12.2022

Set parameter checkbox unchecked by default for Exponential Moving Average
02 Dec 2022, 16:45


Hi, I want to know how can I set the output of an Exponential Moving Average unchecked to not be displayed on the chart as default.

I have like 3 EMAs but let's say the EMA 50 I want to not be displayed as default , but if I go to the settings parameters where the checkbox is , to be also allowed to check the checkbox in order to show EMA50.

 

And another question , after I finish my indicator , how can I deploy it like to be available in the public library ? so others could use it , and also is there a way to deploy it as private so only me and invited people could use it ?

 

So I have this : 

[Parameter("EMA 50" , DefaultValue=50)]

public int Periods50 {get; set;}



[Output("EMA50", LineColor="Blue")]

public IndicatorDataSeries EMA50Result {get; set;}



ExponentialMovingAverage EMA50



protected override void Initialize() 

{

EMA50 = Indicators.ExponentialMovingAverage(Bars.ClosePrices, Periods50);

}



public override void Calculate(int index)

{

EMA50Result[index] = EMA50.Result[index]

}

@phaniophrero
Replies

phaniophrero
05 Dec 2022, 17:28

RE:

PanagiotisChar said:

Hi there,

There is no such option at the moment.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

I see that's too bad.

Anyways thanks for the response.


@phaniophrero