#### Miket

##### Member
Does anyone have something similar to this but easier to read? I'm looking for something to confirm entries and exits with multiple things that need to be in agreement?

Rich (BB code):
``````# Stochastic Squad

# Multiple lenght Stochastic Study

# Mobius

# V01.01.28.2019

# Look for areas where all stochastic lengths agree for entries and exits.

declare lower;

input n = 3;

input n2 = 5;

input n3 = 8;

input n4 = 13;

input n5 = 21;

input n6 = 34;

input n7 = 55;

input n8 = 89;

input n9 = 144;

script stoch

{

input n = 10;

def h = Highest(high, n);

def l = Lowest(low, n);

def c = close;

def s = (c - l) / (h - l);

def hh = if s crosses above .5

then high

else if s > .5 and high > hh[1]

then high

else hh[1];

def ll = if s crosses below .5

then low

else if s < .5 and low < ll[1]

then low

else ll[1];

plot FastK = (c - ll) / (hh - ll);

}

plot s1 = stoch(n);

s1.SetDefaultColor(Color.Gray);

s1.hideBubble();

s1.hideTitle();

plot s2 = stoch(n2);

s2.SetDefaultColor(Color.Gray);

s2.hideBubble();

s2.hideTitle();

plot s3 = stoch(n3);

s3.SetDefaultColor(Color.Gray);

s3.hideBubble();

s3.hideTitle();

plot s4 = stoch(n4);

s4.SetDefaultColor(Color.Gray);

s4.hideBubble();

s4.hideTitle();

plot s5 = stoch(n5);

s5.SetDefaultColor(Color.Gray);

s5.hideBubble();

s5.hideTitle();

plot s6 = stoch(n6);

s6.SetDefaultColor(Color.Gray);

s6.hideBubble();

s6.hideTitle();

plot s7 = stoch(n7);

s7.SetDefaultColor(Color.Gray);

s7.hideBubble();

s7.hideTitle();

plot s8 = stoch(n8);

s8.SetDefaultColor(Color.Gray);

s8.hideBubble();

s8.hideTitle();

plot s9 = stoch(n9);

s9.SetDefaultColor(Color.Gray);

s9.hideBubble();

s9.hideTitle();

Last edited by a moderator:

87k+ Posts
420 Online

## The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
• Exclusive indicators
• Proven strategies & setups
• Private Discord community
• Exclusive members-only content
• 1 full year of unlimited support

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?