EMA as lines

Solution
they look, to me, like weekly aggregation EMAs of 8 and 21 periods...
Code:
declare upper;
input agg = AggregationPeriod.WEEK; 
def data = close(period = agg);

plot W8EMA = MovAvgExponential(price = data, length = 8);
plot W21EMA = MovAvgExponential(price = data, length = 21);

Of course, I could be completely off... it's been known to happen.

Happy Trading,
mashume

mashume

Well-known member
VIP
Lifetime
they look, to me, like weekly aggregation EMAs of 8 and 21 periods...
Code:
declare upper;
input agg = AggregationPeriod.WEEK; 
def data = close(period = agg);

plot W8EMA = MovAvgExponential(price = data, length = 8);
plot W21EMA = MovAvgExponential(price = data, length = 21);

Of course, I could be completely off... it's been known to happen.

Happy Trading,
mashume
 
Solution

agent

New member
VIP
they look, to me, like weekly aggregation EMAs of 8 and 21 periods...
Code:
declare upper;
input agg = AggregationPeriod.WEEK;
def data = close(period = agg);

plot W8EMA = MovAvgExponential(price = data, length = 8);
plot W21EMA = MovAvgExponential(price = data, length = 21);

Of course, I could be completely off... it's been known to happen.

Happy Trading,
mashume
Thanks I will give it a run. It works but do you think you have a way to get it run across in a straight line across multiple days from the right side like the example?
 
Last edited:

Similar threads

Top