# Looking for tick script

#### xasthur

##### New member
Can someone replicate the cumulative tick script on the bottom left ?

#### Attachments

• Screenshot_20240615_125247_Samsung Internet.jpg
172.9 KB · Views: 108
Last edited by a moderator:
Solution
Can someone replicate the cumulative tick script on the bottom left ?

That can't be cumulative, it falls to well within the typical range of the raw data. I'd bet it's just the the raw \$TICK highs and lows, capped at zero on either end, displayed as clouds.

Code:
``````declare lower;
def TOP = Max(high("\$TICK"),0);
def BOT = Min(Low("\$TICK"),0);
plot posThou = 1000;
posThou.setdefaultColor(color.gray);
plot negThou = -1000;
negThou.setdefaultColor(color.gray);``````
Can someone replicate the cumulative tick script on the bottom left ?

That can't be cumulative, it falls to well within the typical range of the raw data. I'd bet it's just the the raw \$TICK highs and lows, capped at zero on either end, displayed as clouds.

Code:
``````declare lower;
def TOP = Max(high("\$TICK"),0);
def BOT = Min(Low("\$TICK"),0);
plot posThou = 1000;
posThou.setdefaultColor(color.gray);
plot negThou = -1000;
negThou.setdefaultColor(color.gray);``````

That can't be cumulative, it falls to well within the typical range of the raw data. I'd bet it's just the the raw \$TICK highs and lows, capped at zero on either end, displayed as clouds.

Code:
``````declare lower;
def TOP = Max(high("\$TICK"),0);
def BOT = Min(Low("\$TICK"),0);
plot posThou = 1000;
posThou.setdefaultColor(color.gray);
plot negThou = -1000;
negThou.setdefaultColor(color.gray);``````
thanks, you are the best!

87k+ Posts
349 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?