You Are At The Simple Moving Average Price Cloud Price Line Page
No There Is No Charge - If You Learn Or Get Something From It  - Contribute What You Think It Is Worth - Trading Is A Craft - I Should Learn It Well

"If, by chance, something less or more proper or necessary I omitted, your indulgence for me is entreated, as there is no one who is without fault, and in all things altogether circumspect." - Fibonacci
Contribute Here - Thank You
Return To Indicators - TOS Scripts - Page

 Simple Moving Average Price Cloud Price Line
Do you ever have those days when the bias of price action is confusing?
In a larger time frame the Price Cloud Price Line should help clearly determine that bias.
You see alot of clouds scripted from one SMA to SMA, this script is from the SMA to the Close, Price is King.
It also helps count the waves or cross recross and or net sellers, net buyers involved in price action.

It is a normal SMA moving average with a cloud from the SMA to price. Close, High, Low, etc. Price Close gives the best perspective.
You can choose the colors, you can use the price line or leave it off.
To set the colors on the cloud use the Globals tab.
The Up Signal, Down Signal is a TOS thing for price crossing the SMA, use it if you want, makes no sense.



SMA Price Cloud Price Line. Use with Hull cross arrows, Stochastic, and year and day Fivots, in a 1 hour time frame.
You can see price traded the day Fivots to the point, Sky Blue to Sky Blue, and the year fivots 24540 to the 24682.
Why Fight It. Be Mindful Of Price!
Use the chart as a chart you glance at to get a general idea of price bias, the trend, the strength, the direction.
Then if you desire trade with a chart without the cloud, whatever your preference!
The SMA is set at 8.





Script For Think Or Swim - Copy & Paste

input price = close;
input length = 9;
input displace = 0;
input showBreakoutSignals = no;

plot SMA = Average(price[-displace], length);
plot SMAPriceLine = price;
plot UpSignal = price crosses above SMA;
plot DownSignal = price crosses below SMA;

Addcloud (PRICE, SMA, globalcolor("Bullish"),globalcolor("Bearish"));
DefineGlobalColor("Bullish",color.Green);
DefineGlobalColor("Bearish",color.Red);

UpSignal.SetHiding(!showBreakoutSignals);
DownSignal.SetHiding(!showBreakoutSignals);

SMA.DefineColor("Up", GetColor(1));
SMA.DefineColor("Down", GetColor(0));
SMA.AssignValueColor(if SMA > SMA[1] then SMA.color("Up") else SMA.color("Down"));

SMAPriceLine.DefineColor("Up", GetColor(1));
SMAPriceLine.DefineColor("Down", GetColor(0));
SMAPriceLine.AssignValueColor(if SMAPriceLine > SMAPriceLine[1] then SMAPriceLine.color("Up") else SMAPriceLine.color("Down"));

UpSignal.SetDefaultColor(Color.UPTICK);
UpSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
DownSignal.SetDefaultColor(Color.DOWNTICK);
DownSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);



Investing And Trading Involve Significant Financial Risk And Is Not Suitable For Everyone. All Information Is Intended For Educational Purposes Only.
To the fullest extent of the law, we will not be liable to any person or entity for the quality, accuracy, completeness, reliability, or timeliness of the information provided on this website,
 or for any direct, indirect, consequential, incidental, special or punitive  damages that may arise out of the use of information we provide to any person or entity
 (including, but not limited to, lost profits, loss of opportunities, trading losses, and damages that may result from any inaccuracy or incompleteness of this information).
We encourage you to invest carefully and read investment information available at the websites of the SEC at http://www.sec.gov and FINRA at http://www.finra.org.

IF YOU DO NOT AGREE WITH THE TERMS OF THIS DISCLAIMER, PLEASE EXIT THIS SITE IMMEDIATELY.  PLEASE BE ADVISED THAT YOUR CONTINUED USE OF THIS SITE
 OR THE INFORMATION PROVIDED HEREIN SHALL INDICATE YOUR CONSENT AND AGREEMENT TO THESE TERMS.


Honor - Respect - Freedom - Country