Hi. I’m very new to this to apologies for the simple question.
I want to be able to choose how an EMA is applied at the moment it applied to the close but i want be able to chose in the settings of the indicator between open, close, midpoint etc.
example
buyshorterm = ExponentialAverage[buyshortT](open)
Thanks, Mark.
Use CustomClose:
buyshorterm = ExponentialAverage[buyshortT](CustomClose)
then you will be able to choose from the property setting panel.
Thank you.
If I have more than one line and want to be able to choose for each how would I do that please?
buyshorterm = ExponentialAverage[buyshortT](Close)
buylongterm = ExponentialAverage[buylongT](open)
In this case you will have to change them in the code, for each indicator, as you did in your example.