InvestorsHub Logo
Followers 11
Posts 2529
Boards Moderated 1
Alias Born 04/03/2009

Re: spdpro post# 3139

Friday, 10/17/2014 5:20:01 PM

Friday, October 17, 2014 5:20:01 PM

Post# of 3631
Here's what it looks like:




Here's the code for the cloud...change EMAs to whatever you want.

declare upper;
input price = close;
input displace = 0;

input EMALength1 = 5;
input EMALength2 = 9;

plot upper = ExpAverage(data = price[-displace], length = EMALength1);
upper.SetDefaultColor(Color.WHITE);
plot lower = ExpAverage(data = price[-displace], length = EMALength2);
lower.SetDefaultColor(Color.BLUE);
AddCloud(upper, lower, color.GREEN, color.DARK_RED);

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.